[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Hailuo I2V-01 Director](https://spiral.ai/integrations/opencode/hailuo-i2v-01-director)

# How to Use Hailuo I2V-01 Director in opencode

Hailuo I2V-01 Director animates a supplied opening image with directed camera movement. Unlike Hailuo T2V-01 Director, it lets you establish the starting composition before generating motion.

|  |  |
| --- | --- |
| Model | Hailuo I2V-01 Director |
| Available through | fal |
| Category | Video |
| Price | $0.65 per video. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Hailuo I2V-01 Director in opencode

- Use Hailuo I2V-01 Director with the product image in this project's assets as the opening frame. Create a six-second shot with [Push in], keeping the action to a hand reaching toward the product.
- Use Hailuo I2V-01 Director with our approved storyboard image. Generate two separate six-second takes, one with [Static shot] and one with [Pan left], and add both to the review page.
- Animate the image I attach with Hailuo I2V-01 Director: slow push-in, leaves moving in the wind. Save the result in ./assets.
- Turn this product photo into a 5-second rotating shot with Hailuo I2V-01 Director.
- Bring this portrait to life with Hailuo I2V-01 Director: a subtle smile and a blink.

## How to set up Hailuo I2V-01 Director in opencode

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

### Use Spiral's MCP server

1. **Add the server**: Leave out `--global` to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

```bash
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
```

2. **Sign in**: Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, `/mcps` starts the same sign-in.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
opencode mcp list
```

### Use the Spiral skill

1. **Send opencode 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 Hailuo I2V-01 Director**: 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": "fal-ai/minimax/video-01-director/image-to-video",
    "input": {
      "prompt": "[Push in, Follow]A stylish woman walks down a Tokyo street filled with warm glowing neon and animated city signage. She wears a black leather jacket, a long red…",
      "image_url": "https://storage.googleapis.com/falserverless/model_tests/wan/dragon-warrior.jpg"
    }
  }'
```

Then paste one of the prompts above: opencode finds Hailuo I2V-01 Director on Spiral, shows the price and runs it.

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

## Hailuo I2V-01 Director tools and prices

- [MiniMax (Hailuo AI) Video 01 Director - Image to Video · I2V-01 Director (Camera Control)](https://spiral.ai/tools/fal/fal-ai/minimax/video-01-director/image-to-video) (fal): $0.65 per video.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| prompt_optimizer |  | true | Whether to use the model's prompt optimizer |

## What can you do with Hailuo I2V-01 Director in opencode?

Turn a project's creative brief into short camera-directed shots for a website mockup, trailer, or storyboard. Your coding agent can use project context to draft prompts and organize takes for review.

### Preview a film shot

Test a push toward a character or a pull back that reveals the setting before planning a shoot. Keep each test to one short story beat.

### Compare camera treatments

Generate separate takes of the same scene with a pan, a tracking shot, and a static camera. Review how each choice changes the emphasis.

### Draft a product ad shot

Try a six-second close-up of a bottle, bag, or watch with a deliberate camera move. Use the result to discuss framing and pacing.

### Create an establishing shot

Explore a street, landscape, or interior with a slow pan or reveal. Use the clip as a short introduction within a larger edit.

### Plan a game trailer moment

Preview a character entering a scene or a camera revealing a location. Compare the shot with the trailer's intended mood before building the final sequence.

### Prepare background footage for a website

Generate a short atmospheric shot for a page mockup, such as a quiet workshop or wind moving through trees. Review it in the layout before choosing final footage.

### Animate an approved storyboard frame

Start with the approved image and test the character action and camera direction. This lets the review begin from a composition the team has already chosen.

## Overview

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

## Hailuo I2V-01 Director in other agents

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

## More opencode guides

- [Hailuo 2.3 Standard Text to Video](https://spiral.ai/integrations/opencode/hailuo-2-3-standard-text-to-video)
- [Hailuo S2V-01](https://spiral.ai/integrations/opencode/hailuo-s2v-01)
- [Hailuo 2.3 Standard Image to Video](https://spiral.ai/integrations/opencode/hailuo-2-3-standard-image-to-video)
- [Hailuo T2V-01 Director](https://spiral.ai/integrations/opencode/hailuo-t2v-01-director)
- [Hailuo 2.3 Pro Text to Video](https://spiral.ai/integrations/opencode/hailuo-2-3-pro-text-to-video)
- [Happy Horse 1.0 Image to Video](https://spiral.ai/integrations/opencode/happy-horse-1-0-image-to-video)

## Questions about Hailuo I2V-01 Director in opencode

**Can opencode use Hailuo I2V-01 Director?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Hailuo I2V-01 Director like any built-in tool.

**How much does Hailuo I2V-01 Director cost in opencode?**

$0.65 per video. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

**Do I need a fal account to use Hailuo I2V-01 Director in opencode?**

No. Spiral runs Hailuo I2V-01 Director on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Hailuo I2V-01 Director in opencode?**

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

**Does opencode wait while Hailuo I2V-01 Director runs?**

Hailuo I2V-01 Director runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.

**What is Hailuo 01 Director useful for?**

Use it to test how a short shot should move: a camera pushing toward a subject, tracking an action, or revealing a scene. MiniMax designed the Director models to reduce random movement and improve control over camera direction.

**How long are Hailuo 01 Director videos?**

Clips run up to six seconds at 720p and 25 frames per second. Plan a longer sequence as separate shots that you edit together.

**How should I describe camera movement?**

Write the scene and add an explicit direction such as [Push in] or [Pan left]. Natural-language descriptions also work, but MiniMax says explicit commands produce more accurate results.

**Can I combine camera movements?**

Yes. Commands inside one bracket, such as [Pan left, Tilt up], happen simultaneously; keep combinations to three movements or fewer.

**What limits should I plan around?**

The six-second clip length and 720p output are the main production constraints. For a longer story, use short shots with a clear action in each.

