Video generation API
Kling Video v3 Pro (Text) API
Pro text-to-video with cinematic quality and native audio.
Pay as you go, no subscription.
- Sound included
Quickstart
Three steps from zero to a finished file.
- 1
- 2
Send one request
POST your input to the endpoint. You get a job ID back right away.
- 3
Collect the result
Poll the status URL or pass a webhook. The finished file arrives as a link.
Or let your AI coding tool do it
Copy this prompt into Claude Code, Cursor or Codex. It reads our docs and writes the code.
Add the Pixel Dojo Kling Video v3 Pro (Text) API to this project. Read https://pixeldojo.ai/llm/kling-video-v3-pro-text.txt for the endpoint, inputs and prices, and https://pixeldojo.ai/llm.txt for auth, job status and webhooks. Read the key from the PIXELDOJO_API_KEY environment variable. Write one function that submits a job, waits for it to finish and returns the file URL, with errors handled.
https://pixeldojo.ai/api/v1/models/kling-video-v3-pro-text/runcurl -X POST "https://pixeldojo.ai/api/v1/models/kling-video-v3-pro-text/run" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A neon-lit samurai in a rainy alley",
"duration": 5
}'Want the file in one call? Add ?wait=60 to the URL. The request waits for the job and returns the result.
Pricing
You pay per second of video. Every setting is in the table.
| Setting | Per second | 5 second clip |
|---|---|---|
| Generate audio: Off | $0.25 | $1.25 |
| Generate audio: On | $0.344 | $1.72 |
Pay as you go
Top up from $5. No subscription and no minimum.
Failed runs cost nothing
If a run fails, you get the money back on its own.
Know the price first
Add
?dry_run=trueto any request to get its price. Nothing is charged.
Try it
Run a real request and see the exact input and output your code will handle. It is charged like any API call.
Made with this API
Real outputs. Open one to see the request that made it.
a thrilling action sequence of a woman trying to find her favorite candy. The candy wrapper is purple with a pixelated dragon and reads "Pixel Dojo". The woman says "Gotta have that pixel dojo candy. with over 60 ai tools, it's basically zero calories."
a thrilling action sequence of a woman trying to find her favorite candy. The candy wrapper is purple with a pixelated dragon and reads "Pixel Dojo". The woman says "Gotta have that pixel dojo candy. with over 60 ai tools, it's basically zero calories."
Reference
Every input the endpoint takes, and what comes back.
Parameters
| Parameter | Type | Description | Default |
|---|---|---|---|
promptrequiredstringText prompt for video generation | string | Text prompt for video generation | - |
multi_promptarrayMulti-shot prompts (array of shot prompt objects)max items: 6 | array | Multi-shot prompts (array of shot prompt objects)max items: 6 | - |
durationenum · default 5Video duration in seconds34567+8 moremin: 3 | max: 15 | enum | Video duration in seconds34567+8 moremin: 3 | max: 15 | 5 |
aspect_ratioenum · default 16:9Video aspect ratio16:99:161:1 | enum | Video aspect ratio16:99:161:1 | 16:9 |
generate_audioboolean · default trueGenerate synchronized native audio. Set false to pay the base rate. | boolean | Generate synchronized native audio. Set false to pay the base rate. | true |
voice_idsarrayVoice IDs for audio synthesis (up to 2 voices)items: string | array | Voice IDs for audio synthesis (up to 2 voices)items: string | - |
shot_typeenum · default customizeMulti-shot generation modecustomizeintelligent | enum | Multi-shot generation modecustomizeintelligent | customize |
negative_promptstring · default blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signatureWhat to avoid in the video | string | What to avoid in the video | blurry, distortion, low quality, grainy, warped faces, deformed hands, extra limbs, watermark, text, signature |
cfg_scalenumber · default 0.5Prompt adherence (0-1)min: 0 | max: 1 | number | Prompt adherence (0-1)min: 0 | max: 1 | 0.5 |
What comes back
When you submit (202)
{
"jobId": "job_abc123...",
"status": "pending",
"statusUrl": "https://pixeldojo.ai/api/v1/jobs/job_abc123...",
"priceUsd": 1.7188,
"creditCost": 27.5,
"creditsRemaining": 95,
"expiresAt": "2026-11-30T19:14:06Z"
}When it finishes
{
"jobId": "job_abc123...",
"status": "completed",
"output": {
"video": "https://temp.pixeldojo.ai/pixeldojotemp/1705930123-456789.mp4"
},
"creditCost": 27.5,
"expiresAt": "2026-11-30T19:14:06Z"
}priceUsd is what the run cost, in dollars. The credit fields show the same charge and your balance in account credits.
Use saved characters (@Name)
This model takes no reference images, so @Name of a saved character is refused (400) before anything is charged. A saved location, prop or style with a description is inserted as text. For saved characters, use a model that takes reference images, such as Nano Banana Pro or Seedream 5 for images, or Seedance 2.5 or WAN 3.0 for video.
Aspect ratios
Built for AI agents
Hand these to a coding assistant and it can write the integration for you.
Questions
How much does the Kling Video v3 Pro (Text) API cost?
From $0.25 a second. The table above has the price for every setting, and each job's response shows what it cost.
Do I need a subscription?
No. Top up from $5 and pay only for what you run.
Can I see the price before I run something?
Yes. Add ?dry_run=true to the request. You get its price back. Nothing is charged and no job starts.
Do I pay for a run that fails?
No. If a run fails, you get the money back on its own.
How long do output links last?
One hour. Download the file in that time, or call the save endpoint to keep it in your library.
Can an AI assistant use this model?
Yes. Connect Claude, ChatGPT or any agent to our MCP server at https://pixeldojo.ai/mcp. Or give it the docs file for this model.
More video APIs
Same key, same request shape. Switch models by changing one word in the URL.
Kling 4.0 API
From $0.406 a second
Kling Video v3 Standard (Text) API
From $0.25 a second
Kling 2.6 Pro API
From $0.313 a second
MiniMax H3 Turbo API
From $0.060 a second
WAN 3.0 API
From $0.069 a second
Seedance 2.5 API
From $0.375 a second
Seedance 2.5 Flash API
From $0.25 a second
WAN 2.2 Standard API
From $0.188
Start building
Get an API key
One key works for every model.
See usage
Requests, spend and logs.
Top up
Add money to your balance, from $5.