Generate an image from a text prompt

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
string

Optional output size. Accepts auto, 1:1, 3:4, 4:3, 16:9, 9:16, or custom WIDTHxHEIGHT. Custom dimensions map to the nearest supported aspect ratio; omitted, blank, or invalid values use auto.

string
enum
Defaults to url

Return a generated asset URL or base64-encoded image data.

Allowed:
Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json