Note Image-to-Video (First Frame), Image-to-Video (First & Last Frames), and Multimodal Reference-to-Video (including reference images, videos, and audio) are three mutually exclusive scenarios and cannot be used simultaneously. Multimodal reference also accepts a prompt plus reference audio only (no reference image or video). Reference limits: up to 10 images, 5 videos and 5 audio files; videos and audio are each limited to 30 seconds in total. Resolution is 480p or 720p only; there is no 1080p and no draft mode. Multimodal Reference-to-Video can indirectly achieve a "First/Last Frame + Multimodal Reference" effect by specifying reference images as the first or last frame via prompts. If you need to strictly guarantee that the first and last frames are identical to the specified images, prioritize using Image-to-Video (First & Last Frames)
curl --location 'https://api.emix.ai/api/v1/client/tasks' \
--header 'Content-Type: application/json' \
--data '{
"model": "bytedance/seedance-2-5-flash",
"callBackUrl": "https://your-domain.com/api/callback",
"input": {
"prompt": "A serene beach at sunset with waves gently crashing on the shore, palm trees swaying in the breeze, and seagulls flying across the orange sky",
"reference_image_urls": [
"https://templateb.aiquickdraw.com/custom-page/akr/section-images/example1.png"
],
"reference_video_urls": [
"https://templateb.aiquickdraw.com/custom-page/akr/section-images/example1.mp4"
],
"reference_audio_urls": [
"https://templateb.aiquickdraw.com/custom-page/akr/section-images/example1.mp3"
],
"return_last_frame": false,
"generate_audio": false,
"resolution": "720p",
"aspect_ratio": "16:9",
"duration": 15,
}
}'{
"code": 200,
"msg": "success",
"data": {
"taskId": "task_bytedance_1765186743319"
}
}