How to Use H3 Max Reference to Video in Windsurf
Guide subjects and motion with references while anchoring specific frames. Unlike H3 Max Turbo Reference to Video, it also supports a middle image between opening and ending images at native resolution.
Prompts to try with H3 Max Reference to Video in Windsurf
Copy an example into Windsurf, or ask in your own words.
Use H3 Max Reference to Video to make a six-second 768p product shot from the project's two approved product images. Identify them as Image 1 and Image 2, explain what each shows, and keep the product's appearance consistent during a slow camera arc.
Estimate, then generate a 5-second 9:16 clip with H3 Max Reference to Video: a paper boat drifting down a rainy street. Save the result in ./assets.
Make a 10-second product teaser with H3 Max Reference to Video for a smartwatch, slow orbit shot, studio lighting.
Generate three 5-second b-roll clips of a busy coffee shop with H3 Max Reference to Video and list what each cost.
Make a 6-second 16:9 drone shot over a misty pine forest at sunrise with H3 Max Reference to Video.
How to set up H3 Max Reference to Video in Windsurf
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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:
{ "mcpServers": { "spiral": { "url": "https://api.spiral.ai/mcp" } } } - 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.
devin mcp login spiral
- Check it
Spiral is listed under This computer in Customize › MCPs. From the terminal:
devin mcp list
Use the Spiral skill
- Send Windsurf 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 Reference to 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/reference-to-video", "input": { "prompt": "Image 1 is the female protagonist. Image 2 is her small dog. Keep the woman and dog consistent with their respective reference images while they walk together…", "prompt_expansion_mode": "balanced" } }'
Then paste one of the prompts above: Windsurf finds H3 Max Reference to Video on Spiral, shows the price and runs it.
H3 Max Reference to Video providers and prices
Spiral runs H3 Max Reference to Video through fal. Open a card for today's price, with every fee included.
$0.104 per second at 768p ($0.065 at 480p, $0.208 at 1080p). Images, video and audio share 4,096 included reference tokens; additional tokens: $0.026 per 1,000. Reference media costs are estimated; actual usage can vary.
Settings you can ask for
H3 Max Reference to Video works from your prompt, reference image URLs, reference video URLs, reference audio URLs, start image URL, middle image, and end image URL. Ask Windsurf for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Time (seconds) | a number | Target time for the middle image, in seconds from the start. Rounded to the nearest frame at 24 fps; it must fall strictly between the first and last frames of the requested duration. Requires middle_image_url. | |
| Duration | 0.92 to 15 | 5 | Video length in seconds. The output can run up to about 0.7 s longer than requested. |
| Resolution | 480P, 768P, or 1080P | 768P | The native generation resolution, or 1080P latent refinement from a native 768P source. |
| Seed | a whole number | Random seed. A random seed is selected when omitted. | |
| Aspect ratio | adaptive, 21:9, 16:9, 4:3, 1:1, 3:4, or 9:16 | adaptive | The aspect ratio of the generated video. |
Every API field of MiniMax H3 Max Reference to Video is on its tool page: open its card above.
What can you do with H3 Max Reference to Video in Windsurf?
Turn a project's creative brief into short video assets with directed movement and sound. A coding agent can read the brief, prepare shot prompts, and save the results alongside the project.
Product ad concepts
Plan a short product reveal around one visible action, such as a bottle turning or a box opening. Describe it from scratch or guide the shot with product imagery.
Storyboard shot studies
Test how a scene reads with a static camera, a slow push forward, or a tracking shot. Keep the action consistent so you can compare the camera choices.
Animated explainer scenes
Make a short visual explanation of one event, such as water flowing through a filter. Specify the illustration style, action sequence, and accompanying sounds.
Atmospheric establishing shots
Create a brief setting for a story or presentation, such as a bakery before opening. Pair the camera movement with concrete sounds: shutters, footsteps, and trays.
Artwork animation
Start with an approved still and describe what moves next. Use it to explore a character's gesture, a product reveal, or a change in lighting.
Transitions between two stills
Supply opening and ending images, then describe the continuous action connecting them. Use the result to test a reveal or a change in composition.
Motion reference studies
Use a short reference clip to guide movement while separate images define the subject or style. State what each reference should contribute.
H3 Max Reference to Video success rate and speed on Spiral
Success and speed over the last 24 hours, across every run of these tools on Spiral.
| Tool | Success | Median time | Runs |
|---|---|---|---|
| MiniMax H3 Max Reference to Video | 96.7% | 17.2s | 269 |
More on H3 Max Reference to Video and Windsurf
Overview
H3 Max Reference to Video in other agents
Questions about H3 Max Reference to Video in Windsurf
Can Windsurf use H3 Max Reference to Video?
Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run H3 Max Reference to Video like any built-in tool.
How much does H3 Max Reference to Video cost in Windsurf?
$0.104 per second at 768p ($0.065 at 480p, $0.208 at 1080p). Images, video and audio share 4,096 included reference tokens; additional tokens: $0.026 per 1,000. Reference media costs are estimated; actual usage can vary. 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 Reference to Video in Windsurf?
No. Spiral runs H3 Max Reference to 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 Reference to Video in Windsurf?
About two minutes: add the server, then sign in, then check it.
Does Windsurf wait while H3 Max Reference to Video runs?
H3 Max Reference to Video runs in the background. Windsurf starts the run, checks on it and gives you the video when it's ready.
What is H3 Max good for?
H3 Max suits short scenes with specific actions, camera direction, and sound. Its post-training focused on following the brief and improving visual quality.
Does H3 Max generate sound with the video?
Yes. Describe the ambience, physical sounds, and music you want alongside the action so the audio has a clear brief.
Is H3 Max's 1080p output native?
The documented 1080p process refines a native 768p source. Choose it when you need the larger output, while recognizing how it is produced.
Will a requested five-second clip be exactly five seconds?
The output can run about 0.7 seconds longer than requested. If the clip must fit an exact edit, check its actual duration and trim it.
What should I put in an H3 Max prompt?
Describe the opening composition, what changes on screen, how the camera moves, and what the viewer hears. Use observable actions such as a lid opening or a camera moving toward a label.
Start using H3 Max Reference to Video in Windsurf
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Windsurf:
set up https://spiral.ai/SKILL.md


