How to Use Luma Ray 3.2 Reframe in opencode
Luma Ray 3.2 Reframe adapts existing footage to a new frame shape by generating the surrounding canvas. Unlike Ray 3.2 Modify Video, it preserves the source content instead of restyling it.
Prompts to try with Luma Ray 3.2 Reframe in opencode
Copy an example into opencode, or ask in your own words.
Use Luma Ray 3.2 Reframe on the project's five-second homepage clip to make a 16:9 version at 1080p. Continue the existing wall and floor with matching light, then preview it in the hero.
Use Luma Ray 3.2 Reframe to make a five-second 9:16 version of our product demo at 720p. Extend the studio backdrop above and below, then check it in the mobile layout.
Use Luma Ray 3.2 Reframe on the ten-second campaign clip to create a square 1080p video. Continue the tabletop around the product and save the result beside the original asset.
Use Luma Ray 3.2 Reframe to expand the project's five-second landscape scene to 21:9 at 1080p. Continue the horizon and foreground, then inspect the result in the banner component.
Use Luma Ray 3.2 Reframe on our five-second interview clip to make a 16:9 video at 1080p. Position the source toward the right and extend the plain wall on the left for a separate HTML headline.
How to set up Luma Ray 3.2 Reframe 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 Reframe
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/reframe", "input": { "prompt": "Extend the scene into cinematic widescreen with matching lighting and background detail.", "video_url": "https://storage.googleapis.com/falserverless/example_inputs/birefnet-video-input.mp4", "aspect_ratio": "3:4" } }'
Then paste one of the prompts above: opencode finds Luma Ray 3.2 Reframe on Spiral, shows the price and runs it.
Luma Ray 3.2 Reframe providers and prices
Spiral runs Luma Ray 3.2 Reframe through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Luma Ray 3.2 Reframe works from your prompt and video URL. Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Aspect ratio | 3:4, 4:3, 1:1, 9:16, 16:9, or 21:9 | Target aspect ratio for the reframed video. | |
| Resolution | 540p, 720p, or 1080p | 540p | Resolution of the reframed video. Higher resolutions cost more. |
| Duration | 5s or 10s | Duration of the reframed video. Defaults to matching the source video's duration; set explicitly to 5s or 10s to override. |
Every API field of Luma Ray 3.2 Reframe is on its tool page: open its card above.
What can you do with Luma Ray 3.2 Reframe in opencode?
Turn existing project videos into assets that fit the site's layouts. A coding agent can prepare reframed clips and check their placement in desktop and mobile previews.
Turn a landscape ad into a portrait post
Reframe a short campaign shot for a vertical feed, adding surroundings above and below the original footage.
Make square product clips
Adapt a product demonstration to a square frame by continuing the tabletop, backdrop, and lighting around it.
Fit portrait footage into a website
Expand a portrait brand clip into a widescreen video for a website, with generated scenery filling the sides.
Prepare an ultrawide promo shot
Extend a short landscape shot sideways for a 21:9 promo, describing how the existing environment should continue.
Adapt footage for a presentation
Reframe an existing clip to 4:3 for a presentation that needs a different frame shape.
Make room for an editorial overlay
Position the source off-center and generate additional background beside it. Add the headline or callout afterward in an editor.
Match the framing of an edited sequence
Bring short clips with different frame shapes into one widescreen sequence, prompting each added area to continue its own scene.
More on Luma Ray 3.2 Reframe and opencode
Overview
Luma Ray 3.2 Reframe in other agents
Questions about Luma Ray 3.2 Reframe in opencode
Can opencode use Luma Ray 3.2 Reframe?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Luma Ray 3.2 Reframe like any built-in tool.
How much does Luma Ray 3.2 Reframe cost in opencode?
Up to $4.68 per run at the default inputs for 60 seconds of input. `resolution`: 540p (default) $4.68, 720p $9.36, 1080p $28.08. 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 Reframe in opencode?
No. Spiral runs Luma Ray 3.2 Reframe 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 Reframe in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Luma Ray 3.2 Reframe runs?
Luma Ray 3.2 Reframe runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.
What does Luma Ray 3.2 Reframe actually change?
It changes the frame shape and generates content around the original footage. The source content stays intact frame by frame.
How long can a clip be?
Keep the source and output within 10 seconds. For longer footage, split it into shorter shots before reframing.
What should I put in a Reframe prompt?
Describe the added surroundings: wall texture, floor, sky, background objects, and lighting. For example: Continue the pale plaster wall and oak floor, matching the soft window light.
Can Reframe change the actor, product, or visual style?
Use Ray 3.2 Modify Video for those changes. Reframe is intended to preserve the existing content while filling the surrounding canvas.
Can I make a portrait video at 1080p?
Luma documents that 9:16 and 3:4 Reframe output at 1080p is not yet available. Use 720p for portrait work.
Start using Luma Ray 3.2 Reframe 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


