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

Activate VanityFilter once in the app, open PowerShell, and run vanityfilter-cli.exe from the install folder with one or more videos. Each file is processed with the preset you choose and saved as a new file; originals are never replaced.

Before you start

Examples

One clip at the Standard preset:

& "C:\Program Files\VanityFilter\vanityfilter-cli.exe" --preset Standard "D:\Videos\interview.mp4"

A whole folder to ProRes, 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, treating only the main speaker:

& "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.1.5. Run vanityfilter-cli.exe --help to see the help for your installed version.

Input and output

FlagValueWhat it does
inputsfile...One or more input videos (MP4, MOV, AVI or 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.

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.