Documentation Index
Fetch the complete documentation index at: https://wisdom-docs.juheapi.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Seedance 2.0 (doubao-seedance-2) is a video generation model from Doubao that creates videos through text prompts with optional image and video references. Unlike the Sora models which use multipart/form-data, Seedance 2.0 uses application/json format and accepts image/video URLs directly.
After creation, use the query interface to get the generation status. Once completed, use the content endpoint to download the video.
Supported Models
doubao-seedance-2
Important Notes
Quick Start
Basic Example: Text-to-Video
Parameters
Request Body (JSON)
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | Text prompt describing the video to generate |
model | string | Yes | Must be doubao-seedance-2 |
duration | integer | No | Video duration in seconds. Range: 4-15. Default: 4 |
size | string | No | Output resolution. Options: 1280x720, 720x1080, 1920x1080, 1080x1920. Default: 1280x720 |
mode | string | No | Generation mode. Options: i2v or r2v. See Mode Details |
images | array[string] | No | Array of image URLs to use as references |
videos | array[string] | No | Array of video URLs to use as references |
Mode Details
i2v Mode (Image-to-Video, First/Last Frame)
Whenmode is set to i2v and images is provided:
- The first image in the array is used as the first frame (required)
- The second image (if provided) is used as the last frame (optional)
- The generated video will transition from the first frame to the last frame
r2v Mode (Reference-to-Video)
Whenmode is set to r2v, all provided images and videos are used as references to guide the video generation. The model combines the visual information from all references to create the output video.
Each image and video file must be smaller than 4MB.
Complete Workflow
Step 1: Create Video Task
Step 2: Poll for Status & Download
Use the query interface with the returnedid. When status is completed, the video download URL is available in meta_data.url:
Supported Resolutions
| Size | Orientation | Description |
|---|---|---|
1280x720 | Landscape | Standard HD (default) |
720x1080 | Portrait | Vertical format |
1920x1080 | Landscape | Full HD |
1080x1920 | Portrait | Vertical Full HD |
Best Practices
1. Prompt Optimization
Use specific, detailed descriptions including scene, action, and style: Good prompt:2. Duration Selection
Choose appropriate duration based on content complexity:- 4-6 seconds: Best for simple scenes, fastest generation
- 7-10 seconds: Good for moderate complexity scenes
- 11-15 seconds: For complex scenes with multiple elements
3. Reference Quality
When using images or videos as references:- Ensure URLs are publicly accessible
- Keep each file under 4MB
- Use high-quality, clear references for best results
- In
i2vmode, ensure the first and last frame images are consistent in style and resolution
4. Mode Selection
- Use i2v when you want precise control over the starting (and optionally ending) frame of the video
- Use r2v when you want the model to use multiple references as style/content guidance
FAQ
How is Seedance 2.0 different from Sora models?
Seedance 2.0 usesapplication/json format and accepts image/video URLs directly, while Sora models use multipart/form-data with file uploads. Seedance 2.0 also supports unique features like first/last frame control (i2v mode) and multi-reference generation (r2v mode).
What file size limits apply to references?
Each image and video used as reference must be smaller than 4MB.How many images/videos can I provide?
Ini2v mode, you can provide up to 2 images (first frame required, last frame optional). In r2v mode, you can provide multiple images and videos as references.
Can I use Seedance 2.0 without any images or videos?
Yes. If nomode, images, or videos are provided, the model generates video from the text prompt only (text-to-video).