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 high-quality videos from text descriptions with Kling 2.1 Master. Supports multiple aspect ratios, durations, and prompt-guidance controls.
| Property | Value |
|---|
| Provider | Kling Plus |
| Model | Kling 2.1 Master |
| Capability | Text to Video |
| Base Cost | 40,000 micro-cents/second ($0.04/second) |
| Processing Time | ~240 seconds |
Request Body
Model slug. Use kling-plus/kling-2.1-master/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. Options: 16:9, 9:16, 1:1. Default: 16:9.
Video duration in seconds. Options: 5, 10. Default: 5.
Prompt adherence strength. min 0, max 1. Default: 0.5.
Negative prompt. max 1000 characters.
HTTPS URL to receive a webhook notification when the job completes or fails.
Pricing
Base cost: 40,000 micro-cents per second ($0.04/second)
finalCost = baseCost × duration
| Factor | Option | Multiplier |
|---|
| Duration | 5 | 5x |
| 10 | 10x |
Default cost (duration=5): 40,000 × 5 = 200,000 micro-cents ($0.2)
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-plus/kling-2.1-master/text-to-video",
"input": {
"prompt": "A golden retriever running through a sunlit meadow during sunrise, cinematic camera motion.",
"aspect_ratio": "16:9",
"duration": "5"
}
}'