> ## 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で[結果を確認](/ja/api-manual/task-management/get-task-detail)できます。送信後はタスクをキャンセルできません。
- 結果のリンクは7日間有効です。期限内にファイルを保存してください。

**料金の計算**

- 吹き替え音声の長さ（動画と同じ）に応じて秒単位で課金されます。1秒未満の端数は切り上げます。
- 送信時は動画の長さに応じてクレジットを仮確保します（`usage.credits_reserved`）。完了時に実際の長さで精算し、差額は返還または追加請求されます。失敗時は全額返還されます。

**タスクの結果（`status` が `completed` の場合）**

| フィールド | 説明 |
|---|---|
| `results[0]` / `result_data[0].audio_url` | 吹き替え音声のURL。 |
| `result_data[0].duration` | 音声の長さ（秒）。 |
| `result_data[0].video_url` | 吹き替え後の動画のURL。`return_video` が `true`（デフォルト）の場合に返されます。 |
| `result_data[0].subtitles` | 翻訳先言語の字幕。形式は `[{"format": "srt", "content": "…"}, {"format": "jsonl", "content": "…"}]` です。JSONLの各行には1文とその開始・終了時刻（秒）が入ります。 |
| `result_data[0].source_subtitles` | 原語の字幕。構造は `subtitles` と同じです。 |
| `usage.billed_seconds` / `usage.credits_used` | 課金対象の秒数と実際に消費したクレジット数。 |



## OpenAPI

````yaml ja/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: 中国語または英語のセリフを30の対象言語のいずれかに翻訳し、元の映像を保ったまま吹き替えます。吹き替え後の動画と、原語・翻訳先言語の字幕を取得できます。
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.evolink.ai
    description: 本番環境
security:
  - bearerAuth: []
tags:
  - name: 音声生成
    description: Seed Audio 1.5 の音声生成API
paths:
  /v1/audios/generations:
    post:
      tags:
        - 音声生成
      summary: Seed Audio 1.5 動画の翻訳吹き替え
      description: >-
        > 🚧 **このモデルはまだ公開されていません。**


        - **中国語または英語**のセリフを `30` の対象言語のいずれかに翻訳し、元の映像を保ったまま吹き替えます。プロンプトは不要です。

        - デフォルトでは吹き替え後の動画も返されます。翻訳先言語と原語の字幕も指定に応じて取得できます。

        -
        処理は非同期です。返されたタスクIDで[結果を確認](/ja/api-manual/task-management/get-task-detail)できます。送信後はタスクをキャンセルできません。

        - 結果のリンクは7日間有効です。期限内にファイルを保存してください。


        **料金の計算**


        - 吹き替え音声の長さ（動画と同じ）に応じて秒単位で課金されます。1秒未満の端数は切り上げます。

        -
        送信時は動画の長さに応じてクレジットを仮確保します（`usage.credits_reserved`）。完了時に実際の長さで精算し、差額は返還または追加請求されます。失敗時は全額返還されます。


        **タスクの結果（`status` が `completed` の場合）**


        | フィールド | 説明 |

        |---|---|

        | `results[0]` / `result_data[0].audio_url` | 吹き替え音声のURL。 |

        | `result_data[0].duration` | 音声の長さ（秒）。 |

        | `result_data[0].video_url` | 吹き替え後の動画のURL。`return_video` が
        `true`（デフォルト）の場合に返されます。 |

        | `result_data[0].subtitles` | 翻訳先言語の字幕。形式は `[{"format": "srt",
        "content": "…"}, {"format": "jsonl", "content": "…"}]`
        です。JSONLの各行には1文とその開始・終了時刻（秒）が入ります。 |

        | `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: 認証されていません。トークンが無効または期限切れです
          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件指定します。


            **動画の要件**


            - 公開URLのみ指定できます。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: >-
            ご自身で翻訳した**翻訳先言語**の字幕ファイルの公開URL。UTF-8の `srt`
            ファイルを指定すると、自動翻訳を行わず、その字幕に沿って吹き替えます。字幕1件の長さは最大 `15` 秒です。
          format: uri
          example: https://example.com/interview.ja.srt
        return_video:
          type: boolean
          description: >-
            `true`（デフォルト）では吹き替え後の動画のURLが `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` Hzのみ対応します。
            - `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 コールバック URL


            **発火タイミング:**

            - タスクが完了、失敗、またはキャンセルされた時にトリガー

            - 課金が確定した後に送信


            **セキュリティ制約:**

            - 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.