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

# How to Use Luma Ray 3.2 Reframe in Gemini

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 Gemini

- Use Luma Ray 3.2 Reframe to turn this five-second landscape product clip into a portrait video at 720p. Continue the beige studio background above and below with the same soft light.
- Use Luma Ray 3.2 Reframe to expand this five-second portrait café clip into a widescreen video at 1080p. Continue the brick wall and wooden counter on both sides.
- Use Luma Ray 3.2 Reframe to make a square 1080p version of this ten-second cooking clip. Fill the added area with a continuation of the countertop and its existing shadows.
- Use Luma Ray 3.2 Reframe to widen this five-second landscape shot to 21:9 at 1080p. Extend the cloudy sky, distant hills, and grass with matching perspective.
- Use Luma Ray 3.2 Reframe to make this five-second interview clip widescreen at 1080p. Place the source toward the left and continue the plain office wall on the right for a title I will add later.

## How to set up Luma Ray 3.2 Reframe in Gemini

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

### Use the Gemini connector

1. **Open Connected Apps**: On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

3. **Sign in to Spiral and approve**: Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

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

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

## 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 Gemini?

Adapt a supplied video to a new frame shape while keeping its original content. A chat app can help describe the added scenery and request a reframed clip for review.

### 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 Gemini guides](https://spiral.ai/integrations/gemini)

## 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)
- [Devin](https://spiral.ai/integrations/devin/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 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 Gemini guides

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

## Questions about Luma Ray 3.2 Reframe in Gemini

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

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

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

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

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

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

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

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

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

