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

# Seed Audio 1.5 分轨

> > 🚧 **该模型暂未开放，敬请期待**

- 把一段混合音频拆成多条独立音轨（如人声、音效、配乐），在提示词里写清每条音轨保留什么
- 源音频时长 `2` ~ `360` 秒
- 异步处理模式，使用返回的任务ID [进行查询](/cn/api-manual/task-management/get-task-detail)，提交后不支持取消
- 生成的链接有效期为 7 天，请尽快保存

**计费说明：**
- 按每条音轨的时长累计计费：源音频时长 × 拆出的音轨数，按秒计，不足 1 秒按 1 秒计
- 提交时按源音频时长 × `3` 条音轨预扣积分（`usage.credits_reserved`），完成后按实际拆出的音轨数结算，多退少补；失败全额退还

**任务结果（`status` 为 `completed` 时）：**

| 字段 | 说明 |
|---|---|
| `results` / `result_data[i].audio_url` | 每条音轨的音频链接，两者顺序一致 |
| `result_data[i].track_type` | 音轨类型，如 `speaker`（人声）、`sfx`（音效与环境声）、`bgm`（背景音乐），也可能出现其他类型 |
| `result_data[i].description` | 音轨名称，按提示词生成 |
| `result_data[i].duration` | 音轨时长（秒） |
| `usage.billed_seconds` / `usage.credits_used` | 计费秒数 / 实际消耗积分 |



## OpenAPI

````yaml cn/api-manual/audio-series/seed-audio-1.5/seed-audio-1.5-audio-separation.json POST /v1/audios/generations
openapi: 3.1.0
info:
  title: Seed Audio 1.5 分轨接口
  description: Seed Audio 1.5 分轨接口。把一段混合音频拆成多条独立音轨，例如人声、音效与配乐，每条音轨单独返回。
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.evolink.ai
    description: 生产环境
security:
  - bearerAuth: []
tags:
  - name: 音频生成
    description: Seed Audio 1.5 音频生成相关接口
paths:
  /v1/audios/generations:
    post:
      tags:
        - 音频生成
      summary: Seed Audio 1.5 分轨
      description: >-
        > 🚧 **该模型暂未开放，敬请期待**


        - 把一段混合音频拆成多条独立音轨（如人声、音效、配乐），在提示词里写清每条音轨保留什么

        - 源音频时长 `2` ~ `360` 秒

        - 异步处理模式，使用返回的任务ID
        [进行查询](/cn/api-manual/task-management/get-task-detail)，提交后不支持取消

        - 生成的链接有效期为 7 天，请尽快保存


        **计费说明：**

        - 按每条音轨的时长累计计费：源音频时长 × 拆出的音轨数，按秒计，不足 1 秒按 1 秒计

        - 提交时按源音频时长 × `3`
        条音轨预扣积分（`usage.credits_reserved`），完成后按实际拆出的音轨数结算，多退少补；失败全额退还


        **任务结果（`status` 为 `completed` 时）：**


        | 字段 | 说明 |

        |---|---|

        | `results` / `result_data[i].audio_url` | 每条音轨的音频链接，两者顺序一致 |

        | `result_data[i].track_type` | 音轨类型，如
        `speaker`（人声）、`sfx`（音效与环境声）、`bgm`（背景音乐），也可能出现其他类型 |

        | `result_data[i].description` | 音轨名称，按提示词生成 |

        | `result_data[i].duration` | 音轨时长（秒） |

        | `usage.billed_seconds` / `usage.credits_used` | 计费秒数 / 实际消耗积分 |
      operationId: createSeedAudio15AudioSeparation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SeedAudio15Request'
            examples:
              basic:
                summary: 拆成人声、音效、配乐三轨
                value:
                  model: seed-audio-1.5-audio-separation
                  prompt: 请将这段音频拆成三条独立音轨：第一轨只保留人物对白，第二轨只保留脚步、门铃和房间环境声，第三轨只保留背景配乐。
                  audio_urls:
                    - https://example.com/mixed.wav
                  format: mp3
      responses:
        '200':
          description: 音频生成任务创建成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SeedAudioResponse'
        '400':
          description: 请求参数错误
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: unsupported_parameter
                  message: >-
                    speech_rate is not supported for
                    seed-audio-1.5-audio-separation
                  type: invalid_request_error
        '401':
          description: 未认证、Token无效或过期
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: unauthorized
                  message: Invalid or expired token
                  type: authentication_error
        '402':
          description: 配额不足、需要充值
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: insufficient_quota
                  message: Insufficient quota. Please top up your account.
                  type: insufficient_quota
        '403':
          description: 无权限访问
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: model_access_denied
                  message: >-
                    Token does not have access to model:
                    seed-audio-1.5-audio-separation
                  type: invalid_request_error
        '429':
          description: 请求频率超限
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: rate_limit_exceeded
                  message: Too many requests, please try again later
                  type: rate_limit_error
        '500':
          description: 服务器内部错误
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                error:
                  code: internal_error
                  message: Internal server error
                  type: api_error
components:
  schemas:
    SeedAudio15Request:
      type: object
      required:
        - model
        - prompt
        - audio_urls
      properties:
        model:
          type: string
          description: 模型名称
          enum:
            - seed-audio-1.5-audio-separation
          default: seed-audio-1.5-audio-separation
          example: seed-audio-1.5-audio-separation
        prompt:
          type: string
          description: |-
            写清要拆成几条音轨、每条保留什么

            例如：「请将这段音频拆成三条独立音轨：第一轨只保留人物对白，第二轨只保留脚步、门铃和房间环境声，第三轨只保留背景配乐。」
          example: 请将这段音频拆成三条独立音轨：第一轨只保留人物对白，第二轨只保留脚步、门铃和房间环境声，第三轨只保留背景配乐。
        audio_urls:
          type: array
          description: >-
            要拆分的源音频


            - 只支持 `1` 段

            - 公网可访问的链接，或 base64（写成 `data:audio/mp3;base64,…` 或
            `data:audio/wav;base64,…`）


            **音频要求：**

            - 时长 `2` ~ `360` 秒

            - 格式：`wav` / `mp3`

            - 链接方式 ≤ `90 MB`；base64 方式 ≤ `20 MB`，更大的文件请用链接
          items:
            type: string
          minItems: 1
          maxItems: 1
          example:
            - https://example.com/mixed.wav
        format:
          type: string
          description: |-
            输出音频格式

            - `wav`（默认）
            - `mp3`
            - `ogg_opus`：只支持 `48000` 采样率
            - `pcm`：不带文件头的原始音频数据（16 位），普通播放器无法直接播放，需要自行处理
          enum:
            - wav
            - mp3
            - pcm
            - ogg_opus
          default: wav
          example: mp3
        sample_rate:
          type: integer
          description: |-
            输出采样率（Hz）

            - `wav` / `mp3` / `pcm` 可选下列任一值，默认 `44100`
            - `ogg_opus` 只能为 `48000`，不传时自动使用 `48000`
          enum:
            - 8000
            - 16000
            - 24000
            - 32000
            - 44100
            - 48000
          default: 44100
          example: 24000
        callback_url:
          type: string
          description: |-
            任务完成后的HTTPS回调地址

            **回调时机：**
            - 任务完成（completed）、失败（failed）或取消（cancelled）时触发
            - 在计费确认完成后发送

            **安全限制：**
            - 仅支持HTTPS协议
            - 禁止回调到内网IP地址（127.0.0.1、10.x.x.x、172.16-31.x.x、192.168.x.x等）
            - URL长度不超过`2048`字符

            **回调机制：**
            - 超时时间：`10`秒
            - 失败后最多重试`3`次（会分别在失败的`1`秒/`2`秒/`4`秒后进行重试）
            - 回调响应体格式与任务查询接口返回的格式一致
            - 回调地址若返回2xx状态码视为成功，其他状态码会触发重试
          format: uri
          example: https://your-domain.com/webhooks/audio-completed
    SeedAudioResponse:
      type: object
      properties:
        created:
          type: integer
          description: 任务创建时间戳
          example: 1795776000
        id:
          type: string
          description: 任务ID
          example: task-unified-1795776000-abcd1234
        model:
          type: string
          description: 实际使用的模型名称
          example: seed-audio-1.5-audio-separation
        object:
          type: string
          enum:
            - audio.generation.task
          description: 任务的具体类型
        progress:
          type: integer
          description: 任务进度百分比 (0-100)
          minimum: 0
          maximum: 100
          example: 0
        status:
          type: string
          description: 任务状态
          enum:
            - pending
            - processing
            - completed
            - failed
          example: processing
        task_info:
          $ref: '#/components/schemas/AudioTaskInfo'
          description: 音频任务详细信息
        type:
          type: string
          enum:
            - audio
          description: 任务的输出类型
          example: audio
        usage:
          $ref: '#/components/schemas/AudioUsage'
          description: 使用量和计费信息
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: 错误代码标识符
            message:
              type: string
              description: 错误描述信息
            type:
              type: string
              description: 错误类型
    AudioTaskInfo:
      type: object
      properties:
        can_cancel:
          type: boolean
          description: 任务是否可以取消（本模型提交后不支持取消）
          example: false
        estimated_time:
          type: integer
          description: 预估完成时间(秒)
          minimum: 0
          example: 15
        audio_type:
          type: string
          description: 音频任务类型
          example: audio_separation
    AudioUsage:
      type: object
      description: 使用量信息
      properties:
        credits_reserved:
          type: number
          description: 预扣积分数（按源音频时长 × 3 条音轨估算，任务完成后按实际拆出的音轨数结算，多退少补）
          minimum: 0
          example: 1.2264
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: |-
        ##所有接口均需要使用Bearer Token进行认证##

        **获取 API Key：**

        访问 [API Key 管理页面](https://evolink.ai/dashboard/keys) 获取您的 API Key

        **使用时在请求头中添加：**
        ```
        Authorization: Bearer YOUR_API_KEY
        ```

````

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