# Get Audio Separation Details

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v1/vocal-removal/record-info:
    get:
      summary: Get Audio Separation Details
      deprecated: false
      description: >
        Retrieve detailed information about a vocal separation task, including
        status and download links.


        ### Status Descriptions

        - PENDING: Task is waiting to be processed

        - SUCCESS: Vocal separation completed successfully

        - CREATE_TASK_FAILED: Failed to create the separation task

        - GENERATE_AUDIO_FAILED: Failed to perform vocal separation

        - CALLBACK_EXCEPTION: Error occurred during callback


        ### Return Data Description


        Based on the separation type you selected during generation, the audio
        URL fields included in the response will vary:


        #### separate_vocal Type Return Fields

        When status is SUCCESS, the response includes the following download
        URLs:

        - `originUrl`: Original mixed track

        - `instrumentalUrl`: Instrumental track without vocals

        - `vocalUrl`: Isolated vocals only track


        #### split_stem Type Return Fields

        When status is SUCCESS, the response includes the following download
        URLs:

        - `originUrl`: Original mixed track

        - `vocalUrl`: Isolated vocals only track

        - `backingVocalsUrl`: Isolated backing vocals track

        - `drumsUrl`: Isolated drums track

        - `bassUrl`: Isolated bass track

        - `guitarUrl`: Isolated guitar track

        - `keyboardUrl`: Isolated keyboard track

        - `percussionUrl`: Isolated percussion track

        - `stringsUrl`: Isolated strings track

        - `synthUrl`: Isolated synthesizer track

        - `fxUrl`: Isolated effects track

        - `brassUrl`: Isolated brass track

        - `woodwindsUrl`: Isolated woodwinds track


        ### Developer Notes

        - Use this endpoint to check separation status instead of waiting for
        callbacks

        - Task creation and completion times are included in the response

        - Different separation types return different combinations of audio
        fields

        - Audio URLs are only returned when the task is successfully completed

        - Audio file URLs have time limits, recommend downloading and saving
        promptly

        - `separate_vocal` type returns `instrumentalUrl` and `vocalUrl` fields,
        other instrument fields are null

        - `split_stem` type returns detailed instrument separation fields,
        `instrumentalUrl` is null
      operationId: get-vocal-separation-details
      tags:
        - docs/en/Suno API/Vocal Removal
      parameters:
        - name: taskId
          in: query
          description: >-
            The task ID returned from the Separate Vocals from Music endpoint.
            Used to retrieve detailed information about a specific vocal
            separation task, including download URLs for all audio components
            (original, vocals, instrumental, drums, bass, guitar, piano).
          required: true
          example: 5e72****97c7
          schema:
            type: string
      responses:
        '200':
          description: Request successful
          content:
            application/json:
              schema:
                allOf:
                  - type: object
                    properties:
                      code:
                        type: integer
                        description: >-
                          # Status Codes


                          - ✅ 200 - Request successful

                          - ⚠️ 400 - Invalid parameters

                          - ⚠️ 401 - Unauthorized access

                          - ⚠️ 404 - Invalid request method or path

                          - ⚠️ 405 - Rate limit exceeded

                          - ⚠️ 413 - Theme or prompt too long

                          - ⚠️ 429 - Insufficient credits

                          - ⚠️ 430 - Your call frequency is too high. Please try
                          again later.

                          - ⚠️ 455 - System maintenance

                          - ❌ 500 - Server error
                        enum:
                          - 200
                          - 400
                          - 401
                          - 404
                          - 405
                          - 413
                          - 429
                          - 430
                          - 455
                          - 500
                        examples:
                          - 200
                      msg:
                        type: string
                        description: Error message when code != 200
                        examples:
                          - success
                    x-apidog-orders:
                      - code
                      - msg
                  - type: object
                    properties:
                      data:
                        type: object
                        properties:
                          taskId:
                            type: string
                            description: Task ID
                          musicId:
                            type: string
                            description: >-
                              The ID of the source music track that was
                              processed for vocal separation
                          musicIndex:
                            type: integer
                            description: Song index 0 or 1
                            examples:
                              - 0
                          callbackUrl:
                            type: string
                            description: >-
                              The callback URL that was provided in the vocal
                              separation request
                          completeTime:
                            type: string
                            description: The timestamp when the separation was completed
                            format: date-time
                          response:
                            type: object
                            description: >-
                              Vocal separation results, fields vary based on the
                              requested type parameter
                            properties:
                              id:
                                type: string
                                description: Response ID
                                nullable: true
                              originUrl:
                                type: string
                                description: Original audio URL
                              originData:
                                type: array
                                description: Array of separated audio track information
                                items:
                                  type: object
                                  properties:
                                    duration:
                                      type: number
                                      description: Audio duration in seconds
                                      examples:
                                        - 339.8
                                    audio_url:
                                      type: string
                                      format: uri
                                      description: URL of the separated audio track
                                      examples:
                                        - https://example.mp3
                                    stem_type_group_name:
                                      type: string
                                      description: >-
                                        Name of the stem type group (e.g.,
                                        Vocals, Instrumental, Drums, Bass, etc.)
                                      examples:
                                        - Vocals
                                    id:
                                      type: string
                                      description: >-
                                        Unique identifier for the audio track.
                                        This ID can be used as the audioId
                                        parameter in MIDI generation and in WAV
                                        conversion.
                                      examples:
                                        - 8ca376e7-2693-48d2-875d-08aaf2c6dd27
                                  x-apidog-orders:
                                    - duration
                                    - audio_url
                                    - stem_type_group_name
                                    - id
                              instrumentalUrl:
                                type: string
                                description: >-
                                  Instrumental part audio URL (separate_vocal
                                  type)
                              vocalUrl:
                                type: string
                                description: Vocal part audio URL
                              backingVocalsUrl:
                                type: string
                                description: Backing vocals audio URL (split_stem type)
                              drumsUrl:
                                type: string
                                description: Drums part audio URL (split_stem type)
                              bassUrl:
                                type: string
                                description: Bass part audio URL (split_stem type)
                              guitarUrl:
                                type: string
                                description: Guitar part audio URL (split_stem type)
                              keyboardUrl:
                                type: string
                                description: Keyboard part audio URL (split_stem type)
                              percussionUrl:
                                type: string
                                description: >-
                                  Percussion instruments audio URL (split_stem
                                  type)
                              stringsUrl:
                                type: string
                                description: String instruments audio URL (split_stem type)
                              synthUrl:
                                type: string
                                description: Synthesizer audio URL (split_stem type)
                              fxUrl:
                                type: string
                                description: Sound effects audio URL (split_stem type)
                              brassUrl:
                                type: string
                                description: Brass instruments audio URL (split_stem type)
                              woodwindsUrl:
                                type: string
                                description: >-
                                  Woodwind instruments audio URL (split_stem
                                  type)
                            x-apidog-orders:
                              - id
                              - originUrl
                              - originData
                              - instrumentalUrl
                              - vocalUrl
                              - backingVocalsUrl
                              - drumsUrl
                              - bassUrl
                              - guitarUrl
                              - keyboardUrl
                              - percussionUrl
                              - stringsUrl
                              - synthUrl
                              - fxUrl
                              - brassUrl
                              - woodwindsUrl
                          successFlag:
                            type: string
                            description: The current status of the vocal separation task
                            enum:
                              - PENDING
                              - SUCCESS
                              - CREATE_TASK_FAILED
                              - GENERATE_AUDIO_FAILED
                              - CALLBACK_EXCEPTION
                          createTime:
                            type: string
                            description: Creation time
                            format: date-time
                          errorCode:
                            type: number
                            description: Error code, valid when task fails
                          errorMessage:
                            type: string
                            description: Error message, valid when task fails
                        x-apidog-orders:
                          - taskId
                          - musicId
                          - musicIndex
                          - callbackUrl
                          - completeTime
                          - response
                          - successFlag
                          - createTime
                          - errorCode
                          - errorMessage
                    x-apidog-orders:
                      - data
          headers: {}
          x-apidog-name: Success
        '500':
          description: Server error
          headers: {}
          x-apidog-name: Server Error
      security: []
      x-apidog-folder: docs/en/Suno API/Vocal Removal
      x-apidog-status: released
      x-run-in-apidog: https://app.apidog.com/web/project/1412907/apis/api-46842284-run
components:
  schemas: {}
  securitySchemes:
    BearerAuth:
      type: bearer
      scheme: bearer
      bearerFormat: API Key
      description: >-
        # 🔑 API Authentication


        All endpoints require authentication using Bearer Token.


        ## Get API Key


        1. Visit the [API Key Management Page](https://sunoapi.org/api-key) to
        obtain your API Key


        ## Usage


        Add to request headers:


        ```

        Authorization: Bearer YOUR_API_KEY

        ```


        > **⚠️ Note:**

        > - Keep your API Key secure and do not share it with others

        > - If you suspect your API Key has been compromised, reset it
        immediately from the management page
servers:
  - url: https://apibox.erweima.ai
    description: 正式环境
security: []

```
