创建文本转语音任务
支持SSE实时状态更新:
Accept: text/event-stream
普通使用:
备注:停顿<#x#>,x单位为秒,支持0.01-99.99 <#x#>
{ "clone_model": 3, "voice_id": "string", "audio_text": "string" }
curl --location --request POST 'https://openapi.jieshuo.cn/v1/task/create/text_to_speech' \ --header 'Content-Type: application/json' \ --data-raw '{ "clone_model": 3, "voice_id": "string", "audio_text": "string" }'
{ "code": 10000, "message": "success", "data": { "task_id": 1457, "consumed_points": "7.2", "audio_file": "https://download.jufenqian.top/temp/tts/20250716/task_91_tts/minimax_audio_91.mp3", "subtitle_file": "https://download.jufenqian.top/temp/tts/20250716/task_91_tts/minimax_subtitle_91.srt" } }