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

VS Code · Video

How to Use Kling O1 Reference Standard in VS Code

Kling O1 Reference Standard creates new shots guided by a clip's motion and camera style. It outputs 720p, making it a practical choice for shot planning before using Kling O1 Reference Pro at 1080p.

Prompts to try with Kling O1 Reference Standard in VS Code

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

Use Kling O1 Reference Standard with assets/establishing.mp4 to generate a five-second follow-up: the cyclist reaches the bridge, keeping the reference's tracking movement.

Kling O1 Reference StandardVS Code
Try asking
  • Use Kling O1 Reference Standard with the project's product image and camera reference to create a five-second orbit around the bottle.

  • Use Kling O1 Reference Standard to create two separate five-second camera studies from assets/reference.mp4, changing only the new scene's subject.

  • Read the project's shot list and use Kling O1 Reference Standard to create its next eight-second shot from the approved reference clip.

  • Use Kling O1 Reference Standard with the project's character references and scene clip to create a six-second close-up as the detective notices the envelope.

How to set up Kling O1 Reference Standard 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 Kling O1 Reference Standard

    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/kling-video/o1/standard/video-to-video/reference",
        "input": {
          "prompt": "Based on @Video1, generate the next shot. keep the style of the video",
          "video_url": "https://v3b.fal.media/files/b/panda/oVdiICFXY03Vbam-08Aj8_output.mp4"
        }
      }'

Then paste one of the prompts above: VS Code finds Kling O1 Reference Standard on Spiral, shows the price and runs it.

Kling O1 Reference Standard providers and prices

Spiral runs Kling O1 Reference Standard through fal. Open a card for today's price, with every fee included.

falVideo
Kling O1 Reference Video to Video Standard · Reference V2V
fal-ai/kling-video/o1/standard/video-to-video/reference

Settings you can ask for

Kling O1 Reference Standard works from your prompt, video URL, and image URLs. Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Keep audioon or offoff

Whether to keep the original audio from the video.

Aspect ratioauto, 16:9, 9:16, or 1:1auto

The aspect ratio of the generated video frame. If 'auto', the aspect ratio will be determined automatically based on the input video, and the closest aspect ratio to the input video will be used.

Duration3 to 105

Video duration in seconds.

Every API field of Kling O1 Reference Video to Video Standard · Reference V2V is on its tool page: open its card above.

What can you do with Kling O1 Reference Standard in VS Code?

Turn project footage into follow-up shots and camera studies with Kling O1 Reference. A coding agent can use the project's shot list and assets to prepare consistent briefs for each clip.

Follow-up scene

Generate the next shot after an establishing clip, carrying its camera style into a closer view of the action.

Previous-shot storyboard

Use an existing scene as a reference for the shot that leads into it, such as an approach to a doorway before an interior scene.

Product camera study

Combine a product image with a reference clip to explore how an orbit, push-in, or tracking move could present the product.

Character coverage

Use character references and an existing scene to request another shot featuring the same character, costume, and props.

Action rehearsal

Reference a short performance clip to explore the same action with a different character or setting.

Campaign shot series

Use one approved reference clip to guide camera movement across separate product shots for a campaign.

Questions about Kling O1 Reference Standard in VS Code

Can VS Code use Kling O1 Reference Standard?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Kling O1 Reference Standard like any built-in tool.

How much does Kling O1 Reference Standard cost in VS Code?

$0.1638 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 VS Code plan is separate.

Do I need a fal account to use Kling O1 Reference Standard in VS Code?

No. Spiral runs Kling O1 Reference Standard 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 O1 Reference Standard in VS Code?

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

Does VS Code wait while Kling O1 Reference Standard runs?

Kling O1 Reference Standard runs in the background. VS Code starts the run, checks on it and gives you the video when it's ready.

What is Kling O1 Reference good at?

Creating a new shot that follows an existing clip's camera style and motion. Use it for follow-up scenes, alternate coverage, or a new subject filmed with similar camera movement.

Does Kling O1 Reference edit the original footage?

Reference generation creates new shots guided by the footage. Treat requests to remove an object from the original clip as editing work; Kling's documentation distinguishes reference generation from direct video editing.

How long can a generated shot be?

Kling O1 generates clips from 3 to 10 seconds. For a longer sequence, plan separate shots and assemble them afterward.

How do Standard and Pro differ?

Kling O1 Reference Standard outputs 720p; Kling O1 Reference Pro outputs 1080p. Choose based on the resolution your finished video needs.

What reference footage should I prepare?

Use a 3 to 10 second MP4 or MOV under 200 MB, with width and height between 720 and 2160 pixels. Choose a clip whose camera movement or action clearly demonstrates what you want to carry into the new shot.

Get started

Start using Kling O1 Reference Standard 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