How to Use Wan 2.2 5B Image to Video in Muse Code
Wan 2.2 5B Image to Video turns a still into a short moving shot, useful for product photos and illustrated scenes. Unlike Wan 2.2 5B Text to Video, it starts with an image, so your prompt can concentrate on movement.
Prompts to try with Wan 2.2 5B Image to Video in Muse Code
Copy an example into Muse Code, or ask in your own words.
Use Wan 2.2 5B Image to Video to animate the product still in this project's assets. Create a five-second 720p shot at 24 fps with a slow push-in and restrained movement. Keep the prompt focused on motion.
Use Wan 2.2 5B Image to Video to animate the landscape artwork in this project. Make a five-second 720p clip at 24 fps with drifting clouds and gently swaying foliage. Request a fixed camera and save the video with the other scene assets.
Animate the image I attach with Wan 2.2 5B 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.2 5B Image to Video.
Bring this portrait to life with Wan 2.2 5B Image to Video: a subtle smile and a blink.
How to set up Wan 2.2 5B Image to Video in Muse Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Install Muse Code
curl -fsSL https://dev.meta.ai/install.sh | bash
- Ask Muse to add the server
Start muse and ask:
Add the Spiral MCP server at https://api.spiral.ai/mcp
- Sign in
In your terminal, run:
muse mcp login spiral
Use the Spiral skill
- Send Muse Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Wan 2.2 5B Image to Video
One request; the result comes back by polling or a webhook.
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/wan/v2.2-5b/image-to-video", "input": { "image_url": "https://storage.googleapis.com/falserverless/model_tests/wan/dragon-warrior.jpg", "prompt": "The white dragon warrior stands still, eyes full of determination and strength. The camera slowly moves closer or circles around the warrior, highlighting the…" } }'
Then paste one of the prompts above: Muse Code finds Wan 2.2 5B Image to Video on Spiral, shows the price and runs it.
Wan 2.2 5B Image to Video providers and prices
Spiral runs Wan 2.2 5B Image to Video through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Wan 2.2 5B Image to Video works from your image URL and prompt. Ask Muse Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Number of frames | 17 to 161 | 81 | Number of frames to generate. Must be between 17 to 161 (inclusive). |
| Frames per second | 4 to 60 | 24 | Frames per second of the generated video. Must be between 4 to 60. When using interpolation and |
| Negative prompt | what to leave out, in words | Negative prompt for video generation. | |
| Seed | a whole number | Random seed for reproducibility. If None, a random seed is chosen. | |
| Resolution | 580p or 720p | 720p | Resolution of the generated video (580p or 720p). |
| Aspect ratio | auto, 16:9, 9:16, or 1:1 | auto | Aspect ratio of the generated video. If 'auto', the aspect ratio will be determined automatically based on the input image. |
| Number of inference steps | 2 to 50 | 40 | Number of inference steps for sampling. Higher values give better quality but take longer. |
| Enable prompt expansion | on or off | off | Whether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning. |
| Guidance scale | 1 to 10 | 3.5 | Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality. |
| Shift | 1 to 10 | 5 | Shift value for the video. Must be between 1.0 and 10.0. |
| Interpolator model | none, film, or rife | film | The model to use for frame interpolation. If None, no interpolation is applied. |
| Number of interpolated frames | 0 to 4 | 0 | Number of frames to interpolate between each pair of generated frames. Must be between 0 and 4. |
| Adjust FPS for interpolation | on or off | on | If true, the number of frames per second will be multiplied by the number of interpolated frames plus one. For example, if the generated frames per second is 16 and the number of interpolated frames is 1, the final frames per second will be 32. If false, the passed frames per second will be used as-is. |
| Video quality | low, medium, high, or maximum | high | The quality of the output video. Higher quality means better visual quality but larger file size. |
| Video write mode | fast, balanced, or small | balanced | The write mode of the output video. Faster write mode means faster results but larger file size, balanced write mode is a good compromise between speed and quality, and small write mode is the slowest but produces the smallest file size. |
Every API field of Wan v2.2 5B · Image to Video is on its tool page: open its card above.
What can you do with Wan 2.2 5B Image to Video in Muse Code?
Create short video assets for a site, prototype, or game with Wan 2.2 5B. A coding agent can turn project briefs into shot descriptions and place the generated clips where the project needs them.
B-roll for an explainer
Generate a short supporting shot, such as steam rising from a cup or wind moving through a field. Give each shot one clear action.
Motion studies for a storyboard
Preview a camera push-in, a subject crossing the frame, or a quiet reaction before committing to a finished sequence.
Product shot concepts
Test a product scene with a slow camera move and deliberate lighting. Use the clips to compare shot direction.
Website background footage
Create a short atmospheric shot with restrained movement, such as drifting clouds or rippling water, for use behind page content.
Illustrated story clips
Make a brief illustrated scene with one readable action, such as a character waving or a small boat crossing a pond.
Lighting and composition tests
Compare warm side lighting with cool overcast light, or a close-up with a wider composition, before choosing a shot direction.
Product photo animation
Start with a product photo and request a slow push-in or short camera arc. Keep the motion prompt focused on what should change.
Landscape still animation
Animate a landscape image with moving clouds, swaying grass, or gentle water movement while requesting a fixed camera.
More on Wan 2.2 5B Image to Video and Muse Code
Overview
Wan 2.2 5B Image to Video in other agents
Questions about Wan 2.2 5B Image to Video in Muse Code
Can Muse Code use Wan 2.2 5B Image to Video?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Wan 2.2 5B Image to Video like any built-in tool.
How much does Wan 2.2 5B Image to Video cost in Muse Code?
`resolution`: 580p $0.195, 720p (default) $0.195 per video. 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.2 5B Image to Video in Muse Code?
No. Spiral runs Wan 2.2 5B 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.2 5B 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.2 5B Image to Video runs?
Wan 2.2 5B 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 resolution does Wan 2.2 5B generate?
Wan 2.2 5B is documented at 720p and 24 fps. The maker's reference landscape and portrait dimensions are 1280 × 704 and 704 × 1280.
How long should I make a Wan 2.2 5B shot?
Five-second clips are documented for Wan 2.2 5B. Use that as a practical starting length, and build longer pieces from separately generated shots.
How do I write a useful Wan 2.2 5B prompt?
Describe the subject, setting, movement, lighting, framing, and visual style. Start with one clear action and one camera move so you can judge what needs changing.
What camera moves need extra care?
Wide orbits can distort the scene's spatial relationships. Start with a short arc or a simple push-in, then inspect the result before requesting a larger move.
Does stronger prompt guidance always improve the video?
Higher guidance can make the result follow your wording more closely, but it can also reduce visual quality. Treat it as a tradeoff and compare results before increasing it further.
Start using Wan 2.2 5B Image to Video in Muse Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Muse Code:
set up https://spiral.ai/SKILL.md


