Kling V2.6
Sign in to try Kling V2.6
Sign in with your Google account and top up credits to get started.
Sign in with GoogleUse via API
Base URL: https://adverraai.com/hub/api/v1 · Authenticate with Authorization: Bearer YOUR_API_KEY
# 1) Submit a task
curl https://adverraai.com/hub/api/v1/videos/generations \
-H "Authorization: Bearer $ADVERRA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-v2-6",
"prompt": "a cinematic shot of a city at night",
"mode": "std",
"duration": 10,
"aspect_ratio": "9:16"
}'
# => {"id":"task_xxx","status":"queued",...}
# 2) Check status (every 3-5 seconds until status = completed)
curl https://adverraai.com/hub/api/v1/tasks/task_xxx -H "Authorization: Bearer $ADVERRA_API_KEY"
# => {"status":"completed","output":[{"type":"video","url":"https://..."}]}
import requests, time
API = "https://adverraai.com/hub/api/v1"
H = {"Authorization": "Bearer YOUR_API_KEY"}
task = requests.post(f"{API}/videos/generations", headers=H, json={
"model": "kling-v2-6",
"prompt": "a cinematic shot of a city at night",
"mode": "std",
"duration": 10,
"aspect_ratio": "9:16"
}).json()
while task["status"] not in ("completed", "failed"):
time.sleep(4)
task = requests.get(f"{API}/tasks/{task['id']}", headers=H).json()
print(task["status"], [o["url"] for o in task["output"]], task["credits_charged"])
const API = "https://adverraai.com/hub/api/v1", H = { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" };
let task = await (await fetch(`${API}/videos/generations`, { method: "POST", headers: H, body: JSON.stringify({
model: "kling-v2-6",
"prompt": "a cinematic shot of a city at night",
"mode": "std",
"duration": 10,
"aspect_ratio": "9:16"
}) })).json();
while (!["completed", "failed"].includes(task.status)) {
await new Promise(r => setTimeout(r, 4000));
task = await (await fetch(`${API}/tasks/${task.id}`, { headers: H })).json();
}
console.log(task.output);
Common parameters: prompt, image_urls, size / aspect_ratio, resolution, duration, n, negative_prompt, seed. Credits are reserved at an estimated price when you submit and adjusted to the actual cost when the task finishes (failed tasks are fully refunded).
Parameters for this model
Send as JSON in the request body. Fields marked * are required.
| Parameter | Type | Allowed values | Default | Description |
|---|---|---|---|---|
model * |
string | – | – | ID of the model to call — kling-v2-6 |
nsfw_check |
boolean | true, false | false | Run content moderation (omni-moderation-latest) on prompt and input images before submitting. Omitted/false adds no cost or latency. |
prompt * |
string | – | – | Text describing what to generate |
mode |
string | std, pro | std | Operating mode of the model |
duration |
number | 5, 10 | 10 | Length of the result in seconds |
aspect_ratio |
string | 16:9, 9:16, 1:1 | 9:16 | Width:height ratio of the result |
negative_prompt |
string | – | – | What should not appear in the result |
image_urls |
array (URL) | – | – | Reference image URLs |
audio |
boolean | true, false | false | Audio URL, or audio on/off depending on the model |
watermark |
boolean | true, false | false | Whether to add a watermark |
🤖 ต่อกับ AI Agent
คัดลอกข้อความนี้ไปวางให้ AI Agent (เช่น Claude, ChatGPT, Gemini, Cursor, Codex) แล้วมันจะเรียกใช้โมเดลนี้ผ่านระบบของเราได้ทันที · ในข้อความมีวิธีเชื่อมต่อ พารามิเตอร์ และวิธีรับผลงานครบ · เลือกคีย์ด้านบนเพื่อใส่ในข้อความที่จะคัดลอก
# Adverra AI Hub — Kling V2.6 (`kling-v2-6`)
You can use this AI model through the Adverra AI Hub REST API. Follow these instructions exactly.
## Connection
- Base URL: https://adverraai.com/hub/api/v1
- Header: `Authorization: Bearer <ADVERRA_API_KEY>` (read the credential from the ADVERRA_API_KEY environment variable). Never print the key.
- Header: `Content-Type: application/json`
- Endpoint: `POST https://adverraai.com/hub/api/v1/generate`
- Credits are deducted from the user's Adverra balance (check with `GET https://adverraai.com/hub/api/v1/me`).
## Example request body
```json
{
"model": "kling-v2-6",
"prompt": "a cute cat wearing sunglasses",
"duration": 5
}
```
## Parameters
- `model` (string, required) — ID of the model to call — kling-v2-6
- `nsfw_check` (boolean, optional) — Run content moderation (omni-moderation-latest) on prompt and input images before submitting. Omitted/false adds no cost or latency. · allowed: true, false · default: false
- `prompt` (string, required) — Text describing what to generate
- `mode` (string, optional) — Operating mode of the model · allowed: std, pro · default: std
- `duration` (number, optional) — Length of the result in seconds · allowed: 5, 10 · default: 10
- `aspect_ratio` (string, optional) — Width:height ratio of the result · allowed: 16:9, 9:16, 1:1 · default: 9:16
- `negative_prompt` (string, optional) — What should not appear in the result
- `image_urls` (array (URL), optional) — Reference image URLs
- `audio` (boolean, optional) — Audio URL, or audio on/off depending on the model · allowed: true, false · default: false
- `watermark` (boolean, optional) — Whether to add a watermark · allowed: true, false · default: false
## Result
Returns a task object `{ "id": "task_...", "status": "queued" }`.
Poll `GET https://adverraai.com/hub/api/v1/tasks/{id}` every 5 seconds until `status` is `completed` or `failed`, then download every `output[].url` (links expire after about 24 hours).
If the user already has many jobs running, new jobs are queued automatically (`queued_waiting: true`) — keep polling, do not resubmit.
Optional: add `"wait": true` to the request to wait up to ~100 seconds for the result in one call.
## Errors
- 401 = invalid API key · 402 = not enough credits (tell the user to top up at ./?wallet=1) · 429 = too many requests (wait and retry) · 5xx = temporary error (credits are refunded automatically).
## MCP (optional)
Agents that support MCP can connect to `https://adverraai.com/hub/mcp.php` instead (setup guide: https://adverraai.com/hub/connect.php).
About this model
Kling V2.6 is a Video model by Adverra AI Hub
Kling V2.6 is an AI video generation model developed by Kuaishou, known for producing videos with exceptional visual quality, realistic motion, and professional cinematic effects. It excels at transforming text descriptions and images into dynamic video content. This model is ideal for creators and businesses looking to generate high-quality video quickly and efficiently.
Key features
- Text-to-video generation
- Image-to-video generation (first frame)
- Image-to-video generation (first and last frames)
- Native audio generation (Pro mode)
- Camera control for cinematic effects
- Dynamic masks with trajectory control
- Support for negative prompts
- Choice of standard (720p) or professional (1080p) modes
What you can do
- Creating scroll-stopping video advertisements
- Producing engaging branded content with audio
- Generating rapid storyboard previews for film production
- Developing motion references for animation and VFX
- Transforming complex concepts into engaging video explanations
- Bringing still photos to life with subtle movement
- Crafting cinematic clips with specific camera movements
- Designing short video narratives from text descriptions
Specs
- Resolutions: 720p (standard) and 1080p (professional)
- Durations: 5 or 10 seconds
- Aspect Ratios: 16:9, 9:16, 1:1
- Inputs: Text (up to 2,500 characters), single image (first frame), or two images (first and last frames)
- Audio: Native audio generation available in 1080p Pro mode
- Output: MP4 video files
Prompt tips
- Describe the subject, setting, and desired camera movement to create coherent, single-scene cinematic clips.
- Specify a camera plan (e.g., lateral tracking, push, pull) to achieve polished cinematic shots with continuous motion.
- Use negative prompts to exclude unwanted elements like 'blurry,' 'low quality,' or 'distorted' from your video.
- For precise motion guidance, leverage dynamic masks with trajectory control.
- When generating from an image, consider how the input image's aspect ratio might influence the output video's dimensions.
- Clearly define the desired mood and style in your prompt for more accurate results.
Examples
Sample videos from the model developer's official channels