Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기
모델 컬렉션KUAISHOU · KLING 4.0

Kling 4.0 API

Kling 4.0 generates 3–30 second videos from text, images or references, and edits existing clips, at 720p or 1080p.

모델 라인업 둘러보기

출력 스타일을 미리 보고, 기능을 비교한 다음, 각 모델을 열어 전체 사양, 가격, 실시간 Playground를 확인하세요.

Model lineup

The most used endpoints first.

ModelTaskWhat it does
Kling V4 Reference to VideoReference → videoKling V4 Reference to Video by Kuaishou generates a 3-30 second video that keeps characters, objects and motion from reference images and videos
Kling V4 Text to VideoText → videoKling V4 Text to Video by Kuaishou turns a text prompt into a 3-30 second video at 720p or 1080p
Kling V4 Image to VideoImage → videoKling V4 Image to Video by Kuaishou animates a start image, optionally toward an end image, into a 3-30 second video
Kling V4 Video EditVideo → videoKling V4 Video Edit by Kuaishou edits a 3-30 second source video from a text instruction and optional reference images

Kling 4.0 on SandBase

Kling 4.0 is the newest Kling generation. Its main change is clip length: every endpoint works with 3–30 second videos, up from 15 seconds on Kling 3.0.

  • Text to video: 3–30 seconds at 720p or 1080p.
  • Image to video: animate a start image, optionally toward an end image.
  • Reference to video: keep characters, objects and motion from reference images and videos.
  • Video edit: change a 3–30 second source clip with a text instruction and optional reference images.

Need 4K, Motion Control or talking avatars? Those are on Kling 3.0. Every version is on Kling API.

Start using Kling 4.0 API on SandBase

One API key and one request shape for every model on this page.

  1. 01

    Create an API key

    Sign in to the SandBase Console and create a key on the API Keys page. Keep it in an environment variable and never commit it to source control.

    터미널

    export SANDBASE_API_KEY="YOUR_SANDBASE_API_KEY"
  2. 02

    Submit a run

    Send a request to the Unified Run API with model kwaivgi/kling-video/v4/text-to-video. Only the model field changes between models on this page.

    터미널

    curl https://api.sandbase.ai/v1/run \
      -H "Authorization: Bearer $SANDBASE_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"model": "kwaivgi/kling-video/v4/text-to-video", "prompt": "A single drop of water falls from a leaf into a shallow dish, golden window light, macro shot"}'
  3. 03

    Fetch the result

    The response includes a run id. Poll it every few seconds until the status is completed, then download the output URL.

    터미널

    curl https://api.sandbase.ai/v1/run/$RUN_ID \
      -H "Authorization: Bearer $SANDBASE_API_KEY"

질문, 답변

How long can Kling 4.0 videos be?

3 to 30 seconds on every Kling 4.0 endpoint.

What resolutions does Kling 4.0 support?

Text to Video lists 720p and 1080p. Check each model page for its options.

Kling 4.0 or Kling 3.0?

Use 4.0 for clips longer than 15 seconds and reference-guided video. Use 3.0 for native 4K and Motion Control.

Can Kling 4.0 edit an existing video?

Yes. Kling V4 Video Edit changes a 3–30 second clip from a text instruction and optional reference images.

준비 / 시작 / 실행

Kling 4.0 API로 빌드하세요.

이 페이지의 모든 모델에 대해 하나의 키, 일관된 API, 사용량 기반 요금제를 제공합니다.

API 키 받기문서 읽기