How to Use Wan 2.6 Image to Image in Muse Code
Wan 2.6 Image to Image edits photos, transfers styles, and combines reference images into a new composition. Choose it over Wan 2.6 Text to Image when preserving a subject or combining several references matters.
Prompts to try with Wan 2.6 Image to Image in Muse Code
Copy an example into Muse Code, or ask in your own words.
Use Wan 2.6 Image to Image with the project's product photo as image 1. Place the same ceramic mug on a walnut desk in soft morning window light, preserve its shape and handle, and save a 1280 by 720 pixel result for the product page.
Use Wan 2.6 Image to Image with the project's character reference as image 1 and landscape reference as image 2. Place the character in that landscape, retain the character's clothing and facial features, and create a 1280 by 720 pixel scene.
Use Wan 2.6 Image to Image with the project's illustration as image 1. Rework it as black ink on white paper while preserving the composition; disable prompt expansion for this detailed edit and save a 1024 by 1024 pixel result.
Generate a product photo with Wan 2.6 Image to Image: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first. Save the result in ./assets.
Make four logo concepts for a coffee brand called "Northline" with Wan 2.6 Image to Image.
How to set up Wan 2.6 Image to Image 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.6 Image to Image
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": "wan/v2.6/image-to-image", "input": { "prompt": "Place the wizard from image 2 in the ancient library from image 3, holding and studying the magical crystal orb from image 1. The orb'\''s glow illuminates his…", "image_urls": [ "<image_urls>" ] } }'
Then paste one of the prompts above: Muse Code finds Wan 2.6 Image to Image on Spiral, shows the price and runs it.
Wan 2.6 Image to Image providers and prices
Spiral runs Wan 2.6 Image to Image through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Wan 2.6 Image to Image works from your prompt and image URLs. Ask Muse Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Negative prompt | what to leave out, in words | Content to avoid in the generated image. Max 500 characters. | |
| Number of images | 1 to 4 | 1 | Number of images to generate (1-4). Directly affects billing cost. |
| Enable prompt expansion | on or off | on | Enable LLM prompt optimization. Significantly improves results for simple prompts but adds 3-4 seconds processing time. |
| Seed | a whole number | Random seed for reproducibility (0-2147483647). Same seed produces more consistent results. |
Every API field of Wan v2.6 Image to Image is on its tool page: open its card above.
What can you do with Wan 2.6 Image to Image in Muse Code?
Create image assets that follow a project's art direction, framing, and lighting requirements. A coding agent can turn a design brief into image prompts and place the resulting assets in the interface.
Product lifestyle scenes
Use a product photo as the subject reference and request a new setting, such as a desk, kitchen counter, or outdoor table. Specify the product details to preserve and the lighting to change.
Compositions from several references
Combine a subject, setting, and visual style from separate images. Give each reference a clear role so the requested composition is easy to follow.
Portrait art direction
Start with a portrait and explore a different wardrobe, background, or lighting treatment while requesting consistent facial features.
Illustration style studies
Explore watercolor, ink, or photographic treatments for the same scene. Supply a style reference and keep the subject description and framing consistent between attempts.
Editorial cover imagery
Create an image for an article or newsletter, using a reference to guide the visual treatment. Specify where the main subject belongs and reserve open space for a headline added later.
Packaging mood boards
Explore materials, colors, lighting, and settings around a packaging concept. Use a visual reference for art direction and treat the result as a design study.
Seasonal social imagery
Develop seasonal compositions around a supplied style reference. Keep the palette and camera angle consistent while changing props, weather, or time of day.
More on Wan 2.6 Image to Image and Muse Code
Overview
Wan 2.6 Image to Image in other agents
Questions about Wan 2.6 Image to Image in Muse Code
Can Muse Code use Wan 2.6 Image to Image?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Wan 2.6 Image to Image like any built-in tool.
How much does Wan 2.6 Image to Image cost in Muse Code?
$0.039 per image. Billed on `num_images`, default 1. 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 Image in Muse Code?
No. Spiral runs Wan 2.6 Image to Image 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 Image 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 Image runs?
Wan 2.6 Image to Image runs in the background. Muse Code starts the run, checks on it and gives you the image when it's ready.
What is Wan 2.6 good at?
Wan 2.6 is useful for exploring visual styles and directing composition, camera angle, and lighting. Product scenes, editorial illustrations, and art direction studies are practical uses.
How should I write a Wan 2.6 image prompt?
Describe the subject, setting, and style first, then add the camera angle, lighting, and details that matter. For example, specify a ceramic cup on a wooden table, photographed from above in soft window light.
Can I prompt Wan 2.6 in English or Chinese?
Yes, both languages are supported. Keep the image description within 2,000 characters.
What image dimensions should I use?
A 1280 by 1280 pixel square is a practical choice. For wider or taller compositions, 1280 by 720 or 720 by 1280 pixels also fit the documented output limits.
Does a fixed seed guarantee an identical image?
No. Alibaba says results can vary even with the same seed, so save an approved image instead of relying on regeneration to reproduce it exactly.
Start using Wan 2.6 Image to Image 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


