Kling CLI
A command-line tool for Kling AI Video Generation via AceDataCloud.
Installation
pip install kling-pro-cli
Usage
# Set your API token
export ACEDATACLOUD_API_TOKEN=your_token
# Generate a video from a text prompt
kling generate "A cinematic scene of a sunset over the ocean"
# Generate a video from a reference image
kling image-to-video "Animate this scene" --start-image-url https://example.com/photo.jpg
# Extend an existing video
kling extend --video-id abc123
# Generate a motion video from image + reference video
kling motion --image-url https://example.com/img.jpg --video-url https://example.com/ref.mp4
# Check task status
kling task abc123-def456
# Wait for a task to complete
kling wait abc123 --interval 5
# List available models
kling models
# Show configuration
kling config
Options
--token/ACEDATACLOUD_API_TOKEN— API token--json— Output raw JSON
Models
| Model | Notes |
|---|---|
| kling-v1 | Default model |
| kling-v1-6 | Version 1.6 |
| kling-v2-5-turbo | Version 2.5 Turbo |
| kling-v2-6 | Version 2.6 |
| kling-v3 | Version 3 (supports 4K mode) |
| kling-v3-omni | Version 3 Omni (supports 4K mode) |
| kling-o1 | Video O1 |
| kling-v2-master | Version 2 Master |
| kling-v2-1-master | Version 2.1 Master |
License
MIT
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kling_pro_cli-2026.8.10.0.tar.gz
(15.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kling_pro_cli-2026.8.10.0.tar.gz.
File metadata
- Download URL: kling_pro_cli-2026.8.10.0.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2aad342c6d3fe4c0689cc9fcfab0ac78c359ed4cb2cce60507e9182502b9b4e
|
|
| MD5 |
75aaac01c2111f7b91ea4b703889f2d1
|
|
| BLAKE2b-256 |
68d1c0d884549255e2722b5a5cbf15f876c6b2e2d7e92e0c6ae1bf0e0e173bed
|
File details
Details for the file kling_pro_cli-2026.8.10.0-py3-none-any.whl.
File metadata
- Download URL: kling_pro_cli-2026.8.10.0-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fe4e70631609f229c9b567fdbdb36a66728aa106d23d5da71cdfb66cb2865c1
|
|
| MD5 |
ffed52620c1fc9b08bb1cdc699eaa228
|
|
| BLAKE2b-256 |
84658ccf461203528159b554fa8823557f970c831f0a4035916d946c7098d4b0
|