Kling 3.0 Turbo API
Kuaishou의 Kling 3.0 Turbo 비디오 생성 모델에 대한 전체 API 레퍼런스입니다.
모델 변형
이 API는 두 가지 모델 변형을 지원합니다.
빠른 비교
지원되는 화면 비율(Text to Video)
Kling 3.0 Turbo Text to Video
엔드포인트 {#}
POST /api/v1/video/task
요청 파라미터
필수
선택 사항
요청 예시
const response = await fetch('https://api.flaq.ai/api/v1/video/task', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
model_name: 'kling-3.0-turbo-text-to-video',
prompt: 'A girl sits on a train, looking out the window with a melancholic expression, cinematic lighting',
aspect_ratio: '16:9',
resolution: '720p',
duration: 5,
sound: true
})
});
const { data } = await response.json();
const taskId = data.task_id;
Kling 3.0 Turbo Image to Video
요청 파라미터
필수
선택 사항
요청 예시
{
model_name: 'kling-3.0-turbo-image-to-video',
prompt: 'The character slowly turns her head and looks out the window, subtle camera movement',
image_url: 'https://example.com/test-first-frame.png',
resolution: '720p',
duration: 5,
sound: true
}
응답 형식
제출 응답:
{
"code": 0,
"message": "success",
"data": {
"task_id": "{task_id}",
"response_url": "https://api.flaq.ai/api/v1/video/{task_id}",
"task_status": "submitted"
}
}
GET /api/v1/video/{task_id}로 폴링하세요. 작업 상태: submitted, processing, succeed, failed.
모범 사례
- 프롬프트는 모션, 카메라 움직임, 장면 분위기에 집중하세요.
- 이미지-비디오의 경우 주제가 명확한 깔끔한 첫 프레임 이미지를 사용하세요.
- 빠른 반복에는 더 짧은 길이를 사용한 뒤, 최종 렌더링에서는 길이를 늘리세요.