Documentation Index
Fetch the complete documentation index at: https://tech.illasoft.com/llms.txt
Use this file to discover all available pages before exploring further.
GET /music/task/:taskId
查询音乐生成任务的当前状态和详细信息。认证
需要 Bearer Token。路径参数
| 参数 | 类型 | 说明 |
|---|---|---|
taskId | string | 任务 UUID |
响应
状态说明
| 状态 | 说明 |
|---|---|
pending | 任务已创建,等待 Worker 处理 |
processing | Worker 正在生成音乐 |
completed | 音乐生成成功,audioUrl 和 coverUrl 可用 |
failed | 生成失败,errorMessage 记录原因 |
insufficient_credits | Credits 不足,用户充值后可重新提交 |
audioUrl 和 coverUrl 为 Signed URL,仅在 status === "completed" 时返回。