Skip to main content
Send one reference_video and say in the prompt what to change (background, outfit, weather, style); what the prompt does not mention is kept as far as possible. Add a reference image for what the replacement should look like and call it “image 1”. The input video is billed too, and input plus output may last at most 30 seconds.
Want to try it right away? Open Create video generation task, pick “Video edit” 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.