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

> ## Agent Instructions
> Send API requests to https://api.ttapi.io with the TT-API-KEY header. Midjourney account hosting uses https://hold.ttapi.io. Claude Code uses https://cc.ttapi.io.
> Most generation endpoints are asynchronous. The submit response returns a job id. Poll that product's fetch endpoint, or pass a webhook on the submit request. A fetch call does not start a new generation.
> 1 USD = 100 quota. Check the pricing page for that product before estimating cost.
> This file lists the English docs. Follow every /_llms/ link recursively for the API reference, Chinese, and Russian. Open a page's .md URL for the endpoint schema.

# Suno Inspo API Documentation

> Use the Suno inspo API to generate new songs from 1-4 audio inspiration references, combining uploaded musical ideas with custom lyrics, title, style tags, and callback handling.



## OpenAPI

````yaml openapi/en/suno.json POST /suno/v1/inspo
openapi: 3.1.0
info:
  title: TTAPI API DOCS
  version: 1.0.0
  description: Suno AI Music API
servers:
  - url: https://api.ttapi.io
security: []
paths:
  /suno/v1/inspo:
    post:
      requestBody:
        required: true
        content:
          application/json:
            schema:
              allOf:
                - $ref: '#/components/schemas/Mv_Params'
                - $ref: '#/components/schemas/Lyrics_Prompt_Params'
                - $ref: '#/components/schemas/Title_Params'
                - $ref: '#/components/schemas/Tags_Params'
                - $ref: '#/components/schemas/Negative_tags_Params'
                - $ref: '#/components/schemas/Style_weight_Params'
                - $ref: '#/components/schemas/Weirdness_constraint_Params'
                - $ref: '#/components/schemas/Audio_weight_Params'
                - $ref: '#/components/schemas/Auto_lyrics_Params'
                - $ref: '#/components/schemas/Vocal_gender_Params'
                - $ref: '#/components/schemas/Variety_Params'
                - $ref: '#/components/schemas/Max_mode_Params'
                - $ref: '#/components/schemas/Audio_format_Params'
                - $ref: '#/components/schemas/HookUrlParams'
                - type: object
                  properties:
                    audio_urls:
                      type: array
                      description: >-
                        Publicly accessible audio URLs used as inspiration
                        references. Provide 1 to 4 audio files.
                      items:
                        type: string
                        format: uri
                      minItems: 1
                      maxItems: 4
                      example:
                        - https://example.com/reference-1.mp3
                  required:
                    - audio_urls
                    - mv
                - $ref: '#/components/schemas/IsStorageParams'
      responses:
        '200':
          $ref: '#/components/responses/SuccessResponse'
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
      security:
        - CustomApiKey: []
components:
  schemas:
    Mv_Params:
      type: object
      properties:
        mv:
          type: string
          default: chirp-v6
          enum:
            - chirp-v6
            - chirp-v6-wild
            - chirp-v6-mini
          description: >-
            Model to use. Available values: `chirp-v6`, `chirp-v6-wild`,
            `chirp-v6-mini`. Suno legacy models have all been discontinued;
            passing a legacy name maps it to `chirp-v6`. See [Model
            Mapping](/api/en/suno#model-mapping). After creating a custom model,
            you can also pass `chirp-custom:{model_id}`. See [Create
            Model](/api/en/suno/suno_create_model). `persona_id` and
            `chirp-custom` cannot be used together.
    Lyrics_Prompt_Params:
      type: object
      properties:
        prompt:
          type: string
          description: >-
            Lyrics. The lyrics are used and sung in the generated track. Maximum
            length: 5000 characters.
    Title_Params:
      type: object
      properties:
        title:
          type: string
          description: 'Music title. Maximum length: 80 characters.'
    Tags_Params:
      type: object
      properties:
        tags:
          type: string
          description: 'Music style or genre. Maximum length: 1000 characters.'
          example: rock, blues, hip-hop, r&b
    Negative_tags_Params:
      type: object
      properties:
        negative_tags:
          type: string
          description: Music styles or genres that should be excluded from generation.
    Style_weight_Params:
      type: object
      properties:
        style_weight:
          type: number
          description: 'Music style weight, range: 0.00–1.00.'
          example: 0.5
    Weirdness_constraint_Params:
      type: object
      properties:
        weirdness_constraint:
          type: number
          description: 'Audio creativity (weirdness) weight, range: 0.00–1.00.'
          example: 0.5
    Audio_weight_Params:
      type: object
      properties:
        audio_weight:
          type: number
          description: 'Audio weight, range: 0.00–1.00.'
          example: 0.5
    Auto_lyrics_Params:
      type: object
      properties:
        auto_lyrics:
          type: boolean
          default: false
          description: |-
            Whether to automatically generate lyrics.

            - **true**: The input lyrics will be creatively rewritten
            - **false**: Use the provided lyrics directly to generate the music
    Vocal_gender_Params:
      type: object
      properties:
        vocal_gender:
          type: string
          description: |-
            Vocal gender.

            - Male: Male voice

            - Female: Female voice
          enum:
            - Male
            - Female
    Variety_Params:
      type: object
      properties:
        variety:
          type: string
          default: normal
          enum:
            - 'off'
            - normal
            - high
            - extra
            - max
          description: >-
            Style variety. Controls how much the generated result varies from
            the specified style.


            - **off**: Exact style

            - **normal**: Balanced variety

            - **high**: Distinct styles

            - **extra**: Bold exploration

            - **max**: Unreasonably varied
    Max_mode_Params:
      type: object
      properties:
        max_mode:
          type: boolean
          default: false
          description: >-
            Whether to use more compute to maximize consistency throughout the
            song.


            - **false**: No (default)

            - **true**: Yes. Credit consumption is doubled when enabled
    Audio_format_Params:
      type: object
      properties:
        audio_format:
          type: string
          enum:
            - mp3
            - m4a
            - wav
          example: mp3
          description: Audio format of `audioUrl` after the job succeeds.
    HookUrlParams:
      type: object
      properties:
        hookUrl:
          type: string
          description: Callback notification URL
    IsStorageParams:
      type: object
      properties:
        isStorage:
          type: boolean
          default: true
          deprecated: true
          description: >-
            Whether to store the generated audio.


            - **true**: The audio will be stored and a TTAPI CDN URL will be
            returned

            - **false**: The original source URL will be returned
  responses:
    SuccessResponse:
      description: Request successful
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: SUCCESS
              message:
                type: string
                example: success
              data:
                type: object
                example:
                  jobId: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
            required:
              - status
              - message
              - data
    400Response:
      description: Parameter error
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: FAILED
              message:
                type: string
              data:
                type: object
            required:
              - status
              - message
    401Response:
      description: Authorization failed
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: FAILED
              message:
                type: string
                example: Wrong TT-API-KEY or email is not activated.
            required:
              - status
              - message
  securitySchemes:
    CustomApiKey:
      type: apiKey
      in: header
      name: TT-API-KEY
      description: >-
        You can obtain your API key from the <a
        href='https://dashboard.ttapi.io' target='_blank'>TTAPI Dashboard</a>.

````

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