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

# 定制模型上传

> 为定制模型上传训练音频

<Info>
  这是 Custom Model 工作流程的**第二步**。您必须先完成[第一步：Prepare](/zh/api-reference/suno/customModelPrepare)。详情请参阅[完整工作流程指南](/zh/api-reference/suno/customModel)。
</Info>

每次请求上传一个音频文件。任务结果包含带有 `id` 字段的片段信息 — 收集这些作为[创建步骤](/zh/api-reference/suno/customModelCreate)的 `clipIds`。

在进入创建步骤之前，**您需要至少 6 次成功上传**。

<Tip>
  多个上传请求可以使用相同的 `sessionId` 并行运行。每个请求返回自己的 `taskId` 以进行独立轮询。
</Tip>


## OpenAPI

````yaml POST /suno/v2/customModel/upload
openapi: 3.0.0
info:
  title: Suno AI
  description: API documentation for Suno AI
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.mountsea.ai
    description: API Gateway
security: []
tags:
  - name: suno
    description: ''
paths:
  /suno/v2/customModel/upload:
    post:
      tags:
        - suno
      summary: upload audio for custom model
      description: >-
        Async upload — uses the same account bound in the prepare step. Returns
        taskId to poll via /status. On success, clip info (including id) is in
        task result.
      operationId: ApiPublicController_customModelUpload
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomModelUploadDto'
      responses:
        '201':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TaskIdDto'
      security:
        - bearerAuth: []
components:
  schemas:
    CustomModelUploadDto:
      type: object
      properties:
        sessionId:
          type: string
          format: uuid
          description: prepare 返回的会话 sessionId
        audioUrl:
          type: string
          format: uri
          description: 要上传的音频 URL（可下载的公网地址）
          example: https://example.com/song.mp3
      required:
        - sessionId
        - audioUrl
    TaskIdDto:
      type: object
      properties:
        taskId:
          type: string
          description: task id. Use this id to query task status.
          example: 15c257ff-43f7-4678-bd41-202ad6b8488b
      required:
        - taskId
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````