360 Secure SkillHub
360 安全技能中心

AI Video Upscale

该 Skill 通过本地脚本调用 Real-ESRGAN 与 Waifu2x 对视频做 AI 超分辨率放大,支持 anime/real 模式、fast(2x)/high(4x) 预设,可自动检测模式与引擎,按 job_id 隔离任务并输出分阶段进度与状态,最后给出放大后视频路径。运行依赖 ffmpeg、bc、md5sum,引擎需按安装说明另行下载。

nightvibes3
nightvibes3
热度 89.80
最近更新 2026-05-18 12:05:20
分类:创作依赖:代码执行 / 读写文件应用场景:视频编辑

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add video-upscale
Metadata
name
ai-video-upscale
version
1.0.0
description
AI-powered video upscaling with Real-ESRGAN and Waifu2x. Use when user asks to enhance, upscale, improve video quality, make HD/4K. Supports anime and real footage with progress tracking.
metadata
{"openclaw":{"emoji":"🎬","triggers":["upscale","enhance","make HD","make 4K","improve quality"],"requires":["ffmpeg","bc","md5sum"]}}
author
NightVibes3

AI Video Upscale Skill

AI-powered video upscaling with progress tracking and job isolation.

Quick Usage

After installation (see below), run:

~/video-tools/real-video-enhancer/upscale_video.sh "{{filepath}}" "{{output_path}}" "{{mode}}" "{{preset}}" "{{engine}}" "{{job_id}}"

Or if you added the tool paths to your PATH:

upscale_video.sh "{{filepath}}" "{{output_path}}" "{{mode}}" "{{preset}}" "{{engine}}" "{{job_id}}"

Parameters

Parameter Default Description
filepath required Input video path
mode auto anime or real (auto-detects)
preset fast fast (2x) or high (4x)
engine auto waifu2x or realesrgan
job_id auto tg_<chatid>_<messageid>

Mode Selection

  • anime → Waifu2x (better for anime with text)
  • real → Real-ESRGAN (better for photorealistic)

Preset Selection

Preset Upscale CRF Speed
fast 2x 20 Quick
high 4x 16 Slower

Example Prompts

  • "Upscale this"
  • "Upscale this anime clip"
  • "Make this 4K"
  • "Enhance in high quality, keep me updated"

Output Format

JOB_ID: tg_123_456
PHASE: EXTRACTING_FRAMES
FRAMES_TOTAL: 780
PHASE: UPSCALING
PROGRESS: 78/780
...
STATUS: OK
UPSCALED_VIDEO: /path/to/output.mp4

Installation

See INSTALL.md for setup instructions.