Parameter reference
Every flag, findable in two clicks
Search by name, or filter by what you're tuning. Defaults that shift between releases are flagged version-dependent - always confirm against your ff-run --help.
43 flags
--execution-providersWhich executors run the models (cuda, cpu, directml, openvino, rocm, coreml, tensorrt).
--execution-thread-countWorker threads per request; keep near your core count.
--execution-queue-countBounded queued frames between stages; higher uses more RAM.
--vram-limitvaryCap per-provider GPU memory so models share one card.
--system-memory-limitvaryCap host RAM used by the pipeline.
--face-detector-sizeDetection resolution; larger = more recall, more cost.
--face-detector-scoreMin confidence for a detection; lower = more faces.
--face-detector-anglesInternal rotations to catch tilted faces; more = slower.
--face-detector-modelyoloface | scrfd | retinaface (plus 'many' in newer builds).
--face-landmarker-modelLandmark network for tracking/alignment (2dfan4, pipnet in newer).
--face-landmarker-scoreMin confidence for landmarks; lower = more permissive.
--face-recognizer-modelEmbedding network used for matching/verifying faces.
--face-recognizer-distanceDistance metric for comparing face embeddings.
--face-recognizer-metricHow to aggregate multi-face comparisons (max/min/average).
--face-recognizer-thresholdvaryCutoff for a 'match'; lower = stricter.
--face-swapper-modelinswapper_128 | simswap_256/512 | ghost_256 | uniface_256.
--face-swapper-pixel-boostvarySecond-pass upscale of the swap region for sharper output.
--face-enhancer-modelcodeformer | gfpgan_1.x | restoreformer(+_plus_plus) | gpen_bfr_*.
--face-enhancer-blendStrength of the enhanced face over the original.
--face-enhancer-weightFidelity vs. restoration for codeformer/gfpgan.
--frame-enhancer-modelWhole-frame upscaler (real_esrgan_*, span_kendata_x4).
--frame-enhancer-blendStrength of the upscaled frame over the original.
--lip-syncer-modelwav2lip | wav2lip_gan - syncs lips to --audio.
--lip-syncer-blendStrength of the synced mouth over the original.
--audioAudio track that lip_syncer animates the mouth to.
--expression-restorer-modelvaryDrives expression transfer.
--expression-restorer-factorvaryHow strongly the driving expression is applied.
--face-debugger-itemsOverlays: face (bbox), face_landmark, face_mask, face_landmark_mask.
--face-mask-typesbox | occlusion | region - how the swap region is computed.
--face-mask-blurFeathers the mask edge for blending.
--face-mask-paddingExpand (+) or contract (-) the mask.
--face-mask-regionsPer-feature regions when using region mask (eyes, brows, lips, nose, hair, neck, ...).
--output-video-codechw: h264_nvenc, hevc_nvenc, h264_amf, hevc_amf, h264_qsv, hevc_qsv. sw: libx264, libx265, libsvtav1, libvpx-vp9.
--output-video-qualityCRF; lower = higher quality/bigger file. Guide sweet spot 18 - 20.
--output-video-presetSpeed/compression trade for the encoder.
--output-video-bitrateAbsolute bitrate cap when targeting a file size.
--output-video-grainAdds film grain to mask banding and match source.
--temp-frame-formatIntermediate format (png | jpg). png = lossless, heavier disk.
--keep-tempKeep temp frames on disk for inspection.
--trim-frame-startFirst frame of the input to process.
--trim-frame-endLast frame of the input to process.
--temp-frame-qualityCompression for lossy temp frames (jpg).
--output-video-fpsOutput frame rate; derive from input if unset.
Categories mirror the concerns you actually tune: Performance, Quality, Tracking, Face, Masking, Encoding, Audio. VRAM figures and exact defaults stay qualitative here on purpose.