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

# Suno 文件下载 API 文档

> 使用 Suno 文件下载接口按指定格式（mp3、m4a、wav）获取歌曲文件，适合分发、分享与后续处理。

下载已有 Suno 歌曲的一种或多种音频格式。可下载格式：`mp3`、`m4a`、`wav`。响应中返回各格式对应的下载地址。价格为 **0.2 quota**，[定价详见](/grids/cn/start/pricing/audio#suno)。

<Warning>
  **计费提醒：** 每次成功调用都会扣费（**0.2 quota**）。同一 `music_id` / 同一文件重复请求也会再次计费。请缓存返回的下载地址，谨慎调用，避免重复请求。
</Warning>


## OpenAPI

````yaml openapi/cn/suno.json POST /suno/v1/download
openapi: 3.1.0
info:
  title: TTAPI API DOCS
  version: 1.0.0
  description: Suno 音乐生成相关接口
servers:
  - url: https://api.ttapi.io
security: []
paths:
  /suno/v1/download:
    post:
      description: 按指定格式（mp3、m4a、wav）下载音乐文件。
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                music_id:
                  type: string
                  description: 歌曲id
                  example: 518c74ee-62ac-4ccd-b3d9-7003acd12ad7
                formats:
                  type: array
                  description: 需要下载的音频格式。支持：mp3、m4a、wav。
                  items:
                    type: string
                    enum:
                      - mp3
                      - m4a
                      - wav
                  example:
                    - wav
              required:
                - music_id
                - formats
      responses:
        '200':
          description: 请求成功
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    example: SUCCESS
                  message:
                    type: string
                    example: success
                  data:
                    type: object
                    properties:
                      jobId:
                        type: string
                        description: 任务ID
                        example: 3c092ede-342a-47f6-81df-4a0fdc5c1ec0
                      music_id:
                        type: string
                        description: 歌曲id
                        example: 518c74ee-62ac-4ccd-b3d9-7003acd12ad7
                      files:
                        type: array
                        description: 各请求格式对应的下载文件。
                        items:
                          type: object
                          properties:
                            format:
                              type: string
                              description: 文件格式
                              example: wav
                            file_url:
                              type: string
                              description: 文件下载地址。有效期详见[存储与持久化](/grids/cn/faq/storage)
                              example: >-
                                https://cdn.ttapi.io/suno/20260902/43e4a6989a0949468b84caf9f9a54a11.wav
                          required:
                            - format
                            - file_url
                    required:
                      - jobId
                      - music_id
                      - files
                required:
                  - status
                  - message
                  - data
        '400':
          $ref: '#/components/responses/400Response'
        '401':
          $ref: '#/components/responses/401Response'
      security:
        - CustomApiKey: []
components:
  responses:
    400Response:
      description: 参数错误
      content:
        application/json:
          schema:
            type: object
            properties:
              status:
                type: string
                example: FAILED
              message:
                type: string
              data:
                type: object
            required:
              - status
              - message
    401Response:
      description: 授权失败
      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: >-
        请前往 <a href='https://dashboard.ttapi.io' target='_blank'>TTAPI 控制台</a>
        获取 API 密钥。

````