Install
openclaw skills install video-understanding-and-ai-clippingWayinVideo AI video editing and analysis suite. Includes highlight extraction, natural language video search, content summarization, and transcription. Example scenarios: 'extract video highlights' / '分析这个视频' / 'Um clipe de um gato pulando na mesa.' / 'Transcrivez cette vidéo.'. Supports online URLs and local files with customizable export options like aspect ratio, captions, and AI reframing. Features persistent configuration for seamless automation and sub-agent optimized background polling. Use when the user needs any form of AI video editing, highlight discovery, or content analysis.
openclaw skills install video-understanding-and-ai-clippingWayinVideo is an AI video editing and analysis platform designed to simplify complex video tasks with a few clicks, such as extracting viral highlights, searching for specific moments using natural language, generating comprehensive summaries, providing high-quality transcriptions, etc. WayinVideo not only provides a friendly GUI to users, but also APIs for agents to automate their workflows. Whether you are dealing with online URLs (YouTube, TikTok, etc.) or local files, WayinVideo offers customizable export options like AI reframing and captioning to make your content ready for any platform. This skill encompasses WayinVideo CLI, which simplifies the API usage and allows for persisting user preferences.
Check if the WayinVideo CLI is already installed: wayinvideo --help.
pip3 install -e <ABS_PATH_TO_SKILL>/wayinvideo-cliwayinvideo <command> with:
PYTHONPATH=<ABS_PATH_TO_SKILL>/wayinvideo-cli python3 -m wayinvideo <command>Follow this simple workflow to use the CLI effectively:
WAYIN_API_KEY is set.wayinvideo upload --file-path <path> to get a video identity.wayinvideo submit <task_type> --url "<url_or_identity>" with desired options.wayinvideo poll --type <type> --id <id> to track progress and get final results.WayinVideo supports several specialized tasks to match different user needs:
| Task Type | Description | Best Use Case | Documentation |
|---|---|---|---|
clip | Extracts engaging highlights. | Creating viral social media clips or highlight reels. | basics/ai-clipping.md |
search | Natural language video search. | Locating specific scenes, topics, or events (e.g., "the part where they talk about taxes"). | basics/find-moments.md |
summarize | Structured content summary. | Quick understanding, key info extraction, or video QA. | basics/video-summarization.md |
transcribe | Speech-to-text conversion. | Subtitle creation, speaker analysis, or searchable transcripts. | basics/video-transcription.md |
export | Standalone video rendering. | Changing ratio/captions/hooks for existing clip/search results. | basics/export.md |
You MUST read the corresponding documentation before you submit that task.
clip. It's best for broad, subjective requests.search. Perfect for specific search intent.summarize. Ideal for high-level understanding.transcribe. Best for detailed textual evidence and speaker tracking.export. Best for re-rendering results from a prior clip or search task.Polling can be time-consuming. Run wayinvideo poll in a subagent or as a background task whenever possible. This allows you to stay responsive to the user while the subagent handles the task.
Parallel Processing: For scenarios involving multiple videos or multiple tasks (e.g., clipping and summarizing the same video simultaneously), it is highly recommended to spawn multiple parallel subagents or background tasks. This allows for concurrent execution and significantly reduces the total wall-clock time.
Pro Tip:
For OpenClaw users, use --event-interval 300 to enable progress updates via the openclaw CLI every 300 seconds (default is 0/disabled).
--event-interval seconds.
wayinvideo config set <key> <value> to save these preferences globally, ensuring a smoother and more personalized experience. Examples:
wayinvideo config set defaults.target zhwayinvideo config set defaults.clip.ratio RATIO_9_16If WayinVideo CLI outputs files locally, ALWAYS include the file path in your response. If the user asks for video transcription, ALWAYS ask whether they want the subtitles converted to a common format (e.g., .txt).
If an export_link is provided in the result:
export_link has expired (24 hours after the last poll), run wayinvideo poll --type <type> --project-id <id> again to refresh it.export_link as a clickable Markdown link. NEVER truncate, shorten, or alter these links.curl -L -o <filename> "<export_link>".You MUST read the corresponding advanced documentation before proceeding with these tasks.
| I want to... | Read |
|---|---|
| "Learn [subject] from these [N] videos" | advanced/learning_from_videos.md |
| "Find the most [adjective] clip from the video" | advanced/searching_best.md |