API介绍
来自Fish Audio的声音克隆服务
API调试台
登录后,探索更多精彩功能! 点击登录
API列表 (6)
| API描述 | 接口地址 | 请求方法 | 稳定性 | 参数说明 |
|---|---|---|---|---|
TTS(文字转声音) | POST | 稳定 | 查看详情 | |
文档详情 来自fish audio的文字转语音 价格:20 PTC / 百万字符 请求参数 Header参数Authorizationstring可选 示例值: Bearer {{YOUR_API_KEY}}modelstring可选 示例值: s1Query参数response_formatenum<string>可选 枚举值: dataurl示例值: urlBody参数 application/jsontextstring必需 Text to be converted to speech reference_idstring必需 ID of the reference model o be used for the speech/可以传入创建声音模型生成ID chunk_lengthinteger可选 Chunk length to be used for the speech normalizeboolean可选 Whether to normalize the speech, this will reduce the latency but may reduce performance on numbers and dates formatstring可选 Format to be used for the speech Available options: wav, pcm, mp3, opus mp3_bitrateinteger可选 MP3 Bitrate to be used for the speech opus_bitrateinteger可选 Opus Bitrate to be used for the speech latencystring可选 Latency to be used for the speech, balanced will reduce the latency but may lead to performance degradation | ||||
Model(创建声音模型) | POST | 稳定 | 查看详情 | |
文档详情 来自fish audio的声音克隆,传入声音文件,进行声音克隆。 传入声音要求: 价格:免费 请求参数 Header参数Authorizationstring可选 示例值: Bearer {{YOUR_API_KEY}}Body参数 multipart/form-datavisibilitystring可选 Available options: public, unlist, private 示例值: privatetypestring必需 Model type, tts is for text to speech 示例值: ttstitlestring必需 Model title or name descriptionstring可选 Model description cover_imagestring可选 Model cover image, this is required if the model is public train_modestring必需 Available options: fast 示例值: fastvoicesstring必需 Upload voices files that will be used to tune the model textsstring可选 Texts corresponding to the voices, if unspecified, ASR will be performed on the voices tagsstring可选 Model tags enhance_audio_qualityboolean可选 Enhance audio quality 示例值: false | ||||
Model(获取声音模型) | GET | 稳定 | 查看详情 | |
文档详情 来自fish audio的声音克隆 价格:免费 请求参数 Path参数idstring必需 Header参数Authorizationstring可选 示例值: Bearer {{YOUR_API_KEY}} | ||||
Model(删除声音模型) | DELETE | 稳定 | 查看详情 | |
文档详情 来自fish audio的声音克隆 价格:免费 请求参数 Path参数idstring必需 Header参数Authorizationstring可选 示例值: Bearer {{YOUR_API_KEY}}Query参数idstring可选 | ||||
Model(更新声音模型) | PATCH | 稳定 | 查看详情 | |
文档详情 来自fish audio的声音克隆 价格:免费 请求参数 Path参数idstring必需 Header参数Authorizationstring可选 示例值: Bearer {{YOUR_API_KEY}}Query参数idstring可选 Body参数 application/jsontitlestring必需 descriptionstring必需 visibilitystring必需 tagsarray[string]必需 | ||||
Model(获取声音列表) | GET | 稳定 | 查看详情 | |
文档详情 来自fish audio的公开声音列表 价格:免费 请求参数 Header参数Authorizationstring可选 示例值: Bearer {{YOUR_API_KEY}}Query参数page_sizeinteger可选 示例值: 20page_numberinteger可选 示例值: 1titlestring可选 tagstring可选 author_idstring可选 languagestring可选 sort_bystring可选 | ||||
API价格表
| 模型 | 说明 | 302.AI价格 |
|---|
TTS | 文字转语音 |
|
Model(Create Voice) | 创建声音模型 |
|
Model(Obtain Voice) | 获取声音模型 |
|
Model(Delete Voice) | 删除声音模型 |
|
Model(Update Voice) | 更新声音模型 |
|
Model(Get Voice List) | 获取声音列表 |
|
猜你喜欢
Fish Audio
Microsoft Azure
Elevenlabs
起









