Image2Image / Inpainting
Inpaint Image
The Inpainting service offers inpainting (image2Image) 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.
post/painting/inpaint
Request
- Base URLhttps://genai-api.picsart.io/v1
- URLhttps://genai-api.picsart.io/v1/painting/inpaint
- AuthAPI key in header X-Picsart-API-Key
Request body multipart/form-data
Example request
{
"count": 2
}Response
Success.
Changes
No recorded changes to this operation across all 1 revision of this API.