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.

Modalities
Image, TextImage
Price
$0.0404per generation
Model type
Image generation
Released
Mar 23, 2026

uni-1 overview

Aspect ratio
Style
Sample uni-1 image generated through AI/ML API: A ginger cat asleep on a stack of exactly three hardcover books in a rainy bookshop window at dusk. Gold lette

uni-1 specs

Model ID
luma/uni-1
Developer
Luma AI
Input
Image, Text
Output
Image
Endpoint
POST https://api.aimlapi.com/v1/images/generations

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-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.

Use cases

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.

Capabilities

  • Web search

uni-1 benchmarks by Artificial Analysis

Human-preference results for uni-1 in text to image, next to models available on AI/ML API. Data retrieved Nov 3, 2026.

Text to image

Elo · text-to-image arena

AI/ML API price

USD per generation

Models on AI/ML API

Arena results for models you can call with the same API key.

Text to image

Blind pairwise human votes on images generated from text prompts. uni-1 ranks #49 of 98.

uni-1 API pricing

uni-1 pricing in US dollars
UsagePriceUnit
Image generation$0.0404per generation

Prices from the AI/ML API price list, checked on Nov 4, 2026.

uni-1 vs other image models: prices

AI/ML API rates for 5 models, per generation.

AI/ML API prices in USD per generation
ModelPer generation
uni-1$0.0404
Flux pro 1.1$0.04
Flux.1 Kontext$0.04
Luma Uni-1$0.0404
uni-1-max$0.1

How to use the uni-1 API

View docs (opens in a new tab)

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

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."
}'

Related articles

All posts

uni-1 FAQ

What inputs and outputs does uni-1 support?

uni-1 takes image, text as input and returns image.

How much does uni-1 cost?

uni-1 costs $0.0404 per generation on AI/ML API, billed as you go with no subscription.

How is uni-1 billed?

uni-1 is billed per generation, a fixed charge per output rather than by prompt length.

Can uni-1 take an existing image as input?

Yes, uni-1 accepts image input as well as a text prompt.

Who created uni-1?

uni-1 was built by Luma AI.

How do I call uni-1 on AI/ML API?

Send a request to https://api.aimlapi.com/v1/images/generations with luma/uni-1 as the model id.

Is uni-1 available through a single API key?

Yes. uni-1 is served through AI/ML API, so the same key and endpoint format used for other models applies.

What is Luma's Uni-1 model used for?

Uni-1 is an image generation model by Luma AI that creates images from text prompts and can edit existing images.

Can Uni-1 edit an existing image rather than just create a new one?

Yes, Uni-1 supports both generating new images and editing images from text prompts.

How many reference images can I provide to Uni-1?

Uni-1 accepts up to 9 reference images as input.

Start building with uni-1

uni-1 API

luma/uni-1

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

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."
}'