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

# Generate music

> Create a Suno music task.

**Path:** `POST https://api.omniall.ai/suno/submit/music`

Returns a public `task_xxxx` id. Poll with `GET /suno/fetch/{task_id}` or batch `POST /suno/fetch`.

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



## OpenAPI

````yaml openapi/suno-audio.yaml POST /suno/submit/music
openapi: 3.1.0
info:
  title: Omniall AI — Suno music
  version: 1.0.0
  description: >-
    Suno async music & lyrics.


    **Create:** `POST https://api.omniall.ai/suno/submit/music` · `POST
    /suno/submit/lyrics`


    **Poll:** `GET /suno/fetch/{task_id}` · batch `POST /suno/fetch`


    Billing model ids: `suno_music`, `suno_lyrics` (see [Model
    Square](https://omniall.ai/pricing)).


    Auth: `Authorization: Bearer sk-...`
servers:
  - url: https://api.omniall.ai
security: []
paths:
  /suno/submit/music:
    post:
      tags:
        - Suno
      summary: Generate music
      description: >-
        Create a Suno music task.


        **Path:** `POST https://api.omniall.ai/suno/submit/music`


        Returns a public `task_xxxx` id. Poll with `GET /suno/fetch/{task_id}`
        or batch `POST /suno/fetch`.


        Auth: `Authorization: Bearer sk-...`
      operationId: sunoCreateMusic
      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
              description: Suno music submit body (custom / description modes).
              properties:
                prompt:
                  type: string
                  description: Lyrics or song text (custom mode).
                  example: |-
                    [Verse]
                    City lights on wet asphalt
                    [Chorus]
                    We keep walking through the neon rain
                tags:
                  type: string
                  description: Style tags, e.g. genre / mood / instruments.
                  example: cinematic indie pop, atmospheric, neon
                title:
                  type: string
                  description: Track title.
                  example: Neon Rain
                mv:
                  type: string
                  description: >-
                    Model version / clip engine (e.g. `chirp-v4`, `chirp-auk`).
                    Upstream-dependent.
                  example: chirp-v4
                gpt_description_prompt:
                  type: string
                  description: >-
                    Natural-language description when not writing full lyrics
                    (description mode).
                  example: >-
                    Upbeat indie pop about walking through neon rain in a
                    futuristic city
                make_instrumental:
                  type: boolean
                  description: Instrumental only (no vocals).
                  example: false
                continue_at:
                  type: number
                  description: Continue generation from this timestamp (seconds).
                continue_clip_id:
                  type: string
                  description: Clip id to continue from.
                task_id:
                  type: string
                  description: Related task id for continue flows.
            examples:
              custom_mode:
                summary: Custom mode (lyrics + tags)
                value:
                  prompt: |-
                    [Verse]
                    City lights on wet asphalt
                    [Chorus]
                    We keep walking through the neon rain
                  tags: cinematic indie pop, atmospheric, neon
                  title: Neon Rain
                  mv: chirp-v4
                  make_instrumental: false
              description_mode:
                summary: Description mode
                value:
                  gpt_description_prompt: >-
                    Upbeat indie pop about walking through neon rain in a
                    futuristic city
                  mv: chirp-v4
                  make_instrumental: false
              instrumental:
                summary: Instrumental
                value:
                  gpt_description_prompt: Cinematic ambient synth score for a night drive
                  tags: ambient, cinematic, synthwave
                  title: Night Drive
                  mv: chirp-v4
                  make_instrumental: true
      responses:
        '200':
          description: Task accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SunoSubmitResponse'
              example:
                code: success
                message: ''
                data: task_xxxxxxxx
components:
  schemas:
    SunoSubmitResponse:
      type: object
      properties:
        code:
          type: string
          example: success
        message:
          type: string
        data:
          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.