post https://genai-api.picsart.io/v1/painting/inpaint
Service Description:
The Inpainting service offers inpainting capabilities, enabling users to fill or replace areas within an image based on specified criteria. It operates in two modes:
- Single Image Mode: Submit one RGBA image. The API fills the specified inner area with content based on the prompt parameter.
- Mask Mode: Along with the RGBA image, provide a mask of identical size and format. The API uses this mask to identify areas for inpainting with content determined by the prompt parameter.