[Integrations](https://spiral.ai/integrations) › [Devin](https://spiral.ai/integrations/devin) › [Luma Ray 3.2 Reframe](https://spiral.ai/integrations/devin/luma-ray-3-2-reframe)

# How to Use Luma Ray 3.2 Reframe in Devin

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.

|  |  |
| --- | --- |
| Model | Luma Ray 3.2 Reframe |
| Available through | fal |
| Category | Video |
| Price | 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. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Luma Ray 3.2 Reframe in Devin

- 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 Devin

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

### Use Spiral's MCP server

1. **Add a custom MCP**: Open Customize › MCPs. Click + and choose New MCP. Fill in:

2. **Sign in to Spiral and approve**: In Customize › MCPs, open Spiral and choose Connect. Spiral opens: sign in, pick the organization and click Authorize. No API key.

3. **Check it**: On Spiral's configuration page, click Test tools. Devin lists Spiral's tools.

### Use the Spiral skill

1. **Send Devin 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 Reframe**: 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/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: Devin finds Luma Ray 3.2 Reframe on Spiral, shows the price and runs it.

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

## Luma Ray 3.2 Reframe tools and prices

- [Luma Ray 3.2 Reframe](https://spiral.ai/tools/fal/luma/agent/ray/v3.2/reframe) (fal): `resolution`: 540p (default) $0.078, 720p $0.156, 1080p $0.468 per second.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| resolution | 540p, 720p, 1080p | 540p | Resolution of the reframed video. Higher resolutions cost more. |
| duration | 5s, 10s | — | Duration of the reframed video. Defaults to matching the source video's duration; set explicitly to 5s or 10s to override. |
| source_position |  | — | Optional normalized source rectangle controlling where the source video sits in the output canvas. |

## What can you do with Luma Ray 3.2 Reframe in Devin?

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.

## Overview

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

## Luma Ray 3.2 Reframe in other agents

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

## More Devin guides

- [Luma Ray 3.2 Image to Video](https://spiral.ai/integrations/devin/luma-ray-3-2-image-to-video)
- [Luma Ray 3.2 Text to Video](https://spiral.ai/integrations/devin/luma-ray-3-2-text-to-video)
- [LongCat Video Text to Video 720p](https://spiral.ai/integrations/devin/longcat-video-text-to-video-720p)
- [Luma Ray 3.2 Video to Video](https://spiral.ai/integrations/devin/luma-ray-3-2-video-to-video)
- [LongCat Video Text to Video 480p](https://spiral.ai/integrations/devin/longcat-video-text-to-video-480p)
- [MMAudio V2](https://spiral.ai/integrations/devin/mmaudio-v2)

## Questions about Luma Ray 3.2 Reframe in Devin

**Can Devin use Luma Ray 3.2 Reframe?**

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

**How much does Luma Ray 3.2 Reframe cost in Devin?**

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 Devin plan is separate.

**Do I need a fal account to use Luma Ray 3.2 Reframe in Devin?**

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 Devin?**

About two minutes: add a custom MCP, then sign in to Spiral and approve, then check it.

**Does Devin wait while Luma Ray 3.2 Reframe runs?**

Luma Ray 3.2 Reframe runs in the background. Devin 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.

