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

Claude Code · VideoReleased 2026-08-24

How to Use Wan 3.0 Prime Reference to Video in Claude Code

Wan 3.0 Prime Reference to Video uses visual references to carry characters, props, and style into new scenes. Unlike Wan 3.0 Prime Image to Video, references guide the result without defining its opening frame.

Prompts to try with Wan 3.0 Prime Reference to Video in Claude Code

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

Use Wan 3.0 Prime Reference to Video with our two approved character images. Make a 10-second 720p scene: Image 1's character enters a courtyard from 0-5 seconds, then greets Image 2's character from 5-10 seconds; include footsteps and a brief greeting.

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

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

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

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

How to set up Wan 3.0 Prime Reference 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 3.0 Prime Reference 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": "alibaba/wan-3.0-prime/reference-to-video",
        "input": {
          "prompt": "<prompt>"
        }
      }'

Then paste one of the prompts above: Claude Code finds Wan 3.0 Prime Reference to Video on Spiral, shows the price and runs it.

Wan 3.0 Prime Reference to Video providers and prices

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

falVideo
Wan 3.0 Prime Reference to Video
alibaba/wan-3.0-prime/reference-to-video

Settings you can ask for

Wan 3.0 Prime Reference to Video works from your prompt, reference image URLs, reference video URLs, and reference audio URLs. Ask Claude Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Resolution480p, 720p, or 1080p1080p

Output video resolution tier.

Aspect ratioadaptive, 16:9, 4:3, 1:1, 3:4, or 9:16adaptive

Output aspect ratio, or adaptive selection.

Duration2 to 305

Output duration in seconds. Set to null for smart duration, which lets the model pick a length from the prompt and reference media.

Audioon or offon

Include generated audio.

Enable prompt expansionon or offon

Enable intelligent prompt rewriting. Disabling it can save roughly 20-60 seconds of latency but is likely to degrade generation quality.

Enable thinkingon or offoff

Enable enhanced reasoning before generation.

Seed0 to 2147483647

Every API field of Wan 3.0 Prime Reference to Video is on its tool page: open its card above.

What can you do with Wan 3.0 Prime Reference to Video in Claude Code?

Create video assets for a site, app, or game while working in the project. A coding agent can turn the creative brief into shot directions and place the resulting clips where the project needs them.

Short product ads

Create a 10-second product scene with a clear reveal, one camera move, and a closing hold. Add exact product names and offer text during editing.

Storyboard previews

Preview a short sequence with numbered shots and timestamps. Use the result to judge pacing, framing, and transitions before production.

Atmospheric background footage

Make a slow shot of a workshop, garden, or imagined landscape for a website or presentation. Request silence when the footage will sit behind other audio.

Dialogue scene drafts

Try a brief exchange or a single spoken line with a specified setting and soundscape. Review the delivery and audio before using the clip.

Game scene concepts

Explore an environment, character entrance, or short story beat. Keep each clip focused on a few visible actions so the team can assess the direction.

Travel campaign concepts

Plan a short destination sequence around light, scenery, and a deliberate camera path. Treat imagined locations as concept footage.

Animated artwork

Start with an illustration and direct a restrained action, such as drifting clouds, moving fabric, or a character turning toward the camera.

Character scene studies

Use an approved character image to explore expressions, staging, and short actions. Review the character's appearance throughout the result.

Questions about Wan 3.0 Prime Reference to Video in Claude Code

Can Claude Code use Wan 3.0 Prime Reference to Video?

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Wan 3.0 Prime Reference to Video like any built-in tool.

How much does Wan 3.0 Prime Reference to Video cost in Claude Code?

`resolution`: 480p $0.0884, 720p $0.182, 1080p (default) $0.364 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 Claude Code plan is separate.

Do I need a fal account to use Wan 3.0 Prime Reference to Video in Claude Code?

No. Spiral runs Wan 3.0 Prime Reference 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 3.0 Prime Reference to Video in Claude Code?

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

Does Claude Code wait while Wan 3.0 Prime Reference to Video runs?

Wan 3.0 Prime Reference to Video runs in the background. Claude Code starts the run, checks on it and gives you the video when it's ready.

How long can Wan 3.0 Prime videos be?

A single output can run up to 30 seconds, at up to 1080p and 30 fps. Give each action enough time instead of filling the clip with rapid instructions.

Can Wan 3.0 Prime generate sound?

Yes. It can generate dialogue, background music, and sound effects with the picture; describe the speech and sounds you want in the prompt.

Which prompt languages does Wan 3.0 Prime support?

Alibaba documents Chinese and English prompts. Use either language to describe the scene, actions, and camera direction.

How should I write a multi-shot prompt?

Number the shots and give each a start and end time. For each shot, describe the subject, setting, action, and camera treatment, then specify dialogue and sound separately.

What should I check before using the finished video?

Check generated lettering and listen closely to the audio. Alibaba identifies on-screen text accuracy and audio texture as areas still improving, so plan to add exact titles and correct the sound in an editor.

Get started

Start using Wan 3.0 Prime Reference 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