[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Luma Ray 3.2 Video to Video](https://spiral.ai/integrations/opencode/luma-ray-3-2-video-to-video)

# How to Use Luma Ray 3.2 Video to Video in opencode

Luma Ray 3.2 Video to Video restyles existing footage while retaining its movement. Unlike Luma Ray 3.2 Image to Video, it starts with a recorded performance and lets you adjust how closely the edit follows it.

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

## Prompts to try with Luma Ray 3.2 Video to Video in opencode

- Use Luma Ray 3.2 Video to Video to restyle the project's 5-second demo clip as watercolor animation at 720p. Preserve the original movement and composition.
- Estimate, then generate a 5-second 9:16 clip with Luma Ray 3.2 Video 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 Video 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 Video to Video and list what each cost.
- Make a 6-second 16:9 drone shot over a misty pine forest at sunrise with Luma Ray 3.2 Video to Video.

## How to set up Luma Ray 3.2 Video to Video in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 Video 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/video-to-video",
    "input": {
      "prompt": "Restyle the footage as a hand-painted watercolor animation with soft pastel colors.",
      "video_url": "https://storage.googleapis.com/falserverless/example_inputs/birefnet-video-input.mp4"
    }
  }'
```

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

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## Luma Ray 3.2 Video to Video tools and prices

- [Luma Ray 3.2 Video to Video · Video Edit](https://spiral.ai/tools/fal/luma/agent/ray/v3.2/video-to-video) (fal): $0.936 per run at the default inputs. `resolution`: 540p (default) $0.936, 720p $1.404, 1080p $2.808.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| user |  | — | Optional opaque identifier for the end user making the request. Used only for abuse attribution; never interpreted by fal. |
| start_image_url |  | — | Optional URL of an image to use as the edited video's first frame — e.g. a restyled version of the source's opening frame to steer the look of the edit. Leave unset to let the model derive the first frame from the source video. |
| resolution | 540p, 720p, 1080p | 540p | Resolution of the edited video. Higher resolutions cost more. |
| duration | 5s, 10s | 5s | Duration of the edited video. |
| edit_strength | adhere_1, adhere_2, adhere_3, flex_1, flex_2, flex_3, reimagine_1, reimagine_2, reimagine_3 | — | How closely the edit preserves the source video. 'adhere_*' stays closest to the source, 'flex_*' is balanced, and 'reimagine_*' diverges most. Leave unset to use Luma's default. Cannot be combined with auto_controls. |
| auto_controls |  | false | Let the model derive the edit conditioning schedule from the source video. Cannot be combined with edit_strength. |

## What can you do with Luma Ray 3.2 Video to Video in opencode?

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.

### Footage restyling

Re-render a recorded scene in a different visual style while using its original movement as guidance.

### Performance preservation tests

Compare edits of the same recorded performance to find a useful balance between source preservation and visual change.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## Luma Ray 3.2 Video to Video in other agents

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

## More opencode guides

- [Luma Ray 3.2 Text to Video](https://spiral.ai/integrations/opencode/luma-ray-3-2-text-to-video)
- [MMAudio V2](https://spiral.ai/integrations/opencode/mmaudio-v2)
- [Luma Ray 3.2 Reframe](https://spiral.ai/integrations/opencode/luma-ray-3-2-reframe)
- [Marey Realism 1.5 Image to Video](https://spiral.ai/integrations/opencode/marey-realism-1-5-image-to-video)
- [Luma Ray 3.2 Image to Video](https://spiral.ai/integrations/opencode/luma-ray-3-2-image-to-video)
- [Marey Realism 1.5 Motion Transfer](https://spiral.ai/integrations/opencode/marey-realism-1-5-motion-transfer)

## Questions about Luma Ray 3.2 Video to Video in opencode

**Can opencode use Luma Ray 3.2 Video to Video?**

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

**How much does Luma Ray 3.2 Video to Video cost in opencode?**

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

**Do I need a fal account to use Luma Ray 3.2 Video to Video in opencode?**

No. Spiral runs Luma Ray 3.2 Video 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 Video to Video in opencode?**

About two minutes: add the server, then sign in, then check it.

**Does opencode wait while Luma Ray 3.2 Video to Video runs?**

Luma Ray 3.2 Video to Video runs in the background. opencode 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.

