What is Luma Uni-1 API?
Luma Uni-1 generates and edits images from text prompts with support for up to 9 reference images, styles, and web-search grounding.
Technical Specifications
- Supported inputs: Image, Text
- Output: Image
- Endpoint: /images/generations
Performance Benchmarks
[embed]
Luma Uni-1 API Pricing
- Pricing on request
Where to Use Luma Uni-1
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 editing and variations
Provide a reference image to guide edits, restyles, or variations.
Code Sample
[embed]
Measured on the AI/ML API gateway across live traffic. Figures are medians unless stated. Last updated 2026-10-12.
Image generation: Uni-1 is documented as being suited to starting from a text prompt and creating a wide range of image genres and styles.
Image editing: Uni-1 is documented as being suited to modifying an input image with instructions, including directable edits and prompt-based changes.
Reference-guided creation: Uni-1 is documented as being suited to generating images from up to 9 reference images, including use cases like style, character, or content guidance.
Brand and marketing work: Uni-1 is documented as being suited to brand workflows and marketing tasks such as campaigns, social content, and ads, with reference images helping preserve visual identity.
import requests r = requests.post( "https://api.aimlapi.com/v1/images/generations", headers={"Authorization": "Bearer " + AIMLAPI_KEY}, json={ "model": "luma/uni-1", "prompt": "A cat holding a sign that says hello" }, ) print(r.json())
const r = 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 cat holding a sign that says hello" }), }); console.log(await r.json());
curl -X POST https://api.aimlapi.com/v1/images/generations \ -H "Authorization: Bearer $AIMLAPI_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"luma/uni-1","prompt":"A cat holding a sign that says hello"}'
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Output | |
| Benchmark | Score | What it measures | Source | Retrieved |
|---|---|---|---|---|
| Text-to-Image Arena | 991 | Human preference Elo from blind pairwise comparisons of generated images, measured independently by Artificial Analysis | Source | September 28, 2026 |
Luma Uni-1 takes image, text as input and returns image.
Yes, Luma Uni-1 accepts image input as well as a text prompt.
Luma 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. Luma Uni-1 is served through AI/ML API, so the same key and endpoint format used for other models applies.
Luma Uni-1 supports up to 9 reference images per generation.
Yes, Luma Uni-1 includes web-search grounding as one of its features.