Home/Models/Kling/Kling Video

Kling Video

Kling
kling_video
요청당:$0.13
비디오 생성
기능
가격
API

Kling Video 의 기능

[모델 이름]의 성능과 사용성을 향상시키도록 설계된 주요 기능을 살펴보세요. 이러한 기능이 프로젝트에 어떻게 도움이 되고 사용자 경험을 개선할 수 있는지 알아보세요.
text-to-text
text-to-music
speech-to-text
text-to-speech
text-to-image
image-to-image
image-editing
image-to-text
text-to-video
image-to-video
chat
video-to-text
pdf-to-text

Kling Video 가격

[모델명]의 경쟁력 있는 가격을 살펴보세요. 다양한 예산과 사용 요구에 맞게 설계되었습니다. 유연한 요금제로 사용한 만큼만 지불하므로 요구사항이 증가함에 따라 쉽게 확장할 수 있습니다. [모델명]이 비용을 관리 가능한 수준으로 유지하면서 프로젝트를 어떻게 향상시킬 수 있는지 알아보세요.
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

Kling Video 의 샘플 코드 및 API

[모델 이름]의 포괄적인 샘플 코드와 API 리소스에 액세스하여 통합 프로세스를 간소화하세요. 자세한 문서는 단계별 가이드를 제공하여 프로젝트에서 [모델 이름]의 모든 잠재력을 활용할 수 있도록 돕습니다.
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}")

더 많은 모델