Mô hìnhHỗ trợDoanh nghiệpBlog
500+ API Mô hình AI, Tất cả trong Một API. Chỉ cần CometAPI
API Mô hình
Nhà phát triển
Bắt đầu nhanhTài liệuBảng Điều Khiển API
Tài nguyên
Mô hình AIBlogDoanh nghiệpNhật ký thay đổiGiới thiệu
2025 CometAPI. Bảo lưu mọi quyền.Chính sách Bảo mậtĐiều khoản Dịch vụ
Home/Models/Kling/Kling Video
K

Kling Video

Theo Yêu cầu:$0.13216
Tạo video
Sử dụng thương mại
Tổng quan
Tính năng
Giá cả
API

Technical Specifications of kling_video

SpecificationDetails
Model IDkling_video
CategoryVideo Generation
Primary CapabilityGenerates videos from text prompts and, depending on workflow, can support image-guided video creation
Input TypesText prompts, and in some implementations image inputs for image-to-video workflows
Output TypeAI-generated video
Common Use CasesShort-form creative clips, cinematic concept visualization, marketing content, social media assets, animation prototyping
StrengthsStrong motion quality, visual aesthetics, and prompt adherence
Integration PatternAPI-based request/response workflow through CometAPI
Best ForDevelopers and teams building automated video generation features into apps, tools, and content pipelines

What is kling_video?

kling_video is CometAPI’s platform model identifier for accessing a video generation model designed to create AI-generated videos from natural language instructions. It is suitable for users who want to turn descriptive prompts into visually dynamic clips for creative production, prototyping, storytelling, and media workflows.

This model is especially useful for applications that need automated video generation as part of a broader product experience. Developers can use kling_video to power features such as prompt-to-video creation, concept visualization, ad creative generation, and experimental media tooling, all through a standard API integration flow.

Main features of kling_video

  • Text-to-video generation: Create videos directly from natural language prompts describing scenes, motion, style, subjects, and atmosphere.
  • Image-guided generation support: In compatible workflows, use reference images to help steer composition, character appearance, or scene structure.
  • High-quality motion synthesis: Well-suited for generating clips with more fluid movement and stronger visual continuity than basic animation pipelines.
  • Strong prompt adherence: Designed to follow user instructions closely, making it useful for controlled creative generation.
  • Aesthetic visual output: Helpful for cinematic concepts, polished short clips, and visually engaging marketing or social assets.
  • Creative workflow automation: Can be embedded into applications that need repeatable video generation without manual editing steps.
  • API-friendly deployment: Accessible through CometAPI using a consistent developer integration pattern that fits existing AI application stacks.

How to access and integrate

Step 1: Sign Up for API Key

First, register for a CometAPI account and generate your API key from the dashboard. This key is required to authenticate all requests. Store it securely in your server environment and avoid exposing it in client-side code.

Step 2: Send Requests to kling_video API

Use CometAPI's Kling-compatible endpoint. For video generation, send a POST request to /kling/v1/videos/text2video (or /kling/v1/videos/image2video for image-to-video).

curl https://api.cometapi.com/kling/v1/videos/text2video \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $COMETAPI_API_KEY" \
  -d '{
    "prompt": "A cinematic scene with dramatic lighting.",
    "model_name": "kling-v2-master",
    "aspect_ratio": "16:9",
    "duration": "5"
  }'

Step 3: Retrieve and Verify Results

The API returns a task ID. Poll GET /kling/v1/videos/text2video/{task_id} to check generation status and retrieve the output video URL when complete.

Tính năng cho Kling Video

Khám phá các tính năng chính của Kling Video , được thiết kế để nâng cao hiệu suất và khả năng sử dụng. Tìm hiểu cách các khả năng này có thể mang lại lợi ích cho dự án của bạn và cải thiện trải nghiệm người dùng.

Giá cả cho Kling Video

Khám phá mức giá cạnh tranh cho Kling Video , được thiết kế để phù hợp với nhiều ngân sách và nhu cầu sử dụng khác nhau. Các gói linh hoạt của chúng tôi đảm bảo bạn chỉ trả tiền cho những gì bạn sử dụng, giúp dễ dàng mở rộng quy mô khi yêu cầu của bạn tăng lên. Khám phá cách Kling Video có thể nâng cao các dự án của bạn trong khi vẫn kiểm soát được chi phí.
VersionQualityDurationPrice
v1std5s$0.13
v1std10s$0.26
v1pro5s$0.46
v1pro10s$0.92
v1.5/v1.6std5s$0.26
v1.5/v1.6std10s$0.53
v1.5/v1.6pro5s$0.46
v1.5/v1.6pro10s$0.92
v2-master-5s$1.32
v2-master-10s$2.64
v2-1std5s$0.26
v2-1std10s$0.53
v2-1pro5s$0.46
v2-1pro10s$0.92
v2-1-master-5s$1.32
v2-1-master-10s$2.64
v2-5-turbopro5s$0.33
v2-5-turbopro10s$0.66
v2-6 (no native audio)pro5s$0.33
v2-6 (no native audio)pro10s$0.67
v2-6 (native audio, no voice control)pro5s$0.67
v2-6 (native audio, no voice control)pro10s$1.33
v2-6 (native audio, with voice control)pro5s$0.80
v2-6 (native audio, with voice control)pro10s$1.60

Mã mẫu và API cho Kling Video

Truy cập mã mẫu toàn diện và tài nguyên API cho Kling Video để tối ưu hóa quy trình tích hợp của bạn. Tài liệu chi tiết của chúng tôi cung cấp hướng dẫn từng bước, giúp bạn khai thác toàn bộ tiềm năng của Kling Video trong các dự án của mình.
Python
JavaScript
Curl
import requests
import os

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/kling/v1"

headers = {
    "Authorization": f"Bearer {COMETAPI_KEY}",
    "Content-Type": "application/json",
}

# ============================================================
# Step 1: Create Video Task
# ============================================================
print("Step 1: Creating video task...")

create_payload = {
    "prompt": "A happy scene of a vacation on the beach.",
    "model_name": "kling-v2-6",
}

create_response = requests.post(
    f"{BASE_URL}/videos/text2video", headers=headers, json=create_payload
)

create_result = create_response.json()
print(f"Create response: {create_result}")

# Extract task ID from the response
task_id = create_result.get("data", {}).get("task_id")
if not task_id:
    print("Error: Failed to get task_id from response")
    exit(1)

print(f"Task ID: {task_id}")

# ============================================================
# Step 2: Query Task Status
# ============================================================
print("
Step 2: Querying task status...")

query_response = requests.get(
    f"{BASE_URL}/videos/text2video/{task_id}", headers=headers
)

query_result = query_response.json()
print(f"Query response: {query_result}")

# Check task status
task_status = query_result.get("data", {}).get("status") or query_result.get(
    "data", {}
).get("task_status")
print(f"Task status: {task_status}")

Python Code Example

import requests
import os

# Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
COMETAPI_KEY = os.environ.get("COMETAPI_KEY") or "<YOUR_COMETAPI_KEY>"
BASE_URL = "https://api.cometapi.com/kling/v1"

headers = {
    "Authorization": f"Bearer {COMETAPI_KEY}",
    "Content-Type": "application/json",
}

# ============================================================
# Step 1: Create Video Task
# ============================================================
print("Step 1: Creating video task...")

create_payload = {
    "prompt": "A happy scene of a vacation on the beach.",
    "model_name": "kling-v2-6",
}

create_response = requests.post(
    f"{BASE_URL}/videos/text2video", headers=headers, json=create_payload
)

create_result = create_response.json()
print(f"Create response: {create_result}")

# Extract task ID from the response
task_id = create_result.get("data", {}).get("task_id")
if not task_id:
    print("Error: Failed to get task_id from response")
    exit(1)

print(f"Task ID: {task_id}")

# ============================================================
# Step 2: Query Task Status
# ============================================================
print("\nStep 2: Querying task status...")

query_response = requests.get(
    f"{BASE_URL}/videos/text2video/{task_id}", headers=headers
)

query_result = query_response.json()
print(f"Query response: {query_result}")

# Check task status
task_status = query_result.get("data", {}).get("status") or query_result.get(
    "data", {}
).get("task_status")
print(f"Task status: {task_status}")

JavaScript Code Example

// Get your CometAPI key from https://api.cometapi.com/console/token, and paste it here
const api_key = process.env.COMETAPI_KEY || "<YOUR_COMETAPI_KEY>";
const base_url = "https://api.cometapi.com/kling/v1";

const headers = {
  "Authorization": `Bearer ${api_key}`,
  "Content-Type": "application/json",
};

async function main() {
  // ============================================================
  // Step 1: Create Video Task
  // ============================================================
  console.log("Step 1: Creating video task...");

  const createPayload = {
    prompt: "A happy scene of a vacation on the beach.",
    model_name: "kling-v2-6"
  };

  const createResponse = await fetch(`${base_url}/videos/text2video`, {
    method: "POST",
    headers: headers,
    body: JSON.stringify(createPayload)
  });

  const createResult = await createResponse.json();
  console.log("Create response:", JSON.stringify(createResult, null, 2));

  // Extract task ID from the response
  const taskId = createResult?.data?.task_id;
  if (!taskId) {
    console.log("Error: Failed to get task_id from response");
    process.exit(1);
  }

  console.log(`Task ID: ${taskId}`);

  // ============================================================
  // Step 2: Query Task Status
  // ============================================================
  console.log("\nStep 2: Querying task status...");

  const queryResponse = await fetch(`${base_url}/videos/text2video/${taskId}`, {
    method: "GET",
    headers: headers
  });

  const queryResult = await queryResponse.json();
  console.log("Query response:", JSON.stringify(queryResult, null, 2));

  // Check task status
  const taskStatus = queryResult?.data?.status || queryResult?.data?.task_status;
  console.log(`Task status: ${taskStatus}`);
}

main();

Curl Code Example

#!/bin/bash

# Get your CometAPI key from https://api.cometapi.com/console/token
# Export it as: export COMETAPI_KEY="your-key-here"

BASE_URL="https://api.cometapi.com/kling/v1"

# ============================================================
# Step 1: Create Video Task
# ============================================================
echo "Step 1: Creating video task..."

CREATE_RESPONSE=$(curl -s --location --request POST "${BASE_URL}/videos/text2video" \
  --header "Authorization: Bearer $COMETAPI_KEY" \
  --header "Content-Type: application/json" \
  --data-raw '{
    "prompt": "A happy scene of a vacation on the beach.",
    "model_name": "kling-v2-6"
  }')

echo "Create response: $CREATE_RESPONSE"

# Extract task_id using jq (install with: brew install jq)
TASK_ID=$(echo "$CREATE_RESPONSE" | jq -r '.data.task_id')

if [ "$TASK_ID" == "null" ] || [ -z "$TASK_ID" ]; then
  echo "Error: Failed to get task_id from response"
  exit 1
fi

echo "Task ID: $TASK_ID"

# ============================================================
# Step 2: Query Task Status
# ============================================================
echo ""
echo "Step 2: Querying task status..."

QUERY_RESPONSE=$(curl -s --location --request GET "${BASE_URL}/videos/text2video/${TASK_ID}" \
  --header "Authorization: Bearer $COMETAPI_KEY")

echo "Query response:"
echo "$QUERY_RESPONSE" | jq .

# Check task status
TASK_STATUS=$(echo "$QUERY_RESPONSE" | jq -r '.data.status // .data.task_status')
echo "Task status: $TASK_STATUS"

Thêm mô hình

O

Sora 2 Pro

Mỗi Giây:$0.24
Sora 2 Pro là mô hình tạo sinh đa phương tiện tiên tiến và mạnh mẽ nhất của chúng tôi, có khả năng tạo video với âm thanh được đồng bộ hóa. Nó có thể tạo các đoạn video chi tiết, sinh động từ ngôn ngữ tự nhiên hoặc hình ảnh.
O

Sora 2

Mỗi Giây:$0.08
Mô hình tạo video siêu mạnh mẽ, kèm hiệu ứng âm thanh, hỗ trợ định dạng chat.
M

mj_fast_video

Theo Yêu cầu:$0.6
Midjourney video generation
X

Grok Imagine Video

Mỗi Giây:$0.04
Tạo video từ prompt văn bản, làm động ảnh tĩnh hoặc chỉnh sửa video hiện có bằng ngôn ngữ tự nhiên. API hỗ trợ cấu hình thời lượng, tỷ lệ khung hình và độ phân giải cho các video được tạo — với SDK tự động xử lý việc thăm dò bất đồng bộ.
G

Veo 3.1 Pro

Mỗi Giây:$0.25
Veo 3.1-Pro đề cập đến quyền truy cập/cấu hình có khả năng cao của dòng Veo 3.1 của Google — một thế hệ mô hình video dạng ngắn, có hỗ trợ âm thanh, bổ sung âm thanh gốc phong phú hơn, các điều khiển tường thuật/chỉnh sửa được cải thiện và các công cụ mở rộng cảnh.
G

Veo 3.1

Mỗi Giây:$0.05
Veo 3.1 là bản cập nhật tiệm tiến nhưng đáng kể của Google cho dòng Veo chuyển đổi văn bản và hình ảnh→video, bổ sung âm thanh gốc phong phú hơn, đầu ra video dài hơn và dễ kiểm soát hơn, cùng khả năng chỉnh sửa tinh vi và điều khiển ở cấp độ cảnh.

Blog liên quan

HappyHorse-1.0 là gì? Làm thế nào để so sánh Seedance 2.0?
Apr 11, 2026
seedance-2-0

HappyHorse-1.0 là gì? Làm thế nào để so sánh Seedance 2.0?

Tìm hiểu HappyHorse-1.0 là gì, vì sao nó đứng đầu bảng xếp hạng video Artificial Analysis, cách nó so sánh với Seedance 2.0, và các bảng xếp hạng mới nhất có ý nghĩa gì đối với việc tạo video bằng AI.
Ra mắt Kling 3.0: Sẽ có những thay đổi gì?
Feb 4, 2026
kling-3-0

Ra mắt Kling 3.0: Sẽ có những thay đổi gì?

Kling 3.0 — phiên bản lớn tiếp theo trong gia đình mô hình video AI Kling — đang tạo ra làn sóng quan tâm mạnh mẽ trong cộng đồng nhà sáng tạo, các agency và đội ngũ sản phẩm. Các nhà cung cấp và nhà phân tích cộng đồng mô tả đây là một bước tiến mang tính thế hệ: thời lượng đầu ra dài hơn, khả năng tổng hợp âm thanh–hình ảnh tích hợp sẵn, duy trì danh tính và nhân vật nhất quán hơn xuyên suốt các chuỗi nhiều cảnh quay, cùng khả năng kiểm soát chặt chẽ hơn cho kể chuyện điện ảnh.
Bạn có thể nhép môi với Kling trong bao nhiêu giây?
Jan 26, 2026
kling-ai
kling-2-6

Bạn có thể nhép môi với Kling trong bao nhiêu giây?

Các công cụ hiện tại và các mô hình công khai của Kling hỗ trợ lip-sync trên track âm thanh dài tối đa 60 giây cho mỗi tác vụ trong nhiều môi trường triển khai, với video nguồn thường được tối ưu trong khoảng 2–10 giây để đạt độ trung thực cao nhất. Đối với các tác vụ lớn hơn, các quy trình sản xuất thực tế sẽ chia âm thanh dài thành nhiều đoạn 60 giây (hoặc ngắn hơn) và ghép lại kết quả trong giai đoạn hậu kỳ.
Kling AI có hỗ trợ nội dung NSFW không? Mọi điều bạn cần biết
Jan 22, 2026
kling-2-6
kling-ai

Kling AI có hỗ trợ nội dung NSFW không? Mọi điều bạn cần biết

Kling AI là một nền tảng tạo video từ văn bản và hình ảnh do Kuaishou (một công ty video ngắn lớn của Trung Quốc) phát triển. Về mặt kỹ thuật, nền tảng có khả năng tạo ra video ngắn chân thực, chất lượng cao, nhưng nền tảng công khai áp dụng kiểm duyệt nội dung nghiêm ngặt, chủ động không cho phép nội dung khiêu dâm/lộ liễu (NSFW) và nhiều danh mục nhạy cảm về chính trị. Nhà phát triển có thể truy cập các mô hình kiểu Kling thông qua CometAPI, nhưng các lớp kiểm duyệt về chính sách và kỹ thuật thường sẽ khiến các prompt lộ liễu bị từ chối hoặc đầu ra bị kiểm duyệt mạnh.
Video Kling có riêng tư không
Dec 31, 2025
kling-ai
kling-2-5-turbor

Video Kling có riêng tư không

Trong bối cảnh AI tạo sinh đang phát triển nhanh chóng, Kling AI đã nổi lên như một đối thủ đáng gờm của các ông lớn trong ngành như Sora của OpenAI và Runway Gen-3. Được phát triển bởi Kuaishou Technology, Kling AI cung cấp khả năng tạo video "đẳng cấp điện ảnh" đã thu hút các nhà sáng tạo nội dung trên toàn thế giới. Tuy nhiên, với nguồn gốc tại Trung Quốc và mô hình xử lý dựa trên đám mây, một câu hỏi then chốt đang đặt ra đối với người dùng doanh nghiệp và những người coi trọng quyền riêng tư: Các video của Kling có riêng tư không? Giá bao nhiêu và sử dụng như thế nào?