Skip to main content
POST

Authorizations

Authorization
string
header
required

All endpoints require Bearer Token authentication

Get your API Key:

Visit the API Key management page to obtain your API Key

Add it to the request header:

Body

application/json
model
enum<string>
default:seed-audio-1.5-video-dubbing
required

Model name

Available options:
seed-audio-1.5-video-dubbing
Example:

"seed-audio-1.5-video-dubbing"

video_urls
string<uri>[]
required

Supply one video with clear Chinese or English dialogue.

Video requirements

  • Use a publicly accessible URL. Base64 is unsupported.
  • Duration: 4–360 seconds at 12–60 fps.
  • Formats: mp4 or mov, up to 200 MB.
  • Width and height: 300–6000 pixels each. Aspect ratio: 0.4–2.5. Width × height: 407,696–2,086,876 pixels. 1280×720 and 1920×1080 qualify. 640×480 is too small and 4K is too large.
Required array length: 1 element
Example:
target_language
enum<string>
required

Target language codes are case-sensitive.

Available options:
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
enum<string>

Dialogue enhancement level. off disables enhancement. low, medium, and high apply increasingly strong enhancement. Omit this field to use the default setting.

Available options:
off,
low,
medium,
high
Example:

"medium"

glossaries
object[]

Use a glossary to specify translations for brand names, personal names, and other terms. Supply up to 1000 pairs in the form {"source": "original term", "target": "translation"}. Both values must be nonempty.

Maximum array length: 1000
Example:
custom_subtitle_url
string<uri>

Public URL of a UTF-8 srt file containing your own target-language subtitles. When supplied, the text is used for dubbing without automatic translation. Each subtitle cue may last up to 15 seconds.

Example:

"https://example.com/interview.ja.srt"

return_video
boolean
default:true

Set true (default) to include the dubbed video at result_data[0].video_url. Set false for audio only.

Example:

true

subtitles
boolean
default:false

Include target-language subtitles.

true returns the subtitle text in both srt and jsonl formats in the task result. The default is false (no subtitles).

Example:

true

source_subtitles
boolean
default:false

Include source-language subtitles for the original dialogue.

true returns the subtitle text in both srt and jsonl formats in the task result. The default is false (no subtitles).

Example:

true

format
enum<string>
default:wav

Output audio format

  • wav (default) or mp3
  • ogg_opus supports only 48000 Hz.
  • pcm returns raw 16-bit audio without a header. Standard media players need additional processing to play it.
Available options:
wav,
mp3,
pcm,
ogg_opus
Example:

"mp3"

sample_rate
enum<integer>
default:44100

Output sample rate in Hz. For wav, mp3, and pcm, choose any listed rate (default 44100). For ogg_opus, the only valid rate is 48000, which is selected automatically if omitted.

Available options:
8000,
16000,
24000,
32000,
44100,
48000
Example:

24000

callback_url
string<uri>

HTTPS callback URL invoked when the task finishes

When it fires:

  • Triggered when the task is completed, failed, or cancelled
  • Sent after billing is finalized

Security restrictions:

  • HTTPS only
  • Callbacks to internal IP addresses are forbidden (127.0.0.1, 10.x.x.x, 172.16-31.x.x, 192.168.x.x, etc.)
  • URL length must not exceed 2048 characters

Callback mechanism:

  • Timeout: 10 seconds
  • Up to 3 retries on failure (at 1 / 2 / 4 seconds after each failure)
  • The callback body has the same format as the task-query response
  • A 2xx response is treated as success; other status codes trigger a retry
Example:

"https://your-domain.com/webhooks/audio-completed"

Response

Audio generation task created successfully

created
integer

Task creation timestamp

Example:

1795776000

id
string

Task ID

Example:

"task-unified-1795776000-abcd1234"

model
string

The model actually used

Example:

"seed-audio-1.5-video-dubbing"

object
enum<string>

Specific task type

Available options:
audio.generation.task
progress
integer

Task progress percentage (0-100)

Required range: 0 <= x <= 100
Example:

0

status
enum<string>

Task status

Available options:
pending,
processing,
completed,
failed
Example:

"processing"

task_info
object

Detailed audio task information

type
enum<string>

Task output type

Available options:
audio
Example:

"audio"

usage
object

Usage and billing information