CLI

@hypervideo-dev/cli is a command-line tool for video background removal and processing automation.

npm | GitHub

Installation

bash
npm install -g @hypervideo-dev/cli

Authentication

bash
# Interactive browser login (recommended)
hypervideo login
# Manual API key setup
hypervideo config set hc_your_key_here
# View current key
hypervideo config get
# Log out
hypervideo logout

The CLI stores your API key in ~/.hypervideo/config.json.

Video Background Removal

bash
# Basic usage
hypervideo video remove-bg input.mp4 -o output.webp
# Specify format
hypervideo video remove-bg input.mp4 -f apng -o output.apng
hypervideo video remove-bg input.mp4 -f webm -o output.webm
hypervideo video remove-bg input.mp4 -f stacked-alpha -o output.mp4
# With options
hypervideo video remove-bg input.mp4 -f webp -q 40 -o output.webp
hypervideo video remove-bg input.mp4 -f webm -t 30 -o output.webm

Options

FlagDescriptionDefault
-f, --formatOutput formatwebm
-o, --outputOutput file pathauto-generated
-t, --toleranceBackground sensitivity (0-100)30
-q, --qualityWebP/APNG quality (0-100)60
--fpsFrame rate (1-60)24
--chroma-keyManual color (r,g,b)auto-detect

Config Commands

bash
# Set API key
hypervideo config set hc_your_key
# Get current API key
hypervideo config get
# Show config file path
hypervideo config path