Documentation Index Fetch the complete documentation index at: https://developer.pixelbyte.app/docs/llms.txt
Use this file to discover all available pages before exploring further.
Generate cinematic, high-fidelity videos directly from a text description with Kling 2.6 — the newest generation of Kling’s text-to-video model. Supports standard and pro quality, multiple aspect ratios, and 5 or 10 second durations.
Property Value Provider Kling Model Kling 2.6 Capability Text to Video Base Cost 55,000 micro-cents/second ($0.055/sec) Processing Time ~180 seconds
Request Body
Model slug. Use kling/kling-text2video-v26/text-to-video.
Input parameters for text-to-video generation. Text description of the video to generate (max 2500 characters).
Generation quality. Default: std. Options: std, pro.
Video duration in seconds. Default: 5. Options: 5, 10.
Video aspect ratio. Default: 16:9. Options: 16:9, 9:16, 1:1.
HTTPS URL to receive a webhook notification when the job completes or fails.
Pricing
Base cost: 55,000 micro-cents per second ($0.055/sec)
finalCost = baseCost × quality × duration
Factor Option Multiplier Quality std1x pro1.5x Duration 55x 1010x
Default cost: std quality, 5 seconds = 55,000 × 1 × 5 = 275,000 micro-cents ($0.275)
Response
Unique identifier for the submitted job.
Initial job status. Always "pending" on successful submission.
ISO 8601 timestamp of the estimated completion time.
The cost of the job in micro-cents.
Code Examples
curl -X POST https://api.muvi.video/v1/jobs/submit \
-H "Authorization: Bearer $PIXELBYTE_API_KEY " \
-H "Content-Type: application/json" \
-d '{
"model": "kling/kling-text2video-v26/text-to-video",
"input": {
"prompt": "A red sports car drifts around a wet mountain corner at sunset",
"quality": "std",
"duration": "5",
"aspect_ratio": "16:9"
}
}'