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

VS Code · VideoReleased 2025-08-26

How to Use Wan 2.2 S2V 14B in VS Code

Wan 2.2 S2V 14B turns a reference image and recorded speech or singing into an animated performance. Use it for expressive presenters and character scenes where prompts direct body movement and camera work.

Prompts to try with Wan 2.2 S2V 14B in VS Code

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

Use Wan 2.2 S2V 14B with assets/presenter.png and assets/welcome.wav to create a five-second welcome shot at 480p, using 80 frames at 16 fps. Request a half-body presenter who gives a small greeting gesture; save the result under previews/.

Wan 2.2 S2V 14BVS Code
Try asking
  • Use Wan 2.2 S2V 14B with the character image and five-second dialogue recording in assets/scene-one/. Generate a 720p medium shot with 80 frames at 16 fps: the character leans forward while speaking to someone off camera.

  • Use Wan 2.2 S2V 14B to make two 480p drafts from assets/host.png and the first five seconds of assets/intro.wav. Use 80 frames at 16 fps for each; compare a static camera with a slow move closer and save both takes.

  • Use Wan 2.2 S2V 14B with assets/singer.png and a five-second excerpt of assets/vocals.wav. Create a 720p performance with 80 frames at 16 fps, showing the singer gently swaying in a steady half-body shot.

  • Use Wan 2.2 S2V 14B with assets/speaker.png and assets/short-line.wav to compare guidance_scale 3.5 and 5. Keep the prompt, 480p resolution, 80 frames, and 16 fps identical; request a seated speaker making one small hand gesture.

How to set up Wan 2.2 S2V 14B in VS Code

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS 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 S2V 14B

    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-14b/speech-to-video",
        "input": {
          "prompt": "Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard.",
          "image_url": "https://storage.googleapis.com/falserverless/example_inputs/wan_s2v_cat.png",
          "audio_url": "https://storage.googleapis.com/falserverless/example_inputs/wan_s2v_talk.wav"
        }
      }'

Then paste one of the prompts above: VS Code finds Wan 2.2 S2V 14B on Spiral, shows the price and runs it.

Wan 2.2 S2V 14B providers and prices

Spiral runs Wan 2.2 S2V 14B through fal. Open a card for today's price, with every fee included.

falVideo
Wan-2.2 14B · Speech to Video
fal-ai/wan/v2.2-14b/speech-to-video

Settings you can ask for

Wan 2.2 S2V 14B works from your prompt, image URL, and audio URL. Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Negative promptwhat to leave out, in words

Negative prompt for video generation.

Number of frames40 to 12080

Number of frames to generate. Must be between 40 to 120, (must be multiple of 4).

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 720p480p

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

Number of inference steps2 to 4027

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

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.

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

What can you do with Wan 2.2 S2V 14B in VS Code?

Turn a project's character artwork and recorded lines into short presenter or dialogue shots. A coding agent can organize takes and compare camera directions for the same performance.

Presenter introductions

Animate a presenter image with a short recorded introduction. Request a half-body shot with a small greeting gesture.

Singing previews

Pair a performer image with a short vocal excerpt to test the expression, movement, and camera direction for a music video.

Dialogue scene drafts

Turn a character image and recorded line into a short acted shot. Describe the character's posture and interaction with someone off camera.

Course introductions

Create a brief instructor welcome from a reference image and narration. Keep the camera steady and request restrained gestures.

Podcast video excerpts

Give a short spoken excerpt a visual performance using a host image. Direct a seated pose and subtle head movement.

Camera direction comparisons

Use the same character image and audio to compare a static medium shot with a slow camera move before choosing a scene's direction.

Full-body performance studies

Animate a full-body reference with speech or singing to explore walking, posture, and gestures within a short shot.

Questions about Wan 2.2 S2V 14B in VS Code

Can VS Code use Wan 2.2 S2V 14B?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Wan 2.2 S2V 14B like any built-in tool.

How much does Wan 2.2 S2V 14B cost in VS Code?

Up to $7.80 per run at the default inputs for 60 seconds of input. `resolution`: 480p (default) $7.80, 580p $11.70, 720p $15.60. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.

Do I need a fal account to use Wan 2.2 S2V 14B in VS Code?

No. Spiral runs Wan 2.2 S2V 14B 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 S2V 14B in VS Code?

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

Does VS Code wait while Wan 2.2 S2V 14B runs?

Wan 2.2 S2V 14B runs in the background. VS Code starts the run, checks on it and gives you the video when it's ready.

Can Wan 2.2 S2V animate more than a face?

Yes. It supports half-body and full-body characters, making it useful for presenters, gestures, and acted scenes.

Can Wan 2.2 S2V animate singing?

Yes. Singing and performance are documented uses alongside spoken dialogue. Try a short vocal passage with a reference image of the performer.

What should I put in a Wan 2.2 S2V prompt?

Describe the visible action: how the character moves, who they interact with, and what the camera does. For example, ask for a seated speaker who leans forward as the camera slowly moves closer.

How long should a Wan 2.2 S2V shot be?

Plan short shots: the hosted endpoint accepts 40 to 120 frames. At 16 frames per second, that works out to 2.5 to 7.5 seconds; 80 frames gives a five-second shot.

Can Wan 2.2 S2V produce 720p video?

Yes. The maker documents both 480p and 720p generation. Use a short 480p draft to judge the performance before requesting a 720p take.

Get started

Start using Wan 2.2 S2V 14B in VS Code

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

Paste this into VS Code:

Set up VS Code

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