Skip to main content
POST
Edit image

Body

application/json

Image edit request

image
string
required

URL of the source image

model
string
required
prompt
string
required

Text instruction for the edit

mask
string | null

URL of the mask image

n
integer
default:1
size
string | null

Response

Edited images

created
integer
images
object[]
model
string