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

Gemini · VideoReleased 2025-07-28

How to Use Wan 2.2 5B Text to Video in Gemini

Wan 2.2 5B Text to Video creates short scenes from written descriptions, useful for B-roll and testing shot ideas. Unlike Wan 2.2 5B Image to Video, it starts from text alone, so describe the subject, setting, action, and camera.

Prompts to try with Wan 2.2 5B Text to Video in Gemini

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

Use Wan 2.2 5B Text to Video to make a five-second 720p shot at 24 frames per second: a red sailboat moving slowly across a quiet lake at sunrise. Use a wide view and a fixed camera.

Wan 2.2 5B Text to VideoGemini
Try asking
  • Use Wan 2.2 5B Text to Video to create a five-second 720p illustrated scene at 24 frames per second. A small fox raises its head beside a woodland stream. Use soft daylight, a medium view, and a fixed camera.

  • Use Wan 2.2 5B Text to Video to create two five-second 720p shots at 24 frames per second of steam rising from a white cup. Keep the close-up framing and fixed camera the same. Compare warm side lighting with cool window light.

  • Estimate, then generate a 5-second 9:16 clip with Wan 2.2 5B Text to Video: a paper boat drifting down a rainy street.

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

How to set up Wan 2.2 5B Text to Video in Gemini

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

Use the Gemini connector

  1. Open Connected Apps

    On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

  2. Add Spiral as a custom app

    Under Custom apps, click Add a custom app and paste this MCP server URL:

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Gemini 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 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",
        "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: Gemini finds Wan 2.2 5B Text to Video on Spiral, shows the price and runs it.

Wan 2.2 5B Text to Video providers and prices

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

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

Settings you can ask for

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

Resolution580p 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).

Number of inference steps2 to 5040

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.

Guidance scale1 to 103.5

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

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

What can you do with Wan 2.2 5B Text to Video in Gemini?

Turn a visual idea into a short scene preview with Wan 2.2 5B. A chat agent can help specify the action, lighting, and camera movement, then generate a clip for you to review.

B-roll for an explainer

Generate a short supporting shot, such as steam rising from a cup or wind moving through a field. Give each shot one clear action.

Motion studies for a storyboard

Preview a camera push-in, a subject crossing the frame, or a quiet reaction before committing to a finished sequence.

Product shot concepts

Test a product scene with a slow camera move and deliberate lighting. Use the clips to compare shot direction.

Website background footage

Create a short atmospheric shot with restrained movement, such as drifting clouds or rippling water, for use behind page content.

Illustrated story clips

Make a brief illustrated scene with one readable action, such as a character waving or a small boat crossing a pond.

Lighting and composition tests

Compare warm side lighting with cool overcast light, or a close-up with a wider composition, before choosing a shot direction.

Questions about Wan 2.2 5B Text to Video in Gemini

Can Gemini use Wan 2.2 5B Text to Video?

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

How much does Wan 2.2 5B Text to Video cost in Gemini?

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

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

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

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

Does Gemini wait while Wan 2.2 5B Text to Video runs?

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

What resolution does Wan 2.2 5B generate?

Wan 2.2 5B is documented at 720p and 24 fps. The maker's reference landscape and portrait dimensions are 1280 × 704 and 704 × 1280.

How long should I make a Wan 2.2 5B shot?

Five-second clips are documented for Wan 2.2 5B. Use that as a practical starting length, and build longer pieces from separately generated shots.

How do I write a useful Wan 2.2 5B prompt?

Describe the subject, setting, movement, lighting, framing, and visual style. Start with one clear action and one camera move so you can judge what needs changing.

What camera moves need extra care?

Wide orbits can distort the scene's spatial relationships. Start with a short arc or a simple push-in, then inspect the result before requesting a larger move.

Does stronger prompt guidance always improve the video?

Higher guidance can make the result follow your wording more closely, but it can also reduce visual quality. Treat it as a tradeoff and compare results before increasing it further.

Get started

Start using Wan 2.2 5B Text to Video in Gemini

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

Paste this into Gemini:

Set up Gemini

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