Image Generation
Generations (results)
Image Generation
Generate images with DALL-E 3, Midjourney, Flux, Stable Diffusion, and more
POST
Image Generation
Request
Authorization: Bearer nb_YOUR_API_KEYImage model slug. See Image Models.Popular options:
dall-e-3, flux-1.1-pro, midjourney-v6, midjourney-turbo, sd-3.5-largeText description of the image to generate.
What to exclude from the image. Supported by Flux, SD, Midjourney models.
Image dimensions. Available options depend on the model:
| Model | Available sizes |
|---|---|
| DALL-E 3 | 1024x1024, 1024x1792, 1792x1024 |
| Flux 1.1 Pro | 1024x1024, 768x1344, 1344x768, 1024x1536, 1536x1024 |
| Midjourney V6 / Turbo | 1:1, 2:3, 3:2, 9:16, 16:9 (aspect ratios) |
| SD 3.5 Large | 1024x1024, 768x1344, 1344x768 |
Output format:
webp, png, jpegQuality preset:
standard or hd. Affects cost on DALL-E 3 and GPT Image.Style hint for compatible models (
vivid or natural for DALL-E 3).Random seed for reproducible results. Pass the same seed with the same prompt to get similar outputs.
Input image URL for image-to-image generation (supported by Flux Kontext, SD Inpaint).
Request Example
Response
Unique generation ID.
completed | pending | failedDirect URL to the generated image. Files are stored for the duration matching your plan (Free: 7 days, Basic: 30 days, Pro/VIP: 90 days, Elite: unlimited).
Elumenta tokens consumed.
The seed used (useful if you didn’t specify one and want to reproduce the result).
Response Example
Async Generation (MidJourney)
MidJourney returnsstatus: "pending" initially. Poll until complete:
GET /api/v2/generate/{id}
See Generation Status for details.

