CQTAI
Suno · 音乐

标签增强

📌 这是什么把你给的简单风格标签扩展成更丰富的描述。
💡 什么时候用不知道怎么描述风格、想要更专业的标签时用。

接口地址

用途方法路径
提交任务POST/api/cqt/generator/suno
查询结果GET/api/cqt/info/suno?id={taskId}

请求参数

参数类型必填说明
taskstring必填固定填 upsample_tags
promptstring必填待增强的风格标签/描述

请求示例

curl -X POST https://api.cqtai.com/api/cqt/generator/suno \
  -H 'Authorization: Bearer <API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{ "task":"upsample_tags", "prompt":"lofi chill beats" }'
# -> { "code":200, "data":"<taskId>" }

响应示例

{
  "code": 200,
  "msg": "success",
  "data": {
    "id": "3c571bf96d6b45188a502c20207a64bc",
    "taskType": "upsample_tags",
    "status": "succeeded",
    "errorMsg": "",
    "param": {
      "task": "upsample_tags",
      "prompt": "lofi chill beats"
    },
    "result": {
      "upsampled_tags": "Dusty lo-fi chill beats at 78 BPM with soft boom-bap kick, brushed snare, and off-grid hi-hats. Warm Rhodes chords through tape saturation, vinyl crackle, mellow sub-bass, and filtered guitar plucks with long delay tails. Gentle sidechain, wide room ambience, and understated swing create a suspended, weightless groove.",
      "request_id": "072792ff-eb35-4325-9820-fc8b9c403289"
    },
    "createTime": "2026-07-08 17:16:08",
    "completeTime": "2026-07-08 17:16:12"
  }
}

响应字段说明

字段类型说明
codenumber状态码,200 表示成功
msgstring提示信息
data.idstring任务 ID(= 提交时拿到的 taskId)
data.taskTypestring任务类型,恒为 upsample_tags
data.statusstring任务状态:pending 处理中 / succeeded 成功 / failed 失败
data.paramobject原样回显你提交的请求参数
data.resultobject⚠ 对象(非数组),结果在下面两个字段
data.result.upsampled_tagsstring扩写后的丰富风格描述(可直接喂给 create 的 tags/prompt)
data.result.request_idstring本次扩写的请求 ID(排查用)
data.createTime / completeTimestring任务提交时间 / 完成时间

计费与积分

1 积分(× 你的用户费率)。任务失败自动退回。