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

Claude Code · VideoReleased 2025-08-04

How to Use Wan 2.2 FastWan 5B Text to Video in Claude Code

Use Wan 2.2 FastWan 5B Text to Video for short scene concepts, camera studies, and B-roll from written descriptions. Compared with Wan 2.2 TI2V-5B, it uses distillation to reduce generation steps, with a documented five-second, 720p target.

Prompts to try with Wan 2.2 FastWan 5B Text to Video in Claude Code

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

Read the homepage brief in this project, then use Wan 2.2 FastWan 5B Text to Video to create a five-second 720p background concept at 24 frames per second. Describe one subject, gentle movement, soft lighting, and a fixed camera.

Wan 2.2 FastWan 5B Text to VideoClaude Code
Try asking
  • Use Wan 2.2 FastWan 5B Text to Video to turn the opening beat in our storyboard into a five-second 720p motion sketch. Include the subject, setting, action, framing, and one camera direction.

  • Read our campaign brief and use Wan 2.2 FastWan 5B Text to Video to generate three five-second 720p lighting studies. Keep the seed, subject, action, and camera fixed; change only the light source.

  • Use Wan 2.2 FastWan 5B Text to Video to create a five-second 720p scene of wind moving through tall grass for this project's landing page. Use a low camera angle and soft morning light, then place the result in the project's media folder.

  • From the shot description in our creative brief, use Wan 2.2 FastWan 5B Text to Video to compare the current guidance setting with a small increase. Keep the seed and five-second 720p output settings fixed, and prepare both results for visual review.

How to set up Wan 2.2 FastWan 5B Text to Video in Claude Code

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

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude 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 FastWan 5B 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-5b/text-to-video/fast-wan",
        "input": {
          "prompt": "A medium shot establishes a modern, minimalist office setting: clean lines, muted grey walls, and polished wood surfaces. The focus shifts to a close-up on a…"
        }
      }'

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

Wan 2.2 FastWan 5B Text to Video providers and prices

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

falVideo
Wan FastWan 5B · Text to Video
fal-ai/wan/v2.2-5b/text-to-video/fast-wan

Settings you can ask for

Wan 2.2 FastWan 5B Text to Video works from your prompt. Ask Claude 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 6024

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 (580p or 720p).

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

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

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.

Guidance scale1 to 103.5

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

Interpolator modelnone, film, or rifefilm

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

Number of interpolated frames0 to 40

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 FastWan 5B · Text to Video is on its tool page: open its card above.

What can you do with Wan 2.2 FastWan 5B Text to Video in Claude Code?

Turn project briefs and storyboard notes into short motion concepts with Wan 2.2 FastWan 5B. Use the agent to translate written requirements into specific shots and organize the results for review.

B-roll for an explainer

Generate a short shot of steam rising from a cup, rain hitting a window, or leaves moving in the wind. Describe the movement and framing before adding it to an edit.

Camera movement studies

Try a static composition, a slow push, and a lateral tracking shot of the same described scene. Review the clips before choosing a direction for production.

Lighting tests

Explore how a scene reads under soft window light, strong backlight, or an overhead lamp. Keep the subject and action consistent across the tests.

Storyboard motion sketches

Turn a written storyboard beat into a short moving concept. Give each beat its own subject, setting, action, and camera description.

Website background concepts

Create restrained motion studies such as drifting clouds or gently moving foliage. Review the result in the layout before selecting a background.

Social video inserts

Create one short visual beat for a larger social edit, such as a bicycle passing through a sunlit street. Add titles and other editorial elements afterward.

Fictional product scene concepts

Describe an unbranded object, its surroundings, and a small movement to explore an advertising idea. Use the clip to assess composition and mood.

Questions about Wan 2.2 FastWan 5B Text to Video in Claude Code

Can Claude Code use Wan 2.2 FastWan 5B Text to Video?

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

How much does Wan 2.2 FastWan 5B Text to Video cost in Claude Code?

`resolution`: 480p $0.01625, 580p $0.024375, 720p (default) $0.0325 per video. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.

Do I need a fal account to use Wan 2.2 FastWan 5B Text to Video in Claude Code?

No. Spiral runs Wan 2.2 FastWan 5B 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 FastWan 5B Text to Video in Claude Code?

About two minutes: add the hosted server, then sign in.

Does Claude Code wait while Wan 2.2 FastWan 5B Text to Video runs?

Wan 2.2 FastWan 5B Text to Video runs in the background. Claude Code starts the run, checks on it and gives you the video when it's ready.

What is Wan 2.2 FastWan 5B useful for?

Try it for short scene concepts, B-roll, and camera or lighting studies from text. Its distilled design makes it a practical choice for exploring several treatments of one shot.

How long should I make a clip?

Plan around the documented five-second target at 24 frames per second. For a longer sequence, generate individual shots and assemble them afterward.

What resolution should I start with?

Start with 720p. The maker documents training at 1280 by 704 pixels and warns that other output sizes may reduce quality.

How should I write a Wan 2.2 FastWan 5B prompt?

Describe the subject, setting, and visible movement, then add framing, lighting, and a camera direction. For example, ask for a close-up of a ceramic cup with rising steam, soft window light, and a slow camera push.

Will higher guidance always improve the result?

Higher guidance can make the video follow your description more closely, but it can also reduce visual quality. Compare a small increase against your original result before raising it further.

Get started

Start using Wan 2.2 FastWan 5B Text to Video in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

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