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

Muse Code · VideoReleased 2025-07-28

How to Use Wan 2.2 A14B Text to Video in Muse Code

Create short cinematic shots from written scene descriptions, with guidance tuning when prompt adherence needs attention. Unlike Wan 2.2 A14B Image to Video, it creates the starting scene from text.

Prompts to try with Wan 2.2 A14B Text to Video in Muse Code

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

Read the landing page brief in this project and use Wan 2.2 A14B Text to Video to create a 720p background shot: a paper sailboat drifting across a dark pond, fixed camera, soft dawn light. Generate 81 frames at 16 frames per second and save the result with the project’s media assets.

Wan 2.2 A14B Text to VideoMuse Code
Try asking
  • Estimate, then generate a 5-second 9:16 clip with Wan 2.2 A14B 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.2 A14B 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.2 A14B 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.2 A14B Text to Video.

How to set up Wan 2.2 A14B 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.2 A14B 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": "fal-ai/wan/v2.2-a14b/text-to-video",
        "input": {
          "prompt": "A close-up of a young woman smiling gently in the rain, raindrops glistening on her face and eyelashes. The video captures the delicate details of her…"
        }
      }'

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

Wan 2.2 A14B Text to Video providers and prices

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

falVideo
Wan-2.2 A14B · Text to Video
fal-ai/wan/v2.2-a14b/text-to-video

Settings you can ask for

Wan 2.2 A14B Text to Video works from your prompt. Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Negative promptwhat to leave out, in words

Negative prompt for video generation.

Number of frames17 to 16181

Number of frames to generate. Must be between 17 to 161 (inclusive).

Frames per second4 to 6016

Frames per second of the generated video. Must be between 4 to 60. When using interpolation and adjust_fps_for_interpolation is set to true (default true,) the final FPS will be multiplied by the number of interpolated frames plus one. For example, if the generated frames per second is 16 and the number of interpolated frames is 1, the final frames per second will be 32. If adjust_fps_for_interpolation is set to false, this value will be used as-is.

Seeda whole number

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

Resolution480p, 580p, or 720p720p

Resolution of the generated video (480p, 580p, or 720p).

Aspect ratio16:9, 9:16, or 1:116:9

Aspect ratio of the generated video (16:9 or 9:16).

Number of inference steps2 to 4027

Number of inference steps for sampling. Higher values give better quality but take longer.

Enable prompt expansionon or offoff

Whether to enable prompt expansion. This will use a large language model to expand the prompt with additional details while maintaining the original meaning.

Accelerationnone or regularregular

Acceleration level to use. The more acceleration, the faster the generation, but with lower quality. The recommended value is 'regular'.

Guidance scale (1st stage)1 to 103.5

Classifier-free guidance scale. Higher values give better adherence to the prompt but may decrease quality.

Guidance scale (2nd stage)1 to 104

Guidance scale for the second stage of the model. This is used to control the adherence to the prompt in the second stage of the model.

Shift1 to 105

Shift value for the video. Must be between 1.0 and 10.0.

Interpolator modelnone, film, or rifefilm

The model to use for frame interpolation. If None, no interpolation is applied.

Number of interpolated frames0 to 41

Number of frames to interpolate between each pair of generated frames. Must be between 0 and 4.

Adjust FPS for interpolationon or offon

If true, the number of frames per second will be multiplied by the number of interpolated frames plus one. For example, if the generated frames per second is 16 and the number of interpolated frames is 1, the final frames per second will be 32. If false, the passed frames per second will be used as-is.

Video qualitylow, medium, high, or maximumhigh

The quality of the output video. Higher quality means better visual quality but larger file size.

Video write modefast, balanced, or smallbalanced

The write mode of the output video. Faster write mode means faster results but larger file size, balanced write mode is a good compromise between speed and quality, and small write mode is the slowest but produces the smallest file size.

Every API field of Wan-2.2 A14B · Text to Video is on its tool page: open its card above.

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

Create cinematic assets for a project directly from its creative brief. A coding agent can turn the brief into shot prompts, organize candidate clips, and prepare the selected take for the interface.

Advertising shot concepts

Draft a product-focused shot with deliberate framing, a clear action, and a specified light source. Compare the visual direction before committing to a full production.

Film shot previsualization

Test how a single story beat reads with a particular camera angle, movement, and color palette. Use the result to discuss the shot with an editor or director.

Atmospheric inserts

Create short inserts such as drifting fog, rain on a window, or wind moving through grass. Specify restrained motion and a fixed camera when the environment should carry the shot.

Lighting and color studies

Explore a scene under warm window light, cool overcast light, or hard side lighting. Change one visual instruction per take to make the comparison useful.

Scenes without starting artwork

Turn a written brief into a visual scene, such as a deserted observatory at dawn or a train crossing a snowy plain. Describe the setting and composition before adding camera movement.

Questions about Wan 2.2 A14B Text to Video in Muse Code

Can Muse Code use Wan 2.2 A14B Text to Video?

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

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

`resolution`: 480p $0.052, 580p $0.078, 720p (default) $0.104 per 16 seconds. Billed on `num_frames`, default 81. 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 A14B Text to Video in Muse Code?

No. Spiral runs Wan 2.2 A14B 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.2 A14B 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.2 A14B Text to Video runs?

Wan 2.2 A14B 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.2 A14B useful for?

Use it for short visual shots where lighting, composition, and color matter: advertising concepts, atmospheric inserts, and film previsualization. Give those choices explicitly in the prompt.

How should I write a Wan 2.2 prompt?

Describe the subject, setting, and action, then add the framing, camera movement, and lighting. For a first test, keep the request to one clear shot.

Can Wan 2.2 A14B generate native 4K video?

These models output up to 720p. Writing “4K” in the prompt does not change that ceiling; upscale the finished clip separately if you need a larger deliverable.

Does Wan 2.2 A14B generate sound or spoken dialogue?

Plan to add dialogue, music, and sound effects separately. Native synchronized audio arrived with Wan 2.5.

When should I use prompt expansion?

Try it when your description is brief and you want additional visual detail. Leave it off when testing an exact shot description so you can judge your wording directly.

Get started

Start using Wan 2.2 A14B 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