Kling v1 | Pro | Text to Video
Generate high-quality videos from text prompts using Kling v1 Pro. The professional tier of Kling v1 for text-to-video, offering improved quality over Standard with control over duration, aspect ratio, and CFG scale.
Quick Start
Requires an each::labs API key. Get one at eachlabs.ai.
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "kling-v1-pro-text-to-video",
"version": "0.0.1",
"input": {
"prompt": "A skilled blacksmith hammering red-hot metal on an anvil, sparks flying, dramatic workshop lighting",
"aspect_ratio": "16:9",
"duration": 5
}
}'
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
| aspect_ratio | string | 16:9 | Aspect ratio. Options: 16:9, 9:16, 1:1 |
| cfg_scale | number | 0.5 | Classifier-free guidance scale |
| duration | integer | 5 | Video duration in seconds |
| negative_prompt | string | blur, distort, and low quality | Things to avoid in generation |
| prompt | string | - | Text prompt for video generation |
Examples
Cinematic scene:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "kling-v1-pro-text-to-video",
"version": "0.0.1",
"input": {
"prompt": "A lone surfer riding a massive wave at sunset, golden light backlighting the spray, slow motion cinematic",
"aspect_ratio": "16:9",
"duration": 5,
"negative_prompt": "blur, distort, and low quality"
}
}'
Vertical content:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "kling-v1-pro-text-to-video",
"version": "0.0.1",
"input": {
"prompt": "A magician performing a card trick, cards floating in the air, dramatic spotlight",
"aspect_ratio": "9:16",
"cfg_scale": 0.5
}
}'
Related Models
- Kling v1 | Standard | Text to Video - Standard tier with camera control
- Kling v2.1 | Master | Text to Video - Latest generation Master
- Kling v1 | Pro | Image to Video - Pro image-to-video