image

Erase Region

post/v1/images/eraseRegion

Request

Request body

image_format'webp' | 'png'
response_format'url' | 'b64_json' | 'multipart'
zdrboolean

Zero data retention: the prompt and the input and output image bytes are neither stored nor logged; only an output requested as a URL is uploaded so it can be served.

image_urlstring

URL or data URL of the input image. JSON counterpart of the image file.

mask_urlstring

URL or data URL of the mask image. JSON counterpart of the mask file.

Response

OK

createdinteger required
creditsinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.