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

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

Wan 2.6 Text to Image creates illustrations and scene concepts from a written description, with an optional image for style guidance. Unlike Wan 2.6 Image to Image, it can start without a reference image.

|  |  |
| --- | --- |
| Model | Wan 2.6 Text to Image |
| Available through | fal |
| Category | Image |
| Price | $0.039 per image. |
| Returns | image |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

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

- Read the homepage brief in this project. Use Wan 2.6 Text to Image to create a 1280 by 720 pixel editorial image of a coastal observatory at dusk, with the building on the right and open sky on the left for the headline.
- Use Wan 2.6 Text to Image to create a 1024 by 1024 pixel watercolor illustration of a small greenhouse after rain. Match the palette described in the project's design brief, use an eye-level view, and save the result with the other article images.
- Generate a product photo with Wan 2.6 Text 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 Text to Image.
- Create a 16:9 hero image of a quiet mountain cabin at dusk with Wan 2.6 Text to Image.

## How to set up Wan 2.6 Text to Image 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 Text to Image**: 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/text-to-image",
    "input": {
      "prompt": "An ancient library floating among clouds, golden hour light streaming through massive windows, photorealistic"
    }
  }'
```

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

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

## Wan 2.6 Text to Image tools and prices

- [Wan v2.6 Text to Image](https://spiral.ai/tools/fal/wan/v2.6/text-to-image) (fal): $0.039 per image.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| image_url |  | — | Optional reference image (0 or 1). When provided, can be used for style guidance. Resolution: 384-5000px each dimension. Max size: 10MB. Formats: JPEG, JPG, PNG (no alpha), BMP, WEBP. |
| negative_prompt |  |  | Content to avoid in the generated image. Max 500 characters. |
| image_size |  | — | Output image size. If not set: matches input image size (up to 1280*1280). Use presets like 'square_hd', 'landscape_16_9', or specify exact dimensions. |
| max_images | 1 to 5 | 1 | Maximum number of images to generate (1-5). Actual count may be less depending on model inference. |
| seed |  | — | Random seed for reproducibility (0-2147483647). |

## What can you do with Wan 2.6 Text 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.

### 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.

### Scene concepts from a written brief

Create an environment or illustration without preparing a reference image. Describe the subject, setting, art style, camera position, and lighting.

## Overview

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

## Wan 2.6 Text to Image in other agents

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

## More Muse Code guides

- [Wan 2.6 Image to Image](https://spiral.ai/integrations/muse-code/wan-2-6-image-to-image)
- [Wan 2.7 Image to Image](https://spiral.ai/integrations/muse-code/wan-2-7-image-to-image)
- [Wan 2.5 Text to Image](https://spiral.ai/integrations/muse-code/wan-2-5-text-to-image)
- [Wan 2.7 Pro Edit](https://spiral.ai/integrations/muse-code/wan-2-7-pro-edit)
- [Wan 2.5 Image to Image](https://spiral.ai/integrations/muse-code/wan-2-5-image-to-image)
- [Wan 2.7 Pro Text to Image](https://spiral.ai/integrations/muse-code/wan-2-7-pro-text-to-image)

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

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

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

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

$0.039 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.6 Text to Image in Muse Code?**

No. Spiral runs Wan 2.6 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.6 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.6 Text to Image runs?**

Wan 2.6 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.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.

