Generate high-quality videos from text descriptions with Kling 2.6 Pro. Supports multiple aspect ratios, durations, and optional audio generation.
| Property | Value |
|---|
| Provider | Kling |
| Model | Kling 2.6 Pro |
| Capability | Text to Video |
| Base Cost | 70,000 micro-cents/second ($0.07/sec) |
| Processing Time | ~240 seconds |
Request Body
Model slug. Use kling/kling-2.6-pro/text-to-video for text-to-video generation.
Input parameters for text-to-video generation.
Text description of the video to generate (max 2500 characters).
Video aspect ratio. Default: 16:9. Options: 16:9, 9:16.
Video duration in seconds. Default: 5. Options: 5, 10.
Enable audio generation. Default: false. Options: true, false.
HTTPS URL to receive a webhook notification when the job completes or fails.
Pricing
Base cost: 70,000 micro-cents per second ($0.07/sec)
finalCost = baseCost × duration × has_sound
| Factor | Option | Multiplier |
|---|
| Duration | 5 | 5x |
| 10 | 10x |
| Sound | false | 1x |
| true | 2x |
Default cost: 5 seconds, no sound = 70,000 × 5 × 1 = 350,000 micro-cents ($0.35)
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-2.6-pro/text-to-video",
"input": {
"prompt": "A golden retriever running through a sunlit meadow",
"aspect_ratio": "16:9",
"duration": "5",
"has_sound": "true"
}
}'