[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Hailuo 2.3 Pro Image to Video](https://spiral.ai/integrations/opencode/hailuo-2-3-pro-image-to-video)

# How to Use Hailuo 2.3 Pro Image to Video in opencode

Use Hailuo 2.3 Pro Image to Video for six-second 1080p shots built around an existing image. Unlike Hailuo 2.3 Pro Text to Video, it uses your image as the opening frame.

|  |  |
| --- | --- |
| Model | Hailuo 2.3 Pro Image to Video |
| Available through | fal |
| Category | Video |
| Price | $0.637 per run at the default inputs. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Hailuo 2.3 Pro Image to Video in opencode

- Use Hailuo 2.3 Pro Image to Video to animate the selected character portrait from this project into a six-second 1080p reaction shot. The character looks up, pauses, and gives a small smile; keep the camera steady.
- Use Hailuo 2.3 Pro Image to Video to animate the approved product still in this project's assets into a six-second 768p shot. Keep the camera stationary while the bottle slowly turns under soft studio lighting.
- Use Hailuo 2.3 Pro Image to Video to animate the approved runner image in this project's assets into a six-second 1080p shot. Track alongside the runner as they take several steady strides, with warm evening light.
- Animate the image I attach with Hailuo 2.3 Pro Image to Video: 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 2.3 Pro Image to Video.

## How to set up Hailuo 2.3 Pro Image to Video 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 2.3 Pro Image 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": "fal-ai/minimax/hailuo-2.3/pro/image-to-video",
    "input": {
      "prompt": "The camera follows the mountain biker as they navigate a technical forest trail at high speed, wheels bouncing over roots and rocks. The rider approaches a…",
      "image_url": "https://storage.googleapis.com/falserverless/example_inputs/hailuo23/pro_i2v_in.jpg"
    }
  }'
```

Then paste one of the prompts above: opencode finds Hailuo 2.3 Pro Image to Video on Spiral, shows the price and runs it.

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

## Hailuo 2.3 Pro Image to Video tools and prices

- [MiniMax Hailuo 2.3 Pro · Image to Video](https://spiral.ai/tools/fal/fal-ai/minimax/hailuo-2.3/pro/image-to-video) (fal): $0.637 per run at the default inputs.

## 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 2.3 Pro Image to Video in opencode?

Create short motion assets for a site, app, or game using the project's visual brief. Let the coding agent prepare focused shots and place the selected footage where the project needs it.

### Product ad shots

Create a short product shot with a deliberate movement, such as a bottle rotating under studio lighting. Build the image-based shot around a product still, or describe the scene for text-to-video.

### Human movement studies

Try a short dance turn, a walking shot, or a simple athletic movement. Use the result to review timing, body movement, and camera placement before planning a shoot.

### Character reaction shots

Plan a close-up around a small expression change, such as surprise becoming relief. Keep the camera steady so the expression remains the focus.

### Stylized story scenes

Draft an anime or illustrated scene around one action, such as a traveler opening a gate. Review the visual treatment and movement before expanding the story.

### Illustration animation

Start with an illustration and add a specific action: a character blinks, a coat moves in the breeze, or a figure turns toward the viewer.

### Product still animation

Turn an approved product image into a short motion asset. Compare gentle camera movement with object movement while retaining the same starting composition.

## Overview

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

## Hailuo 2.3 Pro Image to Video in other agents

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

## More opencode guides

- [Hailuo 2.3 Fast Standard Image to Video](https://spiral.ai/integrations/opencode/hailuo-2-3-fast-standard-image-to-video)
- [Hailuo 2.3 Pro Text to Video](https://spiral.ai/integrations/opencode/hailuo-2-3-pro-text-to-video)
- [Hailuo 2.3 Fast Pro Image to Video](https://spiral.ai/integrations/opencode/hailuo-2-3-fast-pro-image-to-video)
- [Hailuo 2.3 Standard Image to Video](https://spiral.ai/integrations/opencode/hailuo-2-3-standard-image-to-video)
- [Hailuo 02 Standard Text to Video](https://spiral.ai/integrations/opencode/hailuo-02-standard-text-to-video)
- [Hailuo 2.3 Standard Text to Video](https://spiral.ai/integrations/opencode/hailuo-2-3-standard-text-to-video)

## Questions about Hailuo 2.3 Pro Image to Video in opencode

**Can opencode use Hailuo 2.3 Pro Image to Video?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Hailuo 2.3 Pro Image to Video like any built-in tool.

**How much does Hailuo 2.3 Pro Image to Video cost in opencode?**

$0.637 per run at the default inputs. 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 2.3 Pro Image to Video in opencode?**

No. Spiral runs Hailuo 2.3 Pro Image 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 Hailuo 2.3 Pro Image to Video in opencode?**

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

**Does opencode wait while Hailuo 2.3 Pro Image to Video runs?**

Hailuo 2.3 Pro Image to Video runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.

**What is Hailuo 2.3 useful for?**

Use it for short shots built around movement: a product turning, a person dancing, or a character reacting. MiniMax highlights physical actions, stylization, and subtle facial expressions as strengths.

**Can Hailuo 2.3 make animation?**

Yes. MiniMax specifically names anime and illustration among its supported styles, so you can request a stylized scene rather than a photorealistic one.

**How should I describe a shot?**

Describe the subject, its movement, the camera movement, and the lighting. Keep the brief focused on one shot so you can judge whether the requested action came through.

**How much action should I put in one clip?**

Start with one clear action, such as a dancer completing a turn or a person looking up and smiling. Use separate clips for additional scenes, then edit them into a longer sequence.

**How can I compare different motion ideas?**

Keep the subject, lighting, and framing consistent, then change one movement at a time. For example, compare a slow camera push with a stationary camera before changing the subject's action.

