接入步骤
A. 生成音乐
可以通过场生成歌曲接口生成后,获取其中的一首歌的 clip_id 值为: 54834687-5e79-4f08-8e14-cf188f15b598
B. 新建 Persona
clip_id 需要系统内存在的,非 uploader- 不能跨账号,所以可能账号下线用不了
C. 使用 persona_id 创作
注意事项:
- mv 为
chirp-v3-5-tau 或者 chirp-v4-tau - task 为
artist_consistency - persona_id 为 B 步骤得到的
- artist_clip_id 就是 A 步骤中的
clip_id - 可跨账号
来源原始接口定义(用于追溯)
以下内容来自 Apifox 快照,可能包含兼容层字段或旧示例;公开调用请以本页的协议说明和当前模型列表为准。
{
"id": 497673367,
"name": "生成歌曲(歌手风格)",
"type": "http",
"serverId": "",
"preProcessors": [],
"postProcessors": [],
"inheritPreProcessors": {},
"inheritPostProcessors": {},
"description": "# 接入步骤\n\n## A. 生成音乐\n\n可以通过场生成歌曲接口生成后,获取其中的一首歌的 `clip_id` 值为: 54834687-5e79-4f08-8e14-cf188f15b598\n\n\n## B. 新建 Persona\n\n- `clip_id` 需要系统内存在的,非 uploader\n- 不能跨账号,所以可能账号下线用不了\n\n## C. 使用 persona_id 创作\n\n注意事项:\n- mv 为 `chirp-v3-5-tau` 或者 `chirp-v4-tau`\n- task 为 `artist_consistency`\n- persona_id 为 B 步骤得到的\n- artist_clip_id 就是 A 步骤中的 `clip_id`\n- 可跨账号\n\n",
"operationId": "",
"sourceUrl": "",
"method": "post",
"path": "/suno/submit/music",
"tags": [],
"status": 1,
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"prompt": {
"type": "string",
"description": "歌词内容"
},
"generation_type": {
"type": "string",
"description": "生成内容,示例值“text”"
},
"tags": {
"type": "string",
"description": "风格标签"
},
"negative_tags": {
"type": "string",
"description": "负面标签"
},
"mv": {
"type": "string",
"description": "模型版本号"
},
"title": {
"type": "string",
"description": "歌词的标题"
},
"task": {
"type": "string"
},
"persona_id": {
"type": "string",
"description": "角色id"
},
"artist_clip_id": {
"type": "string",
"description": "一个参考音频片段的 ID"
},
"vocal_gender": {
"type": "string",
"description": "人声性别"
}
},
"required": [
"prompt",
"generation_type",
"mv",
"title",
"persona_id",
"artist_clip_id"
],
"x-apifox-orders": [
"prompt",
"generation_type",
"tags",
"negative_tags",
"mv",
"title",
"task",
"persona_id",
"artist_clip_id",
"vocal_gender"
]
},
"examples": [
{
"value": "{\n \"prompt\": \"[Verse]\\n你从清晨到黄昏\\n一直在我身边温暖\\n风吹雨打也不怕\\n紧握手永不分开\\n\\n[Verse 2]\\n有你在我不孤单\\n就像繁星在夜晚\\n路再长也不觉得远\\n因为你是我的光\\n\\n[Chorus]\\n老公老公我爱你\\n你是世界的唯一\\n无论在天涯海角\\n心如影随形不离\\n\\n[Verse 3]\\n你是我的避风港\\n每天夜里梦都是你\\n即使前路多辛苦\\n有你一切多美丽\\n\\n[Chorus]\\n老公老公我爱你\\n你是世界的唯一\\n无论在天涯海角\\n心如影随形不离\\n\\n[Bridge]\\n生命中的每一刻\\n有你陪伴去体会\\n所有明天都更好\\n因为有你我无敌\",\n \"generation_type\": \"TEXT\",\n \"tags\": \"electronic, pop\",\n \"negative_tags\": \"\",\n \"mv\": \"chirp-v4-tau\",\n \"title\": \"老公\",\n \"task\": \"artist_consistency\",\n \"persona_id\": \"0f6e8077-a7ba-4fc8-8f60-de02c66e56ce\",\n \"artist_clip_id\": \"a5fa604c-18b8-4e7f-8d25-9412d4ba8163\",\n \"vocal_gender\": \"\"\n}",
"mediaType": "application/json",
"description": ""
}
],
"mediaType": "",
"oasExtensions": "",
"required": false,
"additionalContentTypes": []
},
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": [
{
"id": "NQs7bxnpZf",
"name": "Content-Type",
"required": true,
"enable": true,
"description": "",
"type": "string",
"sampleValue": "application/json"
},
{
"id": "qb8tEQbCty",
"name": "Accept",
"required": true,
"enable": true,
"description": "",
"type": "string",
"sampleValue": "application/json"
},
{
"id": "gBxcCbXhsa",
"name": "Authorization",
"required": false,
"enable": true,
"description": "",
"type": "string",
"sampleValue": "Bearer {{YOUR_API_KEY}}"
}
]
},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"auth": {},
"responses": [
{
"id": 178059339,
"name": "成功",
"code": 200,
"contentType": "json",
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"data": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"data",
"message"
],
"x-apifox-orders": [
"code",
"data",
"message"
]
},
"itemSchema": {},
"description": "",
"mediaType": "",
"headers": [],
"oasExtensions": ""
}
],
"responseExamples": [
{
"name": "成功示例",
"responseId": 178059339,
"data": "{\r\n \"code\": \"success\",\r\n \"data\": \"950bf3af-78a6-420e-8c01-3bde0bbb3ef9\",\r\n \"message\": \"\"\r\n}",
"description": "",
"oasKey": "",
"oasExtensions": "",
"id": "019fd25e-4be7-74fc-a46e-b2bd87429935"
}
],
"codeSamples": [],
"projectId": 8662722,
"moduleId": 8310462,
"folderId": 92436137,
"ordering": 18,
"responsibleId": 0,
"commonResponseStatus": {},
"advancedSettings": {
"disabledSystemHeaders": {},
"isDefaultUrlEncoding": 1
},
"customApiFields": {},
"oasExtensions": "",
"mockScript": {},
"createdAt": "2026-08-05T14:40:23.000Z",
"updatedAt": "2026-08-06T12:15:55.000Z",
"creatorId": 2863449,
"editorId": 2863449,
"creatorUserId": 2863449,
"editorUserId": 2863449,
"responseChildren": [],
"visibility": "INHERITED",
"securityScheme": {},
"callbacks": ""
}