
Activate VanityFilter in the app. Open PowerShell on Windows or Terminal on Mac and run the tool with your video path. Each file is processed with the preset you choose and saved as a new file; originals are never replaced.
Before you start
- License: the tool uses the license activated in the app. Open VanityFilter, enter your key and verify the code sent to the purchase email before the first run. Version 3.2 and later need a successful check at least every 30 days. If the license has expired, it exits with an error.
- Windows path:
C:\Program Files\VanityFilter\vanityfilter-cli.exein a default installation. It is not added to PATH. Use the full path in quotes. - Settings: start from a preset and change only what you need. Every treatment flag overrides the preset value. If you choose settings in the app, save them to a User slot or a .vfpreset file and use them here with
--preset.
Mac: Terminal and Keychain
You need an Apple Silicon Mac with macOS 14 Sonoma or later. Install VanityFilter in Applications and activate your license in the app. The command-line tool is at /Applications/VanityFilter.app/Contents/MacOS/vanityfilter-cli.
The first CLI run can ask for access to your login Keychain. It is a separate executable from the app. If the Keychain is locked or access is denied, unlock it locally and try again. This can also block an SSH session; an already activated license does not need another activation.
One clip at the Standard preset:
"/Applications/VanityFilter.app/Contents/MacOS/vanityfilter-cli" --preset Standard "$HOME/Movies/interview.mp4"The MP4 files in a folder, exported to ProRes:
"/Applications/VanityFilter.app/Contents/MacOS/vanityfilter-cli" --preset Standard --codec prores --output-dir "$HOME/Movies/processed" "$HOME"/Movies/raw/*.mp4On Mac, HDR10 and HLG export as 8-bit SDR without tone mapping.
Windows: PowerShell examples
One clip at the Standard preset:
& "C:\Program Files\VanityFilter\vanityfilter-cli.exe" --preset Standard "D:\Videos\interview.mp4"The .mp4 files in a folder, to ProRes. PowerShell passes each file to the tool, with the mask matte and a settings file next to each output:
& "C:\Program Files\VanityFilter\vanityfilter-cli.exe" --preset "User 1" --codec prores --export-mask --sidecar --output-dir "D:\Videos\clean" (Get-ChildItem "D:\Videos\raw\*.mp4").FullNameA 30-second test before exporting the whole clip:
& "C:\Program Files\VanityFilter\vanityfilter-cli.exe" --preset Standard --shine 0.4 --blemish 0.65 --start 1:00 --end 1:30 -o "D:\Videos\test.mp4" "D:\Videos\interview.mp4"An interview with portraits in the background. It skips faces under 22.5% of the frame height:
& "C:\Program Files\VanityFilter\vanityfilter-cli.exe" --preset Standard --min-face 0.225 "D:\Videos\interview.mp4"Every flag
This is the help for version 3.3.1. Add --help to the tool path to see the help for your installed version.
Input and output
| Flag | Value | What it does |
|---|---|---|
inputs | file... | One or more input videos. On Mac: MP4, MOV or M4V. Windows also accepts AVI and MKV. |
-o, --output | PATH | Output path. Single input only. Default: <input>_skin_smooth.<ext>. |
--output-dir | DIR | Folder for default-named outputs. Created if missing. |
--codec | h264 | prores | h264 writes .mp4; prores writes ProRes 422 HQ .mov. Default: h264. |
--export-mask | Also export the grayscale mask matte video next to each output. | |
--sidecar | Write a settings JSON sidecar next to each output. | |
--mask-preview | Export the debug mask overlay video instead of the result. | |
--start | TIME | Export from this time, in seconds or [hh:]mm:ss (for example 90 or 1:30). |
--end | TIME | Export up to this time. Single input only. |
Preset and treatment
| Flag | Value | What it does |
|---|---|---|
--preset | NAME | Starting point: Light touch, Standard, Heavy, Low-light repair, Face only, a User 1 to User 4 slot saved in the app, or a path to a .vfpreset file. Case-insensitive. |
--amount | 0..1 | Master wet/dry mix of the whole effect (Amount). |
--strength | 0..1 | Smoothing blend (Strength). |
--radius | 3..25 | Smoothing radius in pixels. |
--repair | 0..1 | Texture repair. |
--detail | 0..1 | Detail restore. |
--tolerance | 0..1 | Skin color tolerance. |
--brighten | 0..1 | Brighten: gamma lift of skin lightness. |
--shine | 0..1 | Shine removal. |
--redness | 0..1 | Reduce redness. |
--blemish | 0..1 | Blemish removal. |
--wrinkle-reduction | 0..1 | Fine Line Eraser prototype. Off by default. Overrides the preset value. |
--preserve-natural-creases / --no-preserve-natural-creases | Enable or disable protection of deeper folds from Fine Line Eraser. Inherits the preset if omitted; enabled for new settings. |
Mask and faces
| Flag | Value | What it does |
|---|---|---|
--feather | 3..61, odd | Mask edge blur in pixels. |
--stability | 0..0.95 | Temporal mask stability. |
--expansion | 0..1 | Face mask expansion. |
--neck | 0..1 | Neck coverage; 0 disables it. |
--forehead | 0..1 | Forehead coverage; 0 disables it. |
--primary-only | Treat only the largest or most central face (Primary face only). | |
--min-face | 0..0.5 | Ignore faces shorter than this fraction of the frame height (Ignore small faces; 0.225 equals 22.5%). |
Other
| Flag | Value | What it does |
|---|---|---|
--version | Print the version and exit. | |
-h, --help | Print the full help and exit. |
What it prints and how it exits
- For each file it prints its number and name, the resolution, frame rate, duration and whether it has audio, a progress bar, and the output path when it finishes.
- If two outputs in a batch would get the same name, later ones get _2, _3 and so on. An existing output file with the same name is replaced.
- If it detects a variable frame rate, or cannot verify the timing, it prints a warning. It does not repair timing; export can change motion timing or put audio out of sync. Convert to constant frame rate first when accurate timing is required.
- Exit code 0: every file was processed. 1: at least one file failed; the rest of the batch still runs. 2: invalid flags or a license problem; nothing is processed.
Prefer the app? The same workflow is in Smooth Skin Before You Edit. For questions, ask Vani or contact us.