How to Use Wan 2.5 Image to Video in Codex
Wan 2.5 Image to Video animates a starting image with motion and generated sound. Unlike Wan 2.5 Text to Video, the image establishes the subject, scene, and style, so your prompt can focus on movement.
Prompts to try with Wan 2.5 Image to Video in Codex
Copy an example into Codex, or ask in your own words.
Use Wan 2.5 Image to Video with the product still in this project's assets to create a 5-second 1080p teaser. Request a slow push toward the product, soft window light, and quiet room ambience.
Use Wan 2.5 Image to Video to animate the opening storyboard panel in this project for 5 seconds at 720p. Focus the prompt on the main subject's movement and a fixed camera, with matching ambient sound.
Animate the image I attach with Wan 2.5 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.5 Image to Video.
Bring this portrait to life with Wan 2.5 Image to Video: a subtle smile and a blink.
How to set up Wan 2.5 Image to Video in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex 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.5 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-25-preview/image-to-video", "input": { "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…", "image_url": "https://storage.googleapis.com/falserverless/model_tests/wan/dragon-warrior.jpg" } }'
Then paste one of the prompts above: Codex finds Wan 2.5 Image to Video on Spiral, shows the price and runs it.
Wan 2.5 Image to Video providers and prices
Spiral runs Wan 2.5 Image to Video through fal. Open a card for today's price, with every fee included.
resolution: 480p $0.065, 720p $0.13, 1080p (default) $0.195 per second. Billed on duration, default 5.
Settings you can ask for
Wan 2.5 Image to Video works from your prompt, image URL, and audio URL. Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Resolution | 480p, 720p, or 1080p | 1080p | Video resolution. Valid values: 480p, 720p, 1080p |
| Duration | 5 or 10 | 5 | Duration of the generated video in seconds. Choose between 5 or 10 seconds. |
| Negative prompt | what to leave out, in words | Negative prompt to describe content to avoid. Max 500 characters. | |
| Enable prompt expansion | on or off | on | Whether to enable prompt rewriting using LLM. |
| Seed | a whole number | Random seed for reproducibility. If None, a random seed is chosen. |
Every API field of Wan 2.5 Image to Video is on its tool page: open its card above.
What can you do with Wan 2.5 Image to Video in Codex?
Create short video assets while working on a website, app presentation, or campaign in your project. A coding agent can turn the creative brief into Wan 2.5 scenes and organize the results for review.
Product teaser concepts
Stage a brief product scene from a written concept or animate a product still. Try a slow camera move with a matching sound, such as coffee pouring beside a mug.
Storyboard motion tests
Test a scene description or bring a storyboard panel into motion. Use a short clip to judge framing, movement, and atmosphere before developing the next scene.
Sound and action studies
Explore a visible action with matching audio, such as footsteps in snow or rain hitting a window. Build the scene from text or start from an image that already contains the subject.
Short social explainers
Show one action, such as a seedling bending toward sunlight or a kettle releasing steam. Start with a written scene or a prepared illustration and keep the explanation within one clip.
Atmosphere shots
Create a brief café, woodland, or rainy street scene with matching ambient sound. Describe the setting from scratch or animate an existing view.
Illustration animation
Animate an existing drawing with a small gesture, moving fabric, or drifting clouds. Let the image establish the appearance and use the prompt to direct motion.
Campaign mood studies
Explore how lighting, camera position, movement, and music change a campaign's mood. Use written concepts or approved stills as the starting point for separate short clips.
More on Wan 2.5 Image to Video and Codex
Overview
Wan 2.5 Image to Video in other agents
Questions about Wan 2.5 Image to Video in Codex
Can Codex use Wan 2.5 Image to Video?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Wan 2.5 Image to Video like any built-in tool.
How much does Wan 2.5 Image to Video cost in Codex?
`resolution`: 480p $0.065, 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 Codex plan is separate.
Do I need a fal account to use Wan 2.5 Image to Video in Codex?
No. Spiral runs Wan 2.5 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.5 Image to Video in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while Wan 2.5 Image to Video runs?
Wan 2.5 Image to Video runs in the background. Codex starts the run, checks on it and gives you the video when it's ready.
What is Wan 2.5 useful for?
Use Wan 2.5 for short product teasers, scene concepts, animated illustrations, and atmosphere shots where sound helps explain the action. Give each clip one clear purpose, such as showing steam rise or introducing a character.
How long can a Wan 2.5 video be?
Each generation lasts 5 or 10 seconds, with output up to 1080p. For a longer piece, plan several short clips and edit them together.
Does Wan 2.5 generate sound?
Yes. Wan 2.5 can generate vocals, music, and sound effects alongside the visuals, so describe what the viewer should hear as well as see.
Which languages can I use for prompts?
Wan 2.5 accepts Chinese and English prompts. Alibaba documents a limit of 1,500 characters, so put the essential subject, action, and sound instructions first.
When does prompt expansion help?
Prompt expansion can help when your description is short or underspecified. For a carefully written scene, try it both ways and compare whether the added details match your intent.
Start using Wan 2.5 Image to Video in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


