---
title: "Luma Ray Flash 2 Text-to-Video API & Playground - Comfy"
description: "Luma Ray Flash 2 Text-to-Video: Generates a cinematic video clip from text, faster and cheaper than Ray 2. Run it in your browser or call it via API."
canonical: https://comfy.org/hub/models/luma-ray-flash-2-text-to-video/
lang: en
index: https://comfy.org/llms.txt
---

[Back to all models](https://comfy.org/hub/models/)

Luma

[Generate videos](https://comfy.org/hub/models/?useCase=generate-videos)

# Luma Ray Flash 2 Text-to-Video

Generates a cinematic video clip from text, faster and cheaper than Ray 2.

Cost depends on your settings.

- [text-to-video](https://comfy.org/hub/models/?q=text-to-video)

[Read docs](https://docs.comfy.org/development/comfy-router/models#luma)

Input

Prompt

First frame

Select or drop an image PNG, JPEG, WEBP ·  up to 25 MiB

Last frame

Select or drop an image PNG, JPEG, WEBP ·  up to 25 MiB

Aspect ratio

Duration

Output type

Resolution

Advanced settings

Loop video

Make the end of the video connect to its beginning.

Output

00:00

Example

## Try an example

- A high-speed night horse race seen through an extreme fisheye lens, the stadium track bending into a spherical bowl. Shot one: a black silhouetted horse and jockey gallop left to right across granular sand, the jockey in a tight tuck with whip raised, floodlights blooming white above the curved rail. Hard cut: low tracking shot at hoof level, sand spraying toward the lens, a second horse trailing in the mid-ground. Hard cut: crash zoom on the same jockey crossing the finish, high contrast, film grain, harsh floodlight glare against the black sky.

## More models

[Browse all Browse all models](https://comfy.org/hub/models/)

- [Luma

  ### Luma Ray Flash 2

  Image to Video

  luma ray ray-flash-2 video image-to-video](https://comfy.org/hub/models/luma-ray-flash-2-image-to-video/)
- [Luma

  ### Luma Ray 2

  Text to Video

  luma ray ray-2 video text-to-video](https://comfy.org/hub/models/luma-ray-2-text-to-video/)
- [Luma

  ### Luma Photon 1

  Text to Image

  luma photon image text-to-image](https://comfy.org/hub/models/luma-photon-1-text-to-image/)
- [Runway

  ### Runway Aleph 2

  Video to Video

  runway aleph2 video video-to-video](https://comfy.org/hub/models/runway-aleph-2-video-to-video/)
