Models / Text to video
Kling 4.0 Flash Text to Video - API, Playground & Pricing
Kling 4.0 Flash, the fast low-cost tier of Kling 4.0, turns a prompt into a 3 to 20 second 720p clip with sound. Run it in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No Kuaishou API key: runs are billed to your FlyMy.AI balance.
- Provider
- Kuaishou
- Category
- Text to video / Text to video
- Price
- $0.094 / s ($0.47 at the defaults)
- Aspect ratio
- 16:9, 9:16, 1:1, 4:3, 3:4, 21:9
- Length
- 3 to 20 seconds
- Returns
video- Commercial use
- Allowed
- Model ID
flymyai/kling-4_0-flash-text-to-video

$ YOUR NEXT RUN
Use Kling 4.0 Flash Text to Video in your assistant
Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.
Read https://flymy.ai/skill.md and https://flymy.ai/models/kling-4-0-flash-text-to-video.md. Help me connect the FlyMy.AI MCP to this assistant, then run Kling 4.0 Flash Text to Video (flymyai/kling-4_0-flash-text-to-video) for this task: Make a 10-second 9:16 video of waves crashing on a cliff during a storm with Kling 4.0 Flash Text to Video.
What Kling 4.0 Flash Text to Video does
Kling 4.0 Flash is the fast tier of Kling 4.0, made for quick experiments, drafts and short social clips. Describe the scene in prompt, up to 26,000 characters; duration runs from 3 to 20 seconds (5 by default) and aspect_ratio is 16:9, 9:16, 1:1, 4:3, 3:4 or 21:9. Output: video, a 720p clip with sound. It renders 720p only and up to 20 seconds (Kling 4.0 Text to Video makes 1080p and up to 30 seconds) and does not edit or extend a video.
Kling 4.0 Flash Text to Video inputs
Every input of flymyai/kling-4_0-flash-text-to-video as its live schema lists them. Returns video (array).
| Input | Type, values and default |
|---|---|
# prompt | string required Describe the video: the scene, the action, the camera and the sound |
# duration | integer optional Allowed: 3 to 20 Default: 5 Length of the clip in seconds, 3-20; $0.094 a second |
# aspect_ratio | string optional Allowed: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 Default: 16:9 Shape of the video: 16:9, 9:16, 1:1, 4:3, 3:4 or 21:9 |
Ask your agent
Requests to paste as they are, once the FlyMy.AI MCP is connected.
flymyai/kling-4_0-flash-text-to-videoflymyai/kling-4_0-flash-text-to-videoflymyai/kling-4_0-flash-text-to-videoKling 4.0 Flash Text to Video price
$0.094 per second of duration. A run at the default settings costs $0.47. A run costs $0.282 to $1.88, depending on duration. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.
| Setting | Price |
|---|---|
| Any | $0.094 per second |
Kling 4.0 Flash Text to Video vs similar models
Popular text to video models beside it, with prices from billing and settings from each live schema.
| Model | Provider | Kind | Price | Default run | Length | Aspect ratio |
|---|---|---|---|---|---|---|
| Kling 4.0 Flash Text to Video | Kuaishou | Text to video | $0.094 / s | $0.47 | 3 to 20 seconds | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 |
| Grok Imagine Video 1.5 | xAI | Text and image to video | from $0.08 / s | $0.70 | 1 to 15 seconds | 16:9, 9:16, 1:1, 4:3, 3:4, 3:2 and 3 more |
| Veo 3.1 | Text and image to video | from $0.80 / run | $3.20 | 4, 6 or 8 seconds | 16:9, 9:16 | |
| Kling 4.0 Text to Video | Kuaishou | Text to video | from $0.157 / s | about $1.18 | 3 to 30 seconds | 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 |
Kling 4.0 Flash Text to Video API
The same model from your own code or from an agent. Send your FlyMy.AI API key in the X-API-KEY header; get a key in your account.
cURL
Form fields, not JSON; files go as uploads or public URLs. The answer is a prediction_id; read the result at https://api.flymy.ai/api/v1/flymyai/kling-4_0-flash-text-to-video/predict/async/result/?request_id=<prediction_id>.
curl -X POST https://api.flymy.ai/api/v1/flymyai/kling-4_0-flash-text-to-video/predict/async/ \
-H "X-API-KEY: $FLYMYAI_API_KEY" \
-F 'prompt=Steam rises from a ceramic mug on a sunlit kitchen counter, slow camera push-in'Python
The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.
# pip install flymyai
import os
from flymyai import client
fma = client(apikey=os.environ["FLYMYAI_API_KEY"])
task = fma.predict_async_task(
model="flymyai/kling-4_0-flash-text-to-video",
payload={
"prompt": "Steam rises from a ceramic mug on a sunlit kitchen counter, slow camera push-in"
},
)
# a long run: wait for its result (up to 15 minutes here)
result = task.result(timeout=900)
print(result.inference_responses[0].output_data)JavaScript / TypeScript
The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.
// npm install flymyai-js-client
import { FlyMyAI } from "flymyai-js-client";
const client = new FlyMyAI({ apiKey: process.env.FLYMYAI_API_KEY });
const response = await client.predict(
{
"prompt": "Steam rises from a ceramic mug on a sunlit kitchen counter, slow camera push-in"
},
"flymyai/kling-4_0-flash-text-to-video",
);
console.log(response.output_data);MCP
Your agent calls get_model_schema, then run_model with:
{
"endpoint_id": "flymyai/kling-4_0-flash-text-to-video",
"input": {
"prompt": "Steam rises from a ceramic mug on a sunlit kitchen counter, slow camera push-in"
}
}Questions about Kling 4.0 Flash Text to Video
Do I need a Kuaishou API key for Kling 4.0 Flash Text to Video?
No. Kling 4.0 Flash Text to Video runs on FlyMy.AI's account, so you need no Kuaishou key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.
How much does Kling 4.0 Flash Text to Video cost?
$0.094 per second of duration. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.
Can I try Kling 4.0 Flash Text to Video before I write code?
Yes. Open Kling 4.0 Flash Text to Video in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/kling-4_0-flash-text-to-video, fill in its inputs and run it; the same run is one API call later, billed the same way.
How do I use Kling 4.0 Flash Text to Video in Claude Code, Codex or Cursor?
Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Make a 10-second 9:16 video of waves crashing on a cliff during a storm with Kling 4.0 Flash Text to Video." Your agent reads the inputs with get_model_schema and runs flymyai/kling-4_0-flash-text-to-video with run_model.
What does Kling 4.0 Flash Text to Video need as input?
Kling 4.0 Flash Text to Video requires prompt; it also takes 2 optional inputs, each listed on this page with its allowed values and default.
Can I call Kling 4.0 Flash Text to Video from my own code?
Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/kling-4_0-flash-text-to-video/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.
Go to the source
From the FlyMy.AI model catalog of 2026-11-18: inputs from each model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.





