v1
images

Edit images using inpainting.

Supports dall-e-2 and gpt-image-1. Upload an image and optionally a mask to indicate which areas to regenerate based on the prompt.

post/v1/images/edits

Request

  • Base URL
    https://api.dedaluslabs.ai
  • Auth
    HTTP bearer

Request body multipart/form-data

imagestring binary required
promptstring required
maskstring binary nullable
modelstring nullable
ninteger nullable
sizestring nullable
response_formatstring nullable
userstring nullable

Response

Successful Response

createdinteger required

Unix timestamp when images were created

Changes