Skip to content

命令一览

全局

命令说明
ventu config保存 / 查看配置
ventu doctor检查环境与连通性

抠图

bash
ventu rmvbg <type> <files...> [options]
命令说明
ventu rmvbg premium <files...>优质抠图(服务端处理)
ventu rmvbg hd <files...>高清抠图

config

bash
ventu config [options]
选项说明
-s, --server <url>服务端地址
-a, --active-code <code>授权码
--show-secrets显示完整授权码
--clear删除 ~/.ventu.json

doctor

bash
ventu doctor [options]
选项说明
-s, --server <url>服务端地址
-a, --active-code <code>授权码
--jsonJSON 输出

rmvbg premium(优质抠图)

bash
ventu rmvbg premium [files...] [options]
选项说明
-s, --server <url>服务端地址
-a, --active-code <code>授权码
-o, --out <dir>输出目录
--size <px>最长边限制(0=不限制)
--bg <color>背景色,如 #ffffff
--jpg输出 JPG
--suffix <s>文件名后缀(默认 _pot
--jsonJSON 输出

rmvbg hd(高清抠图)

bash
ventu rmvbg hd [files...] [options]
选项说明
-s, --server <url>服务端地址
-a, --active-code <code>授权码
-o, --out <dir>输出目录
--size <px>最长边限制(0=不限制)
--bg <color>背景色,如 #ffffff
--jpg输出 JPG
--suffix <s>文件名后缀(默认 _zot
--jsonJSON 输出

帮助

bash
ventu --help
ventu rmvbg --help
ventu rmvbg premium --help
ventu rmvbg hd --help

ventu CLI 使用文档