Illustration of a row of video clips passing through a ring of light and coming out processed, on a desk at night
Getting started

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

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/*.mp4

On 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").FullName

A 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

FlagValueWhat it does
inputsfile...One or more input videos. On Mac: MP4, MOV or M4V. Windows also accepts AVI and MKV.
-o, --outputPATHOutput path. Single input only. Default: <input>_skin_smooth.<ext>.
--output-dirDIRFolder for default-named outputs. Created if missing.
--codech264 | proresh264 writes .mp4; prores writes ProRes 422 HQ .mov. Default: h264.
--export-maskAlso export the grayscale mask matte video next to each output.
--sidecarWrite a settings JSON sidecar next to each output.
--mask-previewExport the debug mask overlay video instead of the result.
--startTIMEExport from this time, in seconds or [hh:]mm:ss (for example 90 or 1:30).
--endTIMEExport up to this time. Single input only.

Preset and treatment

FlagValueWhat it does
--presetNAMEStarting 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.
--amount0..1Master wet/dry mix of the whole effect (Amount).
--strength0..1Smoothing blend (Strength).
--radius3..25Smoothing radius in pixels.
--repair0..1Texture repair.
--detail0..1Detail restore.
--tolerance0..1Skin color tolerance.
--brighten0..1Brighten: gamma lift of skin lightness.
--shine0..1Shine removal.
--redness0..1Reduce redness.
--blemish0..1Blemish removal.
--wrinkle-reduction0..1Fine Line Eraser prototype. Off by default. Overrides the preset value.
--preserve-natural-creases / --no-preserve-natural-creasesEnable or disable protection of deeper folds from Fine Line Eraser. Inherits the preset if omitted; enabled for new settings.

Mask and faces

FlagValueWhat it does
--feather3..61, oddMask edge blur in pixels.
--stability0..0.95Temporal mask stability.
--expansion0..1Face mask expansion.
--neck0..1Neck coverage; 0 disables it.
--forehead0..1Forehead coverage; 0 disables it.
--primary-onlyTreat only the largest or most central face (Primary face only).
--min-face0..0.5Ignore faces shorter than this fraction of the frame height (Ignore small faces; 0.225 equals 22.5%).

Other

FlagValueWhat it does
--versionPrint the version and exit.
-h, --helpPrint the full help and exit.

What it prints and how it exits

Prefer the app? The same workflow is in Smooth Skin Before You Edit. For questions, ask Vani or contact us.