计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
xai-grok-imagine-edit-video【效率与协作】XAI | Grok Imagine | Edit Video. Edit videos with text prompts using xAI Grok Imagine. Triggers: video edit, grok, xai, edit video, modify video
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Edit existing videos using text descriptions with xAI's Grok Imagine. Supports up to 720p output resolution.
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": "xai-grok-imagine-edit-video",
"version": "0.0.1",
"input": {
"prompt": "Make the scene look like it is during a thunderstorm with rain",
"video_url": "https://example.com/outdoor-scene.mp4",
"resolution": "720p"
}
}'
| Parameter | Type | Default | Description |
|---|---|---|---|
| prompt | string | Text description of the desired edit. | |
| resolution | string | 720p | Resolution of the output video. enum: 480p, 720p |
| video_url | string | URL of the input video to edit. Video will be resized to max 810,000 pixel area. |
Add weather effects:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "xai-grok-imagine-edit-video",
"version": "0.0.1",
"input": {
"prompt": "Add heavy snowfall to the entire scene",
"video_url": "https://example.com/city-street.mp4",
"resolution": "720p"
}
}'
Style transformation:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "xai-grok-imagine-edit-video",
"version": "0.0.1",
"input": {
"prompt": "Transform into a vintage black and white film with grain",
"video_url": "https://example.com/modern-clip.mp4",
"resolution": "480p"
}
}'