计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
toolkit【效率与协作】Toolkit - Video Convert | Video Processing and Conversion. Convert between video formats, extract frames, reverse videos, and more. Triggers: toolkit, video convert, video to gif, extract frames, reverse video, video processing
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Process and convert videos with multiple operations: convert to MP4/GIF, extract audio, combine frames into video, extract frames, reverse, and bounce videos.
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": "toolkit",
"version": "0.0.1",
"input": {
"input_file": "https://example.com/video.mov",
"task": "convert_input_to_mp4",
"fps": 30
}
}'
| Parameter | Type | Default | Description |
|---|---|---|---|
| fps | integer | 1 | Frames per second. Use 0 to keep original fps. Controls output frame rate for conversions |
| input_file | string | - | File to process: zip, image, or video |
| task | string | - | Operation to perform. enum: convert_input_to_mp4, convert_input_to_gif, extract_video_audio_as_mp3, zipped_frames_to_mp4, zipped_frames_to_gif, extract_frames_from_input, reverse_video, bounce_video |
Convert video to GIF:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "toolkit",
"version": "0.0.1",
"input": {
"input_file": "https://example.com/clip.mp4",
"task": "convert_input_to_gif",
"fps": 15
}
}'
Extract audio from video:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "toolkit",
"version": "0.0.1",
"input": {
"input_file": "https://example.com/interview.mp4",
"task": "extract_video_audio_as_mp3"
}
}'
Reverse a video:
curl -X POST https://api.eachlabs.ai/v1/prediction \
-H "Content-Type: application/json" \
-H "X-API-Key: $EACHLABS_API_KEY" \
-d '{
"model": "toolkit",
"version": "0.0.1",
"input": {
"input_file": "https://example.com/action-clip.mp4",
"task": "reverse_video",
"fps": 0
}
}'