Kuaishoukling-4.0-flash
Kuaishou Kling 4.0 Flash: the quicker Kling 4.0, 3 to 20 second clips at 720p from a prompt, a first frame, or 최대 10 reference images and 5 reference videos, with a soundtrack of its own
$0.07536/ 초-20%$0.0942공식 가격생성 실패 시 과금 없음
- 3–20 second clips
- 720p
- 최대 10 images, 5 videos
- Soundtrack on by default
- 모달리티
- 동영상
- 엔드포인트
- /v1/videos/generations
- 모델 ID
- kling-4.0-flash
- 제공업체
- Kuaishou
Kling 4.0 Flash API 개요
문서화된 엔드포인트
동영상 요청은 다음 엔드포인트로 보냅니다: /v1/videos/generations. 아래 파라미터 표에 이 엔드포인트에서 문서화된 필드가 나와 있습니다.
모델 제공업체
Kling 4.0 Flash 제공업체: Kuaishou · API 모델 ID: kling-4.0-flash.
출력과 제한
3–20 seconds; 720p only; one output per request; text: 21:9, 16:9, 1:1 or 9:16, and references may also use adaptive; a first frame sets the shape (adaptive), and no last frame is taken; an edit (omni_reference_task_type edit) changes reference_videos[0] and keeps its length, the other references steering it; 최대 10 images and 5 videos, 15 (합계), and no reference audio; reference videos 3–20 초씩 and 20 (합계), 700–4553 pixels a side at 24–60 fps; reference images at least 300 pixels a side with a width to height ratio from 0.4 to 2.5; with a reference video, the billed seconds are twice the output, or the reference videos and the output together when the reference videos run longer; prompt 필수, 최대 26,000 English or 11,000 other characters; name references as @image1 or @video1; a soundtrack is generated unless generate_audio is false
Kling 4.0 Flash API 가격
아래 모든 과금 항목에서 Kling 4.0 Flash은 공식 정가보다 20% 저렴하게 청구됩니다.
| 항목 | ArgoLink 가격 | 공식 가격 | 절약 |
|---|---|---|---|
| 720p | $0.07536 / 초 | -20% | |
| 720p 동영상 입력 포함 | $0.0502 / 초 | -20% |
3–20 seconds; 720p only; one output per request; text: 21:9, 16:9, 1:1 or 9:16, and references may also use adaptive; a first frame sets the shape (adaptive), and no last frame is taken; an edit (omni_reference_task_type edit) changes reference_videos[0] and keeps its length, the other references steering it; 최대 10 images and 5 videos, 15 (합계), and no reference audio; reference videos 3–20 초씩 and 20 (합계), 700–4553 pixels a side at 24–60 fps; reference images at least 300 pixels a side with a width to height ratio from 0.4 to 2.5; with a reference video, the billed seconds are twice the output, or the reference videos and the output together when the reference videos run longer; prompt 필수, 최대 26,000 English or 11,000 other characters; name references as @image1 or @video1; a soundtrack is generated unless generate_audio is false
Kling 4.0 Flash API 레퍼런스
빠른 시작
콘솔에서 API 키를 만든 다음, 이 페이지에 나온 베이스 URL, 엔드포인트, 요청 본문을 사용하세요.
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-4.0-flash",
"prompt": "A slow aerial shot over a foggy pine forest at sunrise"
}'
curl https://argolink.io/v1/videos/$REQUEST_ID \
-H "Authorization: Bearer $ARGOLINK_API_KEY"
curl -L https://argolink.io/v1/videos/$REQUEST_ID/content \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-o output.mp4
import os
import time
import requests
headers = {"Authorization": f"Bearer {os.environ['ARGOLINK_API_KEY']}"}
job = requests.post(
"https://argolink.io/v1/videos/generations",
headers=headers,
json={"model": "kling-4.0-flash", "prompt": "A slow aerial shot over a foggy pine forest at sunrise"},
timeout=600,
)
job.raise_for_status()
request_id = job.json()["request_id"]
while True:
status = requests.get(f"https://argolink.io/v1/videos/{request_id}", headers=headers, timeout=60).json()
if status["status"] in ("done", "failed", "expired"):
break
time.sleep(5)
if status["status"] == "done":
video = requests.get(f"https://argolink.io/v1/videos/{request_id}/content", headers=headers, timeout=600)
open("output.mp4", "wb").write(video.content)
모드
텍스트로 동영상 생성
프롬프트만으로 생성
가장 간단한 호출입니다. 필수 항목은 prompt뿐이며, 생략한 필드는 5초, 720p, 16:9로 렌더링되고 청구됩니다.
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-4.0-flash",
"prompt": "해 뜰 무렵 안개 낀 소나무 숲 위를 천천히 지나가는 항공 숏",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "16:9"
}'
| 필드 | 값 |
|---|---|
prompt | 필수, 최대 26,000 characters; describe the camera move, the subject and the mood |
duration | 3–20 정수 초, 기본값 5 |
resolution | 720p |
aspect_ratio | 21:9 · 16:9 · 1:1 · 9:16, 기본값 16:9 |
size | resolution과 aspect_ratio 대신 쓰는 픽셀 값으로, 1280x720은 720p 16:9에 해당 |
요청 하나에 동영상 하나를 렌더링합니다. seed와 watermark는 지원하지 않으며, generate_audio가 false가 아니면 결과물에 생성된 사운드트랙이 들어갑니다.
참조
직접 제공한 이미지, 동영상 또는 오디오를 따라 생성
결과물은 보낸 소재의 피사체, 움직임 또는 비트를 따릅니다. 프롬프트에서 @Image 1, @Video 1, @Audio 1처럼 특정 소재를 가리킬 수 있습니다. 이름으로 지칭하지 않은 소재도 그대로 사용됩니다.
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-4.0-flash",
"prompt": "@Image 1의 인물이 비 내리는 밤거리로 걸어 들어가게 하세요",
"duration": 5,
"resolution": "720p",
"reference_images": [{"url": "https://example.com/subject.png"}]
}'
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-4.0-flash",
"prompt": "@Image 1의 소녀가 @Audio 1의 비트에 맞춰 @Video 1의 댄서처럼 춤춘다",
"duration": 10,
"resolution": "720p",
"reference_images": [{"url": "https://example.com/girl.png"}],
"reference_videos": [{"url": "https://example.com/dance.mp4"}],
"reference_audios": [{"url": "https://example.com/beat.mp3"}]
}'
| 필드 | 값 |
|---|---|
prompt | 필수; 소재는 @Image 1, @Video 1, @Audio 1처럼 지칭 |
reference_images | HTTPS 이미지 최대 10장, JPEG 또는 PNG |
reference_videos | 최대 5 개 클립, 각 3–20 seconds and 20 초(합계) |
reference_audios | 이 라우트에서는 지원 안 함 |
duration | 3–20 정수 초, 기본값 5 |
resolution | 720p |
aspect_ratio | 21:9 · 16:9 · 1:1 · 9:16 · adaptive, 기본값 16:9 |
이미지와 동영상은 자유롭게 섞을 수 있음, 최대 15 assets in total. Reference videos are billed at the output rate; 참조 이미지는 무료.
첫 프레임과 마지막 프레임
시작 장면을 고정하고, 원하면 끝 장면도 고정
start_image만 보내면 첫 프레임이 되고, end_image를 더하면 모델이 둘 사이를 채웁니다.
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-4.0-flash",
"prompt": "카메라가 천천히 다가가는 동안 나뭇잎이 화면을 가로질러 흩날린다",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "adaptive",
"start_image": {"url": "https://example.com/first-frame.png"}
}'
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-4.0-flash",
"prompt": "같은 스카이라인 위로 낮이 밤으로 바뀌며 불빛이 하나둘 켜진다",
"duration": 5,
"resolution": "720p",
"aspect_ratio": "adaptive",
"start_image": {"url": "https://example.com/day.png"},
"end_image": {"url": "https://example.com/night.png"}
}'
| 필드 | 값 |
|---|---|
prompt | 필수; 장면이 어떻게 움직이는지 설명 |
start_image | HTTPS 이미지 1장으로, 결과물의 화면 비율을 정함 |
end_image | 선택; 동영상의 마지막 장면이 되는 HTTPS 이미지 1장 |
duration | 3–20 정수 초, 기본값 5 |
resolution | 720p |
aspect_ratio | adaptive만 가능; 첫 프레임을 따름 |
두 필드 모두 참조 소재와 함께 쓸 수 없습니다. 결과물은 첫 프레임에 가장 가까운 비율을 따릅니다.
동영상 편집
이미 있는 동영상을 고쳐 만들기
동영상에서 시작하는 유일한 모드입니다. 결과물은 원본 동영상의 길이와 비율을 유지하며, 등급은 resolution으로 고릅니다.
curl https://argolink.io/v1/videos/generations \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "kling-4.0-flash",
"omni_reference_task_type": "edit",
"prompt": "색감은 더 따뜻하게 바꾸고 나머지는 모두 그대로 두세요",
"resolution": "720p",
"reference_videos": [{"url": "https://example.com/street.mp4"}]
}'
| 필드 | 값 |
|---|---|
omni_reference_task_type | edit으로 설정 |
reference_videos | 첫 번째 클립이 편집할 동영상, 3–20 초 길이 |
reference_images | 최대 10 images and 4 more videos steer the edit |
prompt | 필수, 최대 26,000 characters; say what to change |
resolution | 720p |
duration · aspect_ratio | 편집할 동영상을 따르므로 둘 다 생략 |
편집하는 동영상은 출력으로 한 번, 참조 동영상으로 한 번 청구됩니다. 5초 동영상을 편집하면 10초가 청구됩니다. 이 모드에서는 start_image와 end_image를 보낼 수 없습니다.
참조 소재를 업로드하고 사용하는 방법
자체 링크 또는 먼저 업로드한 로컬 파일
The url of start_image, end_image and every entry of reference_images and reference_videos is an HTTPS address. 이미 호스팅 중인 링크는 로그인 없이 내려받을 수 있고 모든 리디렉션이 HTTPS로 유지되는 한 그대로 넣으면 됩니다. 로컬 파일은 먼저 업로드한 뒤, 돌려받은 media_url을 요청에 넣으세요.
FILE=dance.mp4
TICKET=$(curl -fsS https://argolink.io/v1/media/uploads \
-H "Authorization: Bearer $ARGOLINK_API_KEY" \
-H "Content-Type: application/json" \
-d "{\"model\":\"kling-4.0-flash\",\"type\":\"video\",\"content_type\":\"video/mp4\",\"size_bytes\":$(wc -c < "$FILE" | tr -d ' ')}")
curl -fsS -X PUT "$(jq -r .upload_url <<<"$TICKET")" \
-H "Content-Type: video/mp4" --data-binary @"$FILE"
# Put this media_url in reference_videos[].url
jq -r .media_url <<<"$TICKET"
티켓 요청은 무료이며 작업을 만들지 않습니다. upload_url은 15분 동안 유효하고, PUT 요청에는 선언한 Content-Type을 그대로 실어야 합니다. 이 티켓으로 교환받는 media_url은 7일 동안 읽을 수 있습니다.
| 필드 | 형식 | 크기 | 길이 |
|---|---|---|---|
reference_images · start_image · end_image | JPEG 또는 PNG | ≤ 20 MiB | — |
reference_videos | MP4 또는 MOV | ≤ 100 MiB | 3–20 초씩 |
reference_videos[0](편집할 동영상) | MP4 또는 MOV | ≤ 100 MiB | 3–20 seconds |
이 범위를 벗어난 소재가 있으면 생성이 시작되기 전에 작업이 invalid_input으로 실패하며, 요금은 청구되지 않습니다.
프롬프트에서 소재를 참조하는 방법
프롬프트에서 소재를 지정
소재는 @와 종류와 번호로 지정합니다. 번호는 reference_images, reference_videos, reference_audios 안에서의 순서이며 각각 1부터 셉니다.
| 프롬프트에 쓰기 | 가리키는 소재 |
|---|---|
@이미지1 | reference_images의 1번째 항목 |
@영상1 | reference_videos의 1번째 항목 |
{
"model": "kling-4.0-flash",
"prompt": "@이미지1의 소녀가 @오디오1의 리듬에 맞춰 @영상1의 댄서처럼 춤춘다",
"reference_images": [
{
"url": "https://example.com/girl.png"
}
],
"reference_videos": [
{
"url": "https://example.com/dance.mp4"
}
],
"reference_audios": [
{
"url": "https://example.com/beat.mp3"
}
]
}
콘솔 작업대에서 @ 뒤에 소재를 고르면 이 표기가 들어갑니다. @ 없는 이미지1, <이미지1>, @Image 1과 다른 언어 표기(@图片1 등)도 인식됩니다. 지정은 선택 사항이며 지정하지 않은 소재도 사용됩니다. @나 < >를 붙이면 배열 개수를 넘는 번호는 거부됩니다. 영상을 편집할 때(omni_reference_task_type이 edit)는 @영상1이 편집할 영상이며 따로 지정하지 않아도 됩니다. 다른 소재의 번호는 그대로입니다.
Kling 4.0 Flash 전체 요청 파라미터
| 파라미터 | 타입 | 요구 사항 | 역할 |
|---|---|---|---|
model | string | 필수 | The catalog identifier for this page: kling-4.0-flash. |
prompt | string | 필수 | Describes the video: camera motion, subject action and mood. This model needs one in every mode, assets or not. Name a reference in the prompt as @Image 1 or @Video 2. It holds 최대 26,000 characters. |
duration | integer | 선택 | Output length in whole seconds, 3 to 20; 기본값 5. An edit keeps the length of the video it edits, so leave it out there. |
resolution | string | 선택 | Output resolution. This model accepts 720p only, which is also the default. |
aspect_ratio | string | 선택 | Output aspect ratio: 21:9, 16:9, 1:1 or 9:16; 기본값 16:9. A reference request may also send adaptive, which follows the references. In first-frame and first-and-last-frame modes, send adaptive only; the result follows the first frame and uses the ratio closest to its first frame. An edit keeps its video's ratio, so leave it out there too. |
size | string | 선택 | Pixels instead of resolution plus aspect_ratio, written WIDTHxHEIGHT: the short side picks the tier (720 for 720p) and the shape picks the ratio, so 1280x720: 720p16:9. It picks a tier and a ratio, not exact pixels; a resolution or aspect_ratio sent with it must match, or the request is rejected with 400. An edit takes a resolution name only. |
start_image | object | 첫 프레임 모드 | 첫 프레임의 HTTPS URL입니다. 단독으로 보내면 첫 프레임 동영상을, end_image와 함께 보내면 첫·마지막 프레임 동영상을 만듭니다. 참조 소재와 함께 쓸 수 없습니다. |
end_image | object | 첫·마지막 프레임 모드 전용 | 마지막 프레임의 HTTPS URL입니다. 반드시 다음 필드와 함께 보내세요: start_image. 결과물이 마지막 프레임을 첫 프레임에 맞추므로 원본 비율은 달라도 됩니다. |
reference_images | array | 참조 및 편집 모드 | HTTPS URLs of reference images, 최대 10. Images, videos and audio together are limited to 15 per request. |
reference_videos | array | 참조 및 편집 모드 | HTTPS URLs of reference videos, 최대 5 개 클립, 각 3–20 seconds and 20 초(합계). Their seconds are billed like the output's. In an edit the first video is the one edited, 3–20 초 길이. |
reference_audios | array | 지원 안 함 | This model takes no reference audio: sending reference_audios is rejected with 400. |
omni_reference_task_type | string | 편집 전용 | Set it to edit to edit the first entry of reference_videos, 3–20 초 길이. Left out, auto and reference all make an ordinary request. |
seconds · ratio | — | 호환 필드 이름 | duration과 aspect_ratio의 별칭입니다. 값마다 한 가지 이름만 보내고, 둘을 함께 보내지 마세요. |
image_url · image_urls · video_urls · audio_urls · frame_images · input_references | — | 호환 필드 이름 | fal과 OpenRouter 요청의 필드 이름도 사용할 수 있습니다. image_url은 start_image이고, image_urls, video_urls, audio_urls는 세 가지 참조 목록입니다. frame_images 항목 중 frame_type이 first_frame 또는 last_frame인 항목은 각각 start_image와 end_image이고, input_references 항목 중 type이 image_url, video_url, audio_url인 항목은 참조입니다. 입력마다 이름은 하나만 쓰세요. |
n | integer | 선택 | 1이거나 생략해야 합니다. 요청마다 동영상을 정확히 하나 생성합니다. |
generate_audio | boolean | 선택 | Defaults to true: Kling 4.0 Flash scores the video itself. Send false for a silent result. |
seed · watermark | — | 지원 안 함 | 이 모델에서는 지원하지 않습니다. seed(어떤 값이든)나 watermark: true를 보내면 400으로 거부됩니다. |
request_id | string | 응답 필드 | 제출 호출이 반환하는 값으로, 상태 엔드포인트와 콘텐츠 엔드포인트가 받는 유일한 식별자입니다. |
progress · estimated_seconds_remaining | integer | 응답 필드 | status가 pending인 동안 상태 엔드포인트가 반환합니다. progress는 작업 진행 정도의 추정치(0–99)이고, estimated_seconds_remaining은 남은 예상 초 수이며, 추정치가 생기기 전에는 생략됩니다. status가 done이 되면 progress는 100입니다. |
video.url | string | 응답 필드 | status가 done이 되면 받을 수 있는 완성된 MP4의 다운로드 링크입니다. API 키 없이 누구나 열 수 있는 ArgoLink 링크이며 30일 동안 유효합니다. |
usage | object | 응답 필드 | status가 done이 되면 output_seconds, reference_video_seconds, 그리고 두 값의 합인 billed_seconds를 반환하며, 작업은 이 합계로 청구됩니다. |
Kling 4.0 Flash API와 유사 모델 비교
| 모델 | 모델 ID | 제공업체 | 가격 | 적합한 작업 |
|---|---|---|---|---|
| Kling 4.0 Flash | kling-4.0-flash | Kuaishou | $0.07536 / 초 | Kuaishou Kling 4.0 Flash: the quicker Kling 4.0, 3 to 20 second clips at 720p from a prompt, a first frame, or 최대 10 reference images and 5 reference videos, with a soundtrack of its own |
| Seedance 2.5 | seedance-2.5 | ByteDance Seed | $0.0874 / 초 | 지금까지 가장 강력한 Seedance 동영상 모델: 30초 클립, 참조 소재 최대 50개, 실존 인물 참조 네이티브 지원, 수동 승인이나 추가 인증 불필요 |
| Grok Imagine Video 1.5 | grok-imagine-video-1.5 | xAI | $0.032 / 초 | 480p, 720p, 1080p 동영상 생성, 출력 초 단위로 청구 |
| Gemini Omni 1.2 Flash | gemini-omni-1.2-flash | $0.0215 / 초 | Google Gemini Omni 1.2 Flash: 3 to 15 second clips with native sound at 720p, 1080p or 4K, from a prompt, a first and last frame, 최대 10 reference images and 3 reference videos, or as an edit of a video |
같은 제공업체의 다른 모델
- Kling 3.0Kuaishou Kling 3.0: 3 to 15 second clips at 720p, 1080p or 4K from a prompt, a first frame, or a first and a last frame, with or without a soundtrack$0.1134 / 초
- Kling 4.0Kuaishou Kling 4.0: 3 to 30 second clips at 720p or 1080p from a prompt, or from 최대 10 reference images and 5 reference videos, with a soundtrack of its own$0.1256 / 초
같은 모달리티의 다른 모델
- Seedance 2.5지금까지 가장 강력한 Seedance 동영상 모델: 30초 클립, 참조 소재 최대 50개, 실존 인물 참조 네이티브 지원, 수동 승인이나 추가 인증 불필요$0.0874 / 초
- Grok Imagine Video 1.5480p, 720p, 1080p 동영상 생성, 출력 초 단위로 청구$0.032 / 초
- Gemini Omni 1.2 FlashGoogle Gemini Omni 1.2 Flash: 3 to 15 second clips with native sound at 720p, 1080p or 4K, from a prompt, a first and last frame, 최대 10 reference images and 3 reference videos, or as an edit of a video$0.0215 / 초
- MAGI-2Sand AI's MAGI-2: 4 to 30 second 1080p clips with native sound, from a prompt or from 최대 10 reference images, 5 reference videos and 5 audio clips$0.072 / 초
Kling 4.0 Flash API 자주 묻는 질문
Kling 4.0 Flash 모델은 어떻게 호출하나요?
Create an API key in the console and POST https://argolink.io/v1/videos/generations · model 값: kling-4.0-flash. The response carries request_id, the only job identifier: poll GET https://argolink.io/v1/videos/{request_id}, which reports progress and estimated_seconds_remaining while the job is pending, until status is done, then download the MP4 from GET https://argolink.io/v1/videos/{request_id}/content에서 받으세요. 상태 응답에서는 이 주소가 다음 필드로 제공됩니다: video.url.
Kling 4.0 Flash의 비용은 얼마인가요?
출력 초 단위로 청구되며, 가장 낮은 등급은 초당 $0.07536부터 시작합니다. 가격표의 등급마다 초당 단가가 따로 있으며, 여기에 동영상 길이를 곱합니다. 모든 등급이 공식 초당 정가보다 20% 저렴합니다(가장 낮은 등급의 공식 가격은 초당 $0.0942). 참조 동영상과 편집할 원본 동영상은 Kling 공식 가격과 같은 방식으로 청구됩니다. 출력보다 길지 않으면 출력 초 수의 2배, 더 길면 실제 길이에 출력 초 수를 더한 값입니다. 예를 들어 5초 동영상에 3초 참조 동영상을 쓰면 10초, 7.3초 참조 동영상을 쓰면 12.3초로 청구됩니다. 참조 이미지는 무료입니다. 완성된 동영상만 청구되며, 실패하거나 거부된 작업에는 비용이 들지 않습니다. 동영상 입력(참조 동영상 또는 편집의 원본 동영상)이 있으면 모든 청구 초가 가격표의 동영상 입력 포함 단가로 청구됩니다.
Kling 4.0 Flash 모델은 어떤 입력 모드를 지원하나요?
모두 같은 엔드포인트에서 처리합니다: reference (a prompt alone, or with images, videos and audio as references: 최대 10 reference_images, 5 reference_videos 및 0 reference_audios, 15 (합계), 어떤 조합이든 가능 that includes an image or a video); first frame (start_image); first and last frames (start_image plus end_image on one aspect ratio); video editing (omni_reference_task_type edit, which edits the first entry of reference_videos). First-frame and first-and-last-frame videos take their aspect ratio from the first frame. Every asset is an HTTPS URL.
Kling 4.0 Flash 모델이 지원하지 않는 것은 무엇인가요?
요청당 동영상 2개 이상(n은 1이거나 생략해야 함), seed(어떤 값이든), watermark: true. 이런 요청은 400을 반환합니다. 출력은 H.264 MP4이며, generate_audio가 false가 아니면 생성된 사운드트랙이 포함됩니다.
Kling 4.0 Flash 첫 프레임 동영상의 화면 비율은 어떻게 정해지나요?
Leave aspect_ratio out, or send adaptive, and the first frame decides: the video takes the closest of 21:9, 16:9, 1:1, 9:16, so the frame is cropped as little as possible. The two frame modes take no fixed ratio; naming one is rejected. With first and last frames, the source images may have different ratios; the result adapts the last frame to the first.
Kling 4.0 Flash 동영상에 소리가 있나요?
네, 기본적으로는 그렇습니다: Kling 4.0 Flash scores the video itself. Send generate_audio: false for a silent result.