kuaishou/kling-4.0
Kuaishou’s fourth-generation flagship multimodal video model with built-in stereo audio. Supports text-to-video, image-to-video (first frame or first and last frames), and reference-based generation with up to 10 reference images, 5 reference videos (3–30 seconds each, up to 30 seconds total), and 3 reference audio clips (5–30 seconds each, up to 30 seconds total), up to 15 reference files per request; frames and reference assets are mutually exclusive. Any whole-second duration from 3 to 30 seconds, 720P or 1080P output, and aspect ratios 16:9, 9:16, 1:1, or 21:9. Standard requests are billed per output second; with reference video, the whole job uses the reference-video per-second rate for output_seconds + max(output_seconds, reference_video_seconds), while reference images and audio add no extra fee.
Use either ID to call this model via the API.
kuaishou/kling-4.0kling-v4Replace the ONEHOP_KEY placeholder with your API key. Create one →
curl https://api.onehop.ai/v1/videos \
-H "Authorization: Bearer <ONEHOP_KEY>" \
-H "Content-Type: application/json" \
-d '{
"model": "kuaishou/kling-4.0",
"prompt": "A quiet product shot of a glass observatory at dusk",
"seconds": 5,
"size": "1280x720"
}'