> ## 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.

# Suno Full Track Separate

> Use DeerAPI to call the Suno Full Track Separate endpoint with request details, response details, examples, and an OpenAPI playground.

## Overview

Use this endpoint to call the Suno Full Track Separate workflow through DeerAPI. The API reference on this page shows the request schema, response schema, authentication requirements, and runnable examples for the configured endpoint.

## Before you start

Use the DeerAPI base URL and pass your API Key in the `Authorization` header:

```text theme={null}
https://api.deerapi.com
```

```text theme={null}
Authorization: Bearer $DEERAPI_KEY
```

## Model selection

Choose a current model ID from the [live pricing page](https://api.deerapi.com/pricing). Model availability changes over time, so avoid copying a model ID from an old project without checking the live list first.

## Implementation notes

* Use the OpenAPI playground for the exact request fields accepted by this endpoint.
* Keep API Keys on the server side when you build production applications.
* Log the request ID from failed calls so support can investigate the request.
* Retry `429`, `500`, and `503` responses with exponential backoff.


## OpenAPI

````yaml /api/openapi/music/suno/post-full-track-separate.openapi.json POST /suno/submit/music
openapi: 3.1.0
info:
  title: Full-Track Separation API
  version: 1.0.0
servers:
  - url: https://api.deerapi.com
security:
  - bearerAuth: []
paths:
  /suno/submit/music:
    post:
      summary: Full-track separation
      operationId: full_track_separation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - task
                - task_id
                - generation_type
                - title
                - mv
                - make_instrumental
                - continue_clip_id
                - continued_aligned_prompt
                - continue_at
                - stem_type_id
                - stem_type_group_name
                - stem_task
              properties:
                task:
                  type: string
                  default: example
                task_id:
                  type: string
                  default: example
                generation_type:
                  type: string
                  default: example
                title:
                  type: string
                  default: example
                mv:
                  type: string
                  default: example
                make_instrumental:
                  type: boolean
                  default: true
                continue_clip_id:
                  type: string
                  default: example
                continued_aligned_prompt:
                  type: 'null'
                continue_at:
                  type: 'null'
                stem_type_id:
                  type: integer
                  default: 1
                stem_type_group_name:
                  type: string
                  default: example
                stem_task:
                  type: string
                  default: example
              default:
                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
            examples:
              Default:
                summary: Default
                value:
                  task: gen_stem
                  task_id: 7e0000d1-511e-482e-9b13-f6f8dbb02a05
                  generation_type: TEXT
                  title: Strings of Safety
                  mv: chirp-auk
                  make_instrumental: true
                  continue_clip_id: 31f022a4-b95c-4988-9608-281172753cf4
                  continued_aligned_prompt: null
                  continue_at: null
                  stem_type_id: 91
                  stem_type_group_name: Twelve
                  stem_task: twelve
            example:
              task: gen_stem
              task_id: 7e0000d1-511e-482e-9b13-f6f8dbb02a05
              generation_type: TEXT
              title: Strings of Safety
              mv: chirp-auk
              make_instrumental: true
              continue_clip_id: 31f022a4-b95c-4988-9608-281172753cf4
              continued_aligned_prompt: null
              continue_at: null
              stem_type_id: 91
              stem_type_group_name: Twelve
              stem_task: twelve
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - id
                  - clips
                  - metadata
                  - major_model_version
                  - status
                  - created_at
                  - batch_size
                properties:
                  id:
                    type: string
                  clips:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        entity_type:
                          type: string
                        video_url:
                          type: string
                        audio_url:
                          type: string
                        major_model_version:
                          type: string
                        model_name:
                          type: string
                        metadata:
                          type: object
                          required:
                            - prompt
                            - history
                            - stem_from_id
                            - stem_task
                            - stem_type_id
                            - stem_type_group_name
                            - edited_clip_id
                            - type
                            - stream
                            - infill
                            - task
                            - can_remix
                            - is_remix
                            - priority
                          properties:
                            prompt:
                              type: string
                            history:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                  type:
                                    type: string
                                  source:
                                    type: string
                                  infill:
                                    type: boolean
                                  stem_type_id:
                                    type: integer
                                  stem_type_group_name:
                                    type: string
                                  stem_task:
                                    type: string
                                  stem_from_id:
                                    type: string
                            stem_from_id:
                              type: string
                            stem_task:
                              type: string
                            stem_type_id:
                              type: integer
                            stem_type_group_name:
                              type: string
                            edited_clip_id:
                              type: string
                            type:
                              type: string
                            stream:
                              type: boolean
                            infill:
                              type: boolean
                            task:
                              type: string
                            can_remix:
                              type: boolean
                            is_remix:
                              type: boolean
                            priority:
                              type: integer
                        is_liked:
                          type: boolean
                        user_id:
                          type: string
                        display_name:
                          type: string
                        handle:
                          type: string
                        is_handle_updated:
                          type: boolean
                        avatar_image_url:
                          type: string
                        is_trashed:
                          type: boolean
                        flag_count:
                          type: integer
                        created_at:
                          type: string
                        status:
                          type: string
                        title:
                          type: string
                        play_count:
                          type: integer
                        upvote_count:
                          type: integer
                        is_public:
                          type: boolean
                        allow_comments:
                          type: boolean
                        more:
                          type: string
                  metadata:
                    type: object
                    required:
                      - prompt
                      - history
                      - stem_from_id
                      - stem_task
                      - stem_type_id
                      - stem_type_group_name
                      - edited_clip_id
                      - type
                      - stream
                      - infill
                      - task
                      - can_remix
                      - is_remix
                      - priority
                    properties:
                      prompt:
                        type: string
                      history:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            type:
                              type: string
                            source:
                              type: string
                            infill:
                              type: boolean
                            stem_type_id:
                              type: integer
                            stem_type_group_name:
                              type: string
                            stem_task:
                              type: string
                            stem_from_id:
                              type: string
                      stem_from_id:
                        type: string
                      stem_task:
                        type: string
                      stem_type_id:
                        type: integer
                      stem_type_group_name:
                        type: string
                      edited_clip_id:
                        type: string
                      type:
                        type: string
                      stream:
                        type: boolean
                      infill:
                        type: boolean
                      task:
                        type: string
                      can_remix:
                        type: boolean
                      is_remix:
                        type: boolean
                      priority:
                        type: integer
                  major_model_version:
                    type: string
                  status:
                    type: string
                  created_at:
                    type: string
                  batch_size:
                    type: integer
      x-codeSamples:
        - lang: Shell
          label: cURL
          source: |
            curl https://api.deerapi.com/suno/submit/music \
              -H "Content-Type: application/json" \
              -H "Authorization: Bearer $DEERAPI_KEY" \
              -d '{
                "task": "gen_stem",
                "task_id": "7e0000d1-511e-482e-9b13-f6f8dbb02a05",
                "generation_type": "TEXT",
                "title": "Strings of Safety",
                "mv": "chirp-auk",
                "make_instrumental": true,
                "continue_clip_id": "31f022a4-b95c-4988-9608-281172753cf4",
                "continued_aligned_prompt": null,
                "continue_at": null,
                "stem_type_id": 91,
                "stem_type_group_name": "Twelve",
                "stem_task": "twelve"
              }'
        - lang: Python
          label: requests
          source: |
            import os
            import requests

            url = "https://api.deerapi.com/suno/submit/music"
            headers = {
                "Authorization": "Bearer " + os.environ["DEERAPI_KEY"],
                "Content-Type": "application/json",
            }
            payload = {
              "task": "gen_stem",
              "task_id": "7e0000d1-511e-482e-9b13-f6f8dbb02a05",
              "generation_type": "TEXT",
              "title": "Strings of Safety",
              "mv": "chirp-auk",
              "make_instrumental": true,
              "continue_clip_id": "31f022a4-b95c-4988-9608-281172753cf4",
              "continued_aligned_prompt": null,
              "continue_at": null,
              "stem_type_id": 91,
              "stem_type_group_name": "Twelve",
              "stem_task": "twelve"
            }

            response = requests.post(url, headers=headers, json=payload)
            print(response.json())
        - lang: JavaScript
          label: fetch
          source: >
            const response = await
            fetch("https://api.deerapi.com/suno/submit/music", {
              method: "POST",
              headers: {
                Authorization: `Bearer ${process.env.DEERAPI_KEY}`,
                "Content-Type": "application/json",
              },
              body: JSON.stringify({
                "task": "gen_stem",
                "task_id": "7e0000d1-511e-482e-9b13-f6f8dbb02a05",
                "generation_type": "TEXT",
                "title": "Strings of Safety",
                "mv": "chirp-auk",
                "make_instrumental": true,
                "continue_clip_id": "31f022a4-b95c-4988-9608-281172753cf4",
                "continued_aligned_prompt": null,
                "continue_at": null,
                "stem_type_id": 91,
                "stem_type_group_name": "Twelve",
                "stem_task": "twelve"
              }),
            });


            console.log(await response.json());
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Use a DeerAPI API Key as a Bearer token.

````