Seedance 2.5 from ByteDance is officially available on Apiframe.
Video

Luma Ray Flash 2 API

by Luma

Fast Luma Ray for previewing.

9s
Max clip length
~60s
Avg. generation
51 credits
From

luma-ray-flash-2

Video model

A cinematic sunrise over a futuristic cityscape, smooth camera push-in, volumetric light.

Playground

Try Luma Ray Flash 2 right here.

model: luma-ray-flash-2
Advanced settings
Estimated cost 51–92 credits · $0.51–$0.92 Generate in Studio
Output

Your output lands here. Hit generate to run this request in Studio.

Pricing

Simple per-generation pricing.

51–92 credits per generation ≈ $0.51–$0.92

The rate depends on the resolution and options you pick.

  • You only pay for successful generations. Failed jobs are refunded automatically.
  • One credit balance across every model on Apiframe, no per-model plans.
  • Start with free credits. No subscription required.
  • Volume discounts on larger plans.
See plans and credit packs

Specs

At a glance.

Provider Luma
Model ID luma-ray-flash-2
Aspect ratios 16:9, 9:16, 1:1, 4:3, 3:4, 21:9
Durations 5s, 9s
Image input Supported
Avg. time ~60s

Quickstart

How to call the Luma Ray Flash 2 API.

Send one POST /v2/videos/generate request with your API key. The call returns a jobId you can poll, or pass a webhook_url and the result is pushed to you the moment it's ready.

Swap luma-ray-flash-2 for any other model and nothing else changes.

const response = await fetch("https://api.apiframe.ai/v2/videos/generate", {
  method: "POST",
  headers: {
    "X-API-Key": "afk_your_api_key_here",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "prompt": "a cinematic sunrise over a futuristic cityscape, smooth camera push-in",
    "model": "luma-ray-flash-2",
    "lumaParams": {
      "start_image": "https://example.com/input.jpg",
      "end_image": "https://example.com/input.jpg",
      "loop": false
    }
  }),
});
const { jobId } = await response.json();
console.log(jobId);

Input schema

Every field Luma Ray Flash 2 accepts, with types and defaults. The full reference lives in the docs.

Field Type Description
prompt required string Text description of what to generate.
model required string The model identifier for this endpoint. Default:"luma-ray-flash-2" · "luma-ray-flash-2"
lumaParams.start_image string (URL) Use a still as the first frame of the clip.
lumaParams.end_image string (URL) Optional last frame to control the ending.
lumaParams.loop boolean Make the clip loop seamlessly. Default:false

The Luma flagship

Luma Ray Flash 2 is one of 2 Luma video models on Apiframe. The full editorial page (showcase, comparison, and use cases) lives on the flagship.

Flagship from 153 cr Luma Ray 2

Dream Machine cinematography, with keyframes and loops.

Explore Luma Ray 2
All video models

Luma Ray Flash 2 questions

What teams ask before shipping with Luma Ray Flash 2. Everything else lives in the docs.

Is there an API for Luma Ray Flash 2?

Yes. Apiframe exposes Luma Ray Flash 2 through a single REST endpoint (POST /v2/videos/generate with model: "luma-ray-flash-2"). You get one unified API, key, and billing across every supported model, with no separate Luma account required.

How much does the Luma Ray Flash 2 API cost?

Luma Ray Flash 2 uses simple pay-as-you-go pricing on Apiframe. You only pay for successful generations. See the pricing page for plans and volume discounts.

How do I call the Luma Ray Flash 2 API?

Send a POST request to /v2/videos/generate with your X-API-Key and a JSON body containing model: "luma-ray-flash-2". The call returns a jobId; poll GET /v2/jobs/{id} or use a webhook to receive the result.

What parameters does Luma Ray Flash 2 support?

Luma Ray Flash 2 accepts 3 model-specific parameters (nested under lumaParams) plus the common prompt and webhook_url fields. See the input schema above for the full list with types and defaults.

9,800+

developers & companies

4.8 on G2

Official partner of

BytePlus Alibaba Cloud MiniMax

Power your next AI product with Apiframe.

Instant access to 70+ media models through a single API. Start free and scale when you're ready.