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

Claude Code · Video

How to Use Kling 2.6 Pro Text to Video in Claude Code

Kling 2.6 Pro Text to Video creates short scenes with dialogue, sound effects, and ambience from a written description. Unlike Kling 2.6 Pro Image to Video, it lets you develop the scene without a starting image.

Prompts to try with Kling 2.6 Pro Text to Video in Claude Code

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

Read the campaign brief in this project and use Kling 2.6 Pro Text to Video to create a 10-second ad concept. Show one product action, include one short English voiceover line, and add matching action sounds.

Kling 2.6 Pro Text to VideoClaude Code
Try asking
  • Use Kling 2.6 Pro Text to Video to create a 5-second atmospheric insert for this project's film concept: an empty station at dawn, drifting steam, distant train noise, and no dialogue.

  • Use Kling 2.6 Pro Text to Video to preview a 10-second exchange from the screenplay in this project. Choose two short lines, label both speakers consistently, give them distinct voices, and state the speaking order.

  • Estimate, then generate a 5-second 9:16 clip with Kling 2.6 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.6 Pro Text to Video for a smartwatch, slow orbit shot, studio lighting.

How to set up Kling 2.6 Pro Text to Video in Claude Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    This adds Spiral to the current project. Add --scope user to use it in every project.

    claude mcp add --transport http spiral https://api.spiral.ai/mcp
  2. Sign in

    Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

Use the Spiral skill

  1. Send Claude 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.6 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.6/pro/text-to-video",
        "input": {
          "prompt": "Old friends reuniting at a train station after 20 years, one exclaims '\''Is that really you?!'\'' other tearfully replies '\''I promised I'\''d come back, didn'\''t I?'\'',…"
        }
      }'

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

Kling 2.6 Pro Text to Video providers and prices

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

falVideo
Kling Video v2.6 Text to Video
fal-ai/kling-video/v2.6/pro/text-to-video

Settings you can ask for

Kling 2.6 Pro Text to Video works from your prompt. Ask Claude 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.

Generate audioon or offon

Whether to generate native audio for the video. Supports Chinese and English voice output. Other languages are automatically translated to English. For English speech, use lowercase letters; for acronyms or proper nouns, use uppercase.

Every API field of Kling Video v2.6 Text to Video is on its tool page: open its card above.

What can you do with Kling 2.6 Pro Text to Video in Claude Code?

Turn project briefs into short video scenes with speech and environmental sound. A coding agent can use project copy and artwork to prepare a focused scene and place the generated clip in the project.

Narrated product ads

Create a short product scene with one spoken benefit and matching action sounds. Use a written scene or an existing product image as the starting point.

Two-person comedy scenes

Build a brief setup and reply with clearly labeled speakers, contrasting voices, and an explicit handoff between lines.

Film scene previews

Test a short dramatic moment with character dialogue and environmental sound before planning a larger production.

Ambient scene inserts

Generate a rain-soaked street, windy coast, or quiet cafe with environmental audio for a short scene insert.

Action and sound previews

Pair a visible action with its sound, such as footsteps in a hallway, turning gears, or a crackling fire.

Original music snippets

Try a short sung line or rap couplet with a specified performance style. Keep the lyrics brief enough for a 10-second clip.

Questions about Kling 2.6 Pro Text to Video in Claude Code

Can Claude Code use Kling 2.6 Pro Text to Video?

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

How much does Kling 2.6 Pro Text to Video cost in Claude 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 Claude Code plan is separate.

Do I need a fal account to use Kling 2.6 Pro Text to Video in Claude Code?

No. Spiral runs Kling 2.6 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.6 Pro Text to Video in Claude Code?

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

Does Claude Code wait while Kling 2.6 Pro Text to Video runs?

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

Does Kling 2.6 generate sound with the video?

Yes. It can generate speech, sound effects, and ambient audio alongside the visuals, including dialogue, narration, singing, and rap.

Which spoken languages does Kling 2.6 support?

Chinese and English. Speech requested in other languages is automatically translated into English, so it is a poor fit when the original spoken language must be preserved.

How long can a Kling 2.6 clip be?

Each generation lasts 5 or 10 seconds. Kling recommends 10 seconds for dialogue or singing to give the performance more room.

What resolution does Kling 2.6 Pro support?

Kling 2.6 Pro supports 1080p output.

How should I write dialogue for Kling 2.6?

Give each speaker a consistent label, describe the speaker's action, then write the line and vocal delivery. State who speaks next so the exchange has a clear order.

Get started

Start using Kling 2.6 Pro Text to Video in Claude Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Claude Code:

Set up Claude Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options