Images

Edit image with text instructions

POST /v1/images/edits

post/api/v1/images/edits

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v1/images/edits
  • Auth: HTTP bearer

Response

Image edited successfully

backgroundstring nullable

Background used (transparent or opaque)

createdinteger required

Unix timestamp (seconds) when images were created

output_formatstring nullable

Output format used (png, webp, jpeg)

qualitystring nullable

Quality of generated images

sizestring nullable

Size of generated images

Changes

No recorded changes to this operation across all 16 revisions of this API.