NeuralBridge
Sign in Download IDE
ByteDance

Seedance 2.5

video

ByteDance video model: clips with sound up to 30 seconds from text, from first and last frames and from references (up to 30 images, 10 videos and 10 audio clips), plus editing and extending a finished video.

Specifications

Context window
—
Max tokens in response
—
Vendor
ByteDance
Release
—
Login
text, images, video, audio
Output
video

Capabilities

multi_reftxt2vidimg2vidfirst_last_framevideo_edit

Description

What it does

  • Text to video: describe the scene, the camera movement and the sound.
  • First frame, or first and last frames: the images become the start and the end of the clip; the frame follows the first image.
  • Video from references: up to 30 images, up to 10 videos (30 s in total at most) and up to 10 audio clips (30 s in total at most); audio alone works too. In the prompt, refer to files as @Image 1, @Video 1, @Audio 1, in the order of media.
  • Video editing: add, remove or replace an object or a character, change the sound ("Remove … from @Video 1"). The length and frame stay as in the source video.
  • Video extension forward or backward ("Extend @Video 1 backward: …"). The frame follows the extended video.
  • Length: 4–30 s or -1 (the model picks). Resolution 480p or 720p, 24 fps. Aspect ratio: adaptive (default), 16:9, 9:16, 1:1, 4:3, 3:4, 21:9.
  • Sound (generate_audio, on), an "AI" watermark (watermark), seed (repeatability is not guaranteed), mp4 or mov output (MOV is H.264 4:4:4 with PCM, for editing; browsers do not play it).
  • Prompt up to 25,000 characters. The model understands English, Chinese, Spanish, Portuguese, Japanese, Korean, Indonesian, Malay, Thai, Arabic and Vietnamese. Sound in the prompt: ( ) music, < > effects, { } dialogue, 【 】 subtitles.

How to call

POST /v1/videos/generations (or /v1/videos/references) with a JSON body. Files go in media: [{"type": "first_frame" | "last_frame" | "reference_image" | "reference_video" | "reference_audio", "url": "…"}]. Images and audio as a link or a data URI, videos as an https link only. First/last frames and references cannot be combined in one request.

{"model": "bytedance/seedance-2.5-08130", "prompt": "A golden retriever running through a field of sunflowers on a sunny day", "duration": 5, "resolution": "720p"}

Video editing:

{"model": "bytedance/seedance-2.5-08130", "prompt": "Video edit: remove everyone in @Video 1 except the protagonist.", "task_type": "edit", "duration": -1, "media": [{"type": "reference_video", "url": "https://example.com/source.mp4"}]}

task_type (auto, reference, edit, extend) turns on an early check of the editing and extension rules: editing needs duration -1 and aspect_ratio adaptive, extension needs adaptive.

Response

The response arrives when the video is ready: from one minute up to 15 minutes for a 30-second clip. Set a client timeout of at least 16 minutes and send an Idempotency-Key header: repeating a request with the same key does not start a second paid generation; it waits for and returns the clip already paid for. data[0].url is a link to the file (it lives one day, save the file right away), duration_seconds is the clip length, plus mime_type and expires_at.

Errors

  • 400: invalid input; the error text names the field. Model rejection codes: input_real_person (a real person in a file; for an AI character pass use_virtual_avatar: true), input_moderation, output_moderation, input_copyright, task_type_mismatch and task_type_constraint (the model read the task differently; adjust the prompt wording), input_download_failed. Rejected requests are not billed.
  • 402: not enough funds on the balance. 429: the model queue is busy. 502 or 504: the video was not received; nothing is charged.

Price

You pay per second of the finished clip. The rate depends on the resolution and on whether a video is among the inputs (reference, editing, extension): with a video it costs more. When the model picks the length, the actual length is billed. The prices are shown on this page.

Parameters

resolutiondefault: 720p · 480p · 720p
Video resolution, for example 720P or 1080P. Also affects the price.
durationdefault: 5 · -1 · 4 · 5 · 6 · 7 · 8 · 9 · 10 · 11 · 12 · 13 · 14 · 15 · 16 · 17 · 18 · 19 · 20 · 21 · 22 · 23 · 24 · 25 · 26 · 27 · 28 · 29 · 30
Length in seconds: of the clip for video, of the track for music. Also affects the price.
seed
Pins randomness: repeating a request with the same seed and parameters returns the same result.
prompt
The request text: what you want to get. For video: the scene, camera movement and light; for music: genre, mood, instruments, tempo. The length limit depends on the model.
aspect_ratiodefault: adaptive · adaptive · 16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9
Aspect ratio of the result, for example 16:9, 9:16 or 1:1.
generate_audiodefault: true
true makes the model generate sound with the video: speech, music, effects. false gives a silent video.
watermarkdefault: false
Add a visible watermark to the result. Some models enable it by default — pass false to get a clean result.
use_virtual_avatardefault: false
true treats images with faces as AI characters (not real people); otherwise the model rejects files with faces.
output_formatdefault: mp4 · mp4 · mov
Codec, sample rate and bitrate: for example mp3_44100_128 is MP3, 44.1 kHz, 128 kbit/s; opus_48000_96 is Opus in an Ogg container. auto is the model default.
task_typedefault: auto · auto · reference · edit · extend
auto lets the model decide; reference makes a new video from the files; edit edits a video (duration -1, adaptive frame); extend continues a video (adaptive frame).
media
A list of files {type, url}: first_frame, last_frame, reference_image, reference_video (https only), reference_audio.
reference_images
How many reference images can be passed.
reference_videos
How many videos can be passed (30 s in total at most).
reference_audios
How many audio clips can be passed (30 s in total at most).
reference_image_side
Image width and height, pixels.
reference_image_aspect
Width divided by height.
reference_image_mb
Megabytes per image.
reference_video_seconds
Seconds in one reference video.
edit_video_seconds
Seconds in the video the model edits.
reference_videos_total_seconds
Seconds in all reference videos together.
reference_video_fps
Frames per second in the input video.
reference_video_side
Video width and height, pixels.
reference_video_pixels
Width × height of an input video frame.
reference_video_aspect
Width divided by height.
reference_video_mb
Megabytes per video.
reference_audio_seconds
Seconds in one reference audio clip.
reference_audios_total_seconds
Seconds in all audio clips together.
reference_audio_mb
Megabytes per audio clip.

Endpoints

POSThttps://api.neuralbridge.ru/v1/videos/generationsprimary
Videos — generations — Generate video from a text description.
POSThttps://api.neuralbridge.ru/v1/video/generations
Videos — generations (legacy path) — The early singular path for video generation. Still accepted, but use /v1/videos/generations in new integrations.

Code examples

bash
curl https://api.neuralbridge.ru/v1/videos/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "bytedance/seedance-2.5-08130", "prompt": "Дрон летит над осенним лесом", "resolution": "1080P", "duration": 5}'
For OpenAI SDK, specify /v1 in base_url. For Anthropic SDK — without /v1.
Prices
Video second / second31,5588 ₽
Video second 480p / second14,0322 ₽
Video second 720p / second31,5588 ₽
Video second 480p, video input / second58,7496 ₽
Video second 720p, video input / second132,0774 ₽
The request cost in rubles — in the response, field usage.cost
Identifier
bytedance/seedance-2.5-08130
Get API key