inpaint
Remove or replace elements in an image using a mask and text prompt. Specify mask shape and position to inpaint specific areas, saving results as output files.
Instructions
Inpaint an image using a mask
Input Schema
Name | Required | Description | Default |
---|---|---|---|
image | Yes | Input image path | |
mask_shape | No | Shape of the mask | circle |
output | No | Output filename | inpainted.jpg |
position | No | Position of the mask | center |
prompt | Yes | Text prompt for inpainting |