Edit a video
edit_videoEdit an existing video clip (MP4, up to 15 seconds, 50 MB) following instructions: put the person from a photo into the clip, change outfit, style, background or scene, while keeping the motion and timing. Costs credits (based on clip length). Returns a task_id; poll get_video.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | What to change, e.g. "Replace the dancer with the person in image 1, keep the moves". | |
| video_url | Yes | Public https URL of the MP4 clip to edit. | |
| image_urls | No | Optional reference photos, referred to as image 1, image 2… in the prompt. |