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

Muse Code · VideoReleased 2026-01-27

How to Use Vidu Q2 Pro Reference to Video in Muse Code

Use Vidu Q2 Pro Reference to Video to create or edit shots using visual references for appearance and motion. Unlike Vidu Q2 Pro Image to Video, it can use reference footage instead of anchoring generation to a starting still.

Prompts to try with Vidu Q2 Pro Reference to Video in Muse Code

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

Use Vidu Q2 Pro Reference to Video with the approved character and room images in assets/storyboard. Generate a four-second 1080p shot of the character looking toward the window, with a slow camera push-in. Put the result beside the scene brief.

Vidu Q2 Pro Reference to VideoMuse Code
Try asking
  • Use Vidu Q2 Pro Reference to Video to animate the product still in public/images/mug.png. Generate a four-second 1080p shot: steam rises while the camera slowly pushes closer. Add the result to a preview page.

  • Estimate, then generate a 5-second 9:16 clip with Vidu Q2 Pro Reference to Video: a paper boat drifting down a rainy street. Save the result in ./assets.

  • Make a 10-second product teaser with Vidu Q2 Pro Reference to Video for a smartwatch, slow orbit shot, studio lighting.

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

How to set up Vidu Q2 Pro Reference 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 Vidu Q2 Pro 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": "fal-ai/vidu/q2/reference-to-video/pro",
        "input": {
          "prompt": "@Figure 1 Character Reference@Refer to the special effects, movements, and camera work of Video 1."
        }
      }'

Then paste one of the prompts above: Muse Code finds Vidu Q2 Pro Reference to Video on Spiral, shows the price and runs it.

Vidu Q2 Pro Reference to Video providers and prices

Spiral runs Vidu Q2 Pro Reference to Video through fal. Open a card for today's price, with every fee included.

falVideo
Vidu
fal-ai/vidu/q2/reference-to-video/pro

Settings you can ask for

Vidu Q2 Pro Reference to Video works from your prompt, reference image URLs, and reference video URLs. Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number

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

Duration1 to 84

Duration of the video in seconds (0 for automatic duration)

Resolution540p, 720p, or 1080p720p

Output video resolution

Movement amplitudeauto, small, medium, or largeauto

The movement amplitude of objects in the frame

Bgmon or offoff

Whether to add background music to the generated video

Every API field of Vidu is on its tool page: open its card above.

What can you do with Vidu Q2 Pro Reference to Video in Muse Code?

Create short video assets and motion studies alongside your project's design work. A coding agent can turn a scene brief into a shot, then place the result in a preview for review.

Product reveal concepts

Test a short reveal of a ceramic mug, watch, or skincare bottle. Give the shot one action, such as a slow turn or a camera push toward the product.

Character reaction shots

Explore a brief emotional beat for a storyboard: surprise settling into relief, a restrained smile, or a worried glance. Keep the performance easy to read.

Camera movement tests

Compare a static view with a slow push-in before choosing how to film or animate a scene. Keep the action and lighting consistent between tests.

Short ad concepts

Make separate shots for competing ad ideas, such as a quiet product close-up and a character discovering the product. Review the visual hook before developing the full edit.

Animated illustrations

Start with an approved illustration and explore a small action, such as a character looking up or leaves moving around a scene. Use the result to judge the motion direction.

Product photo motion

Turn an existing product image into a short motion study. Ask for a restrained camera move and inspect the product's shape and appearance before using the clip.

Reference footage revisions

Use existing footage and visual references to explore an edited shot or a different motion treatment. Describe which appearance and movement cues the new shot should follow.

Questions about Vidu Q2 Pro Reference to Video in Muse Code

Can Muse Code use Vidu Q2 Pro Reference to Video?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Vidu Q2 Pro Reference to Video like any built-in tool.

How much does Vidu Q2 Pro Reference to Video cost in Muse Code?

`resolution`: 1080p $0.26, 1080p $0.26, 1080p $0.26, 540p $0.39, 720p (default) $0.39, 1080p $0.39 per video. `resolution` / `duration`: 1080p / otherwise $0.13, 1080p / otherwise $0.13, 1080p / otherwise $0.13, 1080p / 0 $1.04, 1080p / 0 $1.04, 1080p / 0 $1.04 per video. Billed on `duration`, default 4. 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 Vidu Q2 Pro Reference to Video in Muse Code?

No. Spiral runs Vidu Q2 Pro 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 Vidu Q2 Pro Reference 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 Vidu Q2 Pro Reference to Video runs?

Vidu Q2 Pro Reference 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 Vidu Q2 good at?

Vidu Q2 is worth trying for expressive reaction shots and deliberate camera movement. Describe a visible change, such as a smile fading or the camera moving from a wide view toward a face.

How should I write a Vidu Q2 prompt?

Describe the subject, action, setting, camera movement, lighting, and visual style. For a first test, choose one action and one camera instruction so you can judge what needs changing.

What should I simplify when a Vidu Q2 shot goes wrong?

Reduce the number of subjects and replace ambiguous directions with visible actions. Alibaba Cloud's Vidu guidance specifically recommends avoiding complex subject arrangements and using natural, precise phrasing.

Can I prompt Vidu Q2 in languages other than English?

Vidu says its prompts support more than 200 languages. That describes prompt input support; it does not establish equal quality in every language.

Can Vidu Q2 make 1080p video?

Yes. Use 720p to review a creative direction, then request 1080p for the shot you intend to use.

Get started

Start using Vidu Q2 Pro Reference 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