Skip to main content
POST
/
suno
/
submit
/
music
单轨声曲分离
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.

音频分轨生成流程

操作步骤

  1. 通过生成音乐场景 1、2、3 任意一种生成音乐,取到 task_id
  2. 拿到 task_id 后,根据需要获取歌曲的对应 clip_id 值。
  3. 将对应的 task_idclip_id 填入该接口,得到新的 task_id
  4. 通过单任务查询接口查询步骤 3 得到的 task_id,获取分轨后每一轨的 clip_id 以及对应的 url

关键说明

注意:
  • mvchirp-aukchirp-fenix
  • taskgen_stem
  • continue_clip_id 即步骤 2 中的 clip_id
  • stem_type_group_nameTwo
  • stem_tasktwo
  • 可跨账号操作。

Authorizations

Authorization
string
header
required

Bearer token authentication. Use your DeerAPI key.

Body

application/json
task
string
default:example
required
task_id
string
default:example
required
generation_type
string
default:example
required
title
string
default:example
required
mv
string
default:example
required
make_instrumental
boolean
default:true
required
continue_clip_id
string
default:example
required
continued_aligned_prompt
null
required
continue_at
null
required
stem_type_id
integer
default:1
required
stem_type_group_name
string
default:example
required
stem_task
string
default:example
required

Response

200 - application/json

Successful Response

id
string
required
clips
object[]
required
metadata
object
required
major_model_version
string
required
status
string
required
created_at
string
required
batch_size
integer
required