Image model
Luma UNI-1
Luma UNI-1 is a unified understanding-and-generation image model for text-to-image, natural-language edits, and multi-reference direction.
luma/uni-1API
Call Luma UNI-1
Every model takes the same request, so switching to Luma UNI-1 is a change to the model field. These samples are written for its own contract and send as they are.
Specifications
What Luma UNI-1 accepts
Read from the same registry the API validates against. A request outside it is refused when the task is created, before anything is charged.
Modes and inputs
- Text → Image
- Up to 9 reference images
- Image → Image
- 1 source image · required
- Up to 9 reference images
- 9 in total
Input roles
source- The image to edit
reference- An image to take style or content from
A role goes in inputs[].as. Leave it out, or send auto, and Mynth assigns one the model accepts.
Output
- Aspect ratios
- 1:1
- 2:1
- 16:9
- 3:2
- 2:3
- 9:16
- 1:2
Leave out
size, or sendauto, and Mynth picks one for the prompt. Any other ratio snaps to the closest of these. Sizes- 4K
- No. A 4k size fails the task
Prompt
- Negative prompt
- Not supported. Dropped before the provider call, no error
The contract as GET /models returns it
{
"modes": {
"txt->img": {
"inputs": {
"rules": [
{
"type": "image",
"kind": "reference",
"max": 9
}
]
}
},
"img->img": {
"inputs": {
"rules": [
{
"type": "image",
"kind": "source",
"min": 1,
"max": 1
},
{
"type": "image",
"kind": "reference",
"max": 9
}
],
"maxTotal": 9
}
}
}
}Pricing
What it costs
Pay per result, in USD, with no subscription. A failed image or video costs nothing. How pricing works
Rates
- Image
- $0.042 / image
- Input image
- $0.003 / input
An input is charged once for every image it goes into: two inputs on four images are eight input charges.
Estimate a request
1 × $0.042
Held when the task is created. Only images that succeed are charged.