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. Upload the source video with fattly_upload_media and the mask with fattly_upload_image (other links are rejected). Takes a few minutes; returns the mp4 link, or a generation id to check with fattly_video_status.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"videoUrl": "<videoUrl>",
"maskUrl": "<maskUrl>",
"prompt": "<prompt>",
"consent": "<consent>"
},
"name": "fattly_edit_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | What should happen to the masked area. | |
| consent | Yes | Must be true. By setting it you confirm that you have the rights to, and the consent of, every person who is visible or audible in the materials you provide. | |
| maskUrl | Yes | Mask image, fal URL. WHITE = area to edit, BLACK = keep unchanged. | |
| videoUrl | Yes | Source video — the URL returned by fattly_upload_media (kind video). | |
| resolution | No | Output resolution (default 720p). | |
| durationSeconds | No | Clip length in seconds, 2-12 (default 5). |