[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [Seedance 2.0 Mini Text to Video](https://spiral.ai/integrations/opencode/seedance-2-0-mini-text-to-video)

# How to Use Seedance 2.0 Mini Text to Video in opencode

Seedance 2.0 Mini Text to Video turns a written scene into a short clip without a starting image. Choose it over Seedance 2.0 Mini Image to Video when you want to explore a scene before creating artwork.

|  |  |
| --- | --- |
| Model | Seedance 2.0 Mini Text to Video |
| Available through | fal |
| Category | Video |
| Price | Up to $3.01665 per run at the default inputs. `resolution`: 480p $1.40595, 720p (default) $3.01665. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Seedance 2.0 Mini Text to Video in opencode

- Use Seedance 2.0 Mini Text to Video to create an 8-second, 720p landscape background for this project's gardening landing page. Show morning light moving across seedlings while the camera slowly tracks sideways. Generate birdsong and rustling leaves; keep the scene free of captions.
- Read this project's creative brief, then use Seedance 2.0 Mini Text to Video to make three separate 6-second, 480p drafts of a paper boat crossing a puddle. Give each draft exactly one camera treatment: fixed, slow push-in, or lateral tracking. Include rain ambience.
- Use Seedance 2.0 Mini Text to Video to create a 10-second, 720p landscape clip for this game's scene prototype. Shot 1: a lantern sways outside a wooden cabin, fixed camera. Shot 2: cut to snow collecting on the doorstep, fixed camera. Include wind and a faint wooden creak.
- Estimate, then generate a 5-second 9:16 clip with Seedance 2.0 Mini Text to Video: a paper boat drifting down a rainy street. Save the result in ./assets.
- Make a 10-second product teaser with Seedance 2.0 Mini Text to Video for a smartwatch, slow orbit shot, studio lighting.

## How to set up Seedance 2.0 Mini 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 Seedance 2.0 Mini 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": "bytedance/seedance-2.0/mini/text-to-video",
    "input": {
      "prompt": "An octopus finds a football in the ocean and excitedly calls its octopus friends to come and play. Cut scene to an octopus football game under the sea."
    }
  }'
```

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

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

## Seedance 2.0 Mini Text to Video tools and prices

- [Seedance 2.0 Mini · Text to Video](https://spiral.ai/tools/fal/bytedance/seedance-2.0/mini/text-to-video) (fal): Up to $3.01665 per run at the default inputs. `resolution`: 480p $1.40595, 720p (default) $3.01665.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| resolution | 480p, 720p | 720p | Video resolution - 480p for faster generation, 720p for balance. |
| duration | auto, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 | auto | Duration of the video in seconds. Supports 4 to 15 seconds, or auto to let the model decide based on the prompt. |
| aspect_ratio | auto, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16 | auto | The aspect ratio of the generated video. Use 16:9 for landscape, 9:16 for portrait/vertical, 1:1 for square, 21:9 for ultrawide cinematic, or auto to let the model decide. |
| generate_audio |  | true | Whether to generate synchronized audio for the video, including sound effects, ambient sounds, and lip-synced speech. The cost of video generation is the same regardless of whether audio is generated or not. |
| codec | auto, H264, H265 | auto | 'auto' retains default video codec behaviour; 'H264' uses H.264; 'H265' uses H.265. |
| end_user_id |  | — | The unique user ID of the end user. |

## What can you do with Seedance 2.0 Mini Text to Video in opencode?

Create short video assets for a website, game, or prototype while working in the project. Use the surrounding code and creative brief to define the scene, then review motion before choosing the final clip.

### Product ad concepts

Plan a short product scene with one visible action, such as steam rising from a mug or light moving across a bottle. Compare framing and sound before committing to an edit.

### Social video openings

Create a 5 to 8 second opening built around one visual event, such as a paper flower unfolding. Leave captions for the editing stage.

### Shot planning

Explore a scene with a fixed camera, a slow push-in, or lateral tracking. Generate each camera treatment separately to compare how it changes the scene.

### Atmospheric cutaways

Generate short inserts such as rain on a window, wind through grass, or steam above a kitchen counter. Describe the ambient sound with the action.

### Animated story beats

Develop a brief illustrated scene around a clear action and reaction. Keep the complete beat within 15 seconds and use shot order instead of exact internal timestamps.

## Overview

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

## Seedance 2.0 Mini Text to Video in other agents

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

## More opencode guides

- [Seedance 2.0 Mini Image to Video](https://spiral.ai/integrations/opencode/seedance-2-0-mini-image-to-video)
- [Seedance 2.0 Reference to Video](https://spiral.ai/integrations/opencode/seedance-2-0-reference-to-video)
- [Seedance 2.0 Image to Video (US)](https://spiral.ai/integrations/opencode/seedance-2-0-image-to-video-us)
- [Seedance 2.0 Text to Video](https://spiral.ai/integrations/opencode/seedance-2-0-text-to-video)
- [Seedance 2.0 Image to Video](https://spiral.ai/integrations/opencode/seedance-2-0-image-to-video)
- [Seedance 2.5 Image to Video](https://spiral.ai/integrations/opencode/seedance-2-5-image-to-video)

## Questions about Seedance 2.0 Mini Text to Video in opencode

**Can opencode use Seedance 2.0 Mini Text to Video?**

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

**How much does Seedance 2.0 Mini Text to Video cost in opencode?**

Up to $3.01665 per run at the default inputs. `resolution`: 480p $1.40595, 720p (default) $3.01665. 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 Seedance 2.0 Mini Text to Video in opencode?**

No. Spiral runs Seedance 2.0 Mini 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 Seedance 2.0 Mini Text to Video in opencode?**

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

**Does opencode wait while Seedance 2.0 Mini Text to Video runs?**

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

**How long can a Seedance 2.0 Mini video be?**

A single generation lasts 4 to 15 seconds. For a longer sequence, plan separate clips and assemble them in an editor.

**Can Seedance 2.0 Mini generate native 1080p or 4K video?**

No. Its maximum output resolution is 720p, so plan a separate finishing step if your delivery requires a larger frame.

**Can Seedance 2.0 Mini create sound with the video?**

Yes. It can generate synchronized effects, ambient sound, and lip-synced speech; describe the sound you want alongside the visible action.

**What should I include in a Seedance 2.0 Mini prompt?**

Describe the subject, its action, the setting, the visual style, and one camera move per shot. For example, ask for a paper boat drifting through rainwater while the camera tracks beside it.

**Can I specify exactly when each shot changes?**

Treat exact internal timestamps as unreliable. Write the sequence as Shot 1, Shot 2, and Shot 3, then make any frame-accurate cuts in an editor.

