Skip to main content

Luma Ray 3.2

Ray 3.2 via the Luma Agents API.

Legacy Dream Machine Ray 2 models remain under opentryon video-generate --model luma-video.

Environment

export LUMA_AGENTS_API_KEY=...   # preferred
# falls back to LUMA_AI_API_KEY if Agents key unset

Variants

ModelNotes
ray-3.2Current Agents API model (default)

Resolutions: 360p, 540p, 720p, 1080p. Durations: 5s, 10s.

CLI

opentryon video-generate --model luma-ray-3.2 \
--prompt "Slow dolly through a misty greenhouse" \
--resolution 720p --duration 5s --aspect-ratio 16:9

opentryon video-generate --model luma-ray-3.2 \
--image start.jpg --end-image end.jpg \
--prompt "Character turns toward camera" --hdr

Python

from tryon.api.lumaAI import LumaRay32Adapter

adapter = LumaRay32Adapter()
video = adapter.generate_text_to_video(
prompt="Cinematic tracking shot of a runway",
resolution="1080p",
duration="5s",
)
open("ray32.mp4", "wb").write(video)