Object erasure
Updated at:2025-11-03
Overview
Remove obstructions from images and replace them with background content to enhance the image quality. The inpainting area must be a regular rectangle, with coordinates and size provided.
Parameters
Action name: c
| Parameters | Value | Description |
|---|---|---|
| x | 0-2000 | The x-coordinate of the top-left starting point of the object to be inpainted relative to the origin, required |
| y | 0-2000 | The y-coordinate of the top-left starting point of the object to be inpainted relative to the origin, required |
| w | 1-2000 | w, the width of the inpainting area, required |
| h | 1-2000 | h, the height of the inpainting area, required |
Example
- Comparison diagram of the object before and after inpainting:


