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-to-audio
required

Model name

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

"seed-audio-1.5-video-to-audio"

prompt
string
required

Describe the sounds and when they occur on screen (for example, a doorbell when a door opens). Quote the full lines to speak and identify each speaker and language. If using reference clips, assign each clip to a character.

Example:

"Ring the doorbell when the door opens. Then use the voice from reference clip 1 to say softly, “Welcome back.” Lower the music during the dialogue."

video_urls
string<uri>[]
required

Supply one video to generate audio for.

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:
audio_urls
string[]

Optional reference clips for the narrator’s or characters’ voices.

  • Supply up to 6 clips, numbered from 1 in array order. In prompt, assign each clip to a role (for example, clip 1 is the host and clip 2 is the guest).
  • Use public URLs or base64 data (data:audio/mp3;base64,… or data:audio/wav;base64,…).
  • Each clip must be 2–30 seconds long, up to 180 seconds in total.
  • Formats: wav or mp3, up to 15 MB per clip.
Maximum array length: 6
Example:
return_video
boolean
default:false

Set true to include the video with the generated audio at result_data[0].video_url. The default is false (audio only).

Example:

false

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

speech_rate
integer
default:0

Speech rate as an integer from -50 to 100. At 0 (default), speech plays at normal speed. 100 is about twice as fast and -50 is about half speed.

Required range: -50 <= x <= 100
Example:

10

loudness_rate
integer
default:0

Volume as an integer from -50 to 100. 0 is the normal volume (default). 100 is about twice as loud and -50 is about half as loud.

Required range: -50 <= x <= 100
Example:

0

pitch_rate
integer
default:0

Pitch adjustment in semitones, from -12 to 12. 0 (default) leaves pitch unchanged. 12 raises it one octave and -12 lowers it one octave.

Required range: -12 <= x <= 12
Example:

0

subtitles
boolean
default:false

Include subtitles.

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

Example:

true

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-to-audio"

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