计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
kling-v2-6-pro-image-to-video【效率与协作】Kling | v2.6 | Pro | Image to Video. Generate videos from images with optional end frame and audio. Triggers: image to video, kling, video generation, animation, i2v
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Generate high-quality videos from a starting image with optional end frame and native audio generation. Supports 5 and 10-second durations with Chinese and English voice support.
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-v2-6-pro-image-to-video",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/landscape.jpg",
"prompt": "camera slowly pans across the landscape with gentle wind",
"duration": "5",
"generate_audio": true
}
}'
| Parameter | Type | Default | Description |
|---|---|---|---|
| duration | string | 5 | The duration of the generated video in seconds. enum: 5, 10 |
| end_image_url | string | URL of the image to be used for the end of the video. | |
| generate_audio | boolean | true | Whether to generate native audio for the video. Supports Chinese and English voices. |
| image_url | string | URL of the image to be used for the video. | |
| negative_prompt | string | blur, distort, and low quality | Negative prompt to avoid unwanted elements. |
| prompt | string | Text prompt describing the desired video motion. |
Simple image animation with audio:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "kling-v2-6-pro-image-to-video",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/ocean-sunset.jpg",
"prompt": "waves gently crashing on the shore, seagulls flying",
"duration": "10",
"generate_audio": true
}
}'
Start-to-end frame transition:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "kling-v2-6-pro-image-to-video",
"version": "0.0.1",
"input": {
"image_url": "https://example.com/day-scene.jpg",
"end_image_url": "https://example.com/night-scene.jpg",
"prompt": "time-lapse of day transitioning to night",
"duration": "5",
"negative_prompt": "blur, distort, and low quality, flickering"
}
}'