Seedance 2.5
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
Capabilities
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
Endpoints
Code examples
/v1 in base_url. For Anthropic SDK — without /v1.