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.
Animate a static image into a video using a text prompt with Kling 2.1 Pro. Supports multiple durations and prompt-guidance controls.
| Property | Value |
|---|
| Provider | Kling Plus |
| Model | Kling 2.1 Pro |
| Capability | Image to Video |
| Base Cost | 50,000 micro-cents/second ($0.05/second) |
| Processing Time | ~240 seconds |
Request Body
Model slug. Use kling-plus/kling-2.1-pro/image-to-video for image to video generation.
Input parameters for image to video generation.
Text description of the video to generate. max 2500 characters.
URL of the input image to animate.
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: 50,000 micro-cents per second ($0.05/second)
finalCost = baseCost × duration
| Factor | Option | Multiplier |
|---|
| Duration | 5 | 5x |
| 10 | 10x |
Default cost (duration=5): 50,000 × 5 = 250,000 micro-cents ($0.25)
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-pro/image-to-video",
"input": {
"image_url": "https://example.com/image.jpg",
"prompt": "The dog starts running and jumps over a wooden fence in slow motion.",
"duration": "5"
}
}'