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

# Seed Audio 1.5 Video Dubbing

> Seed Audio 1.5 Video Dubbing API 用新的声音重新演绎视频里的台词，并与画面中说话人的节奏对齐。

> [!TIP]
>
> 1. 提交后会返回 `task_id`。如果提供了 `callback_url`，当任务状态变为 `finished` 或 `failed` 时，系统会向 `callback_url` 发送 POST 请求。
> 2. 无论是否提供 `callback_url`，都可以通过统一的[查询任务状态](https://docs.poyo.ai/zh/api-manual/task-management/status.md)接口获取结果。

`seed-audio-1.5-video-dubbing` 为视频生成新的配音音轨。传入视频和完整台词，描述声音、情绪和节奏，新的演绎会跟随画面里说话人的节奏。结果以任务 `files` 返回。

## 模型

* **seed-audio-1.5-video-dubbing** — 为视频生成节奏对齐的新配音

同系列模型：[Seed Audio 1.5](https://docs.poyo.ai/zh/api-manual/music-series/seed-audio-1-5.md)、[Seed Audio 1.5 Video Translation](https://docs.poyo.ai/zh/api-manual/music-series/seed-audio-1-5-video-translation.md)、[Seed Audio 1.5 Stem Separation](https://docs.poyo.ai/zh/api-manual/music-series/seed-audio-1-5-stem-separation.md)

## 功能

* **节奏对齐的配音**，跟随画面里说话人的语速和停顿
* **用自然语言指导配音**：声音、情绪、节奏和环境音
* **参考音色**：最多 6 段参考音频，为每个说话人设定音色
* **支持最长 6 分钟的视频**
* **MP3、WAV、PCM 或 Ogg Opus** 输出，采样率 8-48 kHz

## 必填参数

* `video_url`（string）：新配音要对齐的视频。MP4 或 MOV，4-360 秒，12-60 fps，不超过 200MB，需可通过 HTTP 或 HTTPS 公开访问。
* `prompt`（string）：视频里说的完整台词，以及配音的声音、情绪和节奏。视频里的每一句台词都要写进提示词。传多段参考音频时，按传入顺序说明每个说话人用哪一段。

## 可选参数

* `reference_audio_urls`（array of strings）：最多 6 个参考音频 URL，用来设定音色或表演方式。每段为 WAV 或 MP3，2-30 秒，不超过 15MB，需可通过 HTTP 或 HTTPS 公开访问。所有片段合计最长 180 秒。
* `speed`（number）：语速倍数，范围 0.5-2，`1` 为正常语速。默认值：`1`。
* `volume`（number）：音量倍数，范围 0.5-2，`1` 为正常音量。默认值：`1`。
* `pitch`（integer）：音高偏移（半音），范围 -12 到 12。`0` 为原始音高，`-12` 低一个八度，`12` 高一个八度。默认值：`0`。
* `output_format`（string）：音频格式：`mp3`、`wav`、`pcm`（16 位原始采样数据）或 `ogg_opus`（Ogg 封装的 Opus）。默认值：`mp3`。
* `sample_rate`（integer）：输出采样率（Hz）：`8000`、`16000`、`24000`、`32000`、`44100` 或 `48000`。默认值：`44100`。`ogg_opus` 使用 `48000`。
* `enable_safety_checker`（boolean）：内容安全检查。默认值：`true`。

## 输出

任务状态为 `finished` 时，`files[0]` 是新的配音音轨（`file_type: audio`），格式为请求的 `output_format`，时长与视频一致。

## 示例

### 纪录片配音

```json theme={"dark"}
{
  "model": "seed-audio-1.5-video-dubbing",
  "callback_url": "https://your-domain.com/callback",
  "input": {
    "video_url": "https://storage.poyo.ai/models/seed-audio-1-5/examples/input-shell-presenter-1619916465d3.mp4",
    "prompt": "Re-perform the presenter's complete English lines in a warm, poised female documentary voice, carefully aligned with her visible speech and pacing: \"This shell began its journey millions of years ago. Every spiral records a little more of its story.\" Gentle curiosity, natural pauses and clear diction. Very quiet museum room tone, no music or additional speech."
  }
}
```

## 注意事项

* 把视频里说的每一句台词都写进 `prompt`，配音会完整演绎这些台词。
* PoYo 实测：12 秒的视频处理耗时约 25 秒。


## OpenAPI

````yaml zh/api-manual/music-series/seed-audio-1-5-video-dubbing.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: PoYo AI - Seed Audio 1.5 Video Dubbing API
  description: Seed Audio 1.5 Video Dubbing API 用新的声音重新演绎视频里的台词，并与画面中说话人的节奏对齐。
  version: 1.0.0
servers:
  - url: https://api.poyo.ai
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Seed Audio 1.5 Video Dubbing
      summary: 提交 Seed Audio 1.5 Video Dubbing 任务
      description: Seed Audio 1.5 Video Dubbing API 用新的声音重新演绎视频里的台词，并与画面中说话人的节奏对齐。
      operationId: submit_seed_audio_1_5_video_dubbing
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              documentary:
                summary: 纪录片配音
                value:
                  model: seed-audio-1.5-video-dubbing
                  callback_url: https://your-domain.com/callback
                  input:
                    video_url: >-
                      https://storage.poyo.ai/models/seed-audio-1-5/examples/input-shell-presenter-1619916465d3.mp4
                    prompt: >-
                      Re-perform the presenter's complete English lines in a
                      warm, poised female documentary voice, carefully aligned
                      with her visible speech and pacing: "This shell began its
                      journey millions of years ago. Every spiral records a
                      little more of its story." Gentle curiosity, natural
                      pauses and clear diction. Very quiet museum room tone, no
                      music or additional speech.
      responses:
        '200':
          description: 任务已受理；请查询任务获取最终文件。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitResponse'
        '400':
          description: 请求参数无效
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: 未授权 - API Key 无效
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    SubmitRequest:
      type: object
      required:
        - model
        - input
      properties:
        model:
          type: string
          enum:
            - seed-audio-1.5-video-dubbing
          default: seed-audio-1.5-video-dubbing
        callback_url:
          type: string
          format: uri
          description: 可选的任务完成或失败回调 URL。
        input:
          $ref: '#/components/schemas/ModelInput'
    SubmitResponse:
      type: object
      required:
        - code
        - data
      properties:
        code:
          type: integer
          enum:
            - 200
            - 400
            - 401
            - 402
            - 403
            - 404
            - 408
            - 429
            - 500
            - 502
            - 503
          description: >-
            业务状态码。`200` 表示成功，其他值都表示请求失败。请务必检查这个字段：部分参数校验错误会以 HTTP 200 返回，响应体里的
            `code` 为 `400`。


            - `200`：成功

            - `400`：请求参数无效

            - `401`：API Key 缺失或无效

            - `402`：积分不足

            - `403`：没有权限

            - `404`：资源不存在

            - `408`：请求超时

            - `429`：请求频率超限

            - `500`：服务器内部错误

            - `502`：上游服务错误

            - `503`：服务暂不可用


            详见[错误码](/zh/api-manual/error-codes)。
          example: 200
        data:
          type: object
          required:
            - task_id
            - status
            - created_time
          properties:
            task_id:
              type: string
              example: task-unified-1796000000-example
            status:
              type: string
              enum:
                - not_started
                - running
                - finished
                - failed
              example: not_started
              description: >-
                任务状态。提交后立即返回时始终为
                `not_started`。后续状态请通过[查询任务状态](/zh/api-manual/task-management/status)接口或
                `callback_url` 获取。


                - `not_started`：排队中，等待处理

                - `running`：生成中

                - `finished`：已完成，结果在 `files` 或 `output` 中

                - `failed`：失败，详情见 `error_message`
            created_time:
              type: string
              format: date-time
              example: '2026-12-01T10:30:00+08:00'
    ErrorResponse:
      type: object
      required:
        - code
        - error
      properties:
        code:
          type: integer
          enum:
            - 200
            - 400
            - 401
            - 402
            - 403
            - 404
            - 408
            - 429
            - 500
            - 502
            - 503
          description: >-
            业务状态码。`200` 表示成功，其他值都表示请求失败。请务必检查这个字段：部分参数校验错误会以 HTTP 200 返回，响应体里的
            `code` 为 `400`。


            - `200`：成功

            - `400`：请求参数无效

            - `401`：API Key 缺失或无效

            - `402`：积分不足

            - `403`：没有权限

            - `404`：资源不存在

            - `408`：请求超时

            - `429`：请求频率超限

            - `500`：服务器内部错误

            - `502`：上游服务错误

            - `503`：服务暂不可用


            详见[错误码](/zh/api-manual/error-codes)。
          example: 400
        error:
          type: object
          required:
            - message
            - type
          properties:
            message:
              type: string
              example: Invalid request parameters
            type:
              type: string
              example: invalid_request_error
    ModelInput:
      type: object
      additionalProperties: false
      required:
        - video_url
        - prompt
      description: 配音的视频、台词、声音参考和输出设置。
      properties:
        video_url:
          type: string
          format: uri
          description: >-
            新配音要对齐的视频。MP4 或 MOV，4-360 秒，12-60 fps，不超过 200MB，需可通过 HTTP 或 HTTPS
            公开访问。
        prompt:
          type: string
          minLength: 1
          description: 视频里说的完整台词，以及配音的声音、情绪和节奏。视频里的每一句台词都要写进提示词。传多段参考音频时，按传入顺序说明每个说话人用哪一段。
        reference_audio_urls:
          type: array
          maxItems: 6
          items:
            type: string
            format: uri
          description: >-
            最多 6 个参考音频 URL，用来设定音色或表演方式。每段为 WAV 或 MP3，2-30 秒，不超过 15MB，需可通过 HTTP 或
            HTTPS 公开访问。所有片段合计最长 180 秒。
        speed:
          type: number
          minimum: 0.5
          maximum: 2
          default: 1
          description: 语速倍数，范围 0.5-2，`1` 为正常语速。默认值：`1`。
        volume:
          type: number
          minimum: 0.5
          maximum: 2
          default: 1
          description: 音量倍数，范围 0.5-2，`1` 为正常音量。默认值：`1`。
        pitch:
          type: integer
          minimum: -12
          maximum: 12
          default: 0
          description: 音高偏移（半音），范围 -12 到 12。`0` 为原始音高，`-12` 低一个八度，`12` 高一个八度。默认值：`0`。
        output_format:
          type: string
          enum:
            - mp3
            - wav
            - pcm
            - ogg_opus
          default: mp3
          description: >-
            音频格式：`mp3`、`wav`、`pcm`（16 位原始采样数据）或 `ogg_opus`（Ogg 封装的
            Opus）。默认值：`mp3`。
        sample_rate:
          type: integer
          enum:
            - 8000
            - 16000
            - 24000
            - 32000
            - 44100
            - 48000
          default: 44100
          description: >-
            输出采样率（Hz）：`8000`、`16000`、`24000`、`32000`、`44100` 或
            `48000`。默认值：`44100`。`ogg_opus` 使用 `48000`。
        enable_safety_checker:
          type: boolean
          default: true
          description: 内容安全检查。默认值：`true`。
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        所有 API 接口都需要 Bearer Token 认证。


        创建 API Key：登录 PoYo，进入 **仪表盘 → API
        密钥**（[poyo.ai/zh/dashboard/api-key](https://poyo.ai/zh/dashboard/api-key)），点击创建
        Key。


        在请求头中添加：


        ```

        Authorization: Bearer YOUR_API_KEY

        ```

````

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