Your AI, connected to Kling.
Create images, videos and motion from your AI assistant. One connection, your existing credits, every result in your history.
Connection
Set KLING_API_KEY in the environment that starts your AI tool. Keep your key out of shared configuration files.
https://kling3.io/api/mcpCreating a key requires an account balance greater than 100 credits.Create key
~/.codex/config.toml[mcp_servers.kling]
url = "https://kling3.io/api/mcp"
bearer_token_env_var = "KLING_API_KEY"Use a client that supports remote Streamable HTTP and Bearer keys. These are configuration examples. After connecting, refresh tools and ask for your balance before creating anything.
Try the parameters
Choose settings, add your public reference URLs, then copy the tool arguments to your assistant. This workspace prepares an example; it does not submit or spend credits.
Quote depends on reference media.
kling_generate_image{ }Check a model or task
kling_get_model_infoQuery supported settings and current prices.
kling_get_balanceRead available credits and this key’s remaining limit.
kling_get_taskPass the task_id returned by creation to read progress and results.
kling_quote_generationPass the same arguments to kling_quote_generation for a verified quote. This does not create a generation or reserve credits.
Keys & limits
Give each assistant its own key and spending limit. The full secret is shown once.
Activity
Tasks created through your AI tools appear here, including their media and credit status.
No tasks yet
Tasks created through your AI tools appear here, including their media and credit status.