基础 URL、请求方法和必需请求头均按当前模型的协议模板渲染。

Kling 3.0 Turbo
Speed-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.
价格
| 规格 | 720p | 1080p |
|---|---|---|
| 视频(无音频输出) | $0.112/ 秒 | $0.14/ 秒 |
快速开始
可直接粘贴运行下方示例代码。Gate.AI API 与 OpenAI 兼容,多数 SDK 只需替换 base URL;切换模型时,只需修改模型 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.
前往控制台创建密钥export 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-turbo","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-turbo","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}"端点
相关模型
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 3.0Core 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.
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.