Videodialogifi › Guides › Seedance 2
ByteDance Seedance 2 is one of the top video models available in Videodialogifi. It accepts references in three mutually exclusive modes. Mixing modes (for example sending a reference video and a first-frame URL) causes the API to reject the job with a misleading "duration" error.
Pin the opening frame of the video to an image. The model animates forward from that frame.
{
"first_frame_url": "https://cdn.example.com/start.jpg",
"prompt": "A dog runs across a field at sunset"
}
Pin both endpoints. The model interpolates between them.
{
"first_frame_url": "https://cdn.example.com/start.jpg",
"last_frame_url": "https://cdn.example.com/end.jpg",
"prompt": "Smooth camera move from start to end"
}
Pass any combination of reference images (up to 9), reference videos (up to 3), and reference audio (up to 3). Cannot be combined with first_frame_url / last_frame_url fields.
{
"reference_image_urls": ["https://cdn.example.com/character.jpg"],
"reference_video_urls": ["https://cdn.example.com/motion.mp4"],
"prompt": "The man from the reference image performs the movements shown in the reference video"
}
If you need both a reference video (for motion) and a specific opening frame (for identity), do not send first_frame_url. Instead merge it into reference_image_urls and hint the model in the prompt:
{
"reference_image_urls": ["https://cdn.example.com/opening-frame.jpg"],
"reference_video_urls": ["https://cdn.example.com/motion.mp4"],
"prompt": "Use the first reference image as the starting frame. Character performs the exact movements shown in the reference video."
}
Videodialogifi's edge function does this merge automatically when you supply both a reference video and a first-frame image.
| Field | Max count | Notes |
|---|---|---|
reference_image_urls | 9 | 300–6000 px, aspect 0.4–2.5, < 30 MB |
reference_video_urls | 3 | MP4 recommended, < 100 MB |
reference_audio_urls | 3 | MP3/WAV |
| Error | Cause | Fix |
|---|---|---|
| "Total duration cannot exceed 15 seconds" | Actually a mutex violation: both frame and reference fields were sent. | Send only one mode. Merge frame images into reference_image_urls if you need both. |
| "Reference video and first/last frames are mutually exclusive" | Direct mutex rejection. | Switch to multimodal mode. |
| "Input image is too small / too large" | Outside 300–6000 px. | Resize before upload. |
When you select Seedance 2 in Videodialogifi's Video Studio:
reference_image_urls and the prompt is augmented with a first-frame hint.