Install
openclaw skills install @weryai-developer/weryai-video-toolkitsProcess and edit existing videos using WeryAI video toolkits. Use when the user needs to remove video backgrounds, replace backgrounds, apply anime style transfer (anime-replace), or check the status of these toolkit tasks. Features bounded wait polling for final outputs.
openclaw skills install @weryai-developer/weryai-video-toolkitsWeryAI video tools, video editing, video post-processing, subtitle translate, subtitle erase, watermark remove, face change, lip sync, background remove, video extend, anime replace, magic style transfer, video upscale.
WeryAI video tools for video editing and video post-processing on existing videos.
Use this skill for official WeryAI video editing, video post-processing, and WeryAI video tools on existing video/media sources. Use when you need WeryAI video tools for subtitle translate, subtitle erase, watermark remove, face change, lip sync, background remove, video extend, anime replace, magic style transfer, or video upscale. This skill is intentionally strict about secret declaration and input safety: the only runtime secret is WERYAI_API_KEY, and media inputs support http/https URLs plus local/file sources that are uploaded first.
This is not a text-to-video generator. Use it when the user wants to edit, transform, clean up, translate, upscale, or extend an existing video with WeryAI rather than create a brand-new video from a prompt.
Dependencies: scripts/video_toolkits.js at the skill package root (alongside SKILL.md), WERYAI_API_KEY, and Node.js 18+. No other skills are required.
Remove the watermark from this HTTPS video with WeryAI.Translate the subtitles in this video to English and give me the final video URL.Use WeryAI to replace the face in this video with this reference photo.Extend this clip by 5 seconds in anime style.Lip-sync this talking-head video to the provided audio track.anime-replace, background-remove, extend, face-change, lips-change, magic-style, subtitle-erase, subtitle-translate, upscaler, watermark-removevideo_url plus tool-specific parameters such as image_url, audio_url, target_language, rect_vo_list, style, resolution, durationWERYAI_API_KEY alignment with other WeryAI skillsBefore the first real processing run:
https://www.weryai.com/api/keys.WERYAI_API_KEY.WERYAI_API_KEY in metadata.openclaw.requires.env and primaryEnv.WERYAI_API_KEY.export WERYAI_API_KEY="your_api_key_here"
Use one safe check before the first paid run:
node scripts/video_toolkits.js tools
node scripts/video_toolkits.js wait --tool background-remove --json '{"video_url":"https://example.com/video.mp4"}' --dry-run
tools confirms the local CLI is available and shows the supported tool registry.--dry-run validates the request shape without calling WeryAI or spending credits.WERYAI_API_KEY must be set before running video_toolkits.js for paid calls.>=18 is required because the runtime uses built-in fetch.video_url, image_url, and audio_url can be http/https URLs or local/file sources. Local/non-http(s) sources are uploaded first.submit, wait, and status commands can consume WeryAI credits or depend on existing paid tasks.WERYAI_API_KEY: Treat it as a secret. Configure it only in the runtime environment; never write the secret value into the skill files.WERYAI_BASE_URL defaults to https://api.weryai.com. Only override it with a trusted host.scripts/video_toolkits.js before production use.Route user intent to the narrowest tool:
anime-replacebackground-removeextendface-changelips-changemagic-stylesubtitle-erasesubtitle-translateupscalerwatermark-removeIf the user asks for text-to-video or image-to-video generation from scratch, use weryai-video-generator instead of this skill.
Guide the user progressively. Ask only for the smallest missing set of parameters required for the selected tool.
Use short operator-style guidance like this:
anime-replace: type=replace, resolution=720pbackground-remove: background_color=BLACKextend: style=anime, resolution=720p, duration=5magic-style: video_style=anime_style_3upscaler: resolution=1080psubtitle-erase and watermark-remove: omit rect_vo_list to let WeryAI auto-detect regionssubtitle-translate.target_languageface-change.image_urllips-change.audio_urlrect_vo_list region coordinates when auto-detection is not good enoughtarget_language when the user says “translate subtitles” but does not name the destination language.image_url when the user wants face replacement but has not supplied a face image.audio_url when the user wants lip-sync but has not supplied audio.rect_vo_list only when the user wants precise control over subtitle or watermark regions.style, duration, or resolution for extend only if the user wants something different from the default continuation setup.Read references/video-tools-matrix.md when you need the exact required fields, enum values, or defaults for a tool.
# Remove background with default BLACK fill
node scripts/video_toolkits.js wait --tool background-remove --json '{"video_url":"https://example.com/video.mp4"}'
# Replace or move an object in anime style
node scripts/video_toolkits.js wait --tool anime-replace --json '{"video_url":"https://example.com/video.mp4","image_url":"https://example.com/ref.jpg","type":"replace","resolution":"720p"}'
# Poll an existing task
node scripts/video_toolkits.js status --task-id <task-id>
video_url and only the extra parameters required by that tool.--dry-run when you need to verify the payload locally first.wait by default to deliver final processed video URLs in the same turn.taskId to the user and ask if they want you to check the status again. Do NOT show the raw node status command to the user; use it internally to check the status when asked.submit only when the user explicitly wants task creation without polling.status when the user already has a task_id.video_url, image_url, and audio_url can be http/https URLs or local/file sources.rect_vo_list coordinates between 0 and 1.rect_vo_list when auto-detection is acceptable.en, zh, ja, ko, fr, de, es.All commands print JSON to stdout. Successful results can include:
taskId, taskIds, batchIdtaskStatusvideosrequestSummaryerrorCode, errorMessageUser-facing delivery requirement:
[Video](https://...)). If multiple videos are generated, render all of them using markdown links consecutively.tool, style, duration, resolution, type, target_language.taskId as the sole deliverable unless the user explicitly requested task creation without waiting.taskId to the user and ask if they want you to check the status again. Do NOT show the raw node status command to the user; use it internally to check the status when asked.The task is done when:
submit returns a valid task ID or batch ID,wait reaches a terminal result with at least one processed video URL,status returns a clear in-progress or terminal state,video_url, image_url, or audio_url; local sources are uploaded before the toolkit request.submit or wait call can create a new paid task.submit and wait are not idempotent.status and tools are safe to re-run.