Skip to content

runapi-ai/fish-audio-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RunAPI

Fish Audio API SDKs for JavaScript, Python, Ruby, Go, Java, and PHP on RunAPI.

npm PyPI RubyGems Go Reference Maven Central License

Generate MP3 speech from text with s1 or s2-pro. RunAPI validates and stores each audio result before returning it.

Install

npm install @runapi.ai/fish-audio
pip install runapi-fish-audio
gem install runapi-fish-audio
go get github.com/runapi-ai/fish-audio-sdk/go@latest

For Java, install ai.runapi:runapi-fish-audio:0.1.0. The PHP package is released from the split repository at https://github.com/runapi-ai/fish-audio-php.

Quick start

import { FishAudioClient } from '@runapi.ai/fish-audio';

const client = new FishAudioClient();
const result = await client.textToSpeech.run({ model: 's1', text: 'Hello from RunAPI' });
console.log(result.audios[0].url);

Variants

The returned URL points to RunAPI-managed storage. See the Fish Audio model page for current pricing, limits, and usage details.

License

Licensed under the Apache License, Version 2.0.

About

RunAPI Fish Audio SDK for speech generation in JavaScript, Python, Ruby, Go, Java, and PHP

Topics

Resources

License

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors