Kling 2.5 Turbo

    kling/kling-v2-5-turbo

    Cost-efficient tier in the 2.5 generation, with improved prompt adherence and physics under large-amplitude motion. Outputs silent 5- or 10-second clips.

    Cost EffectiveCreative GenerationContent Generation
    模態
    輸入 / 輸出價格
    -- / $0.042 起秒
    上下文
    --
    發布時間
    --

    價格

    規格720P1080P
    影片$0.042/ 秒$0.07/ 秒

    快速開始

    可直接貼上執行下方範例程式碼。Gate.AI API 與 OpenAI 相容,多數 SDK 只需替換 base URL;切換模型時,只需修改模型 ID。

    1

    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"
    2

    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.

    POSThttps://api.gate.ai/api/v1/videos
    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-v2-5-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}'
    3

    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.

    POSThttps://api.gate.ai/api/v1/videos
    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-v2-5-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}"

    端點

    基礎 URL、請求方法與必要請求頭,皆依當前模型的協議模板渲染。

    POSThttps://api.gate.ai/api/v1/videos
    欄位
    值
    Authorization
    驗證請求頭,使用 Bearer {API_KEY} 格式傳遞 API Key
    Content-Type
    請求內容型別,固定為 application/json
    Idempotency-Key
    Optional idempotency key; repeated submissions with the same value do not create duplicate jobs
    model
    Required video model ID; the current model is kling-v2-5-turbo
    prompt
    Required video description; include subject, action, scene, camera, and style
    duration
    Optional video duration in seconds; supported range depends on the model
    resolution
    Optional output resolution: 480p, 720p, or 1080p
    aspect_ratio
    Optional aspect ratio: 16:9, 4:3, 1:1, 3:4, 9:16, 21:9, or adaptive
    generate_audio
    Optional; whether to generate audio
    seed
    Optional random seed from -1 to 4294967295
    size
    Optional exact output size, such as 1280x720
    input_references
    Optional reference media array for image-to-video, first or last frames, or style transfer
    metadata
    Optional pass-through business object for auditing or source tags
    webhook_url
    Optional callback URL invoked when the job completes or fails

    相關模型

    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.

    Kling 3.0 Omni

    Fully 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.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.

    Kling 2.6

    First version to add native audio, producing visuals, voiceover, sound effects, and ambience in one pass. Suited for finished clips up to 10 seconds.

    Kling O1

    Cinematic-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.1

    Kling 2.1 image-to-video generation supports first and last frame control.

    Kling 2.1 Master

    Quality-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 Master

    Flagship of the 2.0 line, tuned for instruction following and cinematic aesthetics, with stylized effect presets. Outputs 1080p only.

    Kling 1.6

    Kling 1.6 supports text, first or last frame, and multi-reference-image video generation.

    Kling 1.5

    The 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.