Text to image
Elo · text-to-image arena
Custom pricing for production workloads
Luma Uni-1 generates and edits images from text prompts with support for up to 9 reference images, styles, and web-search grounding.
luma/uni-1POST https://api.aimlapi.com/v1/images/generationsLuma Uni-1 generates and edits images from text prompts with support for up to 9 reference images, styles, and web-search grounding.
Luma Uni-1 API Pricing
- Pricing on request
High-volume image generation
Produce product visuals, thumbnails, and marketing assets programmatically at scale.
Creative and concept art
Turn text prompts into illustrations, mockups, and design explorations.
Image generation: Uni-1 is documented as able to create images from a text prompt, spanning many genres and styles.
Image editing: Uni-1 is documented as able to edit an input image using modification instructions, including direct, prompt-based changes.
Reference-guided generation: Uni-1 is documented as able to generate an output image using up to 9 reference images for style, character, or content guidance.
Brand and marketing creative: Uni-1 is documented as suited to brand and campaign assets, including social content, ads, and hero shots for marketing use.
Human-preference results for uni-1 in text to image, next to models available on AI/ML API. Data retrieved Nov 3, 2026.
Elo · text-to-image arena
USD per generation
Arena results for models you can call with the same API key.
Blind pairwise human votes on images generated from text prompts. uni-1 ranks #49 of 98.
| Usage | Price | Unit |
|---|---|---|
| Image generation | $0.0404 | per generation |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API rates for 5 models, per generation.
| Model | Per generation |
|---|---|
| $0.0404 | |
| $0.04 | |
| $0.04 | |
| $0.0404 | |
| $0.1 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/images/generations' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "luma/uni-1",
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "luma/uni-1",
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}
response = requests.post("https://api.aimlapi.com/v1/images/generations", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/images/generations", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "luma/uni-1",
"prompt": "A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lettering on the glass reads OPEN LATE. Warm lamp light inside, raindrops and blurred neon reflections outside, 35mm film photo."
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());uni-1 takes image, text as input and returns image.
uni-1 costs $0.0404 per generation on AI/ML API, billed as you go with no subscription.
uni-1 is billed per generation, a fixed charge per output rather than by prompt length.
Yes, uni-1 accepts image input as well as a text prompt.
uni-1 was built by Luma AI.
Send a request to https://api.aimlapi.com/v1/images/generations with luma/uni-1 as the model id.
Yes. uni-1 is served through AI/ML API, so the same key and endpoint format used for other models applies.
Uni-1 is an image generation model by Luma AI that creates images from text prompts and can edit existing images.
Yes, Uni-1 supports both generating new images and editing images from text prompts.
Uni-1 accepts up to 9 reference images as input.