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
Metadata
Release files for kling-pro-cli 2026.8.22.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kling_pro_cli-2026.8.22.0.tar.gz | 15.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kling_pro_cli-2026.8.22.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.1 kB
Release files / kling_pro_cli-2026.8.22.0.tar.gz
| Download URL | kling_pro_cli-2026.8.22.0.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d48a2ce355dba9ffc2332d0064d9c2ac5d3c572c3883935232114b67d7d63278
|
|
BLAKE2b-256 checksum How to use checksums |
748b3914ec16dd45587f1d4ea579d0df50178d229adf6b30c07bea8239233976
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / kling_pro_cli-2026.8.22.0-py3-none-any.whl
| Download URL | kling_pro_cli-2026.8.22.0-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a32418babdf387cad41601f12b49c6c8b3b6b0b0005845068296747b6680f275
|
|
BLAKE2b-256 checksum How to use checksums |
486c1fd753b6cd2c14f6476d4168440033777f47601f2310fdb9515e1751fc0e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|