[Integrations](https://spiral.ai/integrations) › [Windsurf](https://spiral.ai/integrations/windsurf) › [H3 Max Reframe Video](https://spiral.ai/integrations/windsurf/h3-max-reframe-video)

# How to Use H3 Max Reframe Video in Windsurf

H3 Max Reframe Video adapts existing footage to a new frame shape by generating the missing surroundings. It preserves the source timeline and audio, with 1080p output upscaled from a native 768p reframe.

|  |  |
| --- | --- |
| Model | H3 Max Reframe Video |
| Available through | fal |
| Category | Video |
| Price | Up to $7.80 per run at the default inputs for 60 seconds of input. `resolution`: 480p $4.875, 768p (default) $7.80, 1080p $15.60. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with H3 Max Reframe Video in Windsurf

- Use H3 Max Reframe Video on public/media/product.mp4 to create a 16:9, 768p version. Continue the existing tabletop and studio backdrop into the added area, keeping the product shape consistent.
- Create a 9:16, 768p version of public/media/interview.mp4 with H3 Max Reframe Video. Continue the studio wall above and below the shot, preserve the presenter, and add the result to the mobile preview page.
- Use H3 Max Reframe Video to expand public/media/landscape.mp4 to 21:9 at 1080p for the homepage header. Continue the existing sky and terrain, then show the result in the header for review.
- Make a square 768p composition of assets/campaign/demo.mp4 using H3 Max Reframe Video. Extend the existing setting into the new canvas and save the output alongside the source.
- Use H3 Max Reframe Video on assets/video/showroom.mp4 to make a 4:3, 768p presentation clip. Continue the showroom floor and walls, preserve the displayed products, and build a source-and-result preview.

## How to set up H3 Max Reframe Video in Windsurf

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

### Use Spiral's MCP server

1. **Add the server**: Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: `~/.config/devin/mcp_config.json` on macOS and Linux, `%APPDATA%\devin\mcp_config.json` on Windows. Add this:

```json
{
  "mcpServers": {
    "spiral": {
      "url": "https://api.spiral.ai/mcp"
    }
  }
}
```

2. **Sign in**: Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

```bash
devin mcp login spiral
```

3. **Check it**: Spiral is listed under This computer in Customize › MCPs. From the terminal:

```bash
devin mcp list
```

### Use the Spiral skill

1. **Send Windsurf 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 H3 Max Reframe 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": "minimax/h3-max/reframe-video",
    "input": {
      "video_url": "<video_url>"
    }
  }'
```

Then paste one of the prompts above: Windsurf finds H3 Max Reframe Video on Spiral, shows the price and runs it.

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

## H3 Max Reframe Video tools and prices

- [H3 Max Reframe Video](https://spiral.ai/tools/fal/minimax/h3-max/reframe-video) (fal): Up to $7.80 per run at the default inputs for 60 seconds of input. `resolution`: 480p $4.875, 768p (default) $7.80, 1080p $15.60.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| prompt |  |  | Optional guidance for the new surroundings. Expansion captions the source automatically. |
| aspect_ratio | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, 9:21 | 16:9 | Target canvas aspect ratio; the source is contain-fitted and the rest is outpainted. |
| resolution | 480p, 768p, 1080p | 768p | Target canvas resolution profile. 1080p uses learned latent upscaling from a native 768p reframe. |
| seed | 0 to 4294967295 | — |  |

## What can you do with H3 Max Reframe Video in Windsurf?

Turn existing project footage into compositions that fit website headers, previews, and social placements with H3 Max Reframe. A coding agent can use the project's media and layout requirements to request expanded frames and place the results for review.

### Vertical interview excerpts

Adapt an existing interview shot to a vertical canvas by generating more of the surrounding studio. Keep the original speech and timing.

### Widescreen product footage

Expand a product clip for a landscape placement, guiding the added area with a continuation of the tabletop, backdrop, and lighting.

### Square social posts

Reframe an existing clip for a square placement when cropping would discard part of the composition.

### Website video headers

Expand an existing landscape shot into a wider canvas for a website header. Review the generated edges before adding the result to the page.

### Consistent presentation footage

Adapt clips with different frame shapes to a common presentation format by generating the missing surroundings.

### Travel footage for new placements

Extend the sky, water, or landscape around an existing travel clip to suit a new composition. Treat added scenery as generated imagery.

### Ad creative from existing footage

Create portrait, square, and landscape compositions from an approved source clip, with instructions that continue its existing setting.

## Overview

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

## H3 Max Reframe Video in other agents

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

## More Windsurf guides

- [H3 Max Reference to Video](https://spiral.ai/integrations/windsurf/h3-max-reference-to-video)
- [H3 Max Relight](https://spiral.ai/integrations/windsurf/h3-max-relight)
- [H3 Max Lip Sync](https://spiral.ai/integrations/windsurf/h3-max-lip-sync)
- [H3 Max Text to Video](https://spiral.ai/integrations/windsurf/h3-max-text-to-video)
- [H3 Max Image to Video](https://spiral.ai/integrations/windsurf/h3-max-image-to-video)
- [H3 Max Turbo Extend Video](https://spiral.ai/integrations/windsurf/h3-max-turbo-extend-video)

## Questions about H3 Max Reframe Video in Windsurf

**Can Windsurf use H3 Max Reframe Video?**

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run H3 Max Reframe Video like any built-in tool.

**How much does H3 Max Reframe Video cost in Windsurf?**

Up to $7.80 per run at the default inputs for 60 seconds of input. `resolution`: 480p $4.875, 768p (default) $7.80, 1080p $15.60. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.

**Do I need a fal account to use H3 Max Reframe Video in Windsurf?**

No. Spiral runs H3 Max Reframe 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 H3 Max Reframe Video in Windsurf?**

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

**Does Windsurf wait while H3 Max Reframe Video runs?**

H3 Max Reframe Video runs in the background. Windsurf starts the run, checks on it and gives you the video when it's ready.

**How does H3 Max Reframe differ from cropping a video?**

H3 Max Reframe fits the source inside a new canvas and generates the surrounding areas. This makes it useful when a crop would remove part of the original composition.

**Does H3 Max Reframe keep the original sound and timing?**

Yes. The source timeline and audio are preserved while the frame is expanded.

**How long can the source video be?**

The maker's current documentation accepts source videos from 0.25 to 300 seconds. Reframing preserves the source timeline.

**Is H3 Max Reframe's 1080p output native?**

No. The reframe is generated at 768p and upscaled for 1080p output.

**What should I write in a reframing prompt?**

Describe what should continue beyond the existing frame, such as a studio wall, tabletop, or sky. Following the maker's examples, also identify the subjects and shapes you want preserved.

