[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [PixVerse V6 Text to Video](https://spiral.ai/integrations/opencode/pixverse-v6-text-to-video)

# How to Use PixVerse V6 Text to Video in opencode

PixVerse V6 Text to Video creates new scenes from written descriptions, useful for ad concepts and short story sequences. Unlike PixVerse V6 Image to Video, it does not need a starting image.

|  |  |
| --- | --- |
| Model | PixVerse V6 Text to Video |
| Available through | fal |
| Category | Video |
| Price | `resolution`: 360p $0.0455, 540p $0.0585, 720p (default) $0.078, 1080p $0.1495 per second. Billed on `duration`, default 5. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with PixVerse V6 Text to Video in opencode

- Read the launch brief in this project and use PixVerse V6 Text to Video to create a 6-second, 720p scene of a desk lamp switching on at dusk. Use one slow push-in, warm light across the desk, and generated room sound.
- Use PixVerse V6 Text to Video to make two separate 5-second, 720p studies for the project's storyboard: a slow push-in toward a closed shop and a sideways tracking shot past it. Keep the shop description and lighting identical.
- Estimate, then generate a 5-second 9:16 clip with PixVerse V6 Text to Video: a paper boat drifting down a rainy street. Save the result in ./assets.
- Make a 10-second product teaser with PixVerse V6 Text to Video for a smartwatch, slow orbit shot, studio lighting.
- Generate three 5-second b-roll clips of a busy coffee shop with PixVerse V6 Text to Video and list what each cost.

## How to set up PixVerse V6 Text 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 V6 Text 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/v6/text-to-video",
    "input": {
      "prompt": "Epic low-cut camera capture of a girl clad in ultraviolet threads, Peter Max art style depiction, luminous diamond skin glistening under a vast moon'\''s radiance,…"
    }
  }'
```

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

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

## PixVerse V6 Text to Video tools and prices

- [PixVerse V6 Text To Video](https://spiral.ai/tools/fal/fal-ai/pixverse/v6/text-to-video) (fal): `resolution`: 360p $0.0455, 540p $0.0585, 720p (default) $0.078, 1080p $0.1495 per second. Billed on `duration`, default 5.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| aspect_ratio | 16:9, 4:3, 1:1, 3:4, 9:16, 2:3, 3:2, 21:9 | 16:9 | The aspect ratio of the generated video |
| resolution | 360p, 540p, 720p, 1080p | 720p | The resolution of the generated video |
| duration | 1 to 15 | 5 | The duration of the generated video in seconds. v6 supports values from 1 to 15 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. |

## What can you do with PixVerse V6 Text to Video in opencode?

Turn a project's creative brief into short video assets and camera studies with PixVerse V6. Use the project's context to draft focused scenes, then review movement and visual accuracy.

### Product teaser concepts

Explore a short product reveal with controlled movement and lighting. Check the product's shape and details before selecting a take.

### Social ad hooks

Test an opening built around one visible action, such as a lid opening or a character noticing something offscreen.

### Camera movement studies

Compare a restrained push-in with a tracking shot to decide how a scene should introduce its subject.

### Short story scenes

Prototype a simple story beat, such as a traveler spotting a light or a shopkeeper opening for the day.

### Atmosphere shots

Build a brief scene around rain, drifting mist, or changing light, with one clear camera path and matching sound.

### Campaign direction tests

Compare the same simple scene under different lighting or motion directions before committing to a campaign treatment.

## Overview

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

## PixVerse V6 Text to Video in other agents

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

## More opencode guides

- [PixVerse V6 Image to Video](https://spiral.ai/integrations/opencode/pixverse-v6-image-to-video)
- [PixVerse V6 Transition](https://spiral.ai/integrations/opencode/pixverse-v6-transition)
- [PixVerse V6 Extend](https://spiral.ai/integrations/opencode/pixverse-v6-extend)
- [PixVerse VibeMV](https://spiral.ai/integrations/opencode/pixverse-vibemv)
- [PixVerse V5.6 Transition](https://spiral.ai/integrations/opencode/pixverse-v5-6-transition)
- [Pixelcut Looping Video](https://spiral.ai/integrations/opencode/pixelcut-looping-video)

## Questions about PixVerse V6 Text to Video in opencode

**Can opencode use PixVerse V6 Text to Video?**

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

**How much does PixVerse V6 Text to Video cost in opencode?**

`resolution`: 360p $0.0455, 540p $0.0585, 720p (default) $0.078, 1080p $0.1495 per second. Billed on `duration`, default 5. 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 V6 Text to Video in opencode?**

No. Spiral runs PixVerse V6 Text 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 V6 Text to Video in opencode?**

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

**Does opencode wait while PixVerse V6 Text to Video runs?**

PixVerse V6 Text to Video runs in the background. opencode starts the run, checks on it and gives you the video when it's ready.

**How much footage can PixVerse V6 generate at once?**

PixVerse V6 generates 1 to 15 seconds of new footage per request, with output up to 1080p.

**Can PixVerse V6 generate sound with the video?**

Yes. PixVerse V6 can generate audio and video together, so describe the sounds you want alongside the visible action.

**What should I put in a PixVerse V6 prompt?**

Lead with the subject and its main action. Add one camera movement and a few concrete visual constraints instead of a long list of style adjectives.

**Is PixVerse V6 useful for planning camera movement?**

Yes. Use it to test how a camera move affects a short scene, then review whether the motion and scene continuity match your brief.

**Can I rely on PixVerse V6 for exact product details?**

Review the result before using it in a campaign. PixVerse specifically flags product accuracy, complex action, and multilingual dialogue as areas that may need retries.

