Kling v2.5 Turbo Text-to-Video
Kling v2.5 Turbo Text-to-Video generates up to 1080p video directly from text prompts at turbo generation speed, optimized for prompt-to-video iteration and high-volume creative content pipelines.
View API reference- Price
- $0.04, Per secondLowest available configuration
import { experimental_generateVideo as generateVideo } from 'ai';
const result = await generateVideo({ model: 'klingai/kling-v2.5-turbo-t2v', prompt: 'A serene mountain lake at sunrise.'});Copy link to headingPlayground
Try out Kling v2.5 Turbo Text-to-Video by Kling AI. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.
Your generated video will appear here.
Copy link to headingProviders
Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.
| Provider |
|---|
Getting started
Generate videos with Kling v2.5 Turbo Text-to-Video using the experimental_generateVideo function from AI SDK 6 or later. AI Gateway handles routing and polls until the video is ready.
Install the AI SDK (pnpm add ai dotenv), create an API key from the API Keys page, and set it as AI_GATEWAY_API_KEY in your environment. Full setup is covered in the video generation quickstart.
import { experimental_generateVideo as generateVideo } from 'ai';import fs from 'node:fs';import 'dotenv/config';
async function main() { const result = await generateVideo({ model: 'klingai/kling-v2.5-turbo-t2v', prompt: 'A chicken flying into the sunset in the style of 90s anime', providerOptions: { klingai: { mode: 'std', }, }, });
// Save the generated video fs.writeFileSync('output.mp4', result.videos[0].uint8Array);
console.log('Video saved to output.mp4');}
main().catch(console.error);Top-level parameters
Exercise the supported top-level parameters: prompt, aspectRatio, and duration.
import { experimental_generateVideo as generateVideo } from 'ai';import fs from 'node:fs';import 'dotenv/config';
async function main() { const result = await generateVideo({ model: 'klingai/kling-v2.5-turbo-t2v', prompt: 'A chicken flying into the sunset in the style of 90s anime', aspectRatio: '16:9', duration: 5, });
// Save the generated video fs.writeFileSync('output.mp4', result.videos[0].uint8Array);
console.log('Video saved to output.mp4');}
main().catch(console.error);| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | Text description of the video to generate. Max 2500 characters. |
duration | 5 | 10 | No | Video length in seconds. 5 or 10 seconds. |
resolution | string | No | Resolution ('1280x720', '1920x1080'). |
aspectRatio | string | No | Aspect ratio ('16:9', '9:16', '1:1'). |
generateAudio | boolean | No | Generate synchronized audio with the video. |
Input limits
| Input | Formats | Sources | Max count | Max size | Limits |
|---|---|---|---|---|---|
| Text | — | — | — | — | Up to 2500 characters |
Provider options
Load the always-compatible KlingAI options under providerOptions.klingai. Feature controls like cameraControl, voiceList, and multiShot are mutually exclusive with each other and are shown in their own examples below.
import { experimental_generateVideo as generateVideo } from 'ai';import fs from 'node:fs';import 'dotenv/config';
async function main() { const result = await generateVideo({ model: 'klingai/kling-v2.5-turbo-t2v', prompt: 'A chicken flying into the sunset in the style of 90s anime', aspectRatio: '16:9', duration: 5, generateAudio: true, providerOptions: { klingai: { mode: 'pro', negativePrompt: 'blurry, low quality', watermarkEnabled: true, pollIntervalMs: 5000, pollTimeoutMs: 600000, }, }, });
// Save the generated video fs.writeFileSync('output.mp4', result.videos[0].uint8Array);
console.log('Video saved to output.mp4');}
main().catch(console.error);Pass KlingAI-specific options under providerOptions.klingai in your generateVideo call.
| Parameter | Type | Required | Description |
|---|---|---|---|
mode | 'std' | 'pro' | No | 'std' for standard quality. 'pro' for professional quality. Defaults to 'std'. |
negativePrompt | string | No | What to avoid in the video. Max 2500 characters. |
voiceList | array | No | Voice IDs for speech. Max 2 voices. Requires generateAudio: true. Cannot coexist with elementList. |
cameraControl.type | string | No | Camera movement type: 'simple', 'down_back', 'forward_up', 'right_turn_forward', or 'left_turn_forward'. |
cameraControl.config | object | No | Movement configuration. Required when type is 'simple'. Set one of horizontal, vertical, pan, tilt, roll, or zoom in range [-10, 10] and leave the others at 0. |
watermarkEnabled | boolean | No | Generate a watermarked result alongside the video. |
pollIntervalMs | number | No | How often to check task status. Defaults to 5000. |
pollTimeoutMs | number | No | Maximum wait time. Defaults to 600000 (10 minutes). |
Audio and voice
Set generateAudio: true to enable audio.
Reference voices in your prompt with the <<<voice_1>>> syntax, where the number matches the order of entries in voiceList. You can use up to 2 voices per video, and voice generation requires generateAudio: true.
Camera control
Control camera movement during generation. Use a preset movement type or 'simple' with a config that sets one axis (others stay at 0).
import { experimental_generateVideo as generateVideo } from 'ai';import fs from 'node:fs';import 'dotenv/config';
async function main() { const result = await generateVideo({ model: 'klingai/kling-v2.5-turbo-t2v', prompt: 'A serene mountain landscape at sunset', aspectRatio: '16:9', providerOptions: { klingai: { mode: 'std', cameraControl: { type: 'simple', config: { zoom: 5, horizontal: 0, vertical: 0, pan: 0, tilt: 0, roll: 0, }, }, }, }, });
// Save the generated video fs.writeFileSync('output.mp4', result.videos[0].uint8Array);
console.log('Video saved to output.mp4');}
main().catch(console.error);Copy link to headingAbout Kling v2.5 Turbo Text-to-Video
Kling v2.5 Turbo Text-to-Video starts from a text description and generates a video clip entirely from that prompt. No image input is needed. The turbo path prioritizes speed: it applies fewer refinement passes than standard or Pro modes so you get a result faster at lower per-second cost. When rapid prompt-to-clip iteration matters more than maximum refinement per frame, that tradeoff is the point.
V2.5 tightened prompt adherence, physical simulation (cloth, liquid, crowds), and style consistency across frames. Portrait-style prompts that describe expressions also track a bit better than older Kling text-to-video tiers.
Because the model generates visual content entirely from text, prompt construction is the main lever. Clear scene descriptions, motion cues, and atmosphere details yield more predictable results. Lock prompt templates that match your brand before you scale volume.
Copy link to headingWhat To Consider When Choosing a Provider
- Configuration: Video generation is in beta for Pro and Enterprise plans and paid AI Gateway users. Confirm your plan before you ship.
- Zero Data Retention: Zero Data Retention is offered on a per-provider and model basis. See the documentation for details.
- Authentication: AI Gateway authenticates requests using an API key or OIDC token. You do not need to manage provider credentials directly.
Copy link to headingWhen to Use Kling v2.5 Turbo Text-to-Video
Best for
- High-volume prompt testing: Exploring many textual interpretations of a creative concept before selecting finalists for higher-quality rendering
- Social short-form content: Generating social media content from written creative briefs where turbo speed keeps the pipeline responsive
- Concept visualization: Storyboarding and exploration where fast turnaround matters more than final-quality rendering
- UI prototype assets: Prototype video assets for app or web UI mockups before production filming
Consider alternatives when
- Image-anchored visuals: A reference image must anchor the visual subject or style, so use the i2v variant
- Multi-shot narratives: You need multi-shot narrative video with distinct scene changes, which V2.6 t2v supports
- Integrated audio: You require audio narration or sound effects, which V2.6 t2v includes natively
Copy link to headingConclusion
Kling v2.5 Turbo Text-to-Video is the fastest prompt-to-video path in the v2.5 generation. It suits creative workflows where testing many text descriptions improves your final picks. If you iterate on prompts before you lock final renders, turbo speed matches that cadence.
Copy link to headingFrequently Asked Questions
How does the turbo tier affect video quality versus speed?
Turbo applies fewer refinement passes than standard or Pro paths, so runs finish sooner and cost less per second of video. You don't get every refinement pass from higher tiers. For iteration-heavy or social workloads, that speed usually matters more.
What prompt elements most improve output quality for t2v generation?
Specify subject, environment, motion, and visual atmosphere in your scene descriptions. Including motion cues (panning, close-up, slow motion) and atmosphere descriptors (lighting, color palette, mood) helps the model render your intent rather than making compositional choices by default.
What output durations are available?
Outputs are available at five or 10 seconds. Supported aspect ratios include 9:16 vertical, 16:9 widescreen, and 1:1 square.
Does v2.5 Turbo t2v support structured camera control?
V2.5 reads motion language in prompts more reliably than older Kling text-to-video tiers. Explicit camera parameters (pan, push, pull) show up in later Kling versions; lean on prompt wording here.
Why use v2.5 Turbo t2v rather than v2.6 t2v?
V2.5 Turbo is faster and cheaper when you don't need audio output or multi-shot storytelling. V2.6 t2v adds native audio generation and multi-shot narrative capability. Choose v2.6 when those features are part of your required output.
What access tier is required to use this model through AI Gateway?
Video generation is in beta for Pro and Enterprise plans and paid AI Gateway users.