Image2Image / Inpainting
Outpaint Image
The Outpainting service enables outpainting (image2image), allowing users to extend or replace specific parts of an image. This is a reversed form of the Inpainting service (drawing outside of the mask, not inside). It supports two operational modes:
- Single Image Mode: Upload one RGBA image. The API enhances the outer area with content based on the prompt parameter.
- Mask Mode: Provide an RGBA image along with a mask of the same size. The API applies this mask to paint beyond the masked region, using content determined by the prompt parameter.
post/painting/outpaint
Request
- Base URLhttps://genai-api.picsart.io/v1
- URLhttps://genai-api.picsart.io/v1/painting/outpaint
- 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.