How to Use Wan 2.2 5B Text to Image in Muse Code
Wan 2.2 5B Text to Image creates photorealistic still images from written descriptions, with an emphasis on fine visual detail. Use it for scene concepts and photographic compositions where lighting and texture matter.
Prompts to try with Wan 2.2 5B Text to Image in Muse Code
Copy an example into Muse Code, or ask in your own words.
Read the homepage copy and design notes in this project. Use Wan 2.2 5B Text to Image to create a 1280 by 720 photographic hero concept that reflects the main subject, with the subject on the right and open space on the left for the headline.
Read the product brief in this project. Use Wan 2.2 5B Text to Image to create a photographic tabletop concept of the described object, specifying its materials, a matte background, and soft side lighting. Treat it as a shoot concept.
Read the latest article draft in this project and propose one concrete photographic scene for it. Use Wan 2.2 5B Text to Image to generate that scene at 1280 by 720, with natural light and a clear focal subject.
Use the room description in this project's design brief to create an interior concept with Wan 2.2 5B Text to Image. Describe the viewpoint, furniture materials, wall finish, and direction of daylight before generating it.
Use Wan 2.2 5B Text to Image to create two photographic concepts for this project's repair article: a worn wooden workbench with metal tools and a ceramic lamp under repair. Keep the scene description and 40 sampling steps unchanged; increase guidance slightly for the second image and compare prompt adherence and visible quality.
How to set up Wan 2.2 5B Text 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.2 5B Text 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": "fal-ai/wan/v2.2-5b/text-to-image", "input": { "prompt": "In this breathtaking wildlife documentary, we are drawn into an intimate close-up of a majestic lion'\''s face, framed against the backdrop of a vast African…" } }'
Then paste one of the prompts above: Muse Code finds Wan 2.2 5B Text to Image on Spiral, shows the price and runs it.
Wan 2.2 5B Text to Image providers and prices
Spiral runs Wan 2.2 5B Text to Image through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Wan 2.2 5B Text to Image works from your prompt. Ask Muse Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| 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. | |
| 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 | 2 | Shift value for the image. Must be between 1.0 and 10.0. |
| Image format | png or jpeg | jpeg | The format of the output image. |
Every API field of Wan 5B · Text to Image is on its tool page: open its card above.
What can you do with Wan 2.2 5B Text to Image in Muse Code?
Create photographic assets from the project's written content and design requirements. Translate those requirements into specific subjects, framing, lighting, and texture before generating images.
Website hero photography concepts
Generate a photographic scene from a written brief, specifying the subject placement and leaving space for a headline added during design.
Product photography planning
Explore a proposed tabletop shoot through text descriptions of an unbranded object, its materials, the backdrop, and the lighting.
Editorial image concepts
Turn an article's theme into a photographic scene, such as a crowded workbench for a story about repair or reuse.
Interior design mood studies
Explore imagined rooms by describing furniture, finishes, daylight direction, and the viewpoint.
Food photography concepts
Plan a food scene with specific ingredients, ceramic textures, table surfaces, and window light.
Film preproduction stills
Describe one proposed shot to explore its framing, location, lighting, and color before a shoot.
More on Wan 2.2 5B Text to Image and Muse Code
Overview
Wan 2.2 5B Text to Image in other agents
Questions about Wan 2.2 5B Text to Image in Muse Code
Can Muse Code use Wan 2.2 5B Text to Image?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Wan 2.2 5B Text to Image like any built-in tool.
How much does Wan 2.2 5B Text to Image cost in Muse Code?
$0.0208 per image. 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 Text to Image in Muse Code?
No. Spiral runs Wan 2.2 5B Text 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.2 5B Text 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.2 5B Text to Image runs?
Wan 2.2 5B Text 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.2 5B Text to Image good for?
Its documented focus is photorealistic imagery with fine visual detail. Consider it for photographic scene concepts where materials, lighting, and composition carry the idea.
Does Wan 2.2 5B Text to Image make videos?
It generates still images from text. Write the prompt around the frame you want to see.
How should I write a photographic prompt?
Describe the subject, framing, setting, light, and visible textures. The published example uses a lion close-up with specific fur detail and dawn lighting.
Will stronger guidance always improve the image?
Higher guidance can improve adherence to your description, but the documentation warns that quality may decrease. Try a small increase when an important detail is missing, then compare the results.
Is it worth using more sampling steps?
The documentation says higher step counts improve quality while taking longer, and gives 40 as the default. Compare results on your actual scene before choosing a higher count.
Start using Wan 2.2 5B Text 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


