Seedance 2.0 立省 20% | 在 Video Generator 中創作 →
首頁/探索/Luma/Ray 3.2/Text To Video

Luma Ray 3.2 Text to Video API

luma /

Luma Ray 3.2 Text to Video is a fast AI video generation model that creates cinematic videos from text prompts with controllable aspect ratio, resolution, duration, and optional reference images. Ready-to-use REST inference API for cinematic clips, storytelling videos, social media content, advertising creatives, product visuals, concept videos, and professional text-to-video workflows with simple integration, no coldstarts, and affordable pricing.

text-to-video
輸入

就緒

$0.5每次運行·~20 / $10

下一步:

示例查看全部

A cinematic post-apocalyptic video of a tired father carrying his little daughter through an abandoned city street at sunrise. Broken cars, overgrown plants, and ruined buildings surround them. The daughter wakes up and points at a small butterfly landing on a cracked traffic light. The father stops, smiles faintly for the first time, and gently lowers her to watch it. The camera follows them from behind, then slowly circles to reveal their faces. Warm sunrise light, dust in the air, realistic survival drama, emotional and hopeful tone. No subtitles, no text, no watermark.

相關模型

README

Luma Ray 3.2 Text-to-Video

Luma Ray 3.2 Text-to-Video generates cinematic videos from natural-language prompts with selectable aspect ratio, resolution, duration, and optional reference guidance. It is suitable for story-driven scenes, ad concepts, cinematic previsualization, social content, and other prompt-based video generation workflows.

Why Choose This?

  • Prompt-based video generation
    Turn detailed natural-language scene descriptions into generated video clips.

  • Multiple resolution tiers
    Choose 540p, 720p, or 1080p depending on your quality and budget needs.

  • Simple duration control
    Generate either 5s or 10s clips with predictable pricing.

  • Flexible aspect ratio
    Use different size presets such as 16:9 for widescreen output.

  • Optional reference support
    Add references when you want stronger visual guidance for style, subject, or scene direction.

  • Production-ready workflow
    Useful for trailers, short-form storytelling, creative prototyping, and commercial concept videos.

Parameters

ParameterRequiredDescription
promptYesText prompt describing the scene, motion, camera behavior, and visual style.
sizeNoOutput aspect ratio preset, such as 16:9.
resolutionNoOutput resolution. Supported values: 540p, 720p, 1080p.
durationNoOutput duration. Supported values: 5s, 10s.
referenceNoOptional reference input for additional visual guidance.

How to Use

  1. Write your prompt — describe the subject, setting, action, camera movement, lighting, and mood you want.
  2. Choose size — select the aspect ratio that fits your target platform or layout.
  3. Choose resolution — use 540p for the lowest cost, 720p for a middle option, or 1080p for the highest quality.
  4. Choose duration — select either 5s or 10s.
  5. Add references (optional) — include references if you want extra control over visual direction.
  6. Submit — run the model and download the generated video.

Example Prompt

A cinematic post-apocalyptic video of a tired father carrying his little daughter through an abandoned city street at sunrise. Broken cars, overgrown plants, and ruined buildings surround them. The daughter wakes up and points at a small butterfly landing on a cracked traffic light. The father stops, smiles faintly for the first time, and gently lowers her to watch it. The camera follows them from behind, then slowly circles to reveal their faces. Warm sunrise light, dust in the air, realistic survival drama.

Pricing

Pricing depends on duration and resolution.

Duration540p720p1080p
5s$0.50$1.00$2.00
10s$1.00$2.00$4.00

Billing Rules

  • Base price is $0.50 for a 5s video at 540p
  • 10s costs the 5s rate
  • 720p costs the 540p rate
  • 1080p costs the 540p rate
  • Pricing depends only on duration and resolution

Best Use Cases

  • Cinematic scene generation — Create short dramatic or emotional video moments from prompts.
  • Trailer concepts — Prototype story beats and visual sequences quickly.
  • Social media content — Generate short-form video ideas for vertical or widescreen publishing.
  • Advertising concepts — Build mood-driven commercial shots before full production.
  • Creative previsualization — Test scene direction, pacing, and camera ideas.

Pro Tips

  • Be specific in your prompt about subject motion, camera movement, lighting, and emotional tone.
  • Use 5s for fast concept validation, then switch to 10s when you need more scene development.
  • Start with 540p or 720p for testing and move to 1080p for higher-end final outputs.
  • Add references only when you need stronger visual steering.
  • Keep prompts focused on what should happen in the clip rather than listing unrelated visual details.

Notes

  • prompt is required.
  • duration currently supports 5s and 10s.
  • Pricing depends only on the selected duration and resolution.
  • Reference input is optional.

Related Models

  • Luma image-to-video workflows — Useful when you want to animate a starting image instead of generating directly from text.
  • Luma video editing workflows — Useful when you want to transform an existing video rather than create one from scratch.
  • Prompt-based video generation workflows — Useful when you want alternative quality, cost, or motion styles.
無障礙:本網站使用的 AI 模型由第三方提供。

Ray 3.2 Text To Video API — Quick start

Grab a WaveSpeedAI API key, then call POST https://api.wavespeed.ai/api/v3/luma/ray-3.2/text-to-video with your input as JSON. The endpoint returns a prediction id; poll the prediction endpoint until status flips to completed, then read the output URL from data.outputs[0]. Examples for Ray 3.2 Text To Video below.

HTTP example
# Submit the prediction
curl -X POST "https://api.wavespeed.ai/api/v3/luma/ray-3.2/text-to-video" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY" \
  -d '{
    "prompt": "A cinematic shot of a city at sunset, soft golden light",
    "size": "16:9",
    "resolution": "540p",
    "duration": "5s"
}'

# Response includes a prediction id. Poll for the result:
curl -X GET "https://api.wavespeed.ai/api/v3/predictions/{request_id}/result" \
  -H "Authorization: Bearer $WAVESPEED_API_KEY"

# When status is "completed", read the output from data.outputs[0].
Node.js example
// npm install wavespeed
const WaveSpeed = require('wavespeed');

const client = new WaveSpeed(); // reads WAVESPEED_API_KEY from env

const result = await client.run("luma/ray-3.2/text-to-video", {
        "prompt": "A cinematic shot of a city at sunset, soft golden light",
        "size": "16:9",
        "resolution": "540p",
        "duration": "5s"
});

console.log(result.outputs[0]); // → URL of the generated output
Python example
# pip install wavespeed
import wavespeed

output = wavespeed.run(
    "luma/ray-3.2/text-to-video",
    {
    "prompt": "A cinematic shot of a city at sunset, soft golden light",
    "size": "16:9",
    "resolution": "540p",
    "duration": "5s"
}
)

print(output["outputs"][0])  # → URL of the generated output

Ray 3.2 Text To Video API — Frequently asked questions

What is the Ray 3.2 Text To Video API?

Ray 3.2 Text To Video is a Luma model for video generation, exposed as a REST API on WaveSpeedAI. Luma Ray 3.2 Text to Video is a fast AI video generation model that creates cinematic videos from text prompts with controllable aspect ratio, resolution, duration, and optional reference images. Ready-to-use REST inference API for cinematic clips, storytelling videos, social media content, advertising creatives, product visuals, concept videos, and professional text-to-video workflows with simple integration, no coldstarts, and affordable pricing. You can call it programmatically or try it from the playground above.

How do I call the Ray 3.2 Text To Video API?

POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your WaveSpeedAI API key in the Authorization header. Submission returns a prediction ID; poll the prediction endpoint until status flips to "completed", then read the output URL from the result. The playground generates a ready-to-paste code sample in Python, JavaScript, or cURL for whatever inputs you've set. Full request/response shape is documented at https://wavespeed.ai/docs/docs-api/luma/luma-ray-3.2-text-to-video.

How much does Ray 3.2 Text To Video cost per run?

Ray 3.2 Text To Video starts at $0.50 per run. 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 3.2 Text To Video accept?

Key inputs: `prompt`, `resolution`, `duration`, `size`, `reference`. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at https://wavespeed.ai/docs/docs-api/luma/luma-ray-3.2-text-to-video.

How do I get started with the Ray 3.2 Text To Video API?

Sign up for a free WaveSpeedAI account to claim starter credits, copy your API key from /accesskey, then call the endpoint shown in the API tab of the playground. The playground also auto-generates a code sample in Python, JavaScript, or cURL for the parameters you've set.

Can I use Ray 3.2 Text To Video outputs commercially?

Commercial usage rights depend on the model's license, set by its provider (Luma). The license summary appears on the model card above; see WaveSpeedAI's Terms of Service for platform-level conditions.