Images

Edit image

Edits an existing image based on a text prompt. Supports inpainting and outpainting.

post/images/edits

Request

  • Base URL
    https://www.aimagicx.com/api/v1
  • Auth
    HTTP bearer

Request body

imagestring uri required

URL of the image to edit

promptstring required

Edit instructions

maskstring uri nullable

Mask image URL for inpainting

modelstring
size'512x512' | '1024x1024'

Response

Successful response

createdinteger
modelstring
model_tierstring

Changes

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