Kling O1 integration
Generate smooth video sequences using first frame and last frame interpolation, with optional reference images for character and style consistency.
Key capabilities
- Frame interpolation: Generate smooth transitions between first and last frame images
- Reference image support: Maintain character and style consistency with up to 7 reference images
- Dual quality modes: Pro for professional-grade output, Standard for efficient generation
- Flexible durations: 5-second or 10-second video outputs
- Multiple aspect ratios:
16:9(widescreen),9:16(vertical),1:1(square) - Prompt guidance: Text descriptions up to 2500 characters to guide motion and style
- Async processing: Webhook notifications or polling for task completion
Use cases
- Film and animation: Create smooth scene transitions and animated sequences
- Marketing content: Generate cinematic product reveals and brand videos
- Social media: Produce vertical and square videos optimized for Instagram, TikTok, and YouTube Shorts
- E-commerce: Animate static product images with controlled motion
- Storytelling: Build narrative sequences with consistent character appearance
- Motion design: Create abstract transitions and visual effects
API endpoints
Generate videos by submitting a request to one of the Kling O1 endpoints. The service returns a task ID for async polling or webhook notification.POST kling-o1-pro
Pro quality video from first/last frame
POST kling-o1-std
Standard quality video from first/last frame
POST kling-o1-pro-video-reference
Pro quality with reference images
POST kling-o1-std-video-reference
Standard quality with reference images
GET kling-o1
List all Kling O1 tasks
GET kling-o1/{task-id}
Get task status by ID
Parameters
Image-to-Video (first/last frame)
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
first_frame | string | No* | - | Starting image (URL or Base64). Min 300x300px, max 10MB |
last_frame | string | No* | - | Ending image (URL or Base64). Same requirements as first_frame |
prompt | string | No | - | Motion description up to 2500 characters |
aspect_ratio | string | No | 16:9 | Video ratio: 16:9, 9:16, or 1:1 |
duration | integer | No | 5 | Video length: 5 or 10 seconds |
webhook_url | string | No | - | URL for completion notification |
Video Reference
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Video description up to 2500 characters |
reference_images | array | No | - | Up to 7 reference images for consistency |
aspect_ratio | string | No | 16:9 | Video ratio: 16:9, 9:16, or 1:1 |
duration | integer | No | 5 | Video length: 5 or 10 seconds |
webhook_url | string | No | - | URL for completion notification |
Frequently Asked Questions
What is Kling O1 and how does it work?
What is Kling O1 and how does it work?
Kling O1 is an image-to-video model that generates smooth video sequences through frame interpolation. You provide a first frame, last frame, or both, and the model creates a cinematic transition between them. Optionally, add a text prompt to guide the motion style. Processing is asynchronous: submit a request, receive a task ID, then poll for results or receive a webhook notification.
What is the difference between Pro and Standard modes?
What is the difference between Pro and Standard modes?
Pro mode generates higher-fidelity videos with better motion quality, detail retention, and temporal consistency. Standard mode offers faster processing at lower cost, suitable for prototyping or high-volume use cases. Both support the same parameters and output formats.
What image formats does Kling O1 support?
What image formats does Kling O1 support?
Kling O1 accepts JPEG and PNG images via URL (publicly accessible) or Base64 encoding. Requirements: minimum resolution 300x300px, maximum file size 10MB, aspect ratio between 1:2.5 and 2.5:1.
How do reference images work?
How do reference images work?
The video reference endpoints accept up to 7 reference images that help maintain character and style consistency. Use these when you need the same subject to appear consistently across multiple video generations or shots.
How long does Kling O1 take to process?
How long does Kling O1 take to process?
Processing time varies based on duration and mode. Typical generation: 30-120 seconds for 5-second videos, longer for 10-second outputs. Pro mode takes longer than Standard. Use webhooks for production workflows instead of polling.
What are the rate limits for Kling O1?
What are the rate limits for Kling O1?
Rate limits depend on your subscription tier. See the Rate Limits page for current limits by plan.
How much does Kling O1 cost?
How much does Kling O1 cost?
Pricing varies by mode (Pro vs Standard) and duration. See the Pricing page for current rates and subscription options.
Best practices
- Image quality: Use high-resolution images (1080p or higher) with clear subjects and balanced lighting for best results
- Frame similarity: When using both first and last frames, ensure similar compositions for smoother interpolation
- Prompt specificity: Describe the desired motion clearly (camera movement, subject action, mood) rather than just the scene
- Reference consistency: For video reference mode, use images with similar lighting and style for better character consistency
- Production integration: Implement webhooks instead of polling for scalable applications
- Error handling: Implement retry logic with exponential backoff for 503 (service unavailable) responses
Related APIs
- Kling 2.6: Latest Kling model with motion control capabilities
- Kling 2.5 Turbo Pro: Fast cinematic generation with 5-10 second outputs
- Kling 2.1 Pro: High-fidelity motion with strong temporal consistency
- Kling Elements: Element-based video generation for specific use cases