Kling 2.5 Turbo

Kling AI 2.5 Turbo generates fluid, cinematic videos from text and images, enhancing content creation and storytelling.


API

If you're looking for an API, you can choose from your desired programming language.

POST
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 import requests import base64 # Use this function to convert an image file from the filesystem to base64 def image_file_to_base64(image_path): with open(image_path, 'rb') as f: image_data = f.read() return base64.b64encode(image_data).decode('utf-8') # Use this function to fetch an image from a URL and convert it to base64 def image_url_to_base64(image_url): response = requests.get(image_url) image_data = response.content return base64.b64encode(image_data).decode('utf-8') # Use this function to convert a list of image URLs to base64 def image_urls_to_base64(image_urls): return [image_url_to_base64(url) for url in image_urls] api_key = "YOUR_API_KEY" url = "https://api.segmind.com/v1/kling-2.5-turbo" # Request payload data = { "prompt": "A beloved community figure moves through a 1920s street carnival, warmly interacting with attendees. Vintage cars, dancing performers, and striped carnival tents fill the scene. Camera follows closely in a handheld cinematic style, capturing intimate smiles and connections, shallow depth of field, 4K UHD, golden warm lighting.", "negative_prompt": "no dark tones, no blur, no distort", "cfg_scale": 0.7, "duration": 10, "mode": "pro", "aspect_ratio": "16:9" } headers = {'x-api-key': api_key} response = requests.post(url, json=data, headers=headers) print(response.content) # The response is the generated image
RESPONSE
video/mp4
HTTP Response Codes
200 - OKImage Generated
401 - UnauthorizedUser authentication failed
404 - Not FoundThe requested URL does not exist
405 - Method Not AllowedThe requested HTTP method is not allowed
406 - Not AcceptableNot enough credits
500 - Server ErrorServer had some issue with processing

Attributes


image_urlimage ( default: 1 )

Provide a URL for video background. High-quality URLs enhance visual appeal.


promptstr *

Enter desired video effects like 'smooth zoom'. For creativity, try 'vibrant kaleidoscope'.


negative_promptstr ( default: no dark tones, no blur, no distort )

Mention effects to exclude, like 'no blur' for clarity. Try 'no dark colors'.


cfg_scalefloat ( default: 0.7 )

Control effect sharpness, 0.7 for balance. Increase to 0.8 for more emphasis.

min : 0,

max : 1


durationenum:str ( default: 10 )

Choose how long the video plays. '10' for a detailed experience, '5' for a brief preview.

Allowed values:


modeenum:str ( default: pro )

Select quality mode. 'Pro' offers highest definition for professional output.

Allowed values:


aspect_ratioenum:str ( default: 16:9 )

Set video frame size. '16:9' for widescreens, '1:1' for social media, '9:16' for vertical. If an image input is provided, the video will follow the size or aspect ratio based on the image dimensions.

Allowed values:

To keep track of your credit usage, you can inspect the response headers of each API call. The x-remaining-credits property will indicate the number of remaining credits in your account. Ensure you monitor this value to avoid any disruptions in your API usage.

Resources to get you started

Everything you need to know to get the most out of Kling 2.5 Turbo

Kling AI 2.5 Turbo – Effective Usage Guide

Kling AI 2.5 Turbo is a state-of-the-art text-to-video model designed for creators, marketers, educators, and visual artists. Leveraging advanced physics-based motion synthesis and refined training, it generates fluid, cinematic-quality clips (5 s or 10 s) in multiple aspect ratios. Follow this guide to harness its full potential.

1. Getting Started

  • Image URL (optional): Provide a high-resolution URL to define the environment or background.
  • Prompt: Describe scene, motion, style. Be precise: “a dancer performing a contemporary routine in golden light.”
  • Negative Prompt: Exclude unwanted artifacts: “no blur, no noise, no dark tones.”
  • CFG Scale (0.7–0.8): Balances adherence to prompt vs. creative variation.
  • Duration: Choose 5 s for quick previews, 10 s for storytelling.
  • Mode: Set to pro for maximum quality.
  • Aspect Ratio:
    • 16:9 for YouTube, documentaries
    • 9:16 for Stories/Reels
    • 1:1 for social media posts

2. Crafting Your Prompt

  1. Start with Action: Focus on movement verbs (“glide,” “spin,” “vault”).
  2. Add Atmosphere: Mention lighting, colors, textures.
  3. Specify Camera Style: “smooth tracking shot” or “dynamic zoom.”
  4. Use Negative Prompts: Prevent unwanted elements.

3. Parameter Recommendations by Use Case

Use CasePrompt FocusCFG ScaleDurationAspect Ratio
Social Media Reel“vibrant dance loop in neon club”0.7559:16
Cinematic Promo“slow-motion skateboarding at sunset”0.81016:9
Education Demo“3D DNA helix rotating in space”0.7101:1
  • Image-to-Video: Supply a clear reference image to anchor style and framing.
  • Professional Mode: Always use pro for brand marketing, ensuring high fidelity and smooth motion.

4. Tips & Tricks

  • Iterate Quickly: Start with lower CFG (0.7) for broader exploration; ramp up to 0.8 for final renders.
  • Negative Prompt Refinement: Analyze artifacts and add specific exclusions (“no lens flare,” “no text overlays”).
  • Aspect Ratio Testing: Preview different output frames to confirm composition matches platform requirements.
  • Duration Trade-offs: Use 5 s for high rotation speeds; 10 s for narrative development.

By following these guidelines, you’ll unlock the full power of Kling AI 2.5 Turbo—delivering dynamic, professional-grade video that brings your vision to life.

Other Popular Models

Discover other models you might be interested in.

Cookie settings

We use cookies to enhance your browsing experience, analyze site traffic, and personalize content. By clicking "Accept all", you consent to our use of cookies.