> ## 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 视频翻配

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

- 把视频中的**中文或英文**对白翻译成 `30` 种目标语言之一并重新配音，保留原画面；不需要提示词
- 默认同时返回配好音的视频，可选返回目标语言字幕和原语言字幕
- 异步处理模式，使用返回的任务ID [进行查询](/cn/api-manual/task-management/get-task-detail)，提交后不支持取消
- 生成的链接有效期为 7 天，请尽快保存

**计费说明：**
- 按配音的时长计费（与视频时长相同），按秒计，不足 1 秒按 1 秒计
- 提交时按视频时长预扣积分（`usage.credits_reserved`），完成后按实际时长结算，多退少补；失败全额退还

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

| 字段 | 说明 |
|---|---|
| `results[0]` / `result_data[0].audio_url` | 配好音的音频链接 |
| `result_data[0].duration` | 音频时长（秒） |
| `result_data[0].video_url` | 配好音的视频链接，`return_video` 为 `true`（默认）时返回 |
| `result_data[0].subtitles` | 目标语言字幕，`[{"format": "srt", "content": "…"}, {"format": "jsonl", "content": "…"}]`；jsonl 每行一句及起止时间（秒） |
| `result_data[0].source_subtitles` | 原语言字幕，结构与 `subtitles` 一致 |
| `usage.billed_seconds` / `usage.credits_used` | 计费秒数 / 实际消耗积分 |



## OpenAPI

````yaml cn/api-manual/audio-series/seed-audio-1.5/seed-audio-1.5-video-dubbing.json POST /v1/audios/generations
openapi: 3.1.0
info:
  title: Seed Audio 1.5 视频翻配接口
  description: Seed Audio 1.5 视频翻配接口。把视频中的中文或英文对白翻译成 30 种目标语言之一并重新配音，保留原画面，可返回成片与双语字幕。
  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: >-
        > 🚧 **该模型暂未开放，敬请期待**


        - 把视频中的**中文或英文**对白翻译成 `30` 种目标语言之一并重新配音，保留原画面；不需要提示词

        - 默认同时返回配好音的视频，可选返回目标语言字幕和原语言字幕

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

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


        **计费说明：**

        - 按配音的时长计费（与视频时长相同），按秒计，不足 1 秒按 1 秒计

        - 提交时按视频时长预扣积分（`usage.credits_reserved`），完成后按实际时长结算，多退少补；失败全额退还


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


        | 字段 | 说明 |

        |---|---|

        | `results[0]` / `result_data[0].audio_url` | 配好音的音频链接 |

        | `result_data[0].duration` | 音频时长（秒） |

        | `result_data[0].video_url` | 配好音的视频链接，`return_video` 为 `true`（默认）时返回 |

        | `result_data[0].subtitles` | 目标语言字幕，`[{"format": "srt", "content":
        "…"}, {"format": "jsonl", "content": "…"}]`；jsonl 每行一句及起止时间（秒） |

        | `result_data[0].source_subtitles` | 原语言字幕，结构与 `subtitles` 一致 |

        | `usage.billed_seconds` / `usage.credits_used` | 计费秒数 / 实际消耗积分 |
      operationId: createSeedAudio15VideoDubbing
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SeedAudio15Request'
            examples:
              basic:
                summary: 翻配成日语并返回双语字幕
                value:
                  model: seed-audio-1.5-video-dubbing
                  video_urls:
                    - https://example.com/interview.mp4
                  target_language: ja
                  dialogue_enhancement: medium
                  glossaries:
                    - source: EvoLink
                      target: EvoLink
                  subtitles: true
                  source_subtitles: true
              custom_subtitle:
                summary: 按自己的译文配音
                value:
                  model: seed-audio-1.5-video-dubbing
                  video_urls:
                    - https://example.com/interview.mp4
                  target_language: en
                  custom_subtitle_url: https://example.com/interview.en.srt
                  subtitles: true
              audio_only:
                summary: 只要配好的音频
                value:
                  model: seed-audio-1.5-video-dubbing
                  video_urls:
                    - https://example.com/interview.mp4
                  target_language: zh
                  return_video: false
                  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: missing_parameter
                  message: target_language is required for seed-audio-1.5-video-dubbing
                  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-video-dubbing
                  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
        - video_urls
        - target_language
      properties:
        model:
          type: string
          description: 模型名称
          enum:
            - seed-audio-1.5-video-dubbing
          default: seed-audio-1.5-video-dubbing
          example: seed-audio-1.5-video-dubbing
        video_urls:
          type: array
          description: >-
            要翻配的视频


            - 只支持 `1` 个

            - 视频里要有清晰的中文或英文对白


            **视频要求：**

            - 只支持公网可访问的链接，不支持 base64

            - 时长 `4` ~ `360` 秒，帧率 `12` ~ `60` fps

            - 格式：`mp4` / `mov`，大小 ≤ `200 MB`

            - 宽、高各 `300` ~ `6000` 像素，宽高比 `0.4` ~ `2.5`，宽×高 `407,696` ~
            `2,086,876`（`1280×720`、`1920×1080` 都可以；`640×480` 太小，`4K` 太大）
          items:
            type: string
            format: uri
          minItems: 1
          maxItems: 1
          example:
            - https://example.com/clip.mp4
        target_language:
          type: string
          description: |-
            目标语言，区分大小写

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

            - `off`：不增强
            - `low` / `medium` / `high`：增强程度依次提高

            不传时使用默认设置
          enum:
            - 'off'
            - low
            - medium
            - high
          example: medium
        glossaries:
          type: array
          description: |-
            术语表，固定品牌名、人名等词的译法

            - 每一项写成 `{"source": "原文", "target": "译文"}`，两边都不能为空
            - 最多 `1000` 对
          items:
            type: object
            required:
              - source
              - target
            properties:
              source:
                type: string
                description: 原文中的词
              target:
                type: string
                description: 希望使用的译法
          maxItems: 1000
          example:
            - source: EvoLink
              target: EvoLink
        custom_subtitle_url:
          type: string
          description: |-
            您自己译好的**目标语言**字幕链接；传入后按这份字幕配音，不再自动翻译

            - 公网可访问的 `srt` 文件，UTF-8 编码
            - 每条字幕不超过 `15` 秒
          format: uri
          example: https://example.com/interview.ja.srt
        return_video:
          type: boolean
          description: |-
            是否同时返回配好音的视频

            - `true`：返回（默认），链接在任务结果的 `result_data[0].video_url`
            - `false`：不返回，只返回音频
          default: true
          example: true
        subtitles:
          type: boolean
          description: |-
            是否返回目标语言字幕

            - `true`：任务结果里同时返回 `srt` 和 `jsonl` 两种字幕的文字内容
            - `false`：不返回（默认）
          default: false
          example: true
        source_subtitles:
          type: boolean
          description: |-
            是否返回原语言字幕（视频原有对白的字幕）

            - `true`：任务结果里同时返回 `srt` 和 `jsonl` 两种字幕的文字内容
            - `false`：不返回（默认）
          default: false
          example: true
        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-video-dubbing
        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: 20
        audio_type:
          type: string
          description: 音频任务类型
          example: video_dubbing
    AudioUsage:
      type: object
      description: 使用量信息
      properties:
        credits_reserved:
          type: number
          description: 预扣积分数（按视频时长估算，任务完成后按实际时长结算，多退少补）
          minimum: 0
          example: 4.76
  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.