The Seedance 2.5 Reference To Video API generates videos from reference images, videos and audio, preserving the motion, style and audio characteristics of the reference materials, supporting configurable aspect ratio and 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.
List of reference image URLs. Maximum 9 images. Supported formats: JPEG, PNG, WebP.
List of reference video URLs. Maximum 3 videos, total duration cannot exceed 15 seconds.
List of audio URLs. Maximum 3 audio files. Only effective when videos are provided.
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.
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",
"images": [
"https://d2t5pyzt5qvy2d.cloudfront.net/api/static_resource/prod/default/INj5UrnnrKIzCR1uYBWv0.png",
"https://d2t5pyzt5qvy2d.cloudfront.net/api/static_resource/prod/default/VE-i9SzS3ZRdVTSzJWTcA.jpeg"
],
"videos": [
"https://d2t5pyzt5qvy2d.cloudfront.net/api/static_resource/prod/default/mq0MSmKgPGQQsxS9UovqH.mp4"
],
"resolution": "480p",
"ratio": "adaptive",
"duration": 8,
"seed": -1,
"generateAudio": false
}'{
"code": 0,
"message": "success",
"data": {
"taskId": "API-f000979c6b6e4562b2945be0ea50f0bd"
}
}