Kling 4.0 플레이그라운드
입력
Describe the scene. Use @Image1 / @Element1 for references. Required unless multiShots is supplied; mutually exclusive with multiShots.
Raw references (up to 10); address as @Image1, @Image2. Requires elements, transform or video_reference mode.
Required first frame in start_end_frame mode
Ordered middle frames (up to 8) in start_end_frame mode; at most 10 total frames
Optional last frame in start_end_frame mode
Source video for transform / video_reference. Duration is probed before charging; 3–10 seconds for transform, 3–30 for video_reference. Transform needs a short side of at least 700px.
실행 비용은 잔액에서 차감됩니다.
출력

출력이 여기에 표시됩니다.
필드를 입력하고 비용을 확인한 뒤 모델을 실행하세요. 결과가 여기에 표시됩니다. 브라우저에서 사용할 때는 별도의 API 키가 필요하지 않습니다.
Kling 4.0 API 가격
| 옵션 | 초당 가격 |
|---|---|
| Resolution: 720p · Source Video: no | $0.171 |
| Resolution: 720p · Source Video: yes | $0.229 |
| Resolution: 1080p · Source Video: no | $0.256 |
| Resolution: 1080p · Source Video: yes | $0.343 |
빠른 시작
전체 API 레퍼런스 →1curl -X POST https://api.api-stock.com/api/v1/generation/create \2 -H "Authorization: Bearer $API_STOCK_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "model": "kling-4.0",6 "input": {7 "resolution": "720p",8 "duration": 3,9 "generateAudio": true,10 "keepAudio": true11 }12 }'
매개변수
| 이름 | 유형 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|
prompt | string | 아니요 | — | Describe the scene. Use @Image1 / @Element1 for references. Required unless multiShots is supplied; mutually exclusive with multiShots. |
videoMode | string | 아니요 | — | Omit for pure text-to-video. Use elements for references, start_end_frame for keyframes, transform or video_reference for a source video.다음 중 하나: elements, start_end_frame, transform, video_reference |
resolution | string | 아니요 | 720p | Output resolution (4K is not available)다음 중 하나: 720p, 1080p |
duration | number | 아니요 | 3 | Output seconds, 3–30. Ignored with source video (its probed duration is billed) or multiShots (shot durations are summed). |
aspectRatio | string | 아니요 | — | Aspect ratio; must be auto with a source video. Keyframes determine their own ratio.다음 중 하나: auto, 16:9, 9:16, 1:1, 21:9 |
generateAudio | boolean | 아니요 | true | Generate native stereo audio (included in the price) |
keepAudio | boolean | 아니요 | true | Preserve source video audio |
imageUrls | string[] | 아니요 | — | Raw references (up to 10); address as @Image1, @Image2. Requires elements, transform or video_reference mode. |
startImageIndex | number | 아니요 | — | 1-based imageUrls index anchoring the first frame (elements mode) |
elements | object[] | 아니요 | — | Subject elements: { description?: string, type?: image | video, imageUrls?: string[1..4], videoUrl?: string }. Up to 7, at most 3 video elements. Images and elements together: at most 15, or 14 with source video. |
startFrameUrl | string | 아니요 | — | Required first frame in start_end_frame mode |
keyframeUrls | string[] | 아니요 | — | Ordered middle frames (up to 8) in start_end_frame mode; at most 10 total frames |
endFrameUrl | string | 아니요 | — | Optional last frame in start_end_frame mode |
videoUrl | string | 아니요 | — | Source video for transform / video_reference. Duration is probed before charging; 3–10 seconds for transform, 3–30 for video_reference. Transform needs a short side of at least 700px. |
multiShots | object[] | 아니요 | — | 2–6 scenes totalling 3–30 seconds; replaces prompt and duration. Only text-to-video and elements modes. |
자주 묻는 질문
Kling 4.0의 비용은 얼마인가요?
Kling 4.0의 API Stock API 사용 가격은 $0.171 출력 1초당부터 시작합니다. 단일 선불 잔액에서 사용량에 따라 지불하며, 구독은 필요하지 않습니다. 최종 가격은 해상도나 길이와 같은 매개변수에 따라 달라집니다.
Kling 4.0은(는) 언제 출시되었나요?
Kling 4.0은(는) 2026년 10월 15일에 출시되었습니다. 다른 모든 모델과 같은 API 키와 선불 잔액으로 API Stock API를 통해 사용할 수 있습니다.
Kling 4.0의 API 키는 어떻게 발급받나요?
API Stock에 가입하고 사용 가능한 결제 수단으로 잔액을 충전한 뒤 대시보드에서 API 키를 생성하면 됩니다. 몇 분이면 끝나고 계약도 필요 없습니다. 동일한 키로 카탈로그의 모든 모델을 사용할 수 있으므로 Kling 4.0용 키를 따로 발급받을 필요는 없습니다.
Kling 4.0 API는 어떻게 호출하나요?
API 키와 모델 ID "kling-4.0"를 사용해 https://api.api-stock.com/api/v1/generation/create로 POST 요청을 보내세요. 요청하면 폴링할 작업 ID가 반환되며, 결과가 준비되면 웹훅 콜백을 받을 수도 있습니다. 바로 실행할 수 있는 예제는 위의 빠른 시작에 있습니다.
Kling 4.0은(는) 어떤 입력 매개변수를 지원하나요?
Kling 4.0은(는) 15개의 입력 매개변수를 지원합니다. 해당 유형, 기본값 및 허용되는 값은 위의 매개변수 표에 나와 있습니다.
Kling 4.0 요청이 실패하면 어떻게 되나요?
API Stock은 자동으로 예비 제공업체에 요청을 재시도합니다. 모든 제공업체에서 실패하면 요금이 잔액으로 환불됩니다.
다른 모델과 동일한 API 키로 Kling 4.0을(를) 사용할 수 있나요?
예. API Stock의 모든 모델(비디오, 이미지, 음악, 채팅)은 하나의 API 키와 하나의 선불 잔액을 공유하므로, 새 인증 정보 없이 Kling 4.0으로 전환할 수 있습니다.
