Endpoint
Request Examples
Response
Response with Base64
Whenresponse_format is set to b64_json:
Request Parameters
The model ID to use. Options:
dall-e-3, dall-e-2, stable-diffusion-3, flux-1-pro, midjourney-v6.A text description of the desired image. Maximum length varies by model (DALL-E 3 supports up to 4000 characters).
Number of images to generate. Range: 1-10. Default:
1. Note: DALL-E 3 only supports n=1.Image dimensions. Options depend on the model:
- DALL-E 3:
1024x1024,1024x1792,1792x1024 - DALL-E 2:
256x256,512x512,1024x1024 - Stable Diffusion 3:
1024x1024,768x1024,1024x768
1024x1024.Image quality. Options:
standard, hd. Default: standard. Only supported by DALL-E 3.Image style. Options:
vivid, natural. Default: vivid. Only supported by DALL-E 3.Response format. Options:
url, b64_json. Default: url. URLs expire after 1 hour.Supported Models
| Model | Provider | Max Resolution | Features |
|---|---|---|---|
| DALL-E 3 | OpenAI | 1792x1024 | HD quality, style control, prompt revision |
| DALL-E 2 | OpenAI | 1024x1024 | Batch generation (up to 10) |
| Stable Diffusion 3 | Stability AI | 1024x1024 | Fine-grained control, negative prompts |
| FLUX.1 Pro | Black Forest Labs | 1024x1024 | Photorealistic output |
| Midjourney V6 | Midjourney | 1024x1024 | Artistic style, high aesthetics |
View All Models
See the complete list