curl --request POST \
--url https://api.evolink.ai/v1/audios/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "seed-audio-1.5-video-to-audio",
"prompt": "Synchronize the sound with the picture. Play a clear glass chime as a band of golden light sweeps across the glass. In the last two seconds, a deep male voice softly says in English, “Pure by design.” Speak only the quoted line.",
"video_urls": [
"https://example.com/product.mp4"
],
"return_video": true,
"format": "mp3"
}
'{
"created": 1795776000,
"id": "task-unified-1795776000-abcd1234",
"model": "seed-audio-1.5-video-to-audio",
"object": "audio.generation.task",
"progress": 0,
"status": "processing",
"task_info": {
"can_cancel": false,
"estimated_time": 20,
"audio_type": "video_to_audio"
},
"type": "audio",
"usage": {
"credits_reserved": 7.14
}
}{
"error": {
"code": "unsupported_parameter",
"message": "speech_rate is not supported for seed-audio-1.5-video-to-audio",
"type": "invalid_request_error"
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid or expired token",
"type": "authentication_error"
}
}{
"error": {
"code": "insufficient_quota",
"message": "Insufficient quota. Please top up your account.",
"type": "insufficient_quota"
}
}{
"error": {
"code": "model_access_denied",
"message": "Token does not have access to model: seed-audio-1.5-video-to-audio",
"type": "invalid_request_error"
}
}{
"error": {
"code": "rate_limit_exceeded",
"message": "Too many requests, please try again later",
"type": "rate_limit_error"
}
}{
"error": {
"code": "internal_error",
"message": "Internal server error",
"type": "api_error"
}
}Seed Audio 1.5 Video to Audio
🚧 This model is not yet available.
- Generate dialogue, narration, effects, and music timed to the action on screen. You can supply reference voices and request the video with the new audio.
- Videos must be
4–360seconds long. The generated audio matches the video duration. - Include the exact lines to speak in the prompt. Generating only music or sound effects is unsupported.
- Processing is asynchronous. Use the returned task ID to check the result. Tasks cannot be cancelled after submission.
- Output links expire after 7 days. Save the files before then.
Billing
- Billing is based on generated audio duration, which matches the video duration. Fractional seconds are rounded up to the next second.
- At submission,
usage.credits_reservedis estimated from the video duration. The final charge uses the actual duration. Excess credits are refunded and any shortfall is charged. Failed tasks receive a full refund.
Task results when status is completed
| Field | Description |
|---|---|
results[0] / result_data[0].audio_url | Audio URL. |
result_data[0].duration | Audio duration in seconds. |
result_data[0].video_url | URL of the video with generated audio, returned when return_video is true. |
result_data[0].subtitles | Subtitles in the form [{"format": "srt", "content": "…"}, {"format": "jsonl", "content": "…"}]. Each JSONL line contains one word and its start and end times in seconds. |
usage.billed_seconds / usage.credits_used | Billed seconds and credits actually used, respectively. |
curl --request POST \
--url https://api.evolink.ai/v1/audios/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "seed-audio-1.5-video-to-audio",
"prompt": "Synchronize the sound with the picture. Play a clear glass chime as a band of golden light sweeps across the glass. In the last two seconds, a deep male voice softly says in English, “Pure by design.” Speak only the quoted line.",
"video_urls": [
"https://example.com/product.mp4"
],
"return_video": true,
"format": "mp3"
}
'{
"created": 1795776000,
"id": "task-unified-1795776000-abcd1234",
"model": "seed-audio-1.5-video-to-audio",
"object": "audio.generation.task",
"progress": 0,
"status": "processing",
"task_info": {
"can_cancel": false,
"estimated_time": 20,
"audio_type": "video_to_audio"
},
"type": "audio",
"usage": {
"credits_reserved": 7.14
}
}{
"error": {
"code": "unsupported_parameter",
"message": "speech_rate is not supported for seed-audio-1.5-video-to-audio",
"type": "invalid_request_error"
}
}{
"error": {
"code": "unauthorized",
"message": "Invalid or expired token",
"type": "authentication_error"
}
}{
"error": {
"code": "insufficient_quota",
"message": "Insufficient quota. Please top up your account.",
"type": "insufficient_quota"
}
}{
"error": {
"code": "model_access_denied",
"message": "Token does not have access to model: seed-audio-1.5-video-to-audio",
"type": "invalid_request_error"
}
}{
"error": {
"code": "rate_limit_exceeded",
"message": "Too many requests, please try again later",
"type": "rate_limit_error"
}
}{
"error": {
"code": "internal_error",
"message": "Internal server error",
"type": "api_error"
}
}Authorizations
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:
Authorization: Bearer YOUR_API_KEY
Body
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.
"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."
Supply one video to generate audio for.
Video requirements
- Use a publicly accessible URL. Base64 is unsupported.
- Duration:
4–360seconds at12–60fps. - Formats:
mp4ormov, up to200 MB. - Width and height:
300–6000pixels each. Aspect ratio:0.4–2.5. Width × height:407,696–2,086,876pixels.1280×720and1920×1080qualify.640×480is too small and4Kis too large.
1 element["https://example.com/clip.mp4"]
Optional reference clips for the narrator’s or characters’ voices.
- Supply up to
6clips, numbered from 1 in array order. Inprompt, 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,…ordata:audio/wav;base64,…). - Each clip must be
2–30seconds long, up to180seconds in total. - Formats:
wavormp3, up to15 MBper clip.
6["https://example.com/host.wav"]
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
2048characters
Callback mechanism:
- Timeout:
10seconds - Up to
3retries on failure (at1/2/4seconds 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
"https://your-domain.com/webhooks/audio-completed"
Response
Audio generation task created successfully