Models

Luma Ray 2 Text-to-Video

Generates a 5 or 9 second video from text at 540p to 4K, in seven aspect ratios including 21:9, with an option to loop.

Cost depends on your settings.

Playground

Input
Advanced settings

Make the end of the video connect to its beginning.

Output
00:00
Example

Sample outputs

Call this model from your code

Sends your Playground inputs to Comfy Router.

API docs (opens in a new tab)
  1. Get an API key

    Needs a paid Cloud plan with credits.

  2. Install the SDK

    Python 3.10+. Also on npm as @comfyorg/sdk.

    pip install comfy-sdk==0.2.0
  3. Run it

    Calls Comfy Router at this endpoint with your COMFY_API_KEY.

    POST /v2/models/luma/ray-2

Fill in the Playground inputs to generate a request.

More from Luma

Compare Luma's other models. Price is the default setting; resolution and duration show the full range each model offers.

ModelPriceResolutionDuration
Luma Uni 1 Image Edit———
Luma Uni 1 Text-to-Image———
Luma Uni 1 Max Image Edit———
Luma Uni 1 Max Text-to-Image———
Luma Photon 1 Text-to-Image2.19 credits/Run——
Luma Photon 1 Image Edit2.19 credits/Run——
Luma Ray 2 Image-to-Video—540p – 4K5 – 9s
Luma Photon Flash 1 Text-to-Image0.57 credits/Run——
Luma Photon Flash 1 Image Edit0.57 credits/Run——
Luma Ray Flash 2 Image-to-Video—540p – 4K5 – 9s
Luma Ray Flash 2 Text-to-Video—540p – 4K5 – 9s