[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Luma Ray 3.2 Text to Video](https://spiral.ai/integrations/muse-code/luma-ray-3-2-text-to-video)

# How to Use Luma Ray 3.2 Text to Video in Muse Code

Luma Ray 3.2 Text to Video creates shots from a written scene description, useful for testing action, lighting, and camera direction. Unlike Luma Ray 3.2 Image to Video, it starts without a source image.

|  |  |
| --- | --- |
| Model | Luma Ray 3.2 Text to Video |
| Available through | fal |
| Category | Video |
| Price | $0.65 per run at the default inputs. `resolution`: 540p (default) $0.65, 720p $1.30, 1080p $2.60. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Luma Ray 3.2 Text to Video in Muse Code

- Read the project's creative brief and use Luma Ray 3.2 Text to Video to create a 5-second, 1080p establishing shot: a slow dolly through a sunlit greenhouse, leaves moving gently, calm pacing.
- Use Luma Ray 3.2 Text to Video to create three separate 5-second, 720p lighting tests for the project's ceramic vase concept: soft daylight, hard side light, and moonlight. Keep the camera direction and pacing the same.
- Estimate, then generate a 5-second 9:16 clip with Luma Ray 3.2 Text to Video: a paper boat drifting down a rainy street. Save the result in ./assets.
- Make a 10-second product teaser with Luma Ray 3.2 Text to Video for a smartwatch, slow orbit shot, studio lighting.
- Generate three 5-second b-roll clips of a busy coffee shop with Luma Ray 3.2 Text to Video and list what each cost.

## How to set up Luma Ray 3.2 Text to Video in Muse Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Luma Ray 3.2 Text to Video**: One request; the result comes back by polling or a webhook.

```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."
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Luma Ray 3.2 Text to Video on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## Luma Ray 3.2 Text to Video tools and prices

- [Luma Ray 3.2 Text to Video](https://spiral.ai/tools/fal/luma/agent/ray/v3.2/text-to-video) (fal): $0.65 per run at the default inputs. `resolution`: 540p (default) $0.65, 720p $1.30, 1080p $2.60.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| aspect_ratio | 3:4, 4:3, 1:1, 9:16, 16:9, 21:9 | 16:9 | Aspect ratio of the generated video. |
| resolution | 540p, 720p, 1080p | 540p | Resolution of the generated video. Higher resolutions cost more. |
| duration | 5s, 10s | 5s | Duration of the generated video. |
| loop |  | false | Generate a seamless loop. Only valid for 5s, standard-dynamic-range generations without an end frame. |
| hdr |  | 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 |  | false | Also export an EXR file alongside the MP4. Requires hdr=true and HDR access. |

## What can you do with Luma Ray 3.2 Text to Video in Muse Code?

Turn a project's creative brief into short video assets with directed motion and lighting. A coding agent can use Ray3.2 to develop shots and place the results into the project's review workflow.

### Product ad concepts

Explore a short product shot from a written brief, animate a product still, or restyle an existing product take.

### Atmospheric B-roll

Develop a short establishing shot with deliberate camera movement and lighting, using a description, a still, or existing footage as the starting point.

### Short film look tests

Explore how a scene reads in a chosen visual style before committing to a longer edit.

### Lighting studies

Create separate short shots to compare soft daylight, hard side lighting, and a moonlit treatment.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Luma Ray 3.2 Text to Video in other agents

- [Amp](https://spiral.ai/integrations/amp/luma-ray-3-2-text-to-video)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/luma-ray-3-2-text-to-video)
- [Claude](https://spiral.ai/integrations/claude-desktop/luma-ray-3-2-text-to-video)
- [Claude Code](https://spiral.ai/integrations/claude-code/luma-ray-3-2-text-to-video)
- [Cline](https://spiral.ai/integrations/cline/luma-ray-3-2-text-to-video)
- [Codex](https://spiral.ai/integrations/codex/luma-ray-3-2-text-to-video)
- [Cursor](https://spiral.ai/integrations/cursor/luma-ray-3-2-text-to-video)
- [Devin](https://spiral.ai/integrations/devin/luma-ray-3-2-text-to-video)
- [dots](https://spiral.ai/integrations/dots/luma-ray-3-2-text-to-video)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/luma-ray-3-2-text-to-video)
- [Gemini](https://spiral.ai/integrations/gemini/luma-ray-3-2-text-to-video)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/luma-ray-3-2-text-to-video)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/luma-ray-3-2-text-to-video)
- [goose](https://spiral.ai/integrations/goose/luma-ray-3-2-text-to-video)
- [Grok](https://spiral.ai/integrations/grok/luma-ray-3-2-text-to-video)
- [Grok Build](https://spiral.ai/integrations/grok-build/luma-ray-3-2-text-to-video)
- [Hermes](https://spiral.ai/integrations/hermes/luma-ray-3-2-text-to-video)
- [Instinct](https://spiral.ai/integrations/instinct/luma-ray-3-2-text-to-video)
- [Manus](https://spiral.ai/integrations/manus/luma-ray-3-2-text-to-video)
- [Muse](https://spiral.ai/integrations/muse/luma-ray-3-2-text-to-video)
- [n8n](https://spiral.ai/integrations/n8n/luma-ray-3-2-text-to-video)
- [Notion](https://spiral.ai/integrations/notion/luma-ray-3-2-text-to-video)
- [OpenClaw](https://spiral.ai/integrations/openclaw/luma-ray-3-2-text-to-video)
- [opencode](https://spiral.ai/integrations/opencode/luma-ray-3-2-text-to-video)
- [Perplexity](https://spiral.ai/integrations/perplexity/luma-ray-3-2-text-to-video)
- [Raycast](https://spiral.ai/integrations/raycast/luma-ray-3-2-text-to-video)
- [VS Code](https://spiral.ai/integrations/vscode/luma-ray-3-2-text-to-video)
- [Windsurf](https://spiral.ai/integrations/windsurf/luma-ray-3-2-text-to-video)
- [Zapier](https://spiral.ai/integrations/zapier/luma-ray-3-2-text-to-video)

## More Muse Code guides

- [Luma Ray 3.2 Reframe](https://spiral.ai/integrations/muse-code/luma-ray-3-2-reframe)
- [Luma Ray 3.2 Video to Video](https://spiral.ai/integrations/muse-code/luma-ray-3-2-video-to-video)
- [Luma Ray 3.2 Image to Video](https://spiral.ai/integrations/muse-code/luma-ray-3-2-image-to-video)
- [MMAudio V2](https://spiral.ai/integrations/muse-code/mmaudio-v2)
- [LongCat Video Text to Video 720p](https://spiral.ai/integrations/muse-code/longcat-video-text-to-video-720p)
- [Marey Realism 1.5 Image to Video](https://spiral.ai/integrations/muse-code/marey-realism-1-5-image-to-video)

## Questions about Luma Ray 3.2 Text to Video in Muse Code

**Can Muse Code use Luma Ray 3.2 Text to Video?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Luma Ray 3.2 Text to Video like any built-in tool.

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

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

**Do I need a fal account to use Luma Ray 3.2 Text to Video in Muse Code?**

No. Spiral runs Luma Ray 3.2 Text to Video on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Luma Ray 3.2 Text to Video in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while Luma Ray 3.2 Text to Video runs?**

Luma Ray 3.2 Text to Video runs in the background. Muse Code starts the run, checks on it and gives you the video when it's ready.

**What resolution can Ray3.2 produce?**

Ray3.2 supports output up to 1080p. Use that resolution when you need a clip for a finished edit.

**How should I write a Ray3.2 prompt?**

Describe the subject, motion, camera movement, lighting, and pacing. For example, specify a slow camera push toward a ceramic vase under soft window light.

**What video format does Ray3.2 return?**

Ray3.2 delivers MP4 video. EXR output is also available for color grading and compositing.

**What is Ray3.2 useful for in post-production?**

Its native 16-bit HDR generation and EXR export support color grading and compositing. That makes it useful when a generated shot needs further work in a finishing pipeline.

**How long should a Ray3.2 shot be?**

A 5-second shot is a supported starting point. Plan a clear visual action and camera direction for that time, such as a slow reveal of a product.

