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.
Prompts to try with Luma Ray 3.2 Video to Video in opencode
Copy an example into opencode, or ask in your own words.
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
- 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.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- 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.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Luma Ray 3.2 Video to Video
One request; the result comes back by polling or a webhook.
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.
Luma Ray 3.2 Video to Video providers and prices
Spiral runs Luma Ray 3.2 Video to Video through fal. Open a card for today's price, with every fee included.
$0.936 per run at the default inputs. resolution: 540p (default) $0.936, 720p $1.404, 1080p $2.808.
Settings you can ask for
Luma Ray 3.2 Video to Video works from your prompt, video URL, and start image URL. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Resolution | 540p, 720p, or 1080p | 540p | Resolution of the edited video. Higher resolutions cost more. |
| Duration | 5s or 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 and 1 more | 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 | on or off | off | Let the model derive the edit conditioning schedule from the source video. Cannot be combined with edit_strength. |
| HDR | on or off | off | Generate an HDR-encoded MP4. Requires HDR access on the account and a resolution of 720p or 1080p. |
| Exr export | on or off | off | Also export an EXR file alongside the MP4. Requires hdr=true and HDR access. |
Every API field of Luma Ray 3.2 Video to Video · Video Edit is on its tool page: open its card above.
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.
More on Luma Ray 3.2 Video to Video and opencode
Overview
Luma Ray 3.2 Video to Video in other agents
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.
Start using Luma Ray 3.2 Video to Video in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


