[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [Wan 2.6 Image to Video](https://spiral.ai/integrations/muse-code/wan-2-6-image-to-video)

# How to Use Wan 2.6 Image to Video in Muse Code

Wan 2.6 Image to Video turns a chosen opening image into a short scene with sound and camera movement. Unlike Wan 2.6 Reference to Video, it anchors the first frame and can generate clips up to 15 seconds.

|  |  |
| --- | --- |
| Model | Wan 2.6 Image to Video |
| Available through | fal |
| Category | Video |
| Price | `resolution`: 720p $0.13, 1080p (default) $0.195 per second. Billed on `duration`, default 5. |
| Returns | video |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Wan 2.6 Image to Video in Muse Code

- Use the approved mug image in this project's assets with Wan 2.6 Image to Video. Make a 5-second 1080p shot: steam rises, the camera slowly pushes in, and we hear quiet kitchen ambience. Keep one continuous shot.
- Animate the image I attach with Wan 2.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 Wan 2.6 Image to Video.
- Bring this portrait to life with Wan 2.6 Image to Video: a subtle smile and a blink.
- Animate this illustration with Wan 2.6 Image to Video: clouds drifting, a slow camera pan to the right.

## How to set up Wan 2.6 Image to Video in Muse Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 Wan 2.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": "wan/v2.6/image-to-video",
    "input": {
      "prompt": "A comedic cinematic demo where typed prompts physically transform reality. Photoreal, strong match cuts, coherent main character, no subtitles.\n\nShot 1 [0-4s]…",
      "image_url": "https://v3b.fal.media/files/b/0a8673dd/m9EV5W9aSqg8J7rb-18TK.png"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds Wan 2.6 Image to Video on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## Wan 2.6 Image to Video tools and prices

- [Wan v2.6 Image to Video](https://spiral.ai/tools/fal/wan/v2.6/image-to-video) (fal): `resolution`: 720p $0.13, 1080p (default) $0.195 per second. Billed on `duration`, default 5.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| audio_url |  | — | URL of the audio to use as the background music. Must be publicly accessible. Limit handling: If the audio duration exceeds the duration value (5, 10, or 15 seconds), the audio is truncated to the first N seconds, and the rest is discarded. If the audio is shorter than the video, the remaining part of the video will be silent. For example, if the audio is 3 seconds long and the video duration is 5 seconds, the first 3 seconds of the output video will have sound, and the last 2 seconds will be silent. - Format: WAV, MP3. - Duration: 3 to 30 s. - File size: Up to 15 MB. |
| resolution | 720p, 1080p | 1080p | Video resolution. Valid values: 720p, 1080p |
| duration | 5, 10, 15 | 5 | Duration of the generated video in seconds. Choose between 5, 10 or 15 seconds. |
| negative_prompt |  |  | Negative prompt to describe content to avoid. Max 500 characters. |
| enable_prompt_expansion |  | true | Whether to enable prompt rewriting using LLM. |
| multi_shots |  | false | When true, enables intelligent multi-shot segmentation. Only active when enable_prompt_expansion is True. Set to false for single-shot generation. |

## What can you do with Wan 2.6 Image to Video in Muse Code?

Turn a project's creative brief into short video assets and filmed storyboards with Wan 2.6. A coding agent can read the project's visual direction, prepare shot descriptions, and organize clips for review.

### Product teasers

Create a 10-second scene showing a ceramic mug in use: steam rises, a hand lifts it, and the camera moves closer. Build from a written concept or suitable visual references.

### Filmed storyboards

Test a two-shot scene before a shoot, such as a wide view of a workshop followed by a close-up of the maker. Use it to judge framing, pacing, and the transition.

### Short dialogue scenes

Stage a brief exchange between two characters, with one short line per speaker. Specify who speaks, their delivery, and the action that accompanies the words.

### Social video scenes

Make a single visual moment for a social post, such as a baker opening an oven or a gardener finding the first ripe tomato. Give the scene one clear action and matching sound.

### Ambient cutaways

Generate short inserts for an edited video: rain on a window, a dog resting beside a fireplace, or a kettle beginning to steam. Specify a restrained camera move and the sounds in the scene.

### Character comedy

Build a short joke around an animal or illustrated character, such as a rabbit presenting an oversized carrot. Use a simple setup and one visible reaction.

### Animate an approved opening image

Start with an approved illustration or product image and add motion to it. Describe what moves and how the camera behaves instead of repeating the image description.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## Wan 2.6 Image to Video in other agents

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

## More Muse Code guides

- [Wan 2.5 Text to Video](https://spiral.ai/integrations/muse-code/wan-2-5-text-to-video)
- [Wan 2.6 Image to Video Flash](https://spiral.ai/integrations/muse-code/wan-2-6-image-to-video-flash)
- [Wan 2.5 Image to Video](https://spiral.ai/integrations/muse-code/wan-2-5-image-to-video)
- [Wan 2.6 Reference to Video](https://spiral.ai/integrations/muse-code/wan-2-6-reference-to-video)
- [Wan 2.2 S2V 14B](https://spiral.ai/integrations/muse-code/wan-2-2-s2v-14b)
- [Wan 2.6 Reference to Video Flash](https://spiral.ai/integrations/muse-code/wan-2-6-reference-to-video-flash)

## Questions about Wan 2.6 Image to Video in Muse Code

**Can Muse Code use Wan 2.6 Image to Video?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Wan 2.6 Image to Video like any built-in tool.

**How much does Wan 2.6 Image to Video cost in Muse Code?**

`resolution`: 720p $0.13, 1080p (default) $0.195 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 Muse Code plan is separate.

**Do I need a fal account to use Wan 2.6 Image to Video in Muse Code?**

No. Spiral runs Wan 2.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 Wan 2.6 Image to Video in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while Wan 2.6 Image to Video runs?**

Wan 2.6 Image to Video runs in the background. Muse Code starts the run, checks on it and gives you the video when it's ready.

**What is Wan 2.6 good at?**

Wan 2.6 is useful for short scenes that combine character action, sound, and changes in camera framing. Good starting projects include product teasers, dialogue scenes, and filmed storyboards.

**Can Wan 2.6 create several shots in one clip?**

Yes. Write an overall scene description, then number the shots and give each a time range. Enable multiple shots and prompt expansion together so the shot setting can take effect.

**Can Wan 2.6 generate speech and other sound?**

Yes. Describe the spoken line, delivery, background sound, and music you want alongside the visual action. Keep the script short enough to fit the scene.

**How should I write a Wan 2.6 prompt?**

Describe the subject, setting, action, lighting, camera framing, and visual style. For several shots, give each shot a clear action and a place on the timeline.

**What output should I plan around?**

A 5- or 10-second scene at 720p or 1080p works across Wan 2.6. The documented output format is MP4 at 30 frames per second.

