Skip to content
此頁面尚未提供您使用的語言,因此目前以英文顯示。
APISea · Seed Audio 1.5

Seed Audio 1.5 Video Dubbing API

Translate and dub video dialogue into 30 target languages, with optional video, glossaries, and source or translated subtitles.

Video dubbing音訊與音樂非同步任務
模型 ID
seed-audio-1-5-video-dubbing

Seed Audio 1.5 Video Dubbing API 定價

APISea retail prices: $0.72 per minute for audio-only dubbing (include_video false or omitted), or $1.08 per minute with video (include_video true). Billing uses the returned final_duration in whole seconds and includes request-level rounding. Subtitle flags do not select the video rate.

選項APISea
Audio only預設$0.72
Audio + video$1.08

價格單位為 每分鐘。

什麼是 Seed Audio 1.5 Video Dubbing?

Seed Audio 1.5 Video Dubbing detects the source language and translates and dubs dialogue into your chosen target language. Provide exactly one video URL and target_language. Add glossaries for preferred translations, or provide your own target-language UTF-8 SRT file; these options are mutually exclusive.

Use model seed-audio-1-5-video-dubbing with POST /v1/audio/seed/tasks. All native options belong inside input. Request audio only or include a dubbed video, and optionally ask for target-language and source-language subtitle downloads. APISea manages task completion; retrieve it through GET /v1/audio/seed/tasks/{task_id}.

Seed Audio 1.5 Video Dubbing 的特色

30 target languages

Select target_language; the source language is detected automatically. English, Chinese, Japanese, Korean, German, French, and many more are supported.

Glossary or custom dialogue

Provide source/target glossary entries, or use custom_subtitle_url for target-language dialogue from a UTF-8 SRT file.

Dialogue enhancement

Select off, low, medium, or high through input.dialogue_enhancement.

Optional subtitles

Request target or source SRT and JSONL files. Available download links are returned in data.result.extra_results.

4 個步驟呼叫 Seed Audio 1.5 Video Dubbing API

  1. 01

    取得 API key

    登入 APISea,儲值 $50 起,並在控制台建立 sk-sea 金鑰。

  2. 02

    設定 base URL

    在 SDK 或 HTTP 用戶端中,將 https://api.apisea.ai/v1 設為 base URL。

  3. 03

    傳送請求

    呼叫 POST /v1/audio/seed/tasks,並使用下方的參數及 "model": "seed-audio-1-5-video-dubbing"。

  4. 04

    處理回應

    回應中包含 task_id。持續輪詢 GET /v1/audio/seed/tasks/{task_id},直到狀態為 completed,然後下載結果 URL。

# Requires Bash, curl, and jq. Replace example.com media URLs before running.
set -euo pipefail
TASK=$(curl --fail-with-body --silent --show-error \
  "https://api.apisea.ai/v1/audio/seed/tasks" \
  -H "Authorization: Bearer $APISEA_API_KEY" \
  -H "Content-Type: application/json" \
  --data '
{
  "model": "seed-audio-1-5-video-dubbing",
  "input": {
    "video_urls": [
      "https://example.com/interview-zh.mp4"
    ],
    "target_language": "en",
    "glossaries": [
      {
        "source": "星海计划",
        "target": "Project Starsea"
      }
    ],
    "dialogue_enhancement": "medium",
    "include_video": true,
    "include_subtitles": true,
    "include_source_subtitles": true,
    "format": "wav"
  }
}
')
TASK_ID=$(printf '%s' "$TASK" | jq -er '.data.task_id')
for attempt in $(seq 1 120); do
  TASK=$(curl --fail-with-body --silent --show-error \
    "https://api.apisea.ai/v1/audio/seed/tasks/$TASK_ID" \
    -H "Authorization: Bearer $APISEA_API_KEY")
  STATUS=$(printf '%s' "$TASK" | jq -er '.data.status')
  case "$STATUS" in
    completed) printf '%s\n' "$TASK" | jq '.data | {result, cost_usd}'; exit 0 ;;
    failed) printf '%s\n' "$TASK" >&2; exit 1 ;;
    submitted|processing) sleep 5 ;;
    *) printf 'Unexpected task status: %s\n' "$STATUS" >&2; exit 1 ;;
  esac
done
printf 'Polling timed out; resume GET polling with task_id=%s (do not resubmit).\n' "$TASK_ID" >&2
exit 1

參數

參數類型必填預設說明
modelstring必填—Must be `seed-audio-1-5-video-dubbing`.
inputobject必填—Task inputs described below. Keep these fields nested inside `input`. APISea selects the operation from `model`; do not supply `input.mode`.
input.video_urlsstring[]必填—Exactly one public HTTP(S) URL for a 4–360 second MP4 or MOV video.
input.target_languagestring必填—Target language, required even with custom subtitles. Supported codes: `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`.
input.formatstring選填wavAudio download format: `wav`, `mp3`, or `ogg_opus`.
input.sample_rateinteger選填—For WAV/MP3: `8000`, `16000`, `24000`, `32000`, `44100`, or `48000` Hz; default `44100`. For Ogg Opus: only `48000` Hz, which is also its default. Omit to use the format default.
input.glossariesobject[]選填—Translation preferences. Each entry requires non-empty `source` and `target` strings. Mutually exclusive with `custom_subtitle_url`.
input.glossaries[].sourcestring必填—Source phrase; required within every glossary entry.
input.glossaries[].targetstring必填—Preferred translation; required within every glossary entry.
input.custom_subtitle_urlstring選填—Public HTTP(S) URL of a UTF-8 SRT file in the target language. Every segment must be at most 15 seconds. Supplies the dialogue to dub. Mutually exclusive with `glossaries`.
input.dialogue_enhancementstring選填offDialogue enhancement level: `off`, `low`, `medium`, or `high`.
input.include_videoboolean選填falseReturn a video with the generated or dubbed audio in addition to the audio file.
input.include_subtitlesboolean選填falseRequest target-language subtitle download links in SRT and JSONL formats.
input.include_source_subtitlesboolean選填falseRequest source-language subtitle download links in SRT and JSONL formats.

使用 Seed Audio 1.5 Video Dubbing 可以打造什麼

Localized video

Adapt interviews, tutorials, and product videos for a new language audience.

Controlled terminology

Use a glossary to guide translations of names, brands, and specialist phrases.

提升結果品質的技巧

  • 01

    Required fields are input.video_urls and input.target_language; do not send prompt for dubbing.

  • 02

    Set include_subtitles and include_source_subtitles independently to request target-language and source-language subtitle files.

  • 03

    After completion, read media URLs from data.result.urls and subtitle groups from data.result.extra_results.

  • 04

    Supported target_language values: 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.

限制與須知

  • Supply exactly one public HTTP(S) MP4 or MOV video lasting 4–360 seconds.

  • target_language is required even when custom subtitles are supplied. Custom SRT segments may be at most 15 seconds.

  • Do not combine glossaries and custom_subtitle_url. Each glossary entry requires non-empty source and target strings.

  • Do not send input.mode, callback_url, or request_type. APISea selects the operation and handles completion.

Seed Audio 1.5 Video Dubbing API 常見問題

How much does video dubbing cost?

Audio-only dubbing costs $0.72 per minute. Set input.include_video to true for audio and video output at $1.08 per minute. Actual request charges use billable seconds and request-level rounding.

Can I supply my own translated subtitles?

Yes. Set input.custom_subtitle_url to a public UTF-8 SRT file in the target language, with segments up to 15 seconds. target_language is still required, and glossaries cannot be sent with this option.

Where do subtitle downloads appear?

When returned, data.result.extra_results.subtitles and data.result.extra_results.source_subtitles contain SRT and JSONL download URLs. Media outputs are in data.result.urls.

Do I need a webhook endpoint?

No. APISea handles completion. Submit the task and poll GET /v1/audio/seed/tasks/{task_id} until data.status is completed or failed.

相關模型

涵蓋:250+ 個模型 · 最低儲值 $50

開始使用 Seed Audio 1.5 Video Dubbing 開發

一把金鑰,$50 起按量付費,僅對成功的請求收費。