Skip to content
LangChain

Kling AI (Global) for LangChain

io.github.klingai-dev/kling-ai

Generate images and videos with Kling AI Global via OAuth. Generation uses account credits.

client:LangChain transport:streamable-http

Install Kling AI (Global) in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "kling-ai": {
            "transport": "streamable_http",
            "url": "https://kling.ai/mcp/plugin",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Kling AI (Global) in other clients