[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [PixVerse V5.6 Image to Video](https://spiral.ai/integrations/opencode/pixverse-v5-6-image-to-video)

# How to Use PixVerse V5.6 Image to Video in opencode

PixVerse V5.6 Image to Video animates a supplied image into a short scene with optional synchronized sound. Unlike PixVerse V5.6 Text to Video, it uses your image as the first frame.

|  |  |
| --- | --- |
| Model | PixVerse V5.6 Image to Video |
| Available through | fal |
| Category | Video |
| Price | Up to $1.17 per run at the default inputs. `duration`: 5 (default) $1.17, 8 $2.34, 10 $2.574. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with PixVerse V5.6 Image to Video in opencode

- Use PixVerse V5.6 Image to Video with the product photo in this project's assets. Create a 5-second, 1080p shot with a slow camera push toward the product and subtle environmental sound.
- Use PixVerse V5.6 Image to Video to animate the character illustration in this project for 5 seconds at 1080p. Have the character glance toward an offscreen sound, then settle; include that sound.
- Animate the image I attach with PixVerse V5.6 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 V5.6 Image to Video.
- Bring this portrait to life with PixVerse V5.6 Image to Video: a subtle smile and a blink.

## How to set up PixVerse V5.6 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 V5.6 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/v5.6/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 V5.6 Image to Video on Spiral, shows the price and runs it.

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

## PixVerse V5.6 Image to Video tools and prices

- [PixVerse V5.6 Image To Video](https://spiral.ai/tools/fal/fal-ai/pixverse/v5.6/image-to-video) (fal): $0.25974 per run at the default inputs. `duration`: 5 (default) $0.25974, 8 $0.51948, 10 $0.571428.

## 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, 10 | 5 | The duration of the generated video in seconds. 1080p videos are limited to 5 or 8 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. |
| generate_audio_switch |  | false | Enable audio generation (BGM, SFX, dialogue) |

## What can you do with PixVerse V5.6 Image to Video in opencode?

Create short video assets and scene previews from your project's creative brief. A coding agent can turn that brief into focused shots and place the selected clips in the project for review.

### Short film shot planning

Preview a single story beat, such as a traveler noticing a light in an abandoned station. Use the clip to review framing, movement, and mood before planning the next shot.

### Atmospheric background footage

Create a brief scene of rain against a window, wind through trees, or a quiet nighttime street. Pair the visible movement with matching environmental sound.

### Dialogue scene previews

Stage a brief exchange between two characters to explore their delivery and reactions. Keep the lines short enough to fit the selected clip length.

### Narrated scene concepts

Combine a short spoken line with a scene that supports it, such as a lighthouse at dawn accompanying an opening line for a story.

### Social video story beats

Create a self-contained moment with a clear beginning and end, such as a cat hearing a noise and turning toward it. Review the action and sound together.

### Lighting and camera studies

Explore how a slow camera move and a specific lighting direction change a scene. Keep the subject and action simple so the visual choice is easy to judge.

### Product photo animation

Start with a product image and request a restrained camera move, a changing reflection, or rising steam. Review the product's appearance throughout the clip before using it in an ad.

### Illustrated scene animation

Use an illustration as the opening frame, then request a small action such as a character looking up or a curtain moving in the breeze.

## Overview

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

## PixVerse V5.6 Image to Video in other agents

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

## More opencode guides

- [PixVerse V5.5 Transition](https://spiral.ai/integrations/opencode/pixverse-v5-5-transition)
- [PixVerse V5.6 Text to Video](https://spiral.ai/integrations/opencode/pixverse-v5-6-text-to-video)
- [PixVerse V5.5 Text to Video](https://spiral.ai/integrations/opencode/pixverse-v5-5-text-to-video)
- [PixVerse V5.6 Transition](https://spiral.ai/integrations/opencode/pixverse-v5-6-transition)
- [PixVerse V5.5 Image to Video](https://spiral.ai/integrations/opencode/pixverse-v5-5-image-to-video)
- [PixVerse V6 Extend](https://spiral.ai/integrations/opencode/pixverse-v6-extend)

## Questions about PixVerse V5.6 Image to Video in opencode

**Can opencode use PixVerse V5.6 Image to Video?**

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

**How much does PixVerse V5.6 Image to Video cost in opencode?**

Up to $1.17 per run at the default inputs. `duration`: 5 (default) $1.17, 8 $2.34, 10 $2.574. 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 V5.6 Image to Video in opencode?**

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

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

**Does opencode wait while PixVerse V5.6 Image to Video runs?**

PixVerse V5.6 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 V5.6 useful for?**

Use it for short cinematic scenes, atmospheric footage, and visual storytelling. Optional speech and environmental sound also make it useful for brief dialogue scenes.

**How long can a PixVerse V5.6 video be?**

A clip can last 5, 8, or 10 seconds. At 1080p, choose 5 or 8 seconds; 10-second output requires a lower resolution.

**How should I write a PixVerse V5.6 prompt?**

Describe the subject, its appearance, movement, setting, sound, and camera behavior. For example, specify a ceramic cup, rising steam, a quiet kitchen, a gentle hiss, and a slow camera push toward the cup.

**Can PixVerse V5.6 generate dialogue and ambient sound?**

Yes. It supports native audio, including speech and environmental sound, with lip-sync for scenes containing multiple characters. Describe who speaks and the sounds you want alongside the visual action.

**Can PixVerse V5.6 make a complete long video?**

Each generation is limited to 10 seconds, with an 8-second maximum at 1080p. Plan longer videos as separate clips and assemble them in an editor.

