fattly_edit_video
Draw-to-Edit: edits a REGION of a video using a mask + a text instruction (e.g. "make the car burn", "remove the person", "replace with a red car"). The masked area (WHITE on the mask, BLACK elsewhere) is regenerated across the whole clip, the rest is kept. Source video AND mask image must both be fal URLs (get them with fattly_upload_image). Takes a few minutes; returns the mp4 link, or a generation id to check with fattly_video_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | What should happen to the masked area. | |
| maskUrl | Yes | Mask image, fal URL. WHITE = area to edit, BLACK = keep unchanged. | |
| videoUrl | Yes | Source video, fal URL (from fattly_upload_image). | |
| resolution | No | Output resolution (default 720p). | |
| durationSeconds | No | Clip length in seconds, 2-12 (default 5). |