recraft_erase_region
Remove unwanted objects from images by applying a mask; the erased area is filled naturally with surrounding content.
Instructions
Content-aware removal of a region in an image using a mask. White mask areas are erased and filled naturally.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Local path to source image (max 4MP) | |
| mask_path | Yes | Local path to mask (white=erase, black=preserve, same dimensions) | |
| response_format | No | Response format | url |