Skip to main content
Generate one or more images. Synchronous: the response contains image URLs.
string
required
Image model id.
string
required
Text description.
string
e.g. 1024x1024.
integer
default:"1"
Number of images.
string
What to avoid.

Response

array
Objects each with a url.
number
Cost of the generation in USD.
Image URLs expire after 24 hours.