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.21.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.21.0.tar.gz | 15.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kling_pro_cli-2026.8.21.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.1 kB
Release files / kling_pro_cli-2026.8.21.0.tar.gz
| Download URL | kling_pro_cli-2026.8.21.0.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f00586eebabf3ba30559ec983761c49951cb4f46fabe9fde552264c72e0a0ad
|
|
BLAKE2b-256 checksum How to use checksums |
035c987163ffc9220b1b9da056abdeb4ad5c1f167ccf0c4208be432ed8d8df45
|
| 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.21.0-py3-none-any.whl
| Download URL | kling_pro_cli-2026.8.21.0-py3-none-any.whl |
|---|---|
| Size | 16.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4fddbcb262f5da28c782b5d48d8dfb58d55ddea7dc07cc380005825a48e0c426
|
|
BLAKE2b-256 checksum How to use checksums |
1be76e9f5bf614fee8a267da31e4d7e84ae30e5f100192fbecf16a2c55789c3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|