Skip to content

查询语音任务 ​

GET/tts/v1/tasks/{task_id}

Poll every 3–5 seconds. Terminal states are succeeded and failed. Querying does not create another generation charge.

同步 · 直接返回结果 · 本次请求等待处理并直接返回 JSON 或文件。

鉴权

使用客户 API Key。 获取与配置 →

Authorization: Bearer YOUR_API_KEY

路径、查询与请求头

task_idpath · string必填

填写创建接口返回的任务 ID。 填写后替换接口地址中的 {task_id}。

响应

JSON response

Content-Type application/json

idstring必填
modelstring必填

固定值: "vox-1"

statusstring必填
"queued""running""succeeded""failed"
audioobject
展开结构
formatstring

固定值: "mp3"

mime_typestring

固定值: "audio/mpeg"

artifactsstring

Authenticated artifact-list endpoint.

errorobject
展开结构
codestring
messagestring

任务查询与结果获取