AI-powered video processing command-line interface using Topaz Video AI - supports upscaling, enhancement, stabilization, and frame interpolation.
中文 | English
- 🎬 Video upscaling with AI models (Iris, Artemis, Proteus, etc.)
- 🔧 Customizable quality parameters (bitrate, quantization)
- 📦 Complete parameter mapping (GUI to CLI)
- ✅ 25+ test cases, 100% pass rate
# Clone the project
git clone https://github.com/yourusername/topaz-video-cli.git
cd topaz-video-cli
# Install Python dependencies
pip install -e .Requirements:
- Python 3.9+
- Topaz Video AI (must be installed at
/Applications/Topaz Video.app)
# View help
topaz-video --help
# Probe video info
topaz-video probe input.mp4
# 2x upscaling
topaz-video process input.mp4 output.mp4 --model enhance --scale 2 --ai-model iris-2Claude Code is Anthropic's official CLI tool.
# 1. Clone to Claude Code plugins directory
cd ~/.claude/plugins
git clone https://github.com/yourusername/topaz-video-cli.git topaz-video
# 2. Reload plugins
/reload-plugins
# 3. Verify installation
topaz-video --help# Install latest version
/plugin install topaz-video@github:yourusername/topaz-video-cli
# Install specific version
/plugin install topaz-video@github:yourusername/topaz-video-cli@v1.0.0# 1. Clone project
git clone https://github.com/yourusername/topaz-video-cli.git
cd topaz-video-cli
# 2. Create symlink
mkdir -p ~/.claude/plugins
ln -s $(pwd) ~/.claude/plugins/topaz-video
# 3. Reload
/reload-plugins# Test CLI
topaz-video info
# Should show:
# Topaz Video CLI
# App Location: /Applications/Topaz Video.app
# FFmpeg: /Applications/Topaz Video.app/Contents/MacOS/ffmpegOpenClaw is an open-source AI agent with similar skill system support.
# 1. Clone project
git clone https://github.com/yourusername/topaz-video-cli.git
# 2. Copy skill to your project
cp -r topaz-video-cli/.openclaw/skills/topaz-video your-project/skills/
# 3. Clean up
rm -rf topaz-video-cli
# 4. Use in project
cd your-project
openclaw# 1. Clone project
git clone https://github.com/yourusername/topaz-video-cli.git
# 2. Create global skills directory
mkdir -p ~/.openclaw/skills
# 3. Copy skill
cp -r topaz-video-cli/.openclaw/skills/topaz-video ~/.openclaw/skills/
# 4. Clean up
rm -rf topaz-video-cli# Check status
openclaw status
# Should show topaz-video skill loadedtopaz-video probe <video_path>
topaz-video probe video.mp4 --jsontopaz-video process <input> <output> [OPTIONS]| Flag | Description | Values |
|---|---|---|
--model |
Processing mode | upscale, enhance, stabilize, interpolate |
--ai-model |
AI model name | See below |
--scale |
Upscale factor | 1, 2, 4, 8 |
| GUI Name | CLI Name | Best For |
|---|---|---|
| Iris | iris-2 |
General purpose, fast |
| Artemis | artemis |
Anime/cartoon |
| Proteus | proteus |
High quality |
| Rhea | rhea |
Speed priority |
| Nyx | nyx |
High-res sources |
| Theia | theia |
Best quality |
| GFX | gfx |
Screen recording |
| Flag | GUI Equivalent | Range |
|---|---|---|
--noise |
Add noise | -1 to 1 |
--details |
Recover detail | -1 to 1 |
--blur |
Sharpen | -1 to 1 |
--preblur |
Anti-alias/deblur | -1 to 1 |
--halo |
Dehalo | -1 to 1 |
--compression |
Revert compression | -1 to 1 |
--grain |
Grain | 0 to 1 |
| Flag | Description | Example |
|---|---|---|
--bitrate |
Video bitrate | 2000k, 5M |
--qv |
Quantization (1-1024) | Higher = lower quality |
--crf |
CRF quality (0-51) | Lower = better quality |
--codec |
Encoder | h264_videotoolbox |
--audio-bitrate |
Audio bitrate | 128k |
topaz-video convert input.mp4 output.mov --codec h264_videotoolbox
topaz-video convert input.mp4 output.mov --codec prores_videotoolbox# Probe original bitrate first
topaz-video probe input.mp4
# Process with original bitrate
topaz-video process input.mp4 output_2x.mp4 \
--model enhance \
--ai-model iris-2 \
--scale 2 \
--bitrate 2000ktopaz-video process input.mp4 output.mp4 \
--model enhance \
--ai-model proteus \
--scale 2 \
--noise 0.3 \
--details 0.5topaz-video process shaky.mp4 stable.mp4 \
--model stabilize \
--smoothness 8topaz-video process input.mp4 slowmo.mp4 \
--model interpolate \
--slowmo 2 \
--fps 60topaz-video --json probe video.mp4
topaz-video --json process input.mp4 output.mp4 --model enhance --ai-model iris-2 --scale 2Solution: First time using a model? Open Topaz Video GUI to download the model.
Solution: Use --bitrate to control file size.
--bitrate 2000k # ~2Mbps
--bitrate 5000k # ~5Mbps~/Library/Application Support/Topaz Labs LLC/Topaz Video/logs/
topaz-video-cli/
├── .openclaw/ # OpenClaw skill config
│ └── skills/
│ └── topaz-video/
│ └── SKILL.md
├── cli_anything/ # Python package
│ └── topaz_video/
│ ├── topaz_video_cli.py # CLI entry
│ ├── utils/
│ │ └── topaz_video_backend.py
│ └── tests/
├── SKILL.md # Claude Code skill definition
├── README.md # English docs
├── README-zh.md # Chinese docs
└── setup.py # Package config
pytest cli_anything/topaz_video/tests/ -vpip install -e .
topaz-video --helpMIT License