Kling 4.0 Flash API and MCP for AI agents
TollNode gives Claude, Cursor or any AI agent Kling 4.0 Flash, Kuaishou's faster, lower-cost Kling 4.0 with sound, over API and MCP, from $0.636 per 5-second video, with no subscription.
Ask for 'A barista pouring steamed milk into a white cup of coffee...' and get a finished video link back.
No subscription · Sign-up optional · From $0.636 per call · Charged only when it works · No Kuaishou account needed
Make a short video: A barista pouring steamed milk into a white cup of coffee in a sunny café, latte...
TollNode · Kuaishou · video-kling-4-flash$0.636 · 1 video, 5 s
| Result | Detail |
|---|---|
| File | 1 video link |
| Length | 5 seconds |
| Sound | Included |
Real result, shown below.
Kling 4.0 Flash video examples
Made by this node in our own tests, from the request shown under each.
“A barista pouring steamed milk into a white cup of coffee in a sunny café, latte art forming, steam rising, soft café chatter”
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.
{
"prompt": "A barista pouring steamed milk into a white cup of coffee in a sunny café, latte art forming, steam rising, soft café chatter",
"aspect_ratio": "16:9"
}What you control with Kling 4.0 Flash
Prompt and style
Kling 4.0 Flash text to video
Describe the scene, the camera move and the sound.
- Prompt
- A barista pouring steamed milk into a white cup of coffee in a sunny...
- Aspect ratio
- 16:9
- Returns
- 1 video link
You get
- prompt: what to create, in plain words
- aspect_ratio: the shape of the result: 16:9, 9:16, 1:1, 21:9
Start image
Optional first frame for the video.
- image
- https://.../photo.jpg
- Prompt
- A barista pouring steamed milk into a white cup of...
- Returns
- 1 video link
You get
- image: the image to use (https link)
- prompt: what to create, in plain words
Result and price
Kling 4.0 Flash video output
One flat price per video.
- Returns
- 1 video link
- Price
- flat, 5-second video
- Charged
- only when a result comes back
You get
- result: a link to the finished video file
- price: one flat price per 5-second video
Failed calls are never charged.
What people ask their AI to do with it
Marketers
Social video ads
“Make a short video of a coffee being poured into a glass, steam rising”
3 calls
Cost today$1.908
Ecommerce sellers
Product teasers
“Show my sneaker rotating slowly on a concrete plinth with soft studio light”
1 call
Cost today$0.636
Filmmakers
Previsualize a scene
“A lighthouse beam sweeping over a stormy sea at night, slow push-in”
3 calls
Cost today$1.908
Founders
A hero clip for the landing page
“A delivery drone landing on a suburban porch at golden hour”
1 call
Cost today$0.636
Educators
Explainer clips
“Time-lapse of a seed sprouting and growing into a plant, macro view”
1 call
Cost today$0.636
Real estate agents
Listing teasers
“Slow dolly through a bright modern living room with large windows”
1 call
Cost today$0.636
Use it as a Kling 4.0 Flash 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.
npx agentcash add https://tollnode.comCopy for your AI agent
Paste this into your agent so it knows what this node does and how to call it.
You can use TollNode's Kling 4.0 Flash node to make a video. Call POST https://tollnode.com/api/v1/nodes/video-kling-4-flash with image (optional), prompt (required), aspect_ratio (optional). The price is one flat price per call and is charged only when a result is returned. Over MCP, call the "video-kling-4-flash" tool; use list_models to see prices. Give me the file link when it is done.Price
$0.127
per second
One call: $0.636 per 5-second video
Charged only when a call returns a result. Failed or empty calls cost $0.
Kling 4.0 Flash without a Kuaishou account
No subscription, no credit packs
Pay per video: $0.636 for every call, whatever you ask for.
No Kuaishou account, no quota form
Your agent calls TollNode. You never set up billing with the model's maker or request access.
Only charged when it works
If generation fails or returns nothing, the call costs nothing.
One connection, many video models
The same setup also gives your agent other models and live data tools, so it can compare results.
FAQ
- Is this the official Kuaishou API?
- No. TollNode is an independent service. It gives your agent access to Kling 4.0 Flash through its own API and MCP server, priced per video, with no Kuaishou account needed.
- Can I use it as a Kling 4.0 Flash MCP server in Claude?
- Yes. Add https://tollnode.com/mcp in Claude Code, Claude Desktop or Cursor, and the "video-kling-4-flash" tool appears with its options and prices.
- How much does a call cost?
- One flat price per video, the same for every call, shown above. There is nothing to choose that changes it.
- 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 Flash?
- Your agent sends the request, gets an HTTP 402 with the exact price (from $0.636 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 Flash 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.
Works well with
- Kling 3.0 text-to-videoAnother video model to compare on the same promptfrom $1.135
- Kling 4.0 text-to-videoAnother video model to compare on the same promptfrom $1.061
- Veo 3.1 video with soundTurn a finished image or idea into a video with soundfrom $2.161
- Nano Banana Pro image generationA high-quality image model to comparefrom $0.204
Ready in a minute
Connect your AIFor developers: endpoint, inputs and an example response
POST https://tollnode.com/api/v1/nodes/video-kling-4-flash
Input
| Field | Type | Notes |
|---|---|---|
| image | string | Optional starting image (https URL). Or send the file inline as a base64 data: URI (up to 4.5 MB) |
| prompt* | string | What to create or change |
| aspect_ratio | enum | Aspect 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.