Pricing
Compare models →| Duration | Price |
|---|---|
| 5 seconds | $0.40 |
| 10 seconds | $0.80 |
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 — Text-to-Video
Luma Ray 2 Text-to-Video is Luma AI's powerful text-to-video generation model that creates stunning, high-quality videos from text descriptions. Generate smooth, visually striking 720p videos with excellent motion coherence — perfect for creative content and professional projects.
Why It Stands Out
- High-quality generation: Produces detailed videos with smooth, natural motion.
- HD 720p output: Generate crisp videos in landscape (1280×720) or portrait (720×1280).
- Prompt Enhancer: Built-in AI-powered prompt optimization for better results.
- Style versatility: Handles various styles from 2D animation to photorealistic scenes.
- Flexible duration: Choose between 5 or 10 second video lengths.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the video you want to generate. |
| size | No | Output resolution: 1280×720 or 720×1280 (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 landscape (1280×720) or portrait (720×1280).
- Set duration — choose 5 or 10 seconds.
- Click Run and wait for your video to generate.
- Preview and download the result.
Best Use Cases
- 2D Animation — Create playful animated content with vibrant styles.
- Social Media Content — Generate platform-optimized videos for TikTok, Reels, and Shorts.
- Marketing & Advertising — Produce eye-catching promotional videos and ad creatives.
- Creative Projects — Bring imaginative concepts to life with unique visual styles.
- Music Videos — Generate dynamic visuals for songs and audio tracks.
Pricing
| Duration | Price |
|---|---|
| 5 seconds | $0.40 |
| 10 seconds | $0.80 |
Pro Tips for Best Quality
- Be detailed in your prompt — describe subject, action, environment, and style.
- Specify animation style if desired (e.g., "2D animation," "3D render," "photorealistic").
- Include mood keywords like "playful," "dramatic," "whimsical," or "cinematic."
- Describe transitions and motion for more dynamic results.
- Choose portrait (720×1280) for mobile-first platforms like TikTok.
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 T2V Text-to-Video API example
The catalog lists POST https://api.opensi.com.ai/api/v3/luma/ray-2-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 T2V Text-to-Video API — Frequently asked questions
What is the Ray 2 T2v API?
Ray 2 T2v is a Luma model for video generation, exposed as a REST API on OpenSIAI. Luma Ray 2 is a Text-to-Video model that creates high-quality videos from text prompts, with advanced prompt optimization and support for various video sizes. 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 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-t2v.
How much does Ray 2 T2v cost per run or per second?
Ray 2 T2v starts at $0.08 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 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-t2v.
How long does Ray 2 T2v take to generate?
Reported generation time on OpenSIAI is around 222 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 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.