TollNode

Kling 4.0 video API and MCP for AI agents

TollNode gives Claude, Cursor or any AI agent Kling 4.0, Kuaishou's video model with strong motion and prompt following, over API and MCP, from $1.061 per 5-second video, with no subscription.

Ask for 'A paper boat floating down a gentle stream through a mossy...' and get a finished video link back.

No subscription · Sign-up optional · From $1.061 per call · Charged only when it works · No Kuaishou account needed

Claude Code

Make a short video: A paper boat floating down a gentle stream through a mossy forest, the camera...

TollNode · Kuaishou · 720p$1.061 · 1 video, 5 s

ResultDetail
File1 video link
Resolution720p

Real result, shown below.

Works in Claude Code, Cursor, Codex, VS Code and any MCP agent.

Kling 4.0 video examples

Made by this node in our own tests, from the request shown under each.

“A paper boat floating down a gentle stream through a mossy forest, the camera following slowly at water level, dappled sunlight”

AI-generatedresolution: 720p

The request that made it

Send the same body to get this kind of result. Change the prompt or the options to get your own.

request body
{
  "prompt": "A paper boat floating down a gentle stream through a mossy forest, the camera following slowly at water level, dappled sunlight",
  "resolution": "720p"
}

What you control with Kling 4.0

Failed calls are never charged.

What people ask their AI to do with it

Use it as a Kling 4.0 MCP server in Claude, Cursor or Codex

Connect once. Then just ask.

Paste this into Claude Code, Cursor or Codex. It connects TollNode and gives your agent a small wallet. Add a few dollars of USDC and you're done.

terminal
npx agentcash add https://tollnode.com

Copy for your AI agent

Paste this into your agent so it knows what this node does and how to call it.

prompt
You can use TollNode's Kling 4.0 node to make a video. Call POST https://tollnode.com/api/v1/nodes/video-kling-4 with image (optional), prompt (required), resolution (optional), aspect_ratio (optional). The price depends on resolution (720p, 1080p; default 720p) and is charged only when a result is returned. Over MCP, call the "video-kling-4" tool; use list_models to see prices. Give me the file link when it is done.

Price

from $0.212

per second

One call: from $1.061 per 5-second video

The price depends on the resolution you choose. If you don't choose, you get 720p.

720pdefault$1.061 per 5-second video
1080p$1.588 per 5-second video

Charged only when a call returns a result. Failed or empty calls cost $0.

Kling 4.0 without a Kuaishou account

FAQ

Is this the official Kuaishou API?
No. TollNode is an independent service. It gives your agent access to Kling 4.0 through its own API and MCP server, priced per video, with no Kuaishou account needed.
Can I use it as a Kling 4.0 MCP server in Claude?
Yes. Add https://tollnode.com/mcp in Claude Code, Claude Desktop or Cursor, and the "video-kling-4" tool appears with its options and prices.
What options can I choose?
The resolution can be 720p or 1080p; the default is 720p. The price follows the option you pick, shown in the price table above.
Can I start from my own image?
Yes. Send an image link in image (https) along with your prompt. The result is built from it.
What if nothing comes back?
You're not charged. TollNode only collects payment when a usable result is returned.
How long are the links valid?
Download the file when you get it. Keep the link as a backup.
How do I pay for Kling 4.0 video?
Your agent sends the request, gets an HTTP 402 with the exact price (from $1.061 per call), signs a USDC payment on Base and retries. Or use an account balance with an API key. Either way you are charged only when a result comes back.
What does the Kling 4.0 video response look like?
A JSON object with a link to the finished video file. Download it when you get it and keep the link as a backup.

Ready in a minute

Connect your AI
For developers: endpoint, inputs and an example response

POST https://tollnode.com/api/v1/nodes/video-kling-4

Input

FieldTypeNotes
imagestringOptional starting image (https URL). Or send the file inline as a base64 data: URI (up to 4.5 MB)
prompt*stringWhat to create or change
resolutionenumSets the price. Default 720p (720p, 1080p)
aspect_ratioenumAspect ratio, default 16:9 (16:9, 9:16, 1:1, 21:9)

Example response

{
  "videos": [
    "https://tollnode.com/api/v1/files/00000000-0000-0000-0000-000000000000/0"
  ],
  "aiGenerated": true
}

Also described in the OpenAPI file and llms.txt. Setup for every app: Agents & MCP.