本文档由 云音工坊 自动生成,如有疑问,请联系客服微信:yuntts !
curl --location 'https://www.yuntts.com/api/v1/fish-audio/tts' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/x-msgpack' \
--data '{
"text": "string",
"references": [
{
"audio": "string",
"text": "string"
}
],
"temperature": 0.7,
"top_p": 0.7,
"chunk_length": 300,
"normalize": true,
"format": "mp3",
"sample_rate": null,
"mp3_bitrate": 128,
"opus_bitrate": -1000,
"latency": "normal",
"prosody": null,
"max_new_tokens": 1024,
"repetition_penalty": 1.2,
"min_chunk_length": 50,
"condition_on_previous_chunks": true,
"early_stop_threshold": 1
}'{}