# Kling Kling v2.6 Pro — Text To Video > Try Kling-v2.6-Pro on GPT Proto. Generate cinematic 1080p videos with native audio and character consistency. Get more affordable AI API access. ## Overview - **Endpoint**: `POST https://gptproto.com/api/v3/kwaivgi/kling-v2.6-pro/text-to-video` - **Query endpoint**: `POST https://gptproto.com/api/v3/predictions/{{id}}/result` - **Model ID**: `kling-v2.6-pro` - **Vendor**: Kling - **Scene**: `text-to-video` - **Category**: text-to-video - **Modalities**: input text → output video - **Model page**: https://gptproto.com/model/kling/kling-v2.6-pro - **API documentation**: https://docs.gptproto.com/docs/allapi/Kling/kling-v2.6-pro/gptproto-format/text-to-video - **Other scenes of this model**: `image-to-video`, `motion-control` — same auth, different endpoint path and input schema ## Authentication Every request needs a GPTProto API key. Create one at https://gptproto.com/dashboard/api-key, then export it: ```bash export GPTPROTO_API_KEY="your-api-key" ``` Header: `Authorization: Bearer $GPTPROTO_API_KEY`. ## Pricing Platform price by tier (USD, already includes the GPTProto discount): - **5** — $0.28 per run - **5** — $0.56 per run - **10** — $0.56 per run - **10** — $1.12 per run Price range: $0.28 – $1.12 per generation. Prices may change. The model page always shows the live price: https://gptproto.com/model/kling/kling-v2.6-pro ## API Information The examples below use this model's official request format. Submit the first request, then poll the query endpoint until the vendor operation finishes. ### Input Schema The accepted JSON body is the official request shape below: **Full Example**: ```json { "prompt": "a cat", "negative_prompt": "", "sound": true, "aspect_ratio": "9:16", "duration": 5 } ``` ## Usage Examples ### 1. Submit a request ```bash curl --request POST "https://gptproto.com/api/v3/kwaivgi/kling-v2.6-pro/text-to-video" \ --header "Authorization: Bearer $GPTPROTO_API_KEY" \ --header "Content-Type: application/json" \ --data '{ "prompt": "a cat", "negative_prompt": "", "sound": true, "aspect_ratio": "9:16", "duration": 5 }' ``` ```python import os import requests url = "https://gptproto.com/api/v3/kwaivgi/kling-v2.6-pro/text-to-video" headers = { "Authorization": f"Bearer {os.environ['GPTPROTO_API_KEY']}", "Content-Type": "application/json" } payload = { "prompt": "a cat", "negative_prompt": "", "sound": True, "aspect_ratio": "9:16", "duration": 5 } response = requests.request("POST", url, headers=headers, json=payload) print(response.json()) ``` ```typescript const response = await fetch("https://gptproto.com/api/v3/kwaivgi/kling-v2.6-pro/text-to-video", { method: "POST", headers: { "Authorization": `Bearer ${process.env.GPTPROTO_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ prompt: "a cat", negative_prompt: "", sound: true, aspect_ratio: "9:16", duration: 5, }), }); const data = await response.json(); console.log(data); ``` ### 2. Check status Replace `{{operation_id}}` (or the operation name in the URL) with the value returned by the submit request, and keep polling until the operation completes. ```bash curl --request POST "https://gptproto.com/api/v3/predictions/{{id}}/result" \ --header "Authorization: Bearer $GPTPROTO_API_KEY" \ --header "Content-Type: application/json" ``` ```python import os import requests url = "https://gptproto.com/api/v3/predictions/{{id}}/result" headers = { "Authorization": f"Bearer {os.environ['GPTPROTO_API_KEY']}", "Content-Type": "application/json" } response = requests.request("POST", url, headers=headers) print(response.json()) ``` ```typescript const response = await fetch("https://gptproto.com/api/v3/predictions/{{id}}/result", { method: "POST", headers: { "Authorization": `Bearer ${process.env.GPTPROTO_API_KEY}`, "Content-Type": "application/json", }, }); const data = await response.json(); console.log(data); ``` ## Example Prompts - In the afternoon room, sunlight filters through the blinds, creating striped patches of light, and a cat lies on the windowsill. The cat breathes slowly, its body rising and falling with each breath. In the background, the distant, muffled chirping of birds and the rustling of fa… - In front of the main grandstand on an F1 circuit, race cars roar past at high speed, flags along the track whipping in the wind. Two nearly side-by-side cars are sprinting toward the finish. The commentator shouts excitedly: "Final lap! He's on the inside! Oh what a move! They ar… - Scene: A livehouse venue with blue stage lights illuminating the performance area. A tall barstool is placed at the center of the stage, surrounded by an audience. Subject: A short-haired female singer sits on the barstool, holding an acoustic guitar and performing live. Audio: T… ## HTTP Status Codes - `400` — malformed body, a parameter or value this model does not accept, or input blocked by the provider's content moderation - `401` — missing or invalid API key - `403` — insufficient credits - `413` — request body too large - `429` — rate limited; retry with backoff - `500` — An internal server error occurred - `502` — An internal server error occurred - `504` — Gateway timeout — upstream service did not respond in time; retry later ## Additional Resources - [Model page](https://gptproto.com/model/kling/kling-v2.6-pro) - [API documentation](https://docs.gptproto.com/docs/allapi/Kling/kling-v2.6-pro/gptproto-format/text-to-video) - [All models](https://gptproto.com/model) - [API keys](https://gptproto.com/dashboard/api-key) - [Platform overview for LLMs](https://gptproto.com/llms-full.txt) - Any other model: `https://gptproto.com/model/{vendor}/{model}/{scene}/llms.txt`