Reimagine
This feature allows you to automatically generate variations of a single image.
Request Headers
Enum: application/json
Bearer authentication format, for example: Bearer {{API Key}}.
Request Body
Optional extra parameters for the request.
The base64 of original image, with a maximum resolution of 1024 x 1024 and a maximum file size of 30 Mb.
Response
The Base64-encoded content of the returned image.
The returned image type.
Enum: png
, webp
, jpeg
Example
This API allows you to automatically generate multiple variations of a single image.
Try it in playground.
Request:
HTTP status codes in the 2xx range indicate that the request has been successfully accepted. A code of 400 signifies a request parameter error, while status codes in the 5xx range indicate internal server errors.
You can retrieve the image URL in the image_file
field of the response in base64 format.
Response:
Was this page helpful?