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

> Seed Audio 1.5 Video Translation API 把视频里的中文或英文口播翻译成 30 种语言，返回配音后的视频、配音音轨和字幕。

> [!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-translation` 把中文或英文口播的视频本地化为 30 种语言之一：翻译口播、用目标语言配音，并返回配音后的视频、音轨和字幕。结果以任务 `files` 返回。

## 模型

* **seed-audio-1.5-video-translation** — 视频翻译并配音为 30 种语言

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

## 功能

* **30 种目标语言**，覆盖日语、韩语、西班牙语、阿拉伯语、印地语等
* **一个任务同时返回**配音视频、配音音轨和字幕
* **术语表**：产品名和专有名词译法保持一致
* **自备字幕**：按目标语言 SRT 字幕配音
* **人声增强**，分四档
* **支持最长 6 分钟的视频**

## 输入模式

* **自动翻译**：设置 `target_language`，需要固定某些术语译法时加上 `glossaries`。
* **自备字幕**：设置 `target_language` 和 `subtitle_url`，按目标语言 SRT 字幕原文配音。

## 必填参数

* `video_url`（string）：源视频，口播语言为中文或英文。MP4 或 MOV，4-360 秒，12-60 fps，不超过 200MB，需可通过 HTTP 或 HTTPS 公开访问。
* `target_language`（string）：视频要配成的语言，取值见[目标语言](#目标语言)。

## 可选参数

* `glossaries`（array of objects）：指定术语的固定译法，格式为 `{source, target}` 数组，最多 1000 对，source 和 target 均为非空字符串。同一次请求里 `glossaries` 和 `subtitle_url` 二选一。
* `subtitle_url`（string）：目标语言的 UTF-8 SRT 字幕文件，视频按这份字幕的原文配音。每条字幕不超过 15 秒。同一次请求里 `subtitle_url` 和 `glossaries` 二选一。
* `dialogue_enhancement`（string）：配音的人声增强强度：`off`、`low`、`medium` 或 `high`。默认值：`off`。
* `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` 里依次是配音后的视频（`file_type: video`）、配音音轨（`file_type: audio`），以及生成的目标语言字幕（`file_type: other`，`name: subtitles`）和源语言字幕（`file_type: other`，`name: source_subtitles`），字幕为 SRT 文件。

## 示例

### 英文视频译为日语

```json theme={"dark"}
{
  "model": "seed-audio-1.5-video-translation",
  "callback_url": "https://your-domain.com/callback",
  "input": {
    "video_url": "https://storage.poyo.ai/models/seed-audio-1-5/examples/input-memory-scene-3450acdd2b13.mp4",
    "target_language": "ja"
  }
}
```

### 译为西班牙语，指定术语并增强人声

```json theme={"dark"}
{
  "model": "seed-audio-1.5-video-translation",
  "callback_url": "https://your-domain.com/callback",
  "input": {
    "video_url": "https://storage.poyo.ai/models/seed-audio-1-5/examples/input-memory-scene-3450acdd2b13.mp4",
    "target_language": "es-ES",
    "glossaries": [
      {
        "source": "this place",
        "target": "este rincón"
      }
    ],
    "dialogue_enhancement": "medium"
  }
}
```

### 按自备字幕配成日语

```json theme={"dark"}
{
  "model": "seed-audio-1.5-video-translation",
  "callback_url": "https://your-domain.com/callback",
  "input": {
    "video_url": "https://storage.poyo.ai/models/seed-audio-1-5/examples/input-memory-scene-3450acdd2b13.mp4",
    "target_language": "ja",
    "subtitle_url": "https://storage.poyo.ai/models/seed-audio-1-5/examples/input-memory-scene-custom-ja-0c6bcb5625e7.srt"
  }
}
```

## 注意事项

* 源视频的口播语言为中文或英文。
* PoYo 实测：12 秒的视频处理耗时约 40 秒。

### 目标语言

`target_language` 可选以下代码：

| 代码 | 语言 |
| - | - |
| `zh` | 中文 |
| `en` | 英语 |
| `ja` | 日语 |
| `ko` | 韩语 |
| `de` | 德语 |
| `fr` | 法语 |
| `pt-BR` | 葡萄牙语（巴西） |
| `th` | 泰语 |
| `id` | 印尼语 |
| `vi` | 越南语 |
| `ms` | 马来语 |
| `fil` | 菲律宾语 |
| `it` | 意大利语 |
| `ru` | 俄语 |
| `nl` | 荷兰语 |
| `pl` | 波兰语 |
| `tr` | 土耳其语 |
| `sv` | 瑞典语 |
| `es-ES` | 西班牙语（西班牙） |
| `es-MX` | 西班牙语（墨西哥） |
| `ar` | 阿拉伯语 |
| `pt-PT` | 葡萄牙语（葡萄牙） |
| `fi` | 芬兰语 |
| `da` | 丹麦语 |
| `no` | 挪威语 |
| `cs` | 捷克语 |
| `hu` | 匈牙利语 |
| `el` | 希腊语 |
| `ro` | 罗马尼亚语 |
| `hi` | 印地语 |


## OpenAPI

````yaml zh/api-manual/music-series/seed-audio-1-5-video-translation.json POST /api/generate/submit
openapi: 3.0.0
info:
  title: PoYo AI - Seed Audio 1.5 Video Translation API
  description: >-
    Seed Audio 1.5 Video Translation API 把视频里的中文或英文口播翻译成 30
    种语言，返回配音后的视频、配音音轨和字幕。
  version: 1.0.0
servers:
  - url: https://api.poyo.ai
security:
  - BearerAuth: []
paths:
  /api/generate/submit:
    post:
      tags:
        - Seed Audio 1.5 Video Translation
      summary: 提交 Seed Audio 1.5 Video Translation 任务
      description: >-
        Seed Audio 1.5 Video Translation API 把视频里的中文或英文口播翻译成 30
        种语言，返回配音后的视频、配音音轨和字幕。
      operationId: submit_seed_audio_1_5_video_translation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitRequest'
            examples:
              japanese:
                summary: 英文视频译为日语
                value:
                  model: seed-audio-1.5-video-translation
                  callback_url: https://your-domain.com/callback
                  input:
                    video_url: >-
                      https://storage.poyo.ai/models/seed-audio-1-5/examples/input-memory-scene-3450acdd2b13.mp4
                    target_language: ja
              glossary:
                summary: 译为西班牙语，指定术语并增强人声
                value:
                  model: seed-audio-1.5-video-translation
                  callback_url: https://your-domain.com/callback
                  input:
                    video_url: >-
                      https://storage.poyo.ai/models/seed-audio-1-5/examples/input-memory-scene-3450acdd2b13.mp4
                    target_language: es-ES
                    glossaries:
                      - source: this place
                        target: este rincón
                    dialogue_enhancement: medium
              subtitles:
                summary: 按自备字幕配成日语
                value:
                  model: seed-audio-1.5-video-translation
                  callback_url: https://your-domain.com/callback
                  input:
                    video_url: >-
                      https://storage.poyo.ai/models/seed-audio-1-5/examples/input-memory-scene-3450acdd2b13.mp4
                    target_language: ja
                    subtitle_url: >-
                      https://storage.poyo.ai/models/seed-audio-1-5/examples/input-memory-scene-custom-ja-0c6bcb5625e7.srt
      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-translation
          default: seed-audio-1.5-video-translation
        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
        - target_language
      description: 源视频、目标语言和翻译设置。
      properties:
        video_url:
          type: string
          format: uri
          description: >-
            源视频，口播语言为中文或英文。MP4 或 MOV，4-360 秒，12-60 fps，不超过 200MB，需可通过 HTTP 或
            HTTPS 公开访问。
        target_language:
          type: string
          enum:
            - zh
            - en
            - ja
            - ko
            - de
            - fr
            - pt-BR
            - th
            - id
            - vi
            - ms
            - fil
            - it
            - ru
            - nl
            - pl
            - tr
            - sv
            - es-ES
            - es-MX
            - ar
            - pt-PT
            - fi
            - da
            - 'no'
            - cs
            - hu
            - el
            - ro
            - hi
          description: 视频要配成的语言，取值见[目标语言](#目标语言)。
        glossaries:
          type: array
          maxItems: 1000
          items:
            type: object
            additionalProperties: false
            required:
              - source
              - target
            properties:
              source:
                type: string
                minLength: 1
                description: 源语言里的术语原文。
              target:
                type: string
                minLength: 1
                description: 该术语使用的译文。
          description: >-
            指定术语的固定译法，格式为 `{source, target}` 数组，最多 1000 对，source 和 target
            均为非空字符串。同一次请求里 `glossaries` 和 `subtitle_url` 二选一。
        subtitle_url:
          type: string
          format: uri
          description: >-
            目标语言的 UTF-8 SRT 字幕文件，视频按这份字幕的原文配音。每条字幕不超过 15 秒。同一次请求里 `subtitle_url`
            和 `glossaries` 二选一。
        dialogue_enhancement:
          type: string
          enum:
            - 'off'
            - low
            - medium
            - high
          default: 'off'
          description: 配音的人声增强强度：`off`、`low`、`medium` 或 `high`。默认值：`off`。
        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.