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

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

Seedance 2.0 Mini Image to Video animates a starting image into a short clip. Unlike Seedance 2.0 Mini Text to Video, it can also use an ending image to guide the transition.

|  |  |
| --- | --- |
| Model | Seedance 2.0 Mini Image 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 Image to Video in opencode

- Use Seedance 2.0 Mini Image to Video to animate the robot illustration in this project's assets. Make a 5-second, 720p square clip: the robot tilts its head and waves once, with a fixed camera and soft mechanical sounds. Keep the illustrated visual style.
- Use Seedance 2.0 Mini Image to Video with the closed-box and open-box artwork in this project's assets as the opening and ending frames. Create an 8-second, 720p product reveal with a fixed camera, the lid lifting slowly, and cardboard rustling.
- Animate the image I attach with Seedance 2.0 Mini 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 Seedance 2.0 Mini Image to Video.
- Bring this portrait to life with Seedance 2.0 Mini Image to Video: a subtle smile and a blink.

## How to set up Seedance 2.0 Mini 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 Seedance 2.0 Mini 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": "bytedance/seedance-2.0/mini/image-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.",
      "image_url": "https://v3b.fal.media/files/b/0a8eba37/Cqg-4Uwzyz4DELfceT1CF_a17e588773ec45b1a9e6f100a787b80b.jpg"
    }
  }'
```

Then paste one of the prompts above: opencode finds Seedance 2.0 Mini Image 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 Image to Video tools and prices

- [Seedance 2.0 Mini · Image to Video](https://spiral.ai/tools/fal/bytedance/seedance-2.0/mini/image-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 |
| --- | --- | --- | --- |
| end_image_url |  | — | The URL of the image to use as the last frame of the video. When provided, the generated video will transition from the starting image to this ending image. Supported formats: JPEG, PNG, WebP, BMP, TIFF, GIF, HEIC, HEIF. Max 30 MB. |
| 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 infer from the input image. |
| 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. |

## What can you do with Seedance 2.0 Mini Image 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.

### Illustration animation

Start with an illustration and request specific movement, such as drifting clouds, a turning head, or fluttering fabric. Specify the intended illustration style in the motion brief.

### Transitions between designed frames

Supply opening and closing artwork, then describe how the scene should move between them. Use this for a closed-to-open package reveal or a change in lighting.

## Overview

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

## Seedance 2.0 Mini Image to Video in other agents

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

## More opencode guides

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

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

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

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

**How much does Seedance 2.0 Mini Image 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 Image to Video in opencode?**

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

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

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

Seedance 2.0 Mini Image 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.

