[Integrations](https://spiral.ai/integrations) › [Cline](https://spiral.ai/integrations/cline) › [H3 Max Reference to Video](https://spiral.ai/integrations/cline/h3-max-reference-to-video)

# How to Use H3 Max Reference to Video in Cline

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.

|  |  |
| --- | --- |
| Model | H3 Max Reference to Video |
| Available through | fal |
| Category | Video |
| Price | $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. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with H3 Max Reference to Video in Cline

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

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

### Use Spiral's MCP server

1. **Add the server**: In the Cline panel, click the MCP Servers icon and open the Remote Servers tab. Enter:

```bash
cline mcp add spiral https://api.spiral.ai/mcp --transport http --yes
```

2. **Sign in**: Open the Configure tab and click Authenticate on the Spiral server. Sign in to Spiral, pick the organization and click Authorize. No API key.

3. **Check it**: Spiral shows as connected on the Configure tab. In the CLI:

```bash
cline config mcp
```

### Use the Spiral skill

1. **Send Cline 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 Reference to 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/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: Cline finds H3 Max Reference to Video on Spiral, shows the price and runs it.

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

## H3 Max Reference to Video tools and prices

- [MiniMax H3 Max Reference to Video](https://spiral.ai/tools/fal/minimax/h3-max/reference-to-video) (fal): $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

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| reference_image_urls |  | — | URLs of subject/style reference images, referenced in the prompt as Image 1, Image 2, and so on. Reference images, videos, and audio clips must add up to at most 12 files. |
| reference_video_urls |  | — | URLs of motion/reference video clips (2-15 seconds each, combined duration at most 15 seconds), referenced in the prompt as Video 1, Video 2, and so on. Reference images, videos, and audio clips must add up to at most 12 files. |
| reference_audio_urls |  | — | URLs of reference audio clips (2-15 seconds each, combined duration at most 15 seconds), referenced in the prompt as Audio 1, Audio 2, and so on. Images, videos, and audio can be provided individually or together. Reference images, videos, and audio clips must add up to at most 12 files. |
| image_url |  | — | Optional URL of the image to use as the first frame. The video opens exactly on this image while the references keep the subjects consistent; the output canvas follows this image. |
| middle_image_url |  | — | Optional image to guide the video at middle_frame_time. Requires start and end images and native 480P or 768P resolution. |
| middle_frame_time |  | — | 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. |

## What can you do with H3 Max Reference to Video in Cline?

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.

## Overview

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

## H3 Max Reference to Video in other agents

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

## More Cline guides

- [H3 Max Lip Sync](https://spiral.ai/integrations/cline/h3-max-lip-sync)
- [H3 Max Reframe Video](https://spiral.ai/integrations/cline/h3-max-reframe-video)
- [H3 Max Image to Video](https://spiral.ai/integrations/cline/h3-max-image-to-video)
- [H3 Max Relight](https://spiral.ai/integrations/cline/h3-max-relight)
- [H3 Max Extend Video](https://spiral.ai/integrations/cline/h3-max-extend-video)
- [H3 Max Text to Video](https://spiral.ai/integrations/cline/h3-max-text-to-video)

## Questions about H3 Max Reference to Video in Cline

**Can Cline use H3 Max Reference to Video?**

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

**How much does H3 Max Reference to Video cost in Cline?**

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

**Do I need a fal account to use H3 Max Reference to Video in Cline?**

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

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

**Does Cline wait while H3 Max Reference to Video runs?**

H3 Max Reference to Video runs in the background. Cline 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.

