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

Muse Code · VideoReleased 2026-04-03

How to Use Wan 2.7 Video Edit in Muse Code

Wan 2.7 Video Edit changes existing clips with instructions, from replacing objects to restyling a scene. It works on 2–10 second videos and can use a reference image to guide replacements.

Prompts to try with Wan 2.7 Video Edit in Muse Code

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

Use Wan 2.7 Video Edit on assets/product-demo.mp4, a 6-second clip. Change the blue bottle to matte white while keeping its shape, the table, and the camera movement unchanged; save the result beside the source.

Wan 2.7 Video EditMuse Code
Try asking
  • Use Wan 2.7 Video Edit on the 8-second assets/hero.mp4 clip. Replace the plain room background with a plant-filled studio, keep the person's action unchanged, and export landscape footage at 1080p for the landing page.

  • Use Wan 2.7 Video Edit on assets/walk.mp4, a 5-second clip, with assets/jacket.png as the reference. Replace only the person's jacket with the pictured jacket and save the edited clip for review.

  • Use Wan 2.7 Video Edit to turn the 4-second assets/intro.mp4 clip into a watercolor treatment with visible paper texture. Keep the scene's composition and action, then add an original-versus-edited comparison to the project's preview page.

  • Use Wan 2.7 Video Edit on assets/outdoor.mp4, a 10-second clip. Change the background to snowy winter while keeping the foreground subject unchanged, and save a 5-second edit taken from the start.

How to set up Wan 2.7 Video Edit 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 Wan 2.7 Video Edit

    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.7/edit-video",
        "input": {
          "prompt": "Transform the entire scene into a beautiful watercolor painting style. Soft brushstrokes, flowing paint washes, visible paper texture. Colors should bleed and…",
          "video_url": "https://v3b.fal.media/files/b/0a940a70/s4jC3lmmbU8Q6xM-SFtWB_m5JJudvy.mp4"
        }
      }'

Then paste one of the prompts above: Muse Code finds Wan 2.7 Video Edit on Spiral, shows the price and runs it.

Wan 2.7 Video Edit providers and prices

Spiral runs Wan 2.7 Video Edit through fal. Open a card for today's price, with every fee included.

falVideo
Wan · Edit Video
fal-ai/wan/v2.7/edit-video

Settings you can ask for

Wan 2.7 Video Edit works from your prompt and video URL. Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Resolution720p or 1080p1080p

Output video resolution tier.

Aspect ratio16:9, 9:16, 1:1, 4:3, or 3:4

Aspect ratio of the generated video. If not provided, uses the aspect ratio of the input video.

Duration0, 2, 3, 4, 5, 6, 7, 8 and 2 more0

Output video duration in seconds. Default 0 means match input video duration. When set (2-10), truncates from the start.

Audio settingauto or originauto

Audio handling. 'auto': model decides whether to regenerate audio. 'origin': preserve original audio from input video.

Seeda whole number

Random seed for reproducibility (0-2147483647).

Every API field of Wan · Edit Video is on its tool page: open its card above.

What can you do with Wan 2.7 Video Edit in Muse Code?

Create edited footage for a project's landing page, product demo, or visual review. Use Wan 2.7 Video Edit on short source clips, then place the results beside the originals for comparison.

Product color concepts

Use Wan 2.7 Video Edit to change a product's color in a short demonstration clip. Specify that its shape, surroundings, and camera movement should stay the same.

Clothing previews

Use Wan 2.7 Video Edit with an existing clip and a clothing reference image to preview a different outfit on the person in the shot.

Seasonal campaign footage

Ask Wan 2.7 Video Edit to turn a summer setting into a snowy winter scene while retaining the main subject and action.

Background replacements

Use Wan 2.7 Video Edit to place a filmed subject in a different setting, such as moving an exercise demonstration into a gym.

Object removal drafts

Ask Wan 2.7 Video Edit to remove a named distraction from a short shot. Identify its location and explicitly describe what should remain.

Art direction comparisons

Use Wan 2.7 Video Edit to restyle the same footage in watercolor or another artistic treatment for a creative review.

Lighting concepts

Ask Wan 2.7 Video Edit for a warmer or cooler lighting treatment on an existing shot before deciding on the visual direction.

Questions about Wan 2.7 Video Edit in Muse Code

Can Muse Code use Wan 2.7 Video Edit?

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run Wan 2.7 Video Edit like any built-in tool.

How much does Wan 2.7 Video Edit cost in Muse Code?

Up to $11.70 per run at the default inputs for 60 seconds of input. `resolution`: 720p $7.80, 1080p (default) $11.70. $0.195 per unit of `duration`. 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 Wan 2.7 Video Edit in Muse Code?

No. Spiral runs Wan 2.7 Video Edit 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.7 Video Edit in Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while Wan 2.7 Video Edit runs?

Wan 2.7 Video Edit runs in the background. Muse Code starts the run, checks on it and gives you the video when it's ready.

What is Wan 2.7 Video Edit good for?

Use it to change an existing shot: replace an object, change the setting, or give the footage a different visual style. A reference image can guide the appearance of a replacement.

Can Wan 2.7 Video Edit handle long videos?

It accepts clips lasting 2–10 seconds. Prepare a short excerpt before requesting an edit; choosing an output duration does not extend the source.

How should I describe an edit?

Name the object or area to change, describe the replacement, and state what should stay the same. For example: remove the red suitcase beside the chair and keep the person, background, and camera movement unchanged.

Can I change the season or lighting?

Yes. Alibaba documents changes to lighting, seasonal colors, and the setting, so you can request a winter background or warmer lighting while specifying the details to preserve.

What are the actual dimensions of 1080p output?

Landscape output is 1920 × 1080, portrait is 1080 × 1920, and square is 1440 × 1440. The 4:3 and 3:4 formats produce 1648 × 1248 and 1248 × 1648, respectively.

Get started

Start using Wan 2.7 Video Edit 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