Learn about using DALL·E 3 in the OpenAI API

Updated over a week ago

What is it?

DALL·E 3 is an image generation model created by OpenAI. The DALL·E 3 API can:

  • Generate text in images

  • Support landscape and portrait images

  • Generate significantly more detailed images

  • Understand complex prompts

Note: because DALL·E 3 expects highly detailed prompts, the API will automatically create a more detailed prompt, just like in ChatGPT.

How do I access it?

Anyone with an OpenAI API account has access the the OpenAI API. Make sure to provide the “dall-e-3” model parameter to access the new model. ChatGPT Plus subscribers can also access DALL·E 3 via ChatGPT.

Is DALL-E 2 still available?

Yes, the DALL·E 2 API will remain available. For backwards compatibility reasons the API will default to DALL·E 2, but you can set the model parameter to dall-e-3 to switch to the model.

Are there different rate limits for DALL-E 3? How can I increase these?

You can check the DALL·E rate limits in the rate limits guide.

Why can I not generate 512 or 256 images any more?

DALL·E 3 was trained to generate 1024x1024, 1024x1792 or 1792x1024 images. To create images more quickly or with lower quality and cost, you can use the new quality parameter. You can still generate 512x512 or 256x256 sized images if you select the dall-e-2 model.

What's the difference between quality options?

The quality property is available when using DALL·E 3. It defaults to “standard”, which will create images quickly and at lower cost. Users can specify quality: "hd” (and pay a higher price) to give the model more time to generate images, resulting in higher image quality, but also higher latency.

What does the style option do?

We introduced style as a new optional param to provide advanced control of the generation. At this time the valid options are "vivid" or "natural". We recommend experimenting with this new parameter to determine which option works best for your use case. The default is “vivid”.

Why does DALL·E-3 only support n=1?

For system scalability and reliability reasons we only currently support n=1 when calling DALL·E 3. We recommend you make multiple parallel calls to the API if you wish to receive more than 1 image.

Did this answer your question?