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

VS Code · Video

How to Use Kling 2.5 Turbo Pro Text to Video in VS Code

Kling 2.5 Turbo Pro Text to Video creates 1080p shots from written scene descriptions. Unlike Kling 2.5 Turbo Pro Image to Video, it lets you develop a scene without supplying a starting image.

Prompts to try with Kling 2.5 Turbo Pro Text to Video in VS Code

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

Use Kling 2.5 Turbo Pro Text to Video to create a 5-second background clip for this project's outdoor brand page: a hiker walks along a rocky ridge, wide shot, slow tracking camera, overcast light. Save the result with the project's media assets.

Kling 2.5 Turbo Pro Text to VideoVS Code
Try asking
  • Read the campaign brief and use Kling 2.5 Turbo Pro Text to Video to make a 10-second sports concept. Show a runner slowing to a stop on a track, then looking back, with a side tracking camera and soft morning light.

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

  • Make a 10-second product teaser with Kling 2.5 Turbo Pro Text to Video for a smartwatch, slow orbit shot, studio lighting.

  • Generate three 5-second b-roll clips of a busy coffee shop with Kling 2.5 Turbo Pro Text to Video and list what each cost.

How to set up Kling 2.5 Turbo Pro Text to Video 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 2.5 Turbo Pro Text 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/kling-video/v2.5-turbo/pro/text-to-video",
        "input": {
          "prompt": "A noble lord walks among his people, his presence a comforting reassurance. He greets them with a gentle smile, embodying their hopes and earning their respect…"
        }
      }'

Then paste one of the prompts above: VS Code finds Kling 2.5 Turbo Pro Text to Video on Spiral, shows the price and runs it.

Kling 2.5 Turbo Pro Text to Video providers and prices

Spiral runs Kling 2.5 Turbo Pro Text to Video through fal. Open a card for today's price, with every fee included.

falVideo
Kling v2.5 Turbo Pro · Text to Video
fal-ai/kling-video/v2.5-turbo/pro/text-to-video

Settings you can ask for

Kling 2.5 Turbo Pro Text to Video works from your prompt. Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Duration5 or 105

The duration of the generated video in seconds

Aspect ratio16:9, 9:16, or 1:116:9

The aspect ratio of the generated video frame

Negative promptwhat to leave out, in wordsblur, distort, and low quality
CFG scale0 to 10.5

The CFG (Classifier Free Guidance) scale is a measure of how close you want

the model to stick to your prompt.

Every API field of Kling v2.5 Turbo Pro · Text to Video is on its tool page: open its card above.

What can you do with Kling 2.5 Turbo Pro Text to Video in VS Code?

Create short visual assets for a website, game prototype, or product demo with Kling 2.5 Turbo. A coding agent can use project briefs to draft shots and organize the resulting clips for review.

Product ad shots

Create a short shot of a product with a slow camera move and controlled lighting. Start with a written scene or a product image, depending on the model.

Sports campaign concepts

Explore a tracking shot of a runner, swimmer, or skater. Keep the action within a 5- or 10-second clip and review the movement before using it.

Story scene previews

Test a brief character action before committing to a longer sequence. Describe what happens first, what changes, and how the shot ends.

Camera movement studies

Compare a pan, dolly, and orbit as separate clips of the same scene. Use the results to choose the framing for a storyboard or campaign.

Atmospheric background footage

Create a short landscape or interior shot for a title sequence or video background. Add titles and sound in editing.

Social campaign concepts

Test several visual treatments of one campaign idea, changing the lighting, camera angle, or action between clips. Review each result before selecting a direction.

Questions about Kling 2.5 Turbo Pro Text to Video in VS Code

Can VS Code use Kling 2.5 Turbo Pro Text to Video?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run Kling 2.5 Turbo Pro Text to Video like any built-in tool.

How much does Kling 2.5 Turbo Pro Text to Video cost in VS Code?

$0.091 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 2.5 Turbo Pro Text to Video in VS Code?

No. Spiral runs Kling 2.5 Turbo Pro Text 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 Kling 2.5 Turbo Pro Text to Video in VS Code?

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

Does VS Code wait while Kling 2.5 Turbo Pro Text to Video runs?

Kling 2.5 Turbo Pro Text to Video runs in the background. VS Code starts the run, checks on it and gives you the video when it's ready.

What is Kling 2.5 Turbo good at?

Kling 2.5 Turbo is useful for short product visuals, sports shots, and narrative scenes. Give each clip a clear action and a deliberate camera movement.

How long can a Kling 2.5 Turbo video be?

A generated clip lasts 5 or 10 seconds. For a longer sequence, plan separate shots and assemble them in an editor.

Does Kling 2.5 Turbo generate sound?

Kling 2.5 Turbo produces silent video. Add narration, music, or sound effects during editing.

How should I write a Kling 2.5 Turbo prompt?

Describe the subject, action, shot size, lighting, camera angle, and mood. For example, specify a close-up with soft window light and a slow camera pullback.

Can Kling 2.5 Turbo follow a sequence of actions?

Kling reports improved handling of instructions with multiple steps and causal relationships. For a practical starting point, describe a short progression such as a runner slowing down, stopping, and looking back.

Get started

Start using Kling 2.5 Turbo Pro Text to Video 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