计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
kandinsky5-pro-image-to-video【效率与协作】Kandinsky 5 | Pro | Image to Video. Generate videos from images using Kandinsky 5 Pro. Triggers: image to video, video generation, kandinsky, animate image
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Generate videos from reference images using the Kandinsky 5 Pro model. Supports up to 1024p resolution with acceleration options for faster generation.
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": "kandinsky5-pro-image-to-video",
"version": "0.0.1",
"input": {
"prompt": "A gentle breeze moves through the flowers in the garden",
"image_url": "https://example.com/garden.jpg",
"resolution": "512P",
"num_inference_steps": 28
}
}'
| Parameter | Type | Default | Description |
|---|---|---|---|
| acceleration | string | regular | Acceleration level for faster generation. Options: none, regular |
| image_url | string | - | The URL of the image to use as a reference for video generation. |
| num_inference_steps | integer | 28 | The number of inference steps. |
| prompt | string | - | The prompt to generate the video from. |
| resolution | string | 512P | Video resolution. Options: 512P, 1024P |
Standard resolution video:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "kandinsky5-pro-image-to-video",
"version": "0.0.1",
"input": {
"prompt": "Waves gently lapping against the shore",
"image_url": "https://example.com/beach.jpg"
}
}'
High resolution with no acceleration:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "kandinsky5-pro-image-to-video",
"version": "0.0.1",
"input": {
"prompt": "A cat stretching and yawning on a window sill, sunlight streaming in",
"image_url": "https://example.com/cat-on-sill.jpg",
"resolution": "1024P",
"acceleration": "none",
"num_inference_steps": 35
}
}'