Skip to main content
OpenAI-compatible image edit

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-gateway-model-regions
string | null

Body

multipart/form-data
image
file
required
model
string
required
prompt
string
required
mask
file | null
n
integer<int32> | null
Required range: x >= 0
quality
string | null
response_format
string | null
size
string | null

Response

HTTP 200 response.