本文档由 云音工坊 自动生成,如有疑问,请联系客服微信:yuntts !
curl --location 'https://www.yuntts.com/api/v1/f5-tts-sync' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
"gen_text": "欢迎使用F5-TTS语音合成服务",
"ref_audio_url": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20260128/rkdnzm/%E9%BE%99%E9%93%83.mp3",
"ref_text": "欢迎使用F5-TTS语音合成服务",
"model_type": "F5-TTS"
}'{
"code": 200,
"message": "语音合成成功",
"data": {
"task_id": "f5tts_sync_abc123",
"char_count": 2000,
"cost": 0.7,
"status": "completed",
"audio_url": "https://www.yuntts.com/wp-content/uploads/audio/processed/f5tts_sync_xxx.wav",
"file_size": 597644,
"content_type": "audio/wav",
"message": "语音合成成功"
}
}