DeerAPI 单轨声曲分离文档:通过 POST /suno/submit/music 提交 task_id 与 clip_id 生成分轨任务,查询返回各轨 clip_id 与 url,适用于 Suno 分轨处理。
curl --request POST \
--url https://api.deerapi.com/suno/submit/music \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"task": "example",
"task_id": "example",
"generation_type": "example",
"title": "example",
"mv": "example",
"make_instrumental": true,
"continue_clip_id": "example",
"stem_type_id": 1,
"stem_type_group_name": "example",
"stem_task": "example"
}
'{
"id": "<string>",
"clips": [
{
"id": "<string>",
"entity_type": "<string>",
"video_url": "<string>",
"audio_url": "<string>",
"major_model_version": "<string>",
"model_name": "<string>",
"metadata": {
"prompt": "<string>",
"history": [
{
"id": "<string>",
"type": "<string>",
"source": "<string>",
"infill": true,
"stem_type_id": 123,
"stem_type_group_name": "<string>",
"stem_task": "<string>",
"stem_from_id": "<string>"
}
],
"stem_from_id": "<string>",
"stem_task": "<string>",
"stem_type_id": 123,
"stem_type_group_name": "<string>",
"edited_clip_id": "<string>",
"type": "<string>",
"stream": true,
"infill": true,
"task": "<string>",
"can_remix": true,
"is_remix": true,
"priority": 123
},
"is_liked": true,
"user_id": "<string>",
"display_name": "<string>",
"handle": "<string>",
"is_handle_updated": true,
"avatar_image_url": "<string>",
"is_trashed": true,
"flag_count": 123,
"created_at": "<string>",
"status": "<string>",
"title": "<string>",
"play_count": 123,
"upvote_count": 123,
"is_public": true,
"allow_comments": true,
"more": "<string>"
}
],
"metadata": {
"prompt": "<string>",
"history": [
{
"id": "<string>",
"type": "<string>",
"source": "<string>",
"infill": true,
"stem_type_id": 123,
"stem_type_group_name": "<string>",
"stem_task": "<string>",
"stem_from_id": "<string>"
}
],
"stem_from_id": "<string>",
"stem_task": "<string>",
"stem_type_id": 123,
"stem_type_group_name": "<string>",
"edited_clip_id": "<string>",
"type": "<string>",
"stream": true,
"infill": true,
"task": "<string>",
"can_remix": true,
"is_remix": true,
"priority": 123
},
"major_model_version": "<string>",
"status": "<string>",
"created_at": "<string>",
"batch_size": 123
}Documentation Index
Fetch the complete documentation index at: https://apidoc.deerapi.com/llms.txt
Use this file to discover all available pages before exploring further.
task_id。task_id 后,根据需要获取歌曲的对应 clip_id 值。task_id、clip_id 填入该接口,得到新的 task_id。单任务查询接口查询步骤 3 得到的 task_id,获取分轨后每一轨的 clip_id 以及对应的 url。注意:
mv为chirp-auk或chirp-fenix。task为gen_stem。continue_clip_id即步骤 2 中的clip_id。stem_type_group_name为Two。stem_task为two。- 可跨账号操作。
Bearer token authentication. Use your DeerAPI key.
curl --request POST \
--url https://api.deerapi.com/suno/submit/music \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"task": "example",
"task_id": "example",
"generation_type": "example",
"title": "example",
"mv": "example",
"make_instrumental": true,
"continue_clip_id": "example",
"stem_type_id": 1,
"stem_type_group_name": "example",
"stem_task": "example"
}
'{
"id": "<string>",
"clips": [
{
"id": "<string>",
"entity_type": "<string>",
"video_url": "<string>",
"audio_url": "<string>",
"major_model_version": "<string>",
"model_name": "<string>",
"metadata": {
"prompt": "<string>",
"history": [
{
"id": "<string>",
"type": "<string>",
"source": "<string>",
"infill": true,
"stem_type_id": 123,
"stem_type_group_name": "<string>",
"stem_task": "<string>",
"stem_from_id": "<string>"
}
],
"stem_from_id": "<string>",
"stem_task": "<string>",
"stem_type_id": 123,
"stem_type_group_name": "<string>",
"edited_clip_id": "<string>",
"type": "<string>",
"stream": true,
"infill": true,
"task": "<string>",
"can_remix": true,
"is_remix": true,
"priority": 123
},
"is_liked": true,
"user_id": "<string>",
"display_name": "<string>",
"handle": "<string>",
"is_handle_updated": true,
"avatar_image_url": "<string>",
"is_trashed": true,
"flag_count": 123,
"created_at": "<string>",
"status": "<string>",
"title": "<string>",
"play_count": 123,
"upvote_count": 123,
"is_public": true,
"allow_comments": true,
"more": "<string>"
}
],
"metadata": {
"prompt": "<string>",
"history": [
{
"id": "<string>",
"type": "<string>",
"source": "<string>",
"infill": true,
"stem_type_id": 123,
"stem_type_group_name": "<string>",
"stem_task": "<string>",
"stem_from_id": "<string>"
}
],
"stem_from_id": "<string>",
"stem_task": "<string>",
"stem_type_id": 123,
"stem_type_group_name": "<string>",
"edited_clip_id": "<string>",
"type": "<string>",
"stream": true,
"infill": true,
"task": "<string>",
"can_remix": true,
"is_remix": true,
"priority": 123
},
"major_model_version": "<string>",
"status": "<string>",
"created_at": "<string>",
"batch_size": 123
}