[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [PixVerse V4.5 Image to Video](https://spiral.ai/integrations/opencode/pixverse-v4-5-image-to-video)

# How to Use PixVerse V4.5 Image to Video in opencode

PixVerse V4.5 Image to Video animates a supplied image as the opening frame. Choose it over PixVerse V4.5 Image to Video Fast when you need an 8-second clip or 5-second output at 1080p.

|  |  |
| --- | --- |
| Model | PixVerse V4.5 Image to Video |
| Available through | fal |
| Category | Video |
| Price | $0.26 per run at the default inputs. `resolution`: 360p $0.195, 540p $0.195, 720p (default) $0.26, 1080p $0.52. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with PixVerse V4.5 Image to Video in opencode

- Use PixVerse V4.5 Image to Video with the teapot illustration in the project's assets. Make a 5-second clip at 1080p with steam curling upward and a gentle camera push toward the teapot. Inspect the result before adding it to the landing page.
- Animate the image I attach with PixVerse V4.5 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 PixVerse V4.5 Image to Video.
- Bring this portrait to life with PixVerse V4.5 Image to Video: a subtle smile and a blink.
- Animate this illustration with PixVerse V4.5 Image to Video: clouds drifting, a slow camera pan to the right.

## How to set up PixVerse V4.5 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 PixVerse V4.5 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/pixverse/v4.5/image-to-video",
    "input": {
      "prompt": "A woman warrior with her hammer walking with his glacier wolf.",
      "image_url": "https://v3.fal.media/files/zebra/qL93Je8ezvzQgDOEzTjKF_KhGKZTEebZcDw6T5rwQPK_output.png"
    }
  }'
```

Then paste one of the prompts above: opencode finds PixVerse V4.5 Image to Video on Spiral, shows the price and runs it.

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

## PixVerse V4.5 Image to Video tools and prices

- [PixVerse V4.5 · Image to Video](https://spiral.ai/tools/fal/fal-ai/pixverse/v4.5/image-to-video) (fal): $0.26 per run at the default inputs. `resolution`: 360p $0.195, 540p $0.195, 720p (default) $0.26, 1080p $0.52.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| resolution | 360p, 540p, 720p, 1080p | 720p | The resolution of the generated video |
| duration | 5, 8 | 5 | The duration of the generated video in seconds. 8s videos cost double. 1080p videos are limited to 5 seconds |
| negative_prompt |  |  | Negative prompt to be used for the generation. Limited to 2048 UTF-8 encoded bytes. Because the limit counts bytes rather than characters, emoji and non-Latin or accented characters (which use multiple bytes each) can push a visually short prompt over the cap. |
| style | anime, 3d_animation, clay, comic, cyberpunk | — | The style of the generated video |
| seed |  | — | The same seed and the same prompt given to the same version of the model will output the same video every time. |
| camera_movement | horizontal_left, horizontal_right, vertical_up, vertical_down, zoom_in, zoom_out, crane_up, quickly_zoom_in, quickly_zoom_out, smooth_zoom_in, camera_rotation, robo_arm, super_dolly_out, whip_pan, hitchcock, left_follow, right_follow, pan_left, pan_right, fix_bg | — | The type of camera movement to apply to the video |

## What can you do with PixVerse V4.5 Image to Video in opencode?

Create short motion assets for a website, game prototype, or storyboard directly from a project brief. A coding agent can connect each shot to its intended screen and keep the prompt and seed with the asset.

### Short advertising concepts

Test a single visual idea before editing a full ad: steam rising from coffee, a jacket moving in the wind, or light crossing a tabletop.

### Game cutscene motion studies

Explore a short character action, such as a guard turning toward a doorway or an explorer stepping into a clearing. Use the result to judge staging and camera direction.

### Nature B-roll concepts

Create brief atmospheric shots of rippling water, drifting clouds, or leaves moving in a breeze for a storyboard or editing draft.

### Animation look tests

Try a character gesture in anime, clay, or comic styling. Review shape changes and distortion before choosing the look for a finished sequence.

### Product photo animation

Start with a product photo and request a restrained camera move or environmental motion. Review the result before using it to represent the product.

### Illustration motion studies

Use an existing character illustration as the opening frame, then explore a head turn, a small gesture, or moving fabric while retaining the intended appearance.

## Overview

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

## PixVerse V4.5 Image to Video in other agents

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

## More opencode guides

- [PixVerse V4 Text to Video Fast](https://spiral.ai/integrations/opencode/pixverse-v4-text-to-video-fast)
- [PixVerse V4.5 Image to Video Fast](https://spiral.ai/integrations/opencode/pixverse-v4-5-image-to-video-fast)
- [PixVerse V4 Text to Video](https://spiral.ai/integrations/opencode/pixverse-v4-text-to-video)
- [PixVerse V4.5 Text to Video](https://spiral.ai/integrations/opencode/pixverse-v4-5-text-to-video)
- [PixVerse V4 Image to Video Fast](https://spiral.ai/integrations/opencode/pixverse-v4-image-to-video-fast)
- [PixVerse V4.5 Text to Video Fast](https://spiral.ai/integrations/opencode/pixverse-v4-5-text-to-video-fast)

## Questions about PixVerse V4.5 Image to Video in opencode

**Can opencode use PixVerse V4.5 Image to Video?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run PixVerse V4.5 Image to Video like any built-in tool.

**How much does PixVerse V4.5 Image to Video cost in opencode?**

$0.26 per run at the default inputs. `resolution`: 360p $0.195, 540p $0.195, 720p (default) $0.26, 1080p $0.52. 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 PixVerse V4.5 Image to Video in opencode?**

No. Spiral runs PixVerse V4.5 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 PixVerse V4.5 Image to Video in opencode?**

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

**Does opencode wait while PixVerse V4.5 Image to Video runs?**

PixVerse V4.5 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 PixVerse V4.5 useful for?**

Use it for short scenes where movement carries the idea, such as a character gesture, a moving landscape, or an advertising concept. PixVerse describes improvements in motion fluidity and handling complex actions.

**How should I write a PixVerse V4.5 prompt?**

Describe the subject, its action, the camera movement, and the visual style. For example, ask for a paper boat drifting across a pond with a low tracking shot and soft morning light.

**What should come first in the prompt?**

Lead with the subject, action, and setting. Put the main event before decorative details so the movement you want is easy to identify.

**What should I check when changing the visual style?**

Inspect the result for distortion before treating it as finished. Test the intended look at a lower resolution, then review the subject's shape and details before rendering the final shot.

**Why can a short prompt exceed the text limit?**

The limit is 2,048 UTF-8 bytes, not 2,048 characters. Emoji, accented letters, and non-Latin scripts can use multiple bytes each.

