executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
xai-grok-imagine-edit-videoXAI | Grok Imagine | Edit Video. Edit videos with text prompts using xAI Grok Imagine. Triggers: video edit, grok, xai, edit video, modify video
Independent GitHub snapshot · Automated classification · Original documentation governs
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"
}
}'