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
extract-frameExtract Frame. Extract the first, middle, or last frame from a video as an image. Triggers: extract frame, video frame, video to image, screenshot video, thumbnail
Independent GitHub snapshot · Automated classification · Original documentation governs
Extract a single frame from a video file. Choose to extract the first, middle, or last frame, returning it as an image.
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": "extract-frame",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/video-clip.mp4",
"frame_type": "first"
}
}'
| Parameter | Type | Default | Description |
|---|---|---|---|
| frame_type | string | first | Type of frame to extract. Options: first, middle, last |
| video_url | string | - | URL of the video file to extract a frame from. |
Extract first frame:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "extract-frame",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/presentation.mp4",
"frame_type": "first"
}
}'
Extract middle frame for thumbnail:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "extract-frame",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/music-video.mp4",
"frame_type": "middle"
}
}'
Extract last frame:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "extract-frame",
"version": "0.0.1",
"input": {
"video_url": "https://example.com/timelapse.mp4",
"frame_type": "last"
}
}'