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 密钥

    登录 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 起,仅对成功请求计费。