Image generation
DALL·E models
POST
/
v1
/
image
/
gen
/
dalle
Follow the quickstart guide to get your own API Key.
DALL·E 3 is OpenAI’s latest and most advanced text-to-image AI model.
- Produces highly detailed and photorealistic images
- Excellent at capturing complex scenes and concepts
- Superior understanding of spatial relationships and composition
See the pricing page for pricing details.
Resources
Previews
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
A text description of the desired image. The maximum length is 4000 characters.
Required string length:
1 - 4000
Available options:
dall-e-3
The number of images to generate. Only n=1 is supported for dall-e-3.
Available options:
1
The quality of the generated images.
Available options:
standard
, hd
The size of the generated images.
Available options:
1024x1024
, 1024x1792
, 1792x1024
The style of the generated images.
Available options:
vivid
, natural
Response
200 - application/json
An array of generated image URLs.