curl-X POST 'https://pollo.ai/api/platform/v1/generation/luma/luma-ray-2-flash/video'\-H'Content-Type: application/json'\-H'x-api-key: YOUR_API_KEY'\-d'{ "input": { "prompt": "A cinematic shot of a golden retriever running through a field of sunflowers at sunset, warm rim light, shallow depth of field", "duration": 5, "aspectRatio": "16:9", "resolution": "540p" }}'
Optionally include webhookUrl to receive a callback when the task succeeds or fails.
Optional request field
{"input":{"prompt":"A cinematic shot of a golden retriever running through a field of sunflowers at sunset, warm rim light, shallow depth of field","duration":5,"aspectRatio":"16:9","resolution":"540p"},"webhookUrl":"https://example.com/webhooks/pollo"}
Schema
Input fields for the selected endpoint and mode.
Field
Type
Required
Description
prompt
string
Yes
Text prompt describing the content to generate.
duration
number
No
The duration of the generated video, in seconds.
aspectRatio
string
No
Output aspect ratio, as width:height (e.g. 16:9).
resolution
string
No
Output resolution of the generated media (e.g. 720p, 1080p, 2K, 4K). Values are case-insensitive.
The primary feature of Luma Ray 2 Flash is its processing speed. It trims the wait and the cost of the Ray series, so you can iterate on motion ideas in rapid draft cycles instead of long renders.
With Luma Ray 2 Flash on Pollo API, developers add text-to-video and image-to-video to their apps, set start and end frames, pick resolution up to 4K, and target 5 or 9 second clips.
Key Features of Luma Ray 2 Flash API
Fast Draft Turnaround
Built as the lightweight member of the Ray family, it returns clips quickly and cheaply, letting you test camera moves and pacing before committing to a heavier render.
Start and End Frame Control
Supply a first image and an optional tail image, and the model interpolates motion between them, giving you directed transitions instead of guessing where a shot lands.
Motion That Holds Together
Ray 2 Flash keeps subjects and backgrounds coherent across the clip, so pans, tracks, and object movement stay smooth rather than warping or flickering mid-shot.
Resolution Scaling
The same prompt can render from lightweight 540p drafts up to 4K finals, so you preview cheaply and only pay for detail when a shot is locked.
Wide Aspect Range
From square and vertical to 21:9 and 9:21 ultrawide, it fits feeds, players, and letterboxed formats without cropping or reframing your generated footage afterward.
Text or Image Starting Points
Drive a shot from a written description alone, or animate an existing still, so both idea-first and asset-first pipelines feed the same model.
Use Cases of Luma Ray 2 Flash API
Rapid Storyboard Animatics: Turn scene descriptions into quick moving drafts so creative teams can preview timing and shot flow before any full render.
Keyframe Transitions: Set a start and tail image to morph a logo, product, or character from one state into another in a controlled clip.
Ultrawide Establishing Shots: Generate 21:9 landscapes and flyovers for trailers, game intros, or widescreen background loops that need panoramic framing.
Batch Draft Iteration: Fire many low-resolution variations of a shot cheaply, then upscale only the version your team approves for delivery.
Vertical Short-Form Loops: Produce 9:16 clips for social feeds and story slots, keeping motion clean across the short 5 or 9 second window.
Still Image Animation: Feed a single frame and bring it into motion while preserving the original composition for photo-to-video features.
Prototype Video Features: Give app builders a fast, affordable model to power in-product generation without long queues eating the user experience.
How to Use Luma Ray 2 Flash API
Get an API Key: Create a Pollo API account and generate your API key from the developer dashboard.
Choose the Model: Send requests to the Luma Ray 2 Flash endpoint at /generation/luma/luma-ray-2-0-flash.
Add Your Inputs: Pass a prompt for text-to-video, or an image URL for image-to-video with an optional imageTail, then set resolution, length (5 or 9), and aspectRatio.
Generate and Retrieve: Submit the task, poll the returned task status, and download the video once it reaches the succeed state.
Prompting Best Practices for Luma Ray 2 Flash API
Because drafts are cheap, prompt in passes. State the subject, the motion, and the camera clearly, run a fast low-resolution version, then refine wording before scaling up.
A Simple Prompt Formula
Subject + specific motion + camera movement + setting and lighting + aspect ratio intent
What You Should Notice
Lead With Motion: Name what actually moves and how, so the short clip spends its seconds on the action you care about.
Use Frame Guidance: When a shot needs a defined ending, supply a tail image to steer where the motion resolves.
Draft Low, Finish High: Preview ideas at 540p, then re-render the winner at higher resolution to save time and cost.
Match The Ratio Early: Decide vertical, square, or ultrawide up front so composition suits the target surface.
Keep One Beat Per Clip: With 5 or 9 seconds to work with, focus each generation on a single movement for coherence.
Example Prompts
Keyframe Morph
"A pencil sketch of a fox on paper, ink lines filling in and gaining color until it becomes a finished flat illustration. Static overhead camera, soft desk light, clean 16:9 framing, smooth transition between start and end states."
Ultrawide Flyover
"A low drone glides over terraced rice fields at dawn, mist drifting between the ridges as light spreads across the water. Slow forward push, cool morning tones, expansive 21:9 framing, calm natural realism."
Everyday Motion Study
"A paper airplane launches across a quiet office, banks past a monitor, and coasts down toward a desk. Handheld camera tracks it in profile, flat afternoon light, grounded realistic style, tight 5 second beat."
Vertical Loop
"Steam curls off a fresh cup of matcha as a spoon stirs slow spirals into the foam. Close top-down camera, warm cafe lighting, 9:16 vertical framing, gentle looping motion for a short feed clip."
Luma Ray 2 Flash vs Luma Ray 2 vs Seedance 1.0 Lite
Capability
Luma Ray 2 Flash
Luma Ray 2
Seedance 1.0 Lite
Generation speed
✅ Fast draft-focused
⚠️ Slower, heavier render
✅ Fast lightweight output
Cost per clip
✅ Lower than Ray 2
⚠️ Higher
✅ Low
Start and end frame control
✅
✅
⚠️ Limited
Max resolution
Up to 4K
Up to 4K
Up to 720p
Aspect ratios
7 options incl. 21:9 and 9:21
Wide range
Standard set
Clip length
5 or 9 seconds
5 or 9 seconds
Short clips
Recommended For
Fast iteration and drafts
Detail-critical final shots
Quick low-cost generation
Why Choose Luma Ray 2 Flash API?
Luma Ray 2 Flash fits products where iteration speed and cost matter, giving you quick, coherent motion, start-to-end frame control, and resolution that scales from draft to 4K.
Through Pollo API, you reach Luma Ray 2 Flash with one API key alongside 300+ leading video and image models, with clean docs and task status polling.
Start with the Luma Ray 2 Flash endpoint on Pollo API to ship fast, affordable video drafting, then switch to heavier models for final shots without touching your integration.
Luma Ray 2 Flash API FAQs
What is Luma Ray 2 Flash?
Luma Ray 2 Flash is a Luma AI video model built for speed and lower cost within the Ray series, supporting text-to-video and image-to-video with start and end frame control.
How is it different from Luma Ray 2?
Ray 2 Flash trades some render weight for much faster, cheaper generation, making it better for drafting and iteration while Ray 2 suits detail-critical final output.
Does it support text and image inputs?
Yes. You can generate from a text prompt, animate a starting image, and optionally add a tail image to guide where the motion ends.
What resolutions and lengths are available?
It renders from 540p up to 4K, with clip lengths of 5 or 9 seconds and aspect ratios ranging from vertical and square to 21:9 and 9:21 ultrawide.
Is it good for high-volume drafting?
Yes. Fast, low-cost clips make it well suited to batch iteration, where you generate many cheap variations and upscale only the shots you keep.
Why run Luma Ray 2 Flash through Pollo API?
Pollo API gives one integration for Luma Ray 2 Flash and 300+ other models, with clean documentation and task tracking.