Inpaint an existing image

Use this endpoint to do an inpaint generation.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

Input Image URL. Supports JPEG and PNG formats.

string

Base-64 Encoded Image Data. Supports JPEG and PNG formats.

string

Input Mask URL. Supports JPEG and PNG formats.

string

Base-64 Encoded Mask Image Data. Supports JPEG and PNG formats.

string

Model Name

string
required

Inpainting Prompt

number

Strength of image transfomation

string

Negative Inpainting Prompt

enum
number

Steps

number

CFG Scale

number

Seed

boolean

Enable 2x Upscale

number
required

Mask Blur Strength

number
required

"0 - fill, 1 - original, 2 - latent noise, 3 - latent nothing"

number
required

0 - Inpaint masked, 1 - Inpaint not masked

boolean
required

0 - Whole picture, 1 - Only masked

string
number
512 to 1536

Image Width

number
512 to 1536

Image Height

Responses

400

Invalid Generation Parameters

401

Key Not Recognised

402

API Access Not Enabled

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json