> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omniall.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Stem separation

> Separate lead vocal or a chosen stem.

**Path:** `POST https://api.omniall.ai/suno/v2/stems`

Billing model: `suno/stems`. Returns public `task_xxxx`; poll via fetch.

Auth: `Authorization: Bearer sk-...`



## OpenAPI

````yaml openapi/suno-v2.yaml POST /suno/v2/stems
openapi: 3.1.0
info:
  title: Omniall AI — Suno V2
  version: 1.0.0
  description: >-
    Suno V2 async music API (`/suno/v2/*`).


    Flow: submit → get `data.task_id` → poll `GET /suno/v2/fetch/{task_id}` or
    `POST /suno/v2/fetch` until `SUCCESS`.


    **`mv`:** `chirp-v6` (default) · `chirp-v6-wild` · `chirp-v6-mini`.


    **Billing:** per call; model names match paths (e.g. `suno/music`). For some
    generate endpoints, `max_mode` with `custom=true` doubles the price. See
    [pricing](https://omniall.ai/pricing).


    Independent from legacy `/suno/submit/*` (`suno_music` / `suno_lyrics`).


    Auth: `Authorization: Bearer sk-...`
servers:
  - url: https://api.omniall.ai
security: []
paths:
  /suno/v2/stems:
    post:
      tags:
        - Suno V2
      summary: Stem separation
      description: |-
        Separate lead vocal or a chosen stem.

        **Path:** `POST https://api.omniall.ai/suno/v2/stems`

        Billing model: `suno/stems`. Returns public `task_xxxx`; poll via fetch.

        Auth: `Authorization: Bearer sk-...`
      operationId: sunoV2Stems
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
            example: Bearer sk-...
          description: Bearer API key, e.g. `Bearer sk-...`.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                audio_format:
                  type: string
                  enum:
                    - mp3
                    - m4a
                    - wav
                  description: >-
                    Output Format. Format of the finished audio. Defaults to
                    mp3.
                  example: mp3
                music_id:
                  type: string
                  description: >-
                    Source Track. The track to work on. Use the music_id from an
                    earlier result.
                stem_type:
                  type: string
                  enum:
                    - lead_vocal
                    - drum_kit
                    - bass
                    - backing_vocals
                    - piano
                    - electric_guitar
                    - percussion
                    - string_section
                    - synth
                    - acoustic_guitar
                    - sound_effects
                    - synth_pad
                    - synth_bass
                    - guitar
                    - brass_section
                    - organ
                    - electronic_drum_kit
                    - lead_electric_guitar
                    - synth_keys
                    - rhythm_electric_guitar
                    - electric_piano
                    - upright_bass
                    - keyboards
                    - distorted_electric_guitar
                    - kick
                    - snare
                    - risers
                    - synth_strings
                    - synth_lead
                    - woodwinds
                    - flute
                    - harp
                    - tambourine
                    - trumpet
                    - arpeggiator
                    - accordion
                    - fiddle
                    - pedal_steel_guitar
                    - synth_voice
                    - violin
                    - digital_piano
                    - synth_brass
                    - mandolin
                    - choir
                    - banjo
                    - bells
                    - clarinet
                    - tenor_saxophone
                    - trombone
                    - shaker
                    - french_horn
                    - glockenspiel
                    - electric_bass
                    - cello
                    - timpani
                    - harmonica
                    - marimba
                    - vibraphone
                    - lap_steel_guitar
                    - saxophone
                    - orchestra
                    - horns
                    - cymbals
                    - hand_clap
                    - oboe
                    - celesta
                    - congas
                    - drone
                    - alto_saxophone
                    - double_bass
                    - ukulele
                    - harpsichord
                    - baritone_saxophone
                    - xylophone
                    - tuba
                    - bass_guitar
                    - whistle
                    - lead_guitar
                    - rhodes
                    - '808'
                    - bongos
                    - bassoon
                    - cowbell
                    - viola
                    - sitar
                    - steel_drums
                    - piccolo
                    - theremin
                    - bagpipes
                    - hi_hat
                    - music_box
                    - melodica
                    - tabla
                    - koto
                    - djembe
                    - taiko
                    - didgeridoo
                  default: lead_vocal
                  description: Stem. Which stem to pull out. Defaults to the lead vocal.
                  example: lead_vocal
              required:
                - music_id
            example:
              music_id: music_xxx
              stem_type: lead_vocal
              audio_format: mp3
      responses:
        '200':
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SunoV2SubmitResponse'
              example:
                code: success
                message: success
                data:
                  task_id: task_xxxxxxxx
components:
  schemas:
    SunoV2SubmitResponse:
      type: object
      properties:
        code:
          type: string
          example: success
        message:
          type: string
          example: success
        data:
          type: object
          properties:
            task_id:
              type: string
              description: Public task id (`task_xxxx`).
              example: task_xxxxxxxx

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.