Skip to main content
POST
Create image edit

Authorizations

Authorization
string
header
required

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

Body

multipart/form-data
model
string
required
Example:

"nano-banana"

prompt
string
required
image
file
required
mask
file
size
string
Example:

"1k"

Response

OpenAI-compatible image result.

created
integer
required
data
object[]
required
usage
object