How to Use H3 Max Reframe Video in VS Code
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.
Prompts to try with H3 Max Reframe Video in VS Code
Copy an example into VS Code, or ask in your own words.
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 VS Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
Use Add to VS Code on the console's Agents & MCP page, or run:
code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}' - Sign in
VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.
Use the Spiral skill
- Send VS Code 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 H3 Max Reframe 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": "minimax/h3-max/reframe-video", "input": { "video_url": "<video_url>" } }'
Then paste one of the prompts above: VS Code finds H3 Max Reframe Video on Spiral, shows the price and runs it.
H3 Max Reframe Video providers and prices
Spiral runs H3 Max Reframe Video through fal. Open a card for today's price, with every fee included.
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
H3 Max Reframe Video works from your prompt and video URL. Ask VS Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Aspect ratio | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9, or 9:21 | 16:9 | Target canvas aspect ratio; the source is contain-fitted and the rest is outpainted. |
| Resolution | 480p, 768p, or 1080p | 768p | Target canvas resolution profile. 1080p uses learned latent upscaling from a native 768p reframe. |
| Seed | 0 to 4294967295 |
Every API field of H3 Max Reframe Video is on its tool page: open its card above.
What can you do with H3 Max Reframe Video in VS Code?
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.
More on H3 Max Reframe Video and VS Code
Overview
H3 Max Reframe Video in other agents
Questions about H3 Max Reframe Video in VS Code
Can VS Code use H3 Max Reframe Video?
Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run H3 Max Reframe Video like any built-in tool.
How much does H3 Max Reframe Video cost in VS Code?
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 VS Code plan is separate.
Do I need a fal account to use H3 Max Reframe Video in VS Code?
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 VS Code?
About two minutes: add the hosted server, then sign in.
Does VS Code wait while H3 Max Reframe Video runs?
H3 Max Reframe Video runs in the background. VS Code 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.
Start using H3 Max Reframe Video in VS Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into VS Code:
set up https://spiral.ai/SKILL.md


