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

Muse Code · VideoReleased 2026-11-04

How to Use Kling 4.0 Flash Video Edit in Muse Code

Kling 4.0 Flash Video Edit revises existing footage with text instructions and optional references. Use it for short editing tests at 720p; Kling 4.0 Video Edit supports 1080p and a longer 30-second output.

Prompts to try with Kling 4.0 Flash Video Edit in Muse Code

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

Use the project's source clip with Kling 4.0 Flash Video Edit to test a warm evening background in a 5-second 720p edit. Ask to retain the subject's clothing and original action.

Kling 4.0 Flash Video EditMuse Code
Try asking
  • Estimate, then generate a 5-second 9:16 clip with Kling 4.0 Flash Video Edit: a paper boat drifting down a rainy street. Save the result in ./assets.

  • Make a 10-second product teaser with Kling 4.0 Flash Video Edit for a smartwatch, slow orbit shot, studio lighting.

  • Generate three 5-second b-roll clips of a busy coffee shop with Kling 4.0 Flash Video Edit and list what each cost.

  • Make a 6-second 16:9 drone shot over a misty pine forest at sunrise with Kling 4.0 Flash Video Edit.

How to set up Kling 4.0 Flash 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 Kling 4.0 Flash 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": "kling/v4/flash/video-to-video",
        "input": {
          "prompt": "The blocky car proxy is the KESSEL R4 rally car from @Image1 - chalk-white body with the diagonal signal-orange and charcoal band, black 27 on a white roundel…",
          "video_url": "https://v3b.fal.media/files/b/0aad8e8d/Nig30TEV-F60iywH0q2z6_source_video.mp4"
        }
      }'

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

Kling 4.0 Flash Video Edit providers and prices

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

falVideo
Kling 4.0 Flash Video Edit
kling/v4/flash/video-to-video

Settings you can ask for

Kling 4.0 Flash Video Edit works from your prompt, video URL, image URLs, and video URLs. Ask Muse Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Keep audioon or offoff

Keep the original audio of the source video instead of generating new audio. Cannot be combined with voices.

Duration3 to 20

Output duration in seconds (3-20). Defaults to the source video's length.

Resolution720p720p

Output resolution. Flash is 720p only.

Every API field of Kling 4.0 Flash Video Edit is on its tool page: open its card above.

What can you do with Kling 4.0 Flash Video Edit in Muse Code?

Turn a project's creative brief into short video assets and controlled shot tests. Use project files to keep the subject, visual direction, and review criteria consistent.

Product shot tests

Create or revise a short product shot to compare lighting, camera movement, and presentation before choosing a direction.

Social video hooks

Develop short opening shots with a clear visual action, then compare different ways to introduce a product or character.

Film previsualization

Create or revise a scene to test character blocking, camera coverage, and the timing of a visible action before a shoot.

Visual style studies

Explore a short scene through specific materials, lighting, and color choices, using a written brief or suitable source assets.

Revise an existing shot

Use source footage to explore a different background, subject, or visual treatment while specifying the details to retain.

Questions about Kling 4.0 Flash Video Edit in Muse Code

Can Muse Code use Kling 4.0 Flash Video Edit?

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

How much does Kling 4.0 Flash Video Edit cost in Muse Code?

Up to $9.828 per run at the default inputs for 60 seconds of input. 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 Kling 4.0 Flash Video Edit in Muse Code?

No. Spiral runs Kling 4.0 Flash 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 Kling 4.0 Flash 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 Kling 4.0 Flash Video Edit runs?

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

What should I include in a Kling 4.0 prompt?

Describe the subject, visible action, setting, lighting, and camera movement. Give concrete details, such as a bottle catching side light, instead of asking for a premium look.

Should I use long negative prompts?

Keep them brief. Kling recommends describing what should appear and warns that negative prompts can increase errors.

How do I describe a visual style clearly?

Translate the style into visible details. For a vintage room, describe worn furniture, yellowed walls, and warm incandescent light.

How can I reduce ambiguity in an action prompt?

Describe the pose and movement you want to see. For example, ask for a person shown in profile during a phone call instead of listing views to avoid.

What should I change when a result misses the brief?

Replace vague instructions with observable details about the missed action, framing, or lighting. Revise one part of the brief at a time so you can judge the effect.

Get started

Start using Kling 4.0 Flash 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