生成歌曲(添加人声)
POST /suno/submit/music
概览
| Method | POST |
|---|---|
| Path | /suno/submit/music |
| Type | http |
| Status | -2 |
| Module | 2102810 |
| Folder | 86482047 |
请求体
{ "type": "application/json", "parameters": [], "jsonSchema": { "type": "object", "properties": { "mv": { "description": "模型版本,不传默认 chirp-v5", "type": "string" }, "prompt": { "description": "必填,演唱歌词,最多 3000 字", "type": "string" }, "tags": { "description": "演唱风格,建议填写,最多 200 字", "type": "string" }, "title": { "description": "标题,可空", "type": "string" }, "task": { "description": "必填,固定值", "type": "string" }, "metadata_params": { "type": "object", "properties": { "overpainting_clip_id": { "description": "必填,纯音乐 clipId;也支持 mp3 公网 URL", "type": "string" }, "overpainting_start_s": { "description": "必填,处理起始秒数", "type": "integer" }, "overpainting_end_s": { "description": "必填,处理结束秒数;须 ≤ 原音频时长", "type": "integer" } }, "required": [ "overpainting_clip_id", "overpainting_start_s", "overpainting_end_s" ], "x-apifox-orders": [ "overpainting_clip_id", "overpainting_start_s", "overpainting_end_s" ] } }, "required": [ "mv", "prompt", "tags", "title", "task", "metadata_params" ], "x-apifox-orders": [ "mv", "prompt", "tags", "title", "task", "metadata_params" ] }, "required": true, "mediaType": "", "examples": [ { "mediaType": "application/json", "value": "{\n \"mv\": \"chirp-v5\", // 模型版本,不传默认 chirp-v5\n \"prompt\": \"[Verse]\\n新歌词\", // 必填,演唱歌词,最多 3000 字\n \"tags\": \"pop,female voice\", // 演唱风格,建议填写,最多 200 字\n \"title\": \"添加人声\", // 标题,可空\n \"task\": \"overpainting\", // 必填,固定值\n \"metadata_params\": {\n \"overpainting_clip_id\": \"xxx-clip-id\", // 必填,纯音乐 clipId;也支持 mp3 公网 URL\n \"overpainting_start_s\": 0, // 必填,处理起始秒数\n \"overpainting_end_s\": 30 // 必填,处理结束秒数;须 ≤ 原音频时长\n }\n}" } ], "oasExtensions": "" }
响应
[ { "id": 183819859, "name": "成功", "code": 200, "contentType": "json", "jsonSchema": { "type": "object", "properties": {} }, "itemSchema": {}, "description": "", "mediaType": "", "headers": [] } ]