众扬汇 AI 开放平台 API 文档

tags: 拓展 style tags

OpenAPI Specification

风格标签扩展:传入提示词,返回可用于音乐生成的风格(style)标签。

请求方式:POST

接口地址

text
https://api.allyang.cn/suno/act/tags

请求头

  • accept(可选):(示例:*/*)
  • content-type(必填):(示例:application/json)
  • Authorization(可选):鉴权头,使用控制台创建的令牌,格式为 Bearer + 令牌。(示例:Bearer {{YOUR_API_KEY}})

请求参数(application/json)

  • original_tags(string,必填)

请求示例

json
{
  "original_tags": "student"
}

返回示例

json
{
  "upsampled_tags": "Laid-back indie pop driven by a clean guitar riff, tight bass, and crisp drums. Verses feature subtle synth textures and gentle background vocals. A catchy chorus lifts with layered harmonies and handclaps. Bridge introduces a bright Rhodes piano before a dynamic final chorus.",
  "request_id": "507acd16-8b84-4e55-be2b-4329d82efb26"
}

使用提示:tags 即风格取值;不确定如何填写风格时可先用本接口获取建议。