RawFrame

Luma Uni-1 Max

Luma's higher-quality image model, with the same parameters as Uni-1. Text to image at 2K output.

Preview

Parameters and limits may change before this model is generally available.

  • Model id: luma/uni-1-max
  • Type: Image, from Luma AI
  • Modes: Text to image
  • Prompt: up to 6,000 characters
  • Canceling: Only while queued. Generations finish within seconds once submitted.

Parameters

Set these in params. Anything left out takes the default, which is what the price estimate assumes.

ParameterAccepted valuesDefault
aspect_ratio1:1, 3:1, 2:1, 16:9, 3:2, 2:3, 9:16, 1:2, 1:31:1
num_outputs1 only1
output_formatpng, jpeg, webpprovider's

References

This model takes no references.

Pricing

Billed per image delivered. The full price list for your account is on the dashboard's billing page and in pricing from GET /v1/models/luma%2Funi-1-max. Each request reserves its maximum price and is charged for what was produced (Pricing and credits).

Examples

Text to image

import { RawFrame } from "@rawframe/sdk";

const rf = new RawFrame();

const generation = await rf.generations.createAndWait({
  model: "luma/uni-1-max",
  prompt: "A glass greenhouse on a snowy hillside at blue hour, warm light inside, photoreal",
  params: { aspect_ratio: "3:2" },
});
console.log(generation.outputs?.[0]?.url);

Tall frame

import { RawFrame } from "@rawframe/sdk";

const rf = new RawFrame();

const generation = await rf.generations.createAndWait({
  model: "luma/uni-1-max",
  prompt: "A lone cyclist crossing a rain-slicked bridge, cinematic, muted colors",
  params: { aspect_ratio: "9:16" },
});
console.log(generation.outputs?.[0]?.url);

On this page