Skip to main content
Send one reference_video and say in the prompt that it is an extension and what happens next. ratio must be adaptive; the new footage continues the original’s look and pace. The input video is billed too, and input plus output may last at most 30 seconds.
The Spicy line bills the reference videos by their real length: use publicly reachable MP4 / MOV URLs. A request whose video length cannot be read is refused with 400 and not charged.
Want to try it right away? Open Create video generation task, pick “Video extension” in the request example menu, enter your API key and click Try it.

Request

$DREAMTO_API_KEY in the examples is your API key.

Response

A successful create returns HTTP 200 and the task is queued. Quote request_id when you report a problem:
With output.task_id, call Query task about every 15 seconds; when task_status is SUCCEEDED, download the video from output.video_url. All request parameters and their values are in Create video generation task.