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

# Create a music or sound generation task

> Music and audio generation submission API, compatible with the legacy `/suno/submit/music` path. Returns a task ID, which can later be queried through `/suno/fetch/{task_id}`.

Music and sound generation task submission endpoint. Pass the submodel name via `upstream_model`. The creation endpoint returns `task_id`, which you can then use with `/suno/fetch/{task_id}` to retrieve the output.

If `upstream_model` is not provided (or only `{"model":"suno_music"}` is provided), Suno v5.5 is used by default. To continue using the legacy Suno version, explicitly pass `"upstream_model":"suno-v5"`.

SeedMusic uses the same submission and query paths. Pass `model: "suno_music"`, `upstream_model: "sd-music-1.0-preview"`, `prompt`, and the optional integer `duration` (30–360 seconds; defaults to 30 seconds). The prompt must be 1–4,000 characters. On success, read the audio from the segment's `audio_url`.

```json
{
  "model": "suno_music",
  "upstream_model": "sd-music-1.0-preview",
  "prompt": "安静的钢琴曲，伴有轻柔的雨声",
  "duration": 60
}
```

## Available Submodels

| Type | `upstream_model` |
| --- | --- |
| Music | `suno-v6` |
| Text-to-music generation | `sd-music-1.0-preview` |
| Music | `suno-v5.5` |
| Music | `suno-v5` |
| Music | `lyria-3-pro` |
| Sound | `seed-audio-1.0` |
| Sound | `minimax-speech-2.8-hd` |

## Prompt Description Mode

Suitable for describing only the style, mood, language, singer type, and scenario, with the model automatically generating the song content.

```json
{
  "model": "suno_music",
  "upstream_model": "suno-v6",
  "prompt": "Create an energetic retro-pop DJ song about the artificial intelligence revolution.",
  "make_instrumental": false
}
```

## Audio generation

MiniMax Speech can set voice parameters via `extraParams`.

```json
{
  "model": "suno_music",
  "upstream_model": "minimax-speech-2.8-hd",
  "prompt": "欢迎使用新版语音生成服务。",
  "extraParams": {
    "voice": "moss_audio_ce44fc67-7ce3-11f0-8de5-96e35d26fb85",
    "outputFormat": "mp3",
    "sampleRate": 32000,
    "speed": 1,
    "volume": 1,
    "pitch": 0
  }
}
```

When no voice parameters are provided for MiniMax Speech, the server sends `voice`, `outputFormat=mp3`, `sampleRate=32000`, `speed=1`, `volume=1`, and `pitch=0` from the example above by default.

Lyria 3 Pro uses `upstream_model=lyria-3-pro`:

```json
{
  "model": "suno_music",
  "upstream_model": "lyria-3-pro",
  "prompt": "Cinematic orchestral music with a hopeful finale."
}
```

## Light Music or Instrumental Only

You can use `light_music=true` or `make_instrumental=true`. `light_music` indicates a preference for light music/background music, and `make_instrumental` indicates that no sung vocals will be generated.

```json
{
  "model": "suno_music",
  "upstream_model": "minimax-music-v2.6",
  "prompt": "Warm cafe background music with soft piano and strings, relaxing and cinematic.",
  "light_music": true,
  "make_instrumental": true
}
```

## Advanced Lyrics Mode

Suitable when the business side has already prepared the lyrics and needs to specify the title and style tags. Pass `custom_mode=true` and use `lyrics` to submit the lyrics.

```json
{
  "model": "suno_music",
  "upstream_model": "mureka-v9",
  "custom_mode": true,
  "title": "Summer Sea Breeze",
  "tags": "electro pop, female vocal, bright summer",
  "lyrics": "[Verse]\nSea breeze moves across the white sand\n[Chorus]\nTurn the summer into a beam of light"
}
```

## Query

After creation succeeds, save the returned `data` task ID, such as `task_xxx`, and call `GET /suno/fetch/{task_id}` to query the status, audio URL, cover, title, lyrics, and the upstream raw fragment information.



## OpenAPI

````yaml api-reference/en/openapi.json POST /suno/submit/music
openapi: 3.0.0
info:
  title: Overseas Expansion Camp API Reference Documentation
  version: 1.0.0
  description: Public AI Gateway API Reference
servers:
  - url: https://api.newapi.si
security:
  - BearerAuth: []
tags:
  - name: OpenAI format (Chat)
  - name: OpenAI Format (Responses)
  - name: Gemini Format for Image Generation
  - name: Image generationOpenAI DALL-E format
  - name: List models
  - name: Video generationHappyHorse and Wan
  - name: Video generation Kling format
  - name: Video generation Omni and Veo formats
  - name: Video generation Seedance
  - name: Video generation Sora compatible formats
  - name: Video generation Vidu
  - name: Music generation task format
paths:
  /suno/submit/music:
    post:
      tags:
        - Music generation task format
      summary: Create a music or sound generation task
      description: >-
        Music and audio generation submission API, compatible with the legacy
        `/suno/submit/music` path. Returns a task ID, which can later be queried
        through `/suno/fetch/{task_id}`.


        Music and sound generation task submission endpoint. Pass the submodel
        name via `upstream_model`. The creation endpoint returns `task_id`,
        which you can then use with `/suno/fetch/{task_id}` to retrieve the
        output.


        If `upstream_model` is not provided (or only `{"model":"suno_music"}` is
        provided), Suno v5.5 is used by default. To continue using the legacy
        Suno version, explicitly pass `"upstream_model":"suno-v5"`.


        SeedMusic uses the same submission and query paths. Pass `model:
        "suno_music"`, `upstream_model: "sd-music-1.0-preview"`, `prompt`, and
        the optional integer `duration` (30–360 seconds; defaults to 30
        seconds). The prompt must be 1–4,000 characters. On success, read the
        audio from the segment's `audio_url`.


        ```json

        {
          "model": "suno_music",
          "upstream_model": "sd-music-1.0-preview",
          "prompt": "安静的钢琴曲，伴有轻柔的雨声",
          "duration": 60
        }

        ```


        ## Available Submodels


        | Type | `upstream_model` |

        | --- | --- |

        | Music | `suno-v6` |

        | Text-to-music generation | `sd-music-1.0-preview` |

        | Music | `suno-v5.5` |

        | Music | `suno-v5` |

        | Music | `lyria-3-pro` |

        | Sound | `seed-audio-1.0` |

        | Sound | `minimax-speech-2.8-hd` |


        ## Prompt Description Mode


        Suitable for describing only the style, mood, language, singer type, and
        scenario, with the model automatically generating the song content.


        ```json

        {
          "model": "suno_music",
          "upstream_model": "suno-v6",
          "prompt": "Create an energetic retro-pop DJ song about the artificial intelligence revolution.",
          "make_instrumental": false
        }

        ```


        ## Audio generation


        MiniMax Speech can set voice parameters via `extraParams`.


        ```json

        {
          "model": "suno_music",
          "upstream_model": "minimax-speech-2.8-hd",
          "prompt": "欢迎使用新版语音生成服务。",
          "extraParams": {
            "voice": "moss_audio_ce44fc67-7ce3-11f0-8de5-96e35d26fb85",
            "outputFormat": "mp3",
            "sampleRate": 32000,
            "speed": 1,
            "volume": 1,
            "pitch": 0
          }
        }

        ```


        When no voice parameters are provided for MiniMax Speech, the server
        sends `voice`, `outputFormat=mp3`, `sampleRate=32000`, `speed=1`,
        `volume=1`, and `pitch=0` from the example above by default.


        Lyria 3 Pro uses `upstream_model=lyria-3-pro`:


        ```json

        {
          "model": "suno_music",
          "upstream_model": "lyria-3-pro",
          "prompt": "Cinematic orchestral music with a hopeful finale."
        }

        ```


        ## Light Music or Instrumental Only


        You can use `light_music=true` or `make_instrumental=true`.
        `light_music` indicates a preference for light music/background music,
        and `make_instrumental` indicates that no sung vocals will be generated.


        ```json

        {
          "model": "suno_music",
          "upstream_model": "minimax-music-v2.6",
          "prompt": "Warm cafe background music with soft piano and strings, relaxing and cinematic.",
          "light_music": true,
          "make_instrumental": true
        }

        ```


        ## Advanced Lyrics Mode


        Suitable when the business side has already prepared the lyrics and
        needs to specify the title and style tags. Pass `custom_mode=true` and
        use `lyrics` to submit the lyrics.


        ```json

        {
          "model": "suno_music",
          "upstream_model": "mureka-v9",
          "custom_mode": true,
          "title": "Summer Sea Breeze",
          "tags": "electro pop, female vocal, bright summer",
          "lyrics": "[Verse]\nSea breeze moves across the white sand\n[Chorus]\nTurn the summer into a beam of light"
        }

        ```


        ## Query


        After creation succeeds, save the returned `data` task ID, such as
        `task_xxx`, and call `GET /suno/fetch/{task_id}` to query the status,
        audio URL, cover, title, lyrics, and the upstream raw fragment
        information.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - model
                - prompt
              properties:
                model:
                  type: string
                  example: suno_music
                  description: Always pass `suno_music`.
                  enum:
                    - suno_music
                upstream_model:
                  type: string
                  example: suno-v6
                  description: >-
                    Accepts `sd-music-1.0-preview`, `suno-v6`, or `suno-v5.5`;
                    defaults to `suno-v5.5`.
                prompt:
                  type: string
                  description: >-
                    A prompt describing music or sound. SeedMusic supports
                    1–4,000 characters.
                duration:
                  type: integer
                  minimum: 30
                  maximum: 360
                  description: >-
                    SeedMusic track duration is 30–360 seconds, with a default
                    of 30 seconds.
                extraParams:
                  type: object
                  description: >-
                    MiniMax Speech 2.8 HD 的
                    `voice`、`outputFormat`、`sampleRate`、`speed`、`volume`、`pitch`
                    参数。
                  properties:
                    voice:
                      type: string
                      default: moss_audio_ce44fc67-7ce3-11f0-8de5-96e35d26fb85
                    outputFormat:
                      type: string
                      default: mp3
                    sampleRate:
                      type: integer
                      default: 32000
                    speed:
                      type: number
                      default: 1
                    volume:
                      type: number
                      default: 1
                    pitch:
                      type: number
                      default: 0
                  additionalProperties: true
                make_instrumental:
                  type: boolean
                  default: false
                  description: Whether to generate instrumental accompaniment only.
                light_music:
                  type: boolean
                  description: Whether to generate in a light music/background music style.
                pure_music:
                  type: boolean
                  description: Whether to generate in instrumental music mode.
                custom_mode:
                  type: boolean
                  description: Whether to use custom mode.
                title:
                  type: string
                  description: Song title.
                tags:
                  type: string
                  description: Style tags, such as `electro pop, female vocal`.
                lyrics:
                  type: string
                  description: Lyrics content.
            examples:
              seedmusic_single_track:
                summary: SeedMusic single track
                value:
                  model: suno_music
                  upstream_model: sd-music-1.0-preview
                  duration: 60
                  prompt: A quiet piano piece with gentle rain.
              music_submit_suno_v6:
                summary: Suno v6 Music Generation
                value:
                  model: suno_music
                  upstream_model: suno-v6
                  prompt: >-
                    Create an energetic retro-pop DJ song about the artificial
                    intelligence revolution.
                  make_instrumental: false
              music_submit_prompt:
                summary: Suno v5.5 Music Generation
                value:
                  model: suno_music
                  upstream_model: suno-v5.5
                  prompt: >-
                    Imitating "Billie Jean," create a DJ song with the theme of
                    "the artificial intelligence revolution."
                  make_instrumental: false
              music_submit_lyria:
                summary: Lyria 3 Pro music generation
                value:
                  model: suno_music
                  upstream_model: lyria-3-pro
                  prompt: Cinematic orchestral music with a hopeful finale.
              audio_submit_seed:
                summary: Seed Audio 1.0 Audio Generation
                value:
                  model: suno_music
                  upstream_model: seed-audio-1.0
                  prompt: 清晨海边的浪声与远处海鸥声。
              audio_submit_minimax_speech:
                summary: MiniMax Speech 2.8 HD
                value:
                  model: suno_music
                  upstream_model: minimax-speech-2.8-hd
                  prompt: 欢迎使用新版语音生成服务。
                  extraParams:
                    voice: moss_audio_ce44fc67-7ce3-11f0-8de5-96e35d26fb85
                    outputFormat: mp3
                    sampleRate: 32000
                    speed: 1
                    volume: 1
                    pitch: 0
              music_submit_light:
                summary: Light Music Generation
                value:
                  model: suno_music
                  upstream_model: minimax-music-v2.6
                  prompt: >-
                    Warm cafe background music with soft piano and strings,
                    relaxing and cinematic.
                  light_music: true
                  make_instrumental: true
              music_submit_lyrics:
                summary: Advanced Lyrics Mode
                value:
                  model: suno_music
                  upstream_model: mureka-v9
                  custom_mode: true
                  title: Summer Sea Breeze
                  tags: electro pop, female vocal, bright summer
                  lyrics: |-
                    [Verse]
                    Sea breeze moves across the white sand
                    [Chorus]
                    Turn the summer into a beam of light
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: success
                    description: On success, `success`.
                  message:
                    type: string
                    description: Error or warning message.
                  data:
                    type: object
                    description: Task ID, used for subsequent queries.
              examples:
                music_submit_success:
                  summary: Music generation submitted successfully
                  value:
                    code: success
                    message: ''
                    data: task_xxx
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: |-
        Use Bearer Token authentication.
        Format: `Authorization: Bearer sk-xxxxxx`

````

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