Skip to content

Luma

Modes: video, image · Models: 9

Vendor: Luma AI · Official API docs: Luma Dream Machine API

Luma's Dream Machine line covers both video and image. Ray 3.2 (with Ray 2 and the faster Flash 2) generates video from text or a start/end frame at up to 4K, with dedicated edit and reframe workflows for changing a clip's aspect ratio. UNI-1 (and UNI-1 Max) is the image model, with multi-image reference input, edit, and style controls.

Models

idNameInput type
luma-ray-2Luma Ray 2t2v
luma-ray-flash-2Luma Flash 2i2v
luma-ray-2-reframe-videoLuma Ray 2 Reframev2v
luma-ray-flash-2-reframe-videoLuma Flash 2 Reframev2v
luma-uni-1Luma UNI-1t2i
luma-uni-1-maxLuma UNI-1 Maxt2i
luma-ray-3.2Luma Ray 3.2t2v
luma-ray-3.2-editLuma Ray 3.2 Editv2v
luma-ray-3.2-reframe-videoLuma Ray 3.2 Reframev2v

CLI

bash
# text-to-video at 4K
gen-ai generate -m luma-ray-2 \
  -p "a paper boat drifting down a rain-soaked city gutter, cinematic" \
  --ar 16:9 -r 4k -d 9

# image-to-video from a start frame
gen-ai generate -m luma-ray-2 -p "slow zoom out, drifting clouds" --start-frame ./hero.jpg

# reframe an existing clip to vertical
gen-ai generate -m luma-ray-2-reframe-video --video ./clip.mp4 --ar 9:16

# text-to-image with a reference
gen-ai generate -m luma-uni-1 -p "a fox in a moss-green raincoat, storybook" --ar 1:1 -i ./ref.jpg

MCP

json
{ "name": "picsart_generate",
  "arguments": {
    "model": "luma-ray-2",
    "prompt": "a paper boat drifting down a rain-soaked city gutter, cinematic",
    "aspectRatio": "16:9",
    "resolution": "4k",
    "duration": 9
  } }
json
{ "name": "picsart_generate",
  "arguments": {
    "model": "luma-uni-1",
    "prompt": "a fox in a moss-green raincoat, storybook",
    "aspectRatio": "1:1",
    "style": "auto"
  } }

Parameters

Full parameter surface for every model, sourced from gen-ai models info <id> --json. CLI flags show the primary short form; the canonical --kebab-case long form always works too.

luma-ray-2 — Luma Ray 2

Try luma-ray-2 in Playground ↗

Input type: t2v

ParamCLI flagTypeValues
prompt-ptextrequired
aspectRatio--arenum16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9 · 9:21 (default 16:9)
resolution-renum540p · 720p · 1080p · 4k (default 720p)
duration-denum5 · 9 (default 5)
startFrame--start-framefileimage
endFrame--end-framefileimage

luma-ray-flash-2 — Luma Flash 2

Try luma-ray-flash-2 in Playground ↗

Input type: i2v

ParamCLI flagTypeValues
prompt-ptextrequired
aspectRatio--arenum16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9 · 9:21 (default 16:9)
resolution-renum540p · 720p · 1080p · 4k (default 720p)
duration-denum5 · 9 (default 5)
startFrame--start-framefilerequired image
endFrame--end-framefileimage

luma-ray-2-reframe-video — Luma Ray 2 Reframe

Try luma-ray-2-reframe-video in Playground ↗

Input type: v2v

ParamCLI flagTypeValues
prompt-ptextfree text
aspectRatio--arenum16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9 · 9:21 (default 16:9)
videoUrl--videofilerequired video

luma-ray-flash-2-reframe-video — Luma Flash 2 Reframe

Try luma-ray-flash-2-reframe-video in Playground ↗

Input type: v2v

ParamCLI flagTypeValues
prompt-ptextfree text
aspectRatio--arenum16:9 · 9:16 · 1:1 · 4:3 · 3:4 · 21:9 · 9:21 (default 16:9)
videoUrl--videofilerequired video

luma-uni-1 — Luma UNI-1

Try luma-uni-1 in Playground ↗

Input type: t2i

ParamCLI flagTypeValues
prompt-ptextrequired (≤6000 chars)
aspectRatio--arenum3:1 · 2:1 · 16:9 · 3:2 · 1:1 · 2:3 · 9:16 · 1:2 · 1:3 (default 1:1)
style--styleenumauto (Auto) · manga (Manga) (default auto)
imageUrls-ifileimage (up to 9)

luma-uni-1-max — Luma UNI-1 Max

Try luma-uni-1-max in Playground ↗

Input type: t2i

ParamCLI flagTypeValues
prompt-ptextrequired (≤6000 chars)
aspectRatio--arenum3:1 · 2:1 · 16:9 · 3:2 · 1:1 · 2:3 · 9:16 · 1:2 · 1:3 (default 1:1)
style--styleenumauto (Auto) · manga (Manga) (default auto)
imageUrls-ifileimage (up to 9)

luma-ray-3.2 — Luma Ray 3.2

Try luma-ray-3.2 in Playground ↗

Input type: t2v

ParamCLI flagTypeValues
prompt-ptextrequired (≤6000 chars)
aspectRatio--arenum9:16 · 3:4 · 1:1 · 4:3 · 16:9 · 21:9 (default 16:9)
resolution-renum540p · 720p · 1080p (default 720p)
duration-denum5 · 10 (default 5)
startFrame--start-framefileimage
endFrame--end-framefileimage
hdr--hdrbooleantrue · false (default false)
exrExport--exr-exportbooleantrue · false (default false)
loop--loopbooleantrue · false (default false)

luma-ray-3.2-edit — Luma Ray 3.2 Edit

Try luma-ray-3.2-edit in Playground ↗

Input type: v2v

ParamCLI flagTypeValues
prompt-ptextrequired (≤6000 chars)
videoUrl--videofilerequired video
resolution-renum540p · 720p · 1080p (default 720p)
duration-denum5 · 10 (default 5)
editStrength--edit-strengthenumadhere_1 (Adhere 1) · adhere_2 (Adhere 2) · adhere_3 (Adhere 3) · flex_1 (Flex 1) · flex_2 (Flex 2) · flex_3 (Flex 3) · reimagine_1 (Reimagine 1) · reimagine_2 (Reimagine 2) · reimagine_3 (Reimagine 3) (default flex_2)
hdr--hdrbooleantrue · false (default false)
exrExport--exr-exportbooleantrue · false (default false)

luma-ray-3.2-reframe-video — Luma Ray 3.2 Reframe

Try luma-ray-3.2-reframe-video in Playground ↗

Input type: v2v

ParamCLI flagTypeValues
prompt-ptextrequired (≤6000 chars)
aspectRatio--arenum9:16 · 3:4 · 1:1 · 4:3 · 16:9 · 21:9 (default 16:9)
videoUrl--videofilerequired video
resolution-renum540p · 720p · 1080p (default 720p)

Notes: The reframe variants take a required videoUrl (--video) plus --ar.

Pricing

bash
gen-ai pricing luma-ray-2 -d 9 -r 4k

Video cost scales with duration and resolution. UNI-1 image cost is per generation.

Built on @picsart/ai-sdk · gen-ai CLI · Picsart MCP · Skills