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

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
prompt
string
required

A text description of the desired image. The maximum length is 4000 characters.

Required string length: 1 - 4000
model
enum<string>
default: dall-e-3
Available options:
dall-e-3
n
enum<integer>
default: 1

The number of images to generate. Only n=1 is supported for dall-e-3.

Available options:
1
quality
enum<string>
default: standard

The quality of the generated images.

Available options:
standard,
hd
size
enum<string>
default: 1024x1024

The size of the generated images.

Available options:
1024x1024,
1024x1792,
1792x1024
style
enum<string>
default: vivid

The style of the generated images.

Available options:
vivid,
natural

Response

200 - application/json
data
object[]

An array of generated image URLs.