Loading...
Loading...
Generate AI text-to-speech audio with Fish Audio and browse public reference voices via AceDataCloud API. Use when creating voiceover/narration audio (TTS), synthesizing multilingual speech, or selecting a Fish reference voice from the model catalog.
npx skill4agent add acedatacloud/skills fish-audioSetup: See authentication for token setup.
curl -X POST https://api.acedata.cloud/fish/tts \
-H "Authorization: ******ACEDATACLOUD_API_TOKEN" \
-H "Content-Type: application/json" \
-H "model: s2-pro" \
-d '{"text":"你好,欢迎使用 AceData Cloud。","reference_id":"d7900c21663f485ab63ebdb7e5905036","format":"mp3"}'{"audio_url":"https://platform.r2.fish.audio/task/8a72ff9840234006a9f74cb2fa04f978.mp3"}| Endpoint | Purpose |
|---|---|
| Text-to-speech generation |
| Browse/search public Fish reference voices |
| Poll async TTS jobs when |
curl "https://api.acedata.cloud/fish/model?page_size=10&page_number=1&title=Marcus" \
-H "Authorization: ******ACEDATACLOUD_API_TOKEN"items[]_idtitlelanguagestagsvisibilitystate_idreference_idPOST /fish/tts
Headers:
model: s2-pro
{
"text": "Your narration text.",
"reference_id": "d7900c21663f485ab63ebdb7e5905036",
"format": "mp3"
}POST /fish/tts
Headers:
model: s1
{
"text": "Longer narration for background processing.",
"async": true,
"callback_url": "https://api.acedata.cloud/health"
}Async: See async task polling. Poll viawithPOST /fish/tasks.{"id":"..."}
/fish/tts| Parameter | Values | Description |
|---|---|---|
| | Fish TTS engine selection |
| Parameter | Type / Values | Description |
|---|---|---|
| string | Text to synthesize (required) |
| string | Public/reference voice ID from |
| | Output format |
| integer | Optional output sample rate |
| | MP3 bitrate |
| integer | Opus bitrate |
| | TTS latency mode |
| integer | Chunking controls |
| number | Sampling controls |
| integer | Maximum generated tokens |
| boolean | Normalize generated audio |
| object | Prosody tuning |
| array | Additional reference objects |
| string | Async callback URL |
| boolean | Run asynchronously and poll |
POST /fish/tts/fish/audiosmodelmodelreference_idGET /fish/modelvoice_idaudio_url/fish/tasksGET /fish/model