Get API Key:
Visit API Key Management Page to get your API Key
Add to request header:
Authorization: Bearer YOUR_API_KEYVideo generation model name
kling-v3-image-to-video "kling-v3-image-to-video"
First frame image URL for image-to-video generation
Note:
image_start (first frame image URL) and image_end (last frame image URL) is required10MB.jpg, .jpeg, .png300px, aspect ratio between 1:2.5 and 2.5:1aspect_ratio can be omitted (automatically adapts to image ratio)"https://example.com/portrait.jpg"
Last frame image URL
Note:
image_start (first frame image URL) and image_end (last frame image URL) is requiredimage_start"https://example.com/night.jpg"
Text prompt describing what video to generate
Note:
2500 charactersmulti_shot=true and shot_type=customize<<<element_1>>> reference syntax to reference elements in the prompt2500"The person in the scene slowly turns their head and smiles"
Negative prompt describing content you do not want in the video
"text, watermark"
Video duration in seconds, defaults to 5 seconds
Note:
3 to 15duration value, longer duration costs more3 <= x <= 155
Video aspect ratio
Options:
16:9: Landscape video9:16: Portrait video1:1: Square video16:9, 9:16, 1:1 "16:9"
Resolution tier
Options:
720p: Standard quality (std)1080p: High quality (pro)720p, 1080p "720p"
Sound effect control
Options:
on: Generate sound effectsoff: No sound effectson, off "off"
Advanced parameters for multi-shot, element control, and watermark
HTTPS callback URL for task completion
Callback Timing:
Security Restrictions:
2048 charactersCallback Mechanism:
10 seconds3 retries after failure (at 1/2/4 seconds after failure)"https://your-domain.com/webhooks/video-task-completed"
Video generation task created successfully
Task creation timestamp
1757169743
Task ID
"task-unified-1757169743-7cvnl5zw"
Actual model name used
"kling-v3-image-to-video"
Task type
video.generation.task Task progress percentage (0-100)
0 <= x <= 1000
Task status
pending, processing, completed, failed "pending"
Video task details
Task output type
text, image, audio, video "video"
Usage and billing information