Pricing
Compare models →| Duration | Price |
|---|---|
| 5 seconds | $0.20 |
| 10 seconds | $0.40 |
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | The positive prompt for the generation. |
size | string | The size of the generated media in pixels (width*height).1280*720720*1280"1280*720" |
duration | integer | The duration of the generated media in seconds.5105 |
README
Luma Ray 2 Flash — Text-to-Video
Luma Ray 2 Flash is a fast and powerful text-to-video generation model from Luma AI that creates stunning videos from text descriptions. Generate high-quality 720p videos with smooth motion, creative styles, and cinematic quality — optimized for speed and efficiency.
Why It Stands Out
- Fast generation: Flash variant optimized for quick video creation.
- HD 720p output: Generate crisp 1280×720 videos with excellent clarity.
- Prompt Enhancer: Built-in AI-powered prompt optimization for better results.
- Creative control: Support for camera and motion parameters directly in prompts.
- Flexible duration: Choose between 5 or 10 second video lengths.
- Style versatility: Handles various styles from photorealistic to pixel art and animation.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the video you want to generate. |
| size | No | Output resolution (default: 1280×720). |
| duration | No | Video length: 5 or 10 seconds (default: 5). |
How to Use
- Write a prompt describing the scene, action, and style you want. Use the Prompt Enhancer for AI-assisted optimization.
- Select size — choose the resolution that fits your needs.
- Set duration — choose 5 or 10 seconds.
- Click Run and wait for your video to generate.
- Preview and download the result.
Prompt Tips
You can include camera and motion controls directly in your prompt:
- Camera movements: -camera tilt up slowly, -camera pan left, -camera zoom in
- Motion intensity: -motion 1 (subtle) to -motion 5 (dynamic)
Example: "A sunset over mountains, cinematic style -camera tilt up slowly -motion 1"
Best Use Cases
- Social Media Content — Create engaging video clips for TikTok, Reels, and Shorts.
- Creative Animation — Generate stylized content like pixel art, anime, or retro aesthetics.
- Marketing & Advertising — Produce promotional videos and ad creatives quickly.
- Concept Visualization — Rapidly prototype video ideas before full production.
- Game & App Content — Create trailers and promotional materials.
Pricing
| Duration | Price |
|---|---|
| 5 seconds | $0.20 |
| 10 seconds | $0.40 |
Pro Tips for Best Quality
- Be detailed in your prompt — describe subject, action, environment, lighting, and style.
- Use style keywords like "pixel art," "cinematic," "anime," or "retro gaming aesthetic."
- Include camera controls for more dynamic, professional-looking results.
- Adjust motion intensity based on your scene — use lower values for calm scenes, higher for action.
- Start with 5-second videos to test concepts, then extend to 10 seconds for final versions.
Notes
- Processing time varies based on duration and current queue load.
- Please ensure your prompts comply with content guidelines.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Ray 2 Flash T2V Text-to-Video API example
The catalog lists POST https://api.opensi.com.ai/api/v3/luma/ray-2-flash-t2v for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"size": "1280*720",
"duration": 5
}Ray 2 Flash T2V Text-to-Video API — Frequently asked questions
What is the Ray 2 Flash T2v API?
Ray 2 Flash T2v is a Luma model for video generation, exposed as a REST API on OpenSIAI. Luma Ray 2 Flash turns text into high-quality videos with flexible sizes and built-in prompt optimization for precise outputs. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Ray 2 Flash T2v API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/luma/ray-2-flash-t2v.
How much does Ray 2 Flash T2v cost per run or per second?
Ray 2 Flash T2v starts at $0.04 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Ray 2 Flash T2v accept?
Key inputs: prompt, duration, size. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/luma/ray-2-flash-t2v.
How long does Ray 2 Flash T2v take to generate?
Reported generation time on OpenSIAI is around 202 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Ray 2 Flash T2v outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Luma). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.