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

# Suno API: Sounds Generate

> Generate sound effects, ambience, and loopable audio from text prompts.

### Important Notes

* Supports `v5` and `v5.5`
* `prompt` is required and should clearly describe the target sound effect
* `sound_loop` can be enabled for ambient beds, UI sounds, and other repeatable effects
* `sound_tempo` and `sound_key` are optional controls for more structured sound design
* `grab_lyrics` can be enabled when you want lyric-style subtitle metadata if available

### Usage Scenarios

* 🔔 Product/application prompt tone
* 🎮 Game/interactive scene ambient loop sound
* 🎞️ Short video / Advertisement / Video transition sound effects

### Generate Sound Effects

Create non-music audio such as ambience, impacts, transitions, UI sounds, and loopable effects from a text prompt.

<CodeGroup>
  ```json basic sound effect theme={null} theme={null}
  {
      "model": "suno/sounds-generate",
      "callback_url": "",
      "input": {
          "model": "v5.5",
          "prompt": "Heavy rain hitting a car roof with distant thunder and occasional windshield wiper movement."
      }
  }
  ```

  ```json loopable ambience theme={null} theme={null}
  {
      "model": "suno/sounds-generate",
      "callback_url": "",
      "input": {
          "model": "v5",
          "prompt": "Retro arcade room ambience with soft machine hums, coin sounds, and subtle electronic beeps.",
          "sound_loop": true,
          "sound_tempo": 110,
          "sound_key": "Cm",
          "grab_lyrics": false
      }
  }
  ```
</CodeGroup>

### Get Task Result

After submitting a task, use the unified query endpoint to check progress and retrieve results:

<Card title="Get Suno Task Info" icon="magnifying-glass" href="/suno-api/suno-task-info">
  Learn how to query suno task status and retrieve generation results
</Card>


## OpenAPI

````yaml suno-api/sounds-generate.json post /api/v1/client/job/CreateTask
openapi: 3.0.0
info:
  title: Crun Suno Sounds Generate API
  description: crun.ai Suno Sounds Generate API Documentation
  version: 1.0.0
  contact:
    name: Technical Support
    email: support@crun.ai
servers:
  - url: https://api.crun.ai
    description: API Server
security:
  - ApiKeyAuth: []
paths:
  /api/v1/client/job/CreateTask:
    post:
      summary: Suno sound effects generation
      operationId: suno/sounds-generate
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - model
                - input
              properties:
                model:
                  type: string
                  enum:
                    - suno/sounds-generate
                  description: |-
                    The model name to use for generation. Required field.

                    - Must be `suno/sounds-generate` for this endpoint
                callback_url:
                  type: string
                  format: uri
                  description: >-
                    Optional. Callback URL for receiving task completion
                    notifications.


                    - System will POST task status and results to this URL when
                    generation completes

                    - Callback payloads structure is consistent with the `data`
                    object returned by the task status query

                    - Your callback endpoint should accept POST requests with
                    JSON payload containing results

                    - It returns an HTTP 200 status code upon successful receipt
                  example: https://your-domain.com/api/callback
                input:
                  $ref: '#/components/schemas/SunoSoundsGenerateInput'
            example:
              model: suno/sounds-generate
              callback_url: https://your-domain.com/api/callback
              input:
                model: v5.5
                prompt: >-
                  Heavy rain hitting a car roof with distant thunder and
                  occasional windshield wiper movement.
                sound_loop: false
                sound_tempo: 120
                sound_key: Cm
                grab_lyrics: false
      responses:
        '200':
          description: Request successful
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ApiResponse'
                  - type: object
                    properties:
                      data:
                        type: object
                        properties:
                          task_id:
                            type: string
                            description: >-
                              Task ID, can be used with Get Task Details
                              endpoint to query task status
                            example: task_12345678
              example:
                code: 200
                message: success
                data:
                  task_id: task_12345678
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ApiResponse'
                  - type: object
                    properties:
                      errors:
                        type: array
                        description: Detailed validation error messages
                        items:
                          type: string
                        example:
                          - specific error field message
              example:
                code: 422
                message: Missing Params or Type Error
                errors:
                  - specific error field message
        '500':
          $ref: '#/components/responses/Error'
components:
  schemas:
    SunoSoundsGenerateInput:
      type: object
      description: |-
        Input parameters for generating sound effects with Suno.

        Rules:
        - `model` is required and only supports `v5` or `v5.5`.
        - `prompt` is required and describes the target sound effect.
        - `sound_tempo` is optional and must be between 1 and 300.
        - `sound_key` is optional and supports common major and minor keys.
      properties:
        model:
          type: string
          enum:
            - v5
            - v5.5
          description: Suno sound generation model version.
          example: v5.5
        prompt:
          type: string
          maxLength: 500
          description: Prompt describing the target sound effect, ambience, or loop.
          example: >-
            Heavy rain hitting a car roof with distant thunder and occasional
            windshield wiper movement.
        sound_loop:
          type: boolean
          description: Whether to generate a seamless looping sound effect.
          default: false
          example: false
        sound_tempo:
          type: integer
          minimum: 1
          maximum: 300
          description: Optional tempo hint for the generated sound effect.
          example: 120
        sound_key:
          type: string
          enum:
            - Cm
            - C#m
            - Dm
            - D#m
            - Em
            - Fm
            - F#m
            - Gm
            - G#m
            - Am
            - A#m
            - Bm
            - C
            - C#
            - D
            - D#
            - E
            - F
            - F#
            - G
            - G#
            - A
            - A#
            - B
          description: Optional musical key for the generated sound effect.
          example: Cm
        grab_lyrics:
          type: boolean
          description: Whether to extract lyric-style subtitle metadata when available.
          default: false
          example: false
      required:
        - model
        - prompt
    ApiResponse:
      type: object
      properties:
        code:
          type: integer
          enum:
            - 200
            - 401
            - 402
            - 404
            - 422
            - 429
            - 455
            - 500
            - 501
            - 505
          description: >-
            Response status code


            - **200**: Success - Request has been processed successfully

            - **401**: Unauthorized - Authentication credentials are missing or
            invalid

            - **402**: Insufficient Credits - Account does not have enough
            credits to perform the operation

            - **404**: Not Found - The requested resource or endpoint does not
            exist

            - **422**: Validation Error - The request parameters failed
            validation checks

            - **429**: Rate Limited - Request limit has been exceeded for this
            resource

            - **455**: Service Unavailable - System is currently undergoing
            maintenance

            - **500**: Server Error - An unexpected error occurred while
            processing the request

            - **501**: Generation Failed - Content generation task failed

            - **505**: Feature Disabled - The requested feature is currently
            disabled
        message:
          type: string
          description: Response message, error description when failed
          example: success
  responses:
    Error:
      description: Server Error
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        All APIs require authentication via API Key.


        Get API Key:

        1. Visit [API Key Management Page](https://crun.ai/user-api-key) to get
        your API Key


        Usage:

        Add to request header:


        x-api-key: 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
        in the management page

````