seedance_generate_video_from_image
Animate images into AI-generated videos by setting first and last frames or using reference images for style and content guidance.
Instructions
Generate AI video using reference images with ByteDance Seedance.
This allows you to control the video by specifying first frame, last frame,
or reference images. Seedance will generate smooth motion based on the inputs.
Use this when:
- You have a specific image you want to animate
- You want to create a video transition between two images
- You need style guidance from reference images
- You need precise control over the video's visual content
Note: reference_image_urls cannot be combined with first_frame_url/last_frame_url.
At least one image, video, or audio reference must be provided.
Seedance 2.5 first/last-frame mode requires ratio=adaptive; it is selected when omitted.
Returns:
Task ID and generated video information including URLs and metadata.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>"
},
"name": "seedance_generate_video_from_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Random seed. -1 for random. Default is -1. | |
| model | No | Model version to use. Use 'doubao-seedance-2-0-260128' (default) for latest-generation quality and multimodal reference, 'doubao-seedance-2-0-fast-260128' or 'doubao-seedance-2-0-mini-260615' for faster/cheaper 2.0, or a 1.x model such as 'doubao-seedance-1-0-lite-i2v-250428' for lightweight I2V. | doubao-seedance-2-0-260128 |
| ratio | No | Video aspect ratio. Use 'adaptive' to match your input image ratio. | |
| tools | No | Optional Seedance 2.5 web search tool configuration. | |
| frames | No | Frame count for the generated video (1.0 series only). Must satisfy 25+4n (e.g. 29, 33, 37, ..., 289). Mutually exclusive with 'duration'. | |
| prompt | Yes | Description of the video motion and content. Describe what should happen in the video, how objects should move, what transitions to include. | |
| duration | No | Video duration in seconds. 1.0 series: 2–12; 1.5 Pro: 4–12; 2.0 series: 4–15; 2.5: 4–30. Use -1 for auto-duration (1.5 Pro and 2.x). Default is 5. Mutually exclusive with 'frames'. | |
| priority | No | Seedance 2.5 task priority from 0 to 9. | |
| watermark | No | Add a watermark. Defaults to false unless set inline. | |
| resolution | No | Video resolution. Options: '480p', '720p', '1080p', '4k'. '4k' is supported only by 'doubao-seedance-2-0-260128'; '2-5' maxes out at '1080p'; '2-0-fast' and '2-0-mini' max out at '720p'. | |
| callback_url | No | Webhook callback URL for asynchronous notifications. | |
| camera_fixed | No | Keep the camera fixed. Defaults to false unless set inline. | |
| output_format | No | Seedance 2.5 output format: mp4 or mov. | |
| generate_audio | No | If true, generate audio. Supported by 'doubao-seedance-1-5-pro-251215' and the Seedance 2.x series. Default is false. | |
| last_frame_url | No | URL of the image to use as the last frame of the video. The video will animate towards this image. Supports https:// URLs or base64 data:image/... URIs. | |
| first_frame_url | No | URL of the image to use as the first frame of the video. The video will animate from this image. Supports https:// URLs or base64 data:image/... URIs. | |
| return_last_frame | No | If true, return the last frame of the generated video. Default is false. | |
| safety_identifier | No | Stable anonymous end-user identifier. Do not use personal information. | |
| reference_audio_urls | No | Reference audio for voice timbre or music: up to 3 for Seedance 2.0 with image/video input, or 10 for 2.5 (also supports audio-only reference). Not supported by 1.x models. Combined 2.5 media limit: 50. | |
| reference_image_urls | No | List of reference image URLs for style/content guidance. Subject or style references: up to 9 images for Seedance 2.0 or 30 for Seedance 2.5. These images influence the look but are not used as frames. Cannot be combined with first_frame_url or last_frame_url. | |
| reference_video_urls | No | Reference videos for subject, camera, motion or style: up to 3 for Seedance 2.0 or 10 for 2.5. Not supported by 1.x models. Combined 2.5 media limit: 50. | |
| execution_expires_after | No | Task timeout threshold in seconds. Default is 172800 (48 hours). | |
| omni_reference_task_type | No | Seedance 2.5 task type: auto, reference, edit, or extend. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |