Generate

POST

Generates images synchronously based on a given prompt and optional parameters.

Images links are available for a limited period of time; if you would like to keep the image, you must download it.

Request

This endpoint expects an object.
image_requestobjectRequired

Response

This endpoint returns an object.
createddatetime

The time the request was created.

datalist of objects

A list of ImageObjects that contain the generated image(s).

Errors