[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Vidu Q2 Pro Image to Video](https://spiral.ai/integrations/opencode/vidu-q2-pro-image-to-video)

# How to Use Vidu Q2 Pro Image to Video in opencode

Use Vidu Q2 Pro Image to Video to animate a finished product photo, portrait, or illustration with an emphasis on detail. Compared with Vidu Q2 Turbo Image to Video, it favors visual quality over generation speed.

|  |  |
| --- | --- |
| Model | Vidu Q2 Pro Image to Video |
| Available through | fal |
| Category | Video |
| Price | `resolution`: 1080p $0.065, 720p (default) $0.065, 1080p $0.13, 720p (default) $0.13, 1080p $0.13, 1080p $0.195, 1080p $0.26, 1080p $0.39 per video. Billed on `duration`, default 4. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Vidu Q2 Pro Image to Video in opencode

- Use Vidu Q2 Pro Image to Video to animate the product still in public/images/mug.png. Generate a four-second 1080p shot: steam rises while the camera slowly pushes closer. Add the result to a preview page.
- Use Vidu Q2 Pro Image to Video with the approved character and room images in assets/storyboard. Generate a four-second 1080p shot of the character looking toward the window, with a slow camera push-in. Put the result beside the scene brief.
- Animate the image I attach with Vidu Q2 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 Vidu Q2 Pro Image to Video.
- Bring this portrait to life with Vidu Q2 Pro Image to Video: a subtle smile and a blink.

## How to set up Vidu Q2 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 Vidu Q2 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/vidu/q2/image-to-video/pro",
    "input": {
      "prompt": "A woman walking through a vibrant city street at night, neon lights reflecting off wet pavement.",
      "image_url": "https://storage.googleapis.com/falserverless/web-examples/vidu/stylish_woman.webp"
    }
  }'
```

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

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

## Vidu Q2 Pro Image to Video tools and prices

- [Vidu](https://spiral.ai/tools/fal/fal-ai/vidu/q2/image-to-video/pro) (fal): `resolution`: 720p (default) $0.13 per run plus $0.065 per unit of `duration`, 1080p $0.39 per run plus $0.13 per unit of `duration`. Billed on `duration`, default 4.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| end_image_url |  | — | URL of the image to use as the ending frame. When provided, generates a transition video between start and end frames. |
| seed |  | — | Random seed for reproducibility. If None, a random seed is chosen. |
| duration | 2, 3, 4, 5, 6, 7, 8 | 4 | Duration of the video in seconds |
| resolution | 720p, 1080p | 720p | Output video resolution |
| movement_amplitude | auto, small, medium, large | auto | The movement amplitude of objects in the frame |
| bgm |  | false | Whether to add background music to the video (only for 4-second videos) |

## What can you do with Vidu Q2 Pro Image to Video in opencode?

Create short video assets and motion studies alongside your project's design work. A coding agent can turn a scene brief into a shot, then place the result in a preview for review.

### Product reveal concepts

Test a short reveal of a ceramic mug, watch, or skincare bottle. Give the shot one action, such as a slow turn or a camera push toward the product.

### Character reaction shots

Explore a brief emotional beat for a storyboard: surprise settling into relief, a restrained smile, or a worried glance. Keep the performance easy to read.

### Camera movement tests

Compare a static view with a slow push-in before choosing how to film or animate a scene. Keep the action and lighting consistent between tests.

### Short ad concepts

Make separate shots for competing ad ideas, such as a quiet product close-up and a character discovering the product. Review the visual hook before developing the full edit.

### Animated illustrations

Start with an approved illustration and explore a small action, such as a character looking up or leaves moving around a scene. Use the result to judge the motion direction.

### Product photo motion

Turn an existing product image into a short motion study. Ask for a restrained camera move and inspect the product's shape and appearance before using the clip.

## Overview

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

## Vidu Q2 Pro Image to Video in other agents

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

## More opencode guides

- [Vidu Q1 Text to Video](https://spiral.ai/integrations/opencode/vidu-q1-text-to-video)
- [Vidu Q2 Pro Reference to Video](https://spiral.ai/integrations/opencode/vidu-q2-pro-reference-to-video)
- [Vidu Q1 Start-End to Video](https://spiral.ai/integrations/opencode/vidu-q1-start-end-to-video)
- [Vidu Q2 Pro Video Extension](https://spiral.ai/integrations/opencode/vidu-q2-pro-video-extension)
- [Vidu Q1 Reference to Video](https://spiral.ai/integrations/opencode/vidu-q1-reference-to-video)
- [Vidu Q2 Text to Video](https://spiral.ai/integrations/opencode/vidu-q2-text-to-video)

## Questions about Vidu Q2 Pro Image to Video in opencode

**Can opencode use Vidu Q2 Pro Image to Video?**

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

**How much does Vidu Q2 Pro Image to Video cost in opencode?**

`resolution`: 1080p $0.065, 720p (default) $0.065, 1080p $0.13, 720p (default) $0.13, 1080p $0.13, 1080p $0.195, 1080p $0.26, 1080p $0.39 per video. Billed on `duration`, default 4. 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 Vidu Q2 Pro Image to Video in opencode?**

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

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

**Does opencode wait while Vidu Q2 Pro Image to Video runs?**

Vidu Q2 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 Vidu Q2 good at?**

Vidu Q2 is worth trying for expressive reaction shots and deliberate camera movement. Describe a visible change, such as a smile fading or the camera moving from a wide view toward a face.

**How should I write a Vidu Q2 prompt?**

Describe the subject, action, setting, camera movement, lighting, and visual style. For a first test, choose one action and one camera instruction so you can judge what needs changing.

**What should I simplify when a Vidu Q2 shot goes wrong?**

Reduce the number of subjects and replace ambiguous directions with visible actions. Alibaba Cloud's Vidu guidance specifically recommends avoiding complex subject arrangements and using natural, precise phrasing.

**Can I prompt Vidu Q2 in languages other than English?**

Vidu says its prompts support more than 200 languages. That describes prompt input support; it does not establish equal quality in every language.

**Can Vidu Q2 make 1080p video?**

Yes. Use 720p to review a creative direction, then request 1080p for the shot you intend to use.

