Spiral gives your agent every tool with one account. Browse the tools →

Muse Code · VideoReleased 2025-12-03

How to Use Wan 2.6 Text to Video in Muse Code

Wan 2.6 Text to Video creates scenes from a written brief, including synchronized sound and multiple shots. Unlike Wan 2.6 Image to Video, it needs no starting image and can build a narrative up to 15 seconds long.

Prompts to try with Wan 2.6 Text to Video in Muse Code

Copy an example into Muse Code, or ask in your own words.

Read the creative brief in this project and use Wan 2.6 Text to Video to make a 10-second storyboard at 720p. Show a baker opening a shop, then a close-up of bread reaching the counter. Enable multiple shots and prompt expansion.

Wan 2.6 Text to VideoMuse Code
Try asking
  • Estimate, then generate a 5-second 9:16 clip with Wan 2.6 Text to Video: a paper boat drifting down a rainy street. Save the result in ./assets.

  • Make a 10-second product teaser with Wan 2.6 Text to Video for a smartwatch, slow orbit shot, studio lighting.

  • Generate three 5-second b-roll clips of a busy coffee shop with Wan 2.6 Text to Video and list what each cost.

  • Make a 6-second 16:9 drone shot over a misty pine forest at sunrise with Wan 2.6 Text to Video.

How to set up Wan 2.6 Text to Video in Muse Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    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.

    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 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": "wan/v2.6/text-to-video",
        "input": {
          "prompt": "Humorous but premium mini-trailer: a tiny fox 3D director proves \"multi-scene\" by calling simple commands that instantly change the set. Extreme photoreal 4K,…"
        }
      }'

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

Wan 2.6 Text to Video providers and prices

Spiral runs Wan 2.6 Text to Video through fal. Open a card for today's price, with every fee included.

falVideo
Wan v2.6 Text to Video
wan/v2.6/text-to-video

Settings you can ask for

Wan 2.6 Text to Video works from your prompt and audio URL. Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Aspect ratio16:9, 9:16, 1:1, 4:3, or 3:416:9

The aspect ratio of the generated video. Wan 2.6 supports additional ratios.

Resolution720p or 1080p1080p

Video resolution tier. Wan 2.6 T2V only supports 720p and 1080p (no 480p).

Duration5, 10, or 155

Duration of the generated video in seconds. Choose between 5, 10, or 15 seconds.

Negative promptwhat to leave out, in words

Negative prompt to describe content to avoid. Max 500 characters.

Enable prompt expansionon or offon

Whether to enable prompt rewriting using LLM. Improves results for short prompts but increases processing time.

Multi shotson or offon

When true, enables intelligent multi-shot segmentation for coherent narrative videos. Only active when enable_prompt_expansion is True. Set to false for single-shot generation.

Seeda whole number

Random seed for reproducibility. If None, a random seed is chosen.

Every API field of Wan v2.6 Text to Video is on its tool page: open its card above.

What can you do with Wan 2.6 Text to Video in Muse Code?

Turn a project's creative brief into short video assets and filmed storyboards with Wan 2.6. A coding agent can read the project's visual direction, prepare shot descriptions, and organize clips for review.

Product teasers

Create a 10-second scene showing a ceramic mug in use: steam rises, a hand lifts it, and the camera moves closer. Build from a written concept or suitable visual references.

Filmed storyboards

Test a two-shot scene before a shoot, such as a wide view of a workshop followed by a close-up of the maker. Use it to judge framing, pacing, and the transition.

Short dialogue scenes

Stage a brief exchange between two characters, with one short line per speaker. Specify who speaks, their delivery, and the action that accompanies the words.

Social video scenes

Make a single visual moment for a social post, such as a baker opening an oven or a gardener finding the first ripe tomato. Give the scene one clear action and matching sound.

Ambient cutaways

Generate short inserts for an edited video: rain on a window, a dog resting beside a fireplace, or a kettle beginning to steam. Specify a restrained camera move and the sounds in the scene.

Character comedy

Build a short joke around an animal or illustrated character, such as a rabbit presenting an oversized carrot. Use a simple setup and one visible reaction.

Questions about Wan 2.6 Text to Video in Muse Code

Can Muse Code use Wan 2.6 Text to Video?

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

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

`resolution`: 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 Muse Code plan is separate.

Do I need a fal account to use Wan 2.6 Text to Video in Muse Code?

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

Wan 2.6 Text to Video runs in the background. Muse Code starts the run, checks on it and gives you the video when it's ready.

What is Wan 2.6 good at?

Wan 2.6 is useful for short scenes that combine character action, sound, and changes in camera framing. Good starting projects include product teasers, dialogue scenes, and filmed storyboards.

Can Wan 2.6 create several shots in one clip?

Yes. Write an overall scene description, then number the shots and give each a time range. Enable multiple shots and prompt expansion together so the shot setting can take effect.

Can Wan 2.6 generate speech and other sound?

Yes. Describe the spoken line, delivery, background sound, and music you want alongside the visual action. Keep the script short enough to fit the scene.

How should I write a Wan 2.6 prompt?

Describe the subject, setting, action, lighting, camera framing, and visual style. For several shots, give each shot a clear action and a place on the timeline.

What output should I plan around?

A 5- or 10-second scene at 720p or 1080p works across Wan 2.6. The documented output format is MP4 at 30 frames per second.

Get started

Start using Wan 2.6 Text 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 Muse Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options