[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [Hailuo 02 Fast Image to Video](https://spiral.ai/integrations/antigravity/hailuo-02-fast-image-to-video)

# How to Use Hailuo 02 Fast Image to Video in Google Antigravity

Hailuo 02 Fast Image to Video turns a still into a 512p motion draft. Use it to test an action or camera move before choosing Hailuo 02 Pro Image to Video for 1080p output.

|  |  |
| --- | --- |
| Model | Hailuo 02 Fast Image to Video |
| Available through | fal |
| Category | Video |
| Price | $0.0221 per second. Billed on `duration`, default 6. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Hailuo 02 Fast Image to Video in Google Antigravity

- Use Hailuo 02 Fast Image to Video to animate assets/product.png into a six-second 512p draft. Show steam rising from the cup with a slow camera move forward, and save the result with the project's video assets.
- Use Hailuo 02 Fast Image to Video to animate the storyboard image in assets into a six-second 1080p shot. The cyclist moves forward while the camera follows; disable automatic prompt rewriting.
- Use Hailuo 02 Fast Image to Video with assets/landscape.png to make a ten-second 768p motion study. Show the river flowing while the camera stays still, then add the clip to the prototype.
- Animate the image I attach with Hailuo 02 Fast 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 02 Fast Image to Video.

## How to set up Hailuo 02 Fast Image to Video in Google Antigravity

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

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity 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 02 Fast 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-02-fast/image-to-video",
    "input": {
      "prompt": "Extremely realistic movement An old samurai is breaking a stone in half",
      "image_url": "https://v3.fal.media/files/tiger/U9HN_tm5-3Ls52SbD6CrW_image.webp"
    }
  }'
```

Then paste one of the prompts above: Google Antigravity finds Hailuo 02 Fast Image to Video on Spiral, shows the price and runs it.

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

## Hailuo 02 Fast Image to Video tools and prices

- [Minimax Fast · Image to Video](https://spiral.ai/tools/fal/fal-ai/minimax/hailuo-02-fast/image-to-video) (fal): $0.0221 per second. Billed on `duration`, default 6.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| duration | 6, 10 | 6 | The duration of the video in seconds. 10 seconds videos are not supported for 1080p resolution. |
| prompt_optimizer |  | true | Whether to use the model's prompt optimizer |

## What can you do with Hailuo 02 Fast Image to Video in Google Antigravity?

Create short motion assets for a website, game, or prototype with Hailuo 02. A coding agent can use the project's visual brief to plan takes and place a selected clip in the build.

### Product shot concepts

Try a short product reveal with one camera move. Review the framing and pacing before planning the rest of an ad.

### Action shot planning

Test one movement as a short take, then decide whether its timing and camera treatment fit the planned sequence.

### Background footage for an edit

Create individual landscape or atmosphere shots to review alongside the main footage.

### Social video story beats

Build a short visual beat for a social edit, such as a reveal, arrival, or change in the scene.

### Camera treatment comparisons

Generate separate takes of a scene with different camera directions. Compare them before committing to an edit.

### Still image animation

Use an existing still as the basis for a short motion study, then review how the subject and scene develop.

## Overview

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

## Hailuo 02 Fast Image to Video in other agents

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

## More Google Antigravity guides

- [HTML Video Renderer](https://spiral.ai/integrations/antigravity/html-video-renderer)
- [Hailuo 02 Pro Image to Video](https://spiral.ai/integrations/antigravity/hailuo-02-pro-image-to-video)
- [H3 Max Turbo Text to Video](https://spiral.ai/integrations/antigravity/h3-max-turbo-text-to-video)
- [Hailuo 02 Pro Text to Video](https://spiral.ai/integrations/antigravity/hailuo-02-pro-text-to-video)
- [H3 Max Turbo Reference to Video](https://spiral.ai/integrations/antigravity/h3-max-turbo-reference-to-video)
- [Hailuo 02 Standard Image to Video](https://spiral.ai/integrations/antigravity/hailuo-02-standard-image-to-video)

## Questions about Hailuo 02 Fast Image to Video in Google Antigravity

**Can Google Antigravity use Hailuo 02 Fast Image to Video?**

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run Hailuo 02 Fast Image to Video like any built-in tool.

**How much does Hailuo 02 Fast Image to Video cost in Google Antigravity?**

$0.0221 per second. Billed on `duration`, default 6. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Google Antigravity plan is separate.

**Do I need a fal account to use Hailuo 02 Fast Image to Video in Google Antigravity?**

No. Spiral runs Hailuo 02 Fast 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 02 Fast Image to Video in Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while Hailuo 02 Fast Image to Video runs?**

Hailuo 02 Fast Image to Video runs in the background. Google Antigravity starts the run, checks on it and gives you the video when it's ready.

**What should I use Hailuo 02 for?**

Use it for short shots that let you review an action or camera idea. Start with one shot, judge the result, and revise before building a longer edit.

**Can I build a longer video with Hailuo 02?**

Plan the edit as separate short shots. A six-second shot is a useful starting point across Hailuo 02, with longer sequences assembled afterward.

**How should I describe a shot?**

Name the subject, describe what happens, and state how the camera should move. Keep the first attempt focused enough that you can identify which instruction needs revision.

**When should I disable automatic prompt rewriting?**

Disable it when you have a carefully written shot description and want more precise control. That is especially useful when comparing changes to one instruction.

**Should I generate a whole sequence at once?**

Start with one action in one short shot, then generate the next shot separately. This gives you individual takes to review and arrange in an edit.

