# Luma Ray 3.2 Text to Video

Generate video from text with Luma Ray 3.2 Text to Video from fal through one Spiral API key. It runs in the background and returns video. Pay as you go, with no subscription.

- Provider: fal
- Category: Video
- Runs: In the background
- Returns: video
- Tool id: `fal` / `luma/agent/ray/v3.2/text-to-video`
- Page: https://spiral.ai/tools/fal/luma/agent/ray/v3.2/text-to-video

## Pricing

$0.65 per run at the default inputs. `resolution`: 540p (default) $0.65, 720p $1.30, 1080p $2.60.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 1 hour
- Longest run, end to end: 930 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `prompt` (required) | text |  | — | Text prompt describing the video to generate. |
| `aspect_ratio` | one of | 3:4, 4:3, 1:1, 9:16, 16:9, 21:9 | 16:9 | Aspect ratio of the generated video. |
| `resolution` | one of | 540p, 720p, 1080p | 540p | Resolution of the generated video. Higher resolutions cost more. |
| `duration` | one of | 5s, 10s | 5s | Duration of the generated video. |
| `loop` | true or false |  | false | Generate a seamless loop. Only valid for 5s, standard-dynamic-range generations without an end frame. |
| `hdr` | true or false |  | false | Generate an HDR-encoded MP4. Requires HDR access on the account and a resolution of 720p or 1080p; not supported with 10s or loop. |
| `exr_export` | true or false |  | false | Also export an EXR file alongside the MP4. Requires hdr=true and HDR access. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "luma/agent/ray/v3.2/text-to-video",
    "input": {
      "prompt": "A herd of wild horses galloping across a dusty desert plain under a blazing midday sun, their manes flying in the wind; wide tracking shot."
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=fal&model=luma%2Fagent%2Fray%2Fv3.2%2Ftext-to-video

## Common questions

### Luma Ray 3.2 Text to Video

**How much does Luma Ray 3.2 Text to Video cost?**

$0.65 per run at the default inputs. `resolution`: 540p (default) $0.65, 720p $1.30, 1080p $2.60. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Luma Ray 3.2 Text to Video through an API?**

Send `POST /v1/runs` with `"provider": "fal"`, `"model": "luma/agent/ray/v3.2/text-to-video"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with fal to use Luma Ray 3.2 Text to Video?**

No. Spiral runs it on its own fal account and charges your Spiral balance.

**Can my AI agent use Luma Ray 3.2 Text to Video?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

