{
"model": "FunAudioLLM/CosyVoice2-0.5B",
"input": "有时候,看着小孩子们的天真行为,我们总会会心一笑。",
"max_tokens": 2048,
"references": [
{
"audio": "https://sf-maas-uat-prod.oss-cn-shanghai.aliyuncs.com/voice_template/fish_audio-Charles.mp3",
"text": "他又躺在那里,眼睛闭着,仍然沉浸在梦境的气氛里。那是个庞杂而亮堂的梦"
}
],
"voice": "",
"response_format": "mp3",
"sample_rate": 32000,
"stream": true,
"speed": 1,
"gain": 0
}curl --location --request POST 'https://api.aiznt.com/v1/audio/speech' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "FunAudioLLM/CosyVoice2-0.5B",
"input": "有时候,看着小孩子们的天真行为,我们总会会心一笑。",
"max_tokens": 2048,
"references": [
{
"audio": "https://sf-maas-uat-prod.oss-cn-shanghai.aliyuncs.com/voice_template/fish_audio-Charles.mp3",
"text": "他又躺在那里,眼睛闭着,仍然沉浸在梦境的气氛里。那是个庞杂而亮堂的梦"
}
],
"voice": "",
"response_format": "mp3",
"sample_rate": 32000,
"stream": true,
"speed": 1,
"gain": 0
}'{"url":"https://cdn.aiznt.com/audio/2025/10/14/d56f2493-440b-408f-a282-79b2ecc7f962.mp3"}