DALL-E 3
Image Generationby OpenAI
OpenAI's most advanced image generation model, capable of creating highly detailed and accurate images from text descriptions with excellent prompt following.
Registration & API Key Steps
Create OpenAI Account
Visit platform.openai.com and sign up with email, Google, or Microsoft account.
Open linkVerify Phone Number
Complete phone number verification. A valid phone number is required.
Get API Key
Navigate to API Keys section in your account settings and create a new secret key.
Open linkAdd Payment Method (Optional)
New accounts receive $5 in free credits. Add a credit card for continued usage after credits expire.
Open linkPricing
| Tier | Price | Features |
|---|---|---|
| DALL-E 3 Standard 1024x1024 | $0.040 / image | Standard quality, 1024x1024 resolution, Fast generation |
| DALL-E 3 Standard 1792x1024 | $0.080 / image | Standard quality, 1792x1024 or 1024x1792 resolution, Wide/tall format |
| DALL-E 3 HD 1024x1024 | $0.080 / image | HD quality, 1024x1024 resolution, Higher detail and consistency |
| DALL-E 3 HD 1792x1024 | $0.120 / image | HD quality, 1792x1024 or 1024x1792 resolution, Best quality option |
Application Tips
Use Detailed Prompts
DALL-E 3 works best with detailed, descriptive prompts. Unlike DALL-E 2, it can understand complex scenes and compositions.
Free Credits for New Users
New OpenAI API accounts receive $5 in free credits valid for 3 months. At standard 1024x1024, that is about 125 images.
Consider GPT Image 1 for Newer Features
OpenAI has released GPT Image 1 (gpt-image-1) as the next generation. GPT Image 1 Mini offers lower cost at $0.005/image for low quality.
China Access Solutions
API Proxy Services
Use third-party API proxy services that relay requests to OpenAI. Examples include api2d.com, openai-sb.com.
Cloud Server Relay
Deploy a relay server on overseas cloud providers (AWS, GCP, Azure) to forward API requests.
Code Example
import OpenAI from 'openai';
const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY });
async function generateImage() {
const response = await openai.images.generate({
model: 'dall-e-3',
prompt: 'A futuristic cityscape at sunset with flying cars and neon lights',
n: 1,
size: '1024x1024',
quality: 'standard', // or 'hd'
});
console.log('Image URL:', response.data[0].url);
console.log('Revised prompt:', response.data[0].revised_prompt);
}
generateImage();Rate Limits
| Tier | Limits |
|---|---|
| Tier 1 | 5 images/min |
| Tier 2 | 7 images/min |
| Tier 3 | 7 images/min |
| Tier 4 | 15 images/min |
| Tier 5 | 50 images/min |
Recommended Use Cases
Related API Guides
Midjourney
Midjourney Inc.
Industry-leading AI image generation known for stunning artistic quality. No official public API yet; access via Discord bot or third-party API services.
Stable Diffusion API
Stability AI
Stability AI's official API for Stable Diffusion models including SD 3.5, Stable Image Core, and Stable Image Ultra. Open-source models also available for self-hosting.
Imagen 3
Google's state-of-the-art image generation model, available through the Gemini API and Vertex AI. Excels in photorealistic images with SynthID watermarking.
Ideogram
Ideogram AI
AI image generation specializing in accurate text rendering within images. Excellent for logos, posters, and designs requiring readable text.