ai-video-upscale

TotalClaw 作者 NightVibes3 v1.0.0

使用 Real-ESRGAN 和 Waifu2x 进行人工智能驱动的视频升级。当用户要求增强、升级、提高视频质量、制作 HD/4K 时使用。支持动画和真实镜头,并带有进度跟踪。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~nightvibes3-video-upscale
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~nightvibes3-video-upscale/file -o nightvibes3-video-upscale.md
## 概述(中文)

使用 Real-ESRGAN 和 Waifu2x 进行人工智能驱动的视频升级。当用户要求增强、升级、提高视频质量、制作 HD/4K 时使用。支持动画和真实镜头,并带有进度跟踪。

## 原文

# AI Video Upscale Skill

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

## Quick Usage

After installation (see below), run:
```bash
~/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:
```bash
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](references/INSTALL.md) for setup instructions.