Base URL, method, and required headers are rendered from the active protocol template for this model.

Kling 3.0
Core model of the 3.0 line, with first- and last-frame control, multi-shot storytelling, and native audio produced in the same pass. Suited for finished short-form work.
Pricing
| Specification | 720p | 1080p |
|---|---|---|
| Video (audio output) | $0.126/ second | $0.168/ second |
| Video (no audio output) | $0.084/ second | $0.112/ second |
Quick Start
Paste and run the sample code below. The Gate.AI API is OpenAI-compatible—most SDKs only need a new base URL. To switch models, change the model ID.
Get your API key
Sign in to the Gate.AI console and create a new key under "API Keys". Keep it safe and send it via the Authorization header on every request.
Create a key in the consoleexport GATEAI_API_KEY="YOUR_API_KEY"; export GATEAI_API_URL="https://api.gate.ai/api/v1/videos"Make a request
Send a POST request to the Chat Completions endpoint with a model ID and an array of messages to get a reply.
curl --location "https://api.gate.ai/api/v1/videos" --header "Authorization: Bearer {API_KEY}" --header "Content-Type: application/json" --header "Idempotency-Key: {IDEMPOTENCY_KEY}" --data '{"model":"kling-3.0","prompt":"A golden retriever running on a sunny beach, cinematic camera movement","duration":6,"resolution":"720p","aspect_ratio":"16:9","generate_audio":false,"seed":-1}'Handle the response & streaming
By default a full JSON response is returned. Add "stream": true to the request body to receive incremental chunks over SSE.
JOB_ID=$(curl --silent --location "https://api.gate.ai/api/v1/videos" --header "Authorization: Bearer {API_KEY}" --header "Content-Type: application/json" --header "Idempotency-Key: {IDEMPOTENCY_KEY}" --data '{"model":"kling-3.0","prompt":"A golden retriever running on a sunny beach, cinematic camera movement","duration":6,"resolution":"720p"}' | jq -r '.data.job_id'); curl --location "https://api.gate.ai/api/v1/videos/${JOB_ID}" --header "Authorization: Bearer {API_KEY}"Endpoint
Related Models
Kling 3.0 TurboSpeed-and-cost tier of the 3.0 line, covering text-to-video and first-frame image-to-video with multi-shot output. Suited for high-volume production.
Kling 3.0 OmniFully multimodal variant of the 3.0 line, accepting text, image, and video references in a single generation, with voice-driven characters and native audio.
Kling 2.6First version to add native audio, producing visuals, voiceover, sound effects, and ambience in one pass. Suited for finished clips up to 10 seconds.
Kling O1Cinematic-oriented model with first- and last-frame control and video reference input, including edits driven by an existing clip. Suited for narrative shot sequences.
Kling 2.1Kling 2.1 image-to-video generation supports first and last frame control.
Kling 2.5 TurboCost-efficient tier in the 2.5 generation, with improved prompt adherence and physics under large-amplitude motion. Outputs silent 5- or 10-second clips.
Kling 2.1 MasterQuality-oriented tier of the 2.1 line, tuned for motion performance and semantic responsiveness. Supports text-to-video and image-to-video, suited for single-shot clips.
Kling 2.0 MasterFlagship of the 2.0 line, tuned for instruction following and cinematic aesthetics, with stylized effect presets. Outputs 1080p only.
Kling 1.6Kling 1.6 supports text, first or last frame, and multi-reference-image video generation.
Kling 1.5The oldest generation still available, limited to image-to-video with first- and last-frame control and no multi-image reference. Suited for basic, cost-sensitive clip generation.