The Seedance 2.5 Image To Video API generates videos from an image, using it as the first frame of the video. When an end frame image is additionally provided, the model generates a video that transitions from the first frame to the last frame (first-last frame video generation), supporting durations up to 30 seconds.
This API offers enhanced features including reference video support, audio integration, and customizable duration, making it suitable for complex video production workflows.
taskId.Enum: application/json
Bearer authentication token. Example: Bearer {{APIKey}}.
Model version. Available options: seedance-2.5.
Text prompt describing the video content to generate.
The URL of the first frame image used to generate the video. When provided, the request is processed in image-to-video mode; when omitted, the request is processed in text-to-video mode. Supported formats: JPEG, PNG, WebP.
The URL of the last frame image. Only effective when imageUrl is provided; when both are provided, first-last frame video generation is enabled and the video transitions from the first frame to the last frame, with the aspect ratio forced to adaptive. Providing endImageUrl without imageUrl returns error 10192. Supported formats: JPEG, PNG, WebP.
Video resolution. Available options: 480p, 720p.
Aspect ratio. Default: adaptive (automatically adjusts based on content). Available options: adaptive, 16:9, 9:16, 1:1, 3:4, 4:3. In first-last frame mode the ratio is forced to adaptive.
Video duration in seconds. Range: [4-30] seconds.
Random seed for reproducible results. Default: -1 (random seed).
Whether to generate audio for the video. Default: false.
Returns 0 for success, or a specific error code.
Returns "success" or a descriptive error message.
The unique identifier for the task. Use this ID with the Polling API to retrieve the generated output.
Use the Polling API to retrieve the processing results.
Alternatively, you can enable Callback to receive task results automatically upon completion.
{
"code": 0,
"message": "success",
"data": {
"task": {
"taskId": "API-f000979c6b6e4562b2945be0ea50f0bd",
"status": 3,
"executionTime": 84467,
"expire": 1786096513313,
"taskType": "seedance_2.5",
"creditsConsumed": 640
},
"videos": [
{
"videoType": "mp4",
"videoUrl": "https://dreamapi-rs-aigc.newportai.com/dreamapi/o/2026-08-07/4bc7af00701b47cc958085b8e33af478.mp4"
}
]
}
}curl -X POST 'https://api.newportai.com/api/async/seedance_2.5' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {{key}}' \
-d '{
"model": "seedance-2.5",
"prompt": "A girl dancing in a park on a sunny day with trees and benches in the background",
"imageUrl": "https://d2t5pyzt5qvy2d.cloudfront.net/api/static_resource/prod/default/INj5UrnnrKIzCR1uYBWv0.png",
"resolution": "480p",
"ratio": "adaptive",
"duration": 8,
"seed": -1,
"generateAudio": false
}'{
"code": 0,
"message": "success",
"data": {
"taskId": "API-f000979c6b6e4562b2945be0ea50f0bd"
}
}