# Table of Contents - [CLI Arguments | FaceFusion](#cli-arguments-facefusion) - [Paths | FaceFusion](#paths-facefusion) - [CLI Arguments | FaceFusion](#cli-arguments-facefusion) - [Face Landmarker | FaceFusion](#face-landmarker-facefusion) - [Patterns | FaceFusion](#patterns-facefusion) - [Voice Extractor | FaceFusion](#voice-extractor-facefusion) - [Face Selector | FaceFusion](#face-selector-facefusion) - [Face Detector | FaceFusion](#face-detector-facefusion) - [Frame Extraction | FaceFusion](#frame-extraction-facefusion) - [Face Masker | FaceFusion](#face-masker-facefusion) - [Memory | FaceFusion](#memory-facefusion) - [Benchmark | FaceFusion](#benchmark-facefusion) - [UIs | FaceFusion](#uis-facefusion) - [Frame Extraction | FaceFusion](#frame-extraction-facefusion) - [Download | FaceFusion](#download-facefusion) - [Voice Extractor | FaceFusion](#voice-extractor-facefusion) - [Output Creation | FaceFusion](#output-creation-facefusion) - [Face Debugger | FaceFusion](#face-debugger-facefusion) - [Patterns | FaceFusion](#patterns-facefusion) - [Face Enhancer | FaceFusion](#face-enhancer-facefusion) - [Expression Restorer | FaceFusion](#expression-restorer-facefusion) - [Misc | FaceFusion](#misc-facefusion) - [Processors | FaceFusion](#processors-facefusion) - [Background Remover | FaceFusion](#background-remover-facefusion) - [Paths | FaceFusion](#paths-facefusion) - [Face Landmarker | FaceFusion](#face-landmarker-facefusion) - [Output Creation | FaceFusion](#output-creation-facefusion) - [Execution | FaceFusion](#execution-facefusion) - [Deep Swapper | FaceFusion](#deep-swapper-facefusion) - [Face Selector | FaceFusion](#face-selector-facefusion) - [Frame Enhancer | FaceFusion](#frame-enhancer-facefusion) - [Age Modifier | FaceFusion](#age-modifier-facefusion) - [Face Masker | FaceFusion](#face-masker-facefusion) - [UIs | FaceFusion](#uis-facefusion) - [Face Detector | FaceFusion](#face-detector-facefusion) - [Frame Colorizer | FaceFusion](#frame-colorizer-facefusion) - [Download | FaceFusion](#download-facefusion) - [Lip Syncer | FaceFusion](#lip-syncer-facefusion) - [Memory | FaceFusion](#memory-facefusion) - [Age Modifier | FaceFusion](#age-modifier-facefusion) - [Face Swapper | FaceFusion](#face-swapper-facefusion) - [Face Editor | FaceFusion](#face-editor-facefusion) - [Execution | FaceFusion](#execution-facefusion) - [Misc | FaceFusion](#misc-facefusion) - [Processors | FaceFusion](#processors-facefusion) - [Deep Swapper | FaceFusion](#deep-swapper-facefusion) - [Benchmark | FaceFusion](#benchmark-facefusion) - [Frame Colorizer | FaceFusion](#frame-colorizer-facefusion) - [Face Swapper | FaceFusion](#face-swapper-facefusion) - [Face Debugger | FaceFusion](#face-debugger-facefusion) - [Frame Enhancer | FaceFusion](#frame-enhancer-facefusion) - [Expression Restorer | FaceFusion](#expression-restorer-facefusion) - [Face Enhancer | FaceFusion](#face-enhancer-facefusion) - [Lip Syncer | FaceFusion](#lip-syncer-facefusion) - [Face Editor | FaceFusion](#face-editor-facefusion) --- # CLI Arguments | FaceFusion [Paths](https://docs.facefusion.io/usage/cli-arguments/paths) [Patterns](https://docs.facefusion.io/usage/cli-arguments/patterns) [Face Detector](https://docs.facefusion.io/usage/cli-arguments/face-detector) [Face Landmarker](https://docs.facefusion.io/usage/cli-arguments/face-landmarker) [Face Selector](https://docs.facefusion.io/usage/cli-arguments/face-selector) [Face Masker](https://docs.facefusion.io/usage/cli-arguments/face-masker) [Voice Extractor](https://docs.facefusion.io/usage/cli-arguments/voice-extractor) [Frame Extraction](https://docs.facefusion.io/usage/cli-arguments/frame-extraction) [Output Creation](https://docs.facefusion.io/usage/cli-arguments/output-creation) [Processors](https://docs.facefusion.io/usage/cli-arguments/processors) [UIs](https://docs.facefusion.io/usage/cli-arguments/uis) [Download](https://docs.facefusion.io/usage/cli-arguments/download) [Benchmark](https://docs.facefusion.io/usage/cli-arguments/benchmark) [Execution](https://docs.facefusion.io/usage/cli-arguments/execution) [Memory](https://docs.facefusion.io/usage/cli-arguments/memory) [Misc](https://docs.facefusion.io/usage/cli-arguments/misc) --- # Paths | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/paths#cli-arguments) CLI Arguments --------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/paths#config-path) Config Path Choose the config file to override defaults. Argument: `--config-path` Default: `facefusion.ini` Example: `--config-path facefusion.ini` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/paths#temp-path) Temp Path Specify the directory for the temporary resources. Argument: `--temp-path` Default: `TemporaryDirectory` Example: `--temp-path .temp` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/paths#jobs-path) Jobs Path Specify the directory to store jobs. Argument: `--jobs-path` Default: `.jobs` Example: `--jobs-path .jobs` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/paths#source-paths) Source Paths Choose the image or audio paths. Argument: `-s/--source-paths` Default: `None` Example: `--source-paths source.jpg source.mp3` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/paths#target-path) Target Path Choose the image or video path. Argument: `-t/--target-path` Default: `None` Example: `--target-path target.mp4` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/paths#output-path) Output Path Specify the image or video within a directory. Argument: `-o/--output-path` Default: `None` Example: `--output-path output.mp4` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/paths#default-overrides) Default Overrides ----------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [paths] temp_path = .temp jobs_path = .jobs source_paths = source.jpg source.mp3 target_path = target.mp4 output_path = output.mp4 --- # CLI Arguments | FaceFusion [Paths](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/paths) [Patterns](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/patterns) [Face Detector](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-detector) [Face Landmarker](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-landmarker) [Face Selector](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-selector) [Face Masker](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-masker) [Voice Extractor](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/voice-extractor) [Frame Extraction](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/frame-extraction) [Output Creation](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/output-creation) [Processors](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors) [UIs](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/uis) [Download](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/download) [Benchmark](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/benchmark) [Execution](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/execution) [Memory](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/memory) [Misc](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/misc) --- # Face Landmarker | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-landmarker#cli-arguments) CLI Arguments ------------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-landmarker#face-landmarker-model) Face Landmarker Model Choose the model responsible for detecting the face landmarks. Argument: `--face-landmarker-model` Default: `2dfan4` Choices: * `many` * `2dfan4` * `peppa_wutz` Example: `--face-landmarker-model peppa_wutz` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-landmarker#face-landmarker-score) Face Landmarker Score Filter the detected face landmarks base on the confidence score. Argument: `--face-landmarker-score` Default: `0.5` Range: `0` to `1` at `0.05` Example: `--face-landmarker-score 0.7` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-landmarker#default-overrides) Default Overrides --------------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [face_landmarker] face_landmarker_model = peppa_wutz face_landmarker_score = 0.7 --- # Patterns | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/patterns#cli-arguments) CLI Arguments ------------------------------------------------------------------------------------------------------------ ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/patterns#source-pattern) Source Pattern Choose the image or audio pattern. Argument: `-s/--source-pattern` Default: `None` Example: `--source-pattern \*.jpg` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/patterns#target-pattern) Target Pattern Choose the image or video pattern. Argument: `-t/--target-pattern` Default: `None` Example: `--target-pattern \*.mp4` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/patterns#output-pattern) Output Pattern Specify the image or video pattern. Argument: `-o/--output-pattern` Default: `None` Replacements: * `source_name` * `target_name` * `target_extension` * `index` Example: `--output-pattern {index}.{target_extension}` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/patterns#default-overrides) Default Overrides -------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [patterns] source_pattern = *.jpg target_pattern = *.mp4 output_pattern = {index}.{target_extension} Last updated 4 days ago --- # Voice Extractor | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/voice-extractor#cli-arguments) CLI Arguments ------------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/voice-extractor#voice-extractor-model) Voice Extractor Model Choose the model responsible for extracting the voices. Argument: `--voice-extractor-model` Default: `kim_vocal_2` Choices: * `kim_vocal_1` * `kim_vocal_2` * `uvr_mdxnet` Example: `--voice-extractor-model uvr_mdxnet` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/voice-extractor#default-overrides) Default Overrides --------------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [voice_extractor] voice_extractor_model = uvr_mdxnet Last updated 15 days ago --- # Face Selector | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-selector#cli-arguments) CLI Arguments ----------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-selector#face-selector-mode) Face Selector Mode Use reference based tracking or simple matching. Argument: `--face-selector-mode` Default: `reference` Choices: * `many` * `one` * `reference` Example: `--face-selector-mode one` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-selector#face-selector-order) Face Selector Order Specify the order of the detected faces. Argument: `--face-selector-order` Default: `large-small` Choices: * `left-right` * `right-left` * `top-bottom` * `bottom-top` * `small-large` * `large-small` * `best-worst` * `worst-best` Example: `--face-selector-order left-right` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-selector#face-selector-age-start) Face Selector Age Start Filter the detected faces based the starting age. Argument: `--face-selector-age-start` Default: `None` Range: `0` to `100` at `1` Example: `--trim-frame-start 20` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-selector#face-selector-age-end) Face Selector Age End Filter the detected faces based the ending age. Argument: `--face-selector-age-end` Default: `None` Range: `0` to `100` at `1` Example: `--trim-frame-end 40` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-selector#face-selector-gender) Face Selector Gender Filter the detected faces based on their gender. Argument: `--face-selector-gender` Default: `None` Choices: * `male` * `female` Example: `--face-selector-gender male` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-selector#face-selector-race) Face Selector Race Filter the detected faces based on their race. Argument: `--face-selector-race` Default: `None` Choices: * `white` * `black` * `latino` * `asian` * `indian` * `arabic` Example: `--face-selector-gender white` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-selector#reference-face-position) Reference Face Position Specify the position used to create the reference face. Argument: `--reference-face-position` Default: `0` Example: `--reference-face-position 1` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-selector#reference-face-distance) Reference Face Distance Specify the similarity between the reference face and target face. Argument: `--reference-face-distance` Default: `0.3` Range: `0` to `1` at `0.05` Example: `--reference-face-distance 0.6` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-selector#reference-frame-number) Reference Frame Number Specify the frame used to create the reference face. Argument: `--reference-frame-number` Default: `0` Example: `--reference-frame-number 100` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-selector#default-overrides) Default Overrides ------------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [face_selector] face_selector_mode = one face_selector_order = left-right face_selector_age_start = 20 face_selector_age_end = 40 face_selector_gender = male face_selector_race = white reference_face_position = 1 reference_face_distance = 0.6 reference_frame_number = 100 --- # Face Detector | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-detector#cli-arguments) CLI Arguments ----------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-detector#face-detector-model) Face Detector Model Choose the model responsible for detecting the faces. Argument: `--face-detector-model` Default: `yoloface` Choices: * `many` * `retinaface` * `scrfd` * `yoloface` Example: `--face-detector-model retinaface` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-detector#face-detector-size) Face Detector Size Specify frame size provided to the face detector. Argument: `--face-detector-size` Default: `640x640` Choices: * `160x160` * `320x320` * `480x480` * `512x512` * `640x640` * `768x768` * `960x960` * `1024x1024` Example: `--face-detector-size 320x320` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-detector#face-detector-margin) Face Detector Margin Apply top, right, bottom and left margin to the frame. Argument: `--face-detector-margin` Default: `0 0 0 0` Example: `--face-detector-margin 10 20` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-detector#face-detector-angles) Face Detector Angles Specify the angles to rotate the frame before detecting faces. Argument: `--face-detector-angles` Default: `0` Choices: * `0` * `90` * `180` * `270` Example: `--face-detector-angles 0 180` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-detector#face-detector-score) Face Detector Score Filter the detected faces base on the confidence score. Argument: `--face-detector-score` Default: `0.5` Range: `0` to `1` at `0.05` Example: `--face-detector-score 0.7` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-detector#default-overrides) Default Overrides ------------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [face_detector] face_detector_model = retinaface face_detector_size = 320x320 face_detector_margin = 10 20 face_detector_angles = 0 180 face_detector_score = 0.7 Last updated 29 days ago --- # Frame Extraction | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/frame-extraction#cli-arguments) CLI Arguments -------------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/frame-extraction#trim-frame-start) Trim Frame Start Specify the starting frame of the target video. Argument: `--trim-frame-start` Default: `None` Example: `--trim-frame-start 100` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/frame-extraction#trim-frame-end) Trim Frame End Specify the ending frame of the target video. Argument: `--trim-frame-end` Default: `None` Example: `--trim-frame-end 200` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/frame-extraction#temp-frame-format) Temp Frame Format Specify the temporary resources format. Argument: `--temp-frame-format` Default: `png` Choices: * `bmp` * `jpeg` * `png` * `tiff` Example: `--temp-frame-format bmp` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/frame-extraction#keep-temp) Keep Temp Keep the temporary resources after processing. Argument: `--keep-temp` Default: `None` Example: `--keep-temp` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/frame-extraction#default-overrides) Default Overrides ---------------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [frame_extraction] trim_frame_start = 100 trim_frame_end = 200 temp_frame_format = bmp keep_temp = True --- # Face Masker | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-masker#cli-arguments) CLI Arguments --------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-masker#face-occluder-model) Face Occluder Model Choose the model responsible for the occlusion mask. Argument: `--face-occluder-model` Default: `xseg_1` Choices: * `many` * `xseg_1` * `xseg_2` * `xseg_3` Example: `--face-occluder-model xseg_2` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-masker#face-parser-model) Face Parser Model Choose the model responsible for the region mask. Argument: `--face-parser-model` Default: `bisenet_resnet_34` Choices: * `bisenet_resnet_18` * `bisenet_resnet_34` Example: `--face-parser-model bisenet_resnet_18` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-masker#face-mask-types) Face Mask Types Mix and match different face mask types. Argument: `--face-mask-types` Default: `box` Choices: * `box` * `occlusion` * `area` * `region` Example: `--face-mask-types occlusion` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-masker#face-mask-areas) Face Mask Areas Choose the items used for the area mask. Argument: `--face-mask-areas` Default: `All` Choices: * `upper-face` * `lower-face` * `mouth` Example: `--face-mask-areas mouth` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-masker#face-mask-regions) Face Mask Regions Choose the items used for the region mask. Argument: `--face-mask-regions` Default: `All` Choices: * `skin` * `left-eyebrow` * `right-eyebrow` * `left-eye` * `right-eye` * `glasses` * `nose` * `mouth` * `upper-lip` * `lower-lip` Example: `--face-mask-regions nose` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-masker#face-mask-blur) Face Mask Blur Specify the degree of blur applied to the box mask. Argument: `--face-mask-blur` Default: `0.3` Range: `0` to `1` at `0.05` Example: `--face-mask-blur 0.5` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-masker#face-mask-padding) Face Mask Padding Apply top, right, bottom and left padding to the box mask. Argument: `--face-mask-padding` Default: `0 0 0 0` Example: `--face-mask-padding 10 20` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/face-masker#default-overrides) Default Overrides ----------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [face_masker] face_occluder_model = xseg_2 face_parser_model = bisenet_resnet_18 face_mask_types = occlusion face_mask_areas = mouth face_mask_regions = nose face_mask_blur = 0.5 face_mask_padding = 10 20 --- # Memory | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/memory#cli-arguments) CLI Arguments ---------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/memory#video-memory-strategy) Video Memory Strategy Balance fast frame processing and low VRAM usage. Argument: `--video-memory-strategy` Default: `strict` Choices: * `strict` * `moderate` * `tolerant` Example: `--video-memory-strategy tolerant` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/memory#system-memory-limit) System Memory Limit Limit the available RAM that can be used while processing. Argument: `--system-memory-limit` Default: `0` Range: `0` to `128` at `4` Example: `--system-memory-limit 16` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/memory#default-overrides) Default Overrides ------------------------------------------------------------------------------------------------------------------ Modify the `facefusion.ini` file to override the defaults. Copy [memory] video_memory_strategy = tolerant system_memory_limit = 16 --- # Benchmark | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/benchmark#cli-arguments) CLI Arguments ------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/benchmark#benchmark-mode) Benchmark Mode Choose the benchmark mode. Argument: `--benchmark-mode` Default: `warm` Choices: * `warm` * `cold` Example: `--benchmark-mode cold` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/benchmark#benchmark-resolutions) Benchmark Resolutions Choose the resolutions for the benchmarks. Argument: `--benchmark-resolutions` Default: `240p` Choices: * `240p` * `360p` * `540p` * `720p` * `1080p` * `1440p` * `2160p` Example: `--benchmark-resolutions 240p 360p` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/benchmark#benchmark-cycle-count) Benchmark Cycle Count Specify the amount of cycles per benchmark. Argument: `--benchmark-cycle-count` Default: `5` Range: `1` to `10` at `1` Example: `--benchmark-cycle-count 10` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/benchmark#default-overrides) Default Overrides --------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [benchmark] benchmark_mode = cold benchmark_resolutions = 240p 360p benchmark_cycle_count = 10 --- # UIs | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/uis#cli-arguments) CLI Arguments ------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/uis#open-browser) Open Browser Open the browser once the program is ready. Argument: `--open-browser` Default: `None` Example: `--open-browser` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/uis#ui-layouts) UI Layouts Launch a single or multiple UI layouts. Argument: `--ui-layouts` Default: `default` Choices: * `benchmark` * `default` * `jobs` * `webcam` Example: `--ui-layouts default jobs` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/uis#ui-workflow) UI Workflow Choose the UI workflow. Argument: `--ui-workflow` Default: `instant_runner` Choices: * `instant_runner` * `job_runner` * `job_manager` Example: `--ui-workflow job_manager` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/uis#default-overrides) Default Overrides --------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [uis] open_browser = True ui_layouts = default jobs ui_workflow = job_manager --- # Frame Extraction | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/frame-extraction#cli-arguments) CLI Arguments ---------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/frame-extraction#trim-frame-start) Trim Frame Start Specify the starting frame of the target video. Argument: `--trim-frame-start` Default: `None` Example: `--trim-frame-start 100` ### [](https://docs.facefusion.io/usage/cli-arguments/frame-extraction#trim-frame-end) Trim Frame End Specify the ending frame of the target video. Argument: `--trim-frame-end` Default: `None` Example: `--trim-frame-end 200` ### [](https://docs.facefusion.io/usage/cli-arguments/frame-extraction#temp-frame-format) Temp Frame Format Specify the temporary resources format. Argument: `--temp-frame-format` Default: `png` Choices: * `bmp` * `jpeg` * `png` * `tiff` Example: `--temp-frame-format bmp` ### [](https://docs.facefusion.io/usage/cli-arguments/frame-extraction#keep-temp) Keep Temp Keep the temporary resources after processing. Argument: `--keep-temp` Default: `None` Example: `--keep-temp` [](https://docs.facefusion.io/usage/cli-arguments/frame-extraction#default-overrides) Default Overrides ------------------------------------------------------------------------------------------------------------ Modify the `facefusion.ini` file to override the defaults. Copy [frame_extraction] trim_frame_start = 100 trim_frame_end = 200 temp_frame_format = bmp keep_temp = True --- # Download | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/download#cli-arguments) CLI Arguments ------------------------------------------------------------------------------------------------------------ ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/download#download-providers) Download Providers Download using different providers. Argument: `--download-providers` Default: `github huggingface` Choices: * `github` * `huggingface` Example: `--download-providers huggingface` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/download#download-scope) Download Scope Specify the download scope. Argument: `--download-scope` Default: `lite` Choices: * `lite` * `full` Example: `--download-scope full` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/download#default-overrides) Default Overrides -------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [download] download_providers = huggingface download_scope = full --- # Voice Extractor | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/voice-extractor#cli-arguments) CLI Arguments --------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/voice-extractor#voice-extractor-model) Voice Extractor Model Choose the model responsible for extracting the voices. Argument: `--voice-extractor-model` Default: `kim_vocal_2` Choices: * `kim_vocal_1` * `kim_vocal_2` * `uvr_mdxnet` Example: `--voice-extractor-model uvr_mdxnet` [](https://docs.facefusion.io/usage/cli-arguments/voice-extractor#default-overrides) Default Overrides ----------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [voice_extractor] voice_extractor_model = uvr_mdxnet Last updated 15 days ago --- # Output Creation | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/output-creation#cli-arguments) CLI Arguments --------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/output-creation#output-image-quality) Output Image Quality Specify the image quality which translates to the image compression. Argument: `--output-image-quality` Default: `80` Range: `0` to `100` at `1` Example: `--output-image-quality 100` ### [](https://docs.facefusion.io/usage/cli-arguments/output-creation#output-image-scale) Output Image Scale Specify the image scale based on the target image. Argument: `--output-image-scale` Default: `1.0` Range: `0.25` to `8.0` at `0.25` Example: `--output-image-scale 0.5` ### [](https://docs.facefusion.io/usage/cli-arguments/output-creation#output-audio-encoder) Output Audio Encoder Specify the encoder used for the audio. Argument: `--output-audio-encoder` Default: `aac` Choices: * `aac` * `libmp3lame` * `libopus` * `libvorbis` * `flac` Example: `--output-audio-encoder libvorbis` ### [](https://docs.facefusion.io/usage/cli-arguments/output-creation#output-audio-quality) Output Audio Quality Specify the audio quality which translates to the audio compression. Argument: `--output-audio-quality` Default: `80` Range: `0` to `100` at `1` Example: `--output-audio-quality 100` ### [](https://docs.facefusion.io/usage/cli-arguments/output-creation#output-video-volume) Output Video Volume Specify the audio volume based on the target video. Argument: `--output-audio-volume` Default: `100` Range: `0` to `100` at `1` Example: `--output-audio-volume 80` ### [](https://docs.facefusion.io/usage/cli-arguments/output-creation#output-video-encoder) Output Video Encoder Specify the encoder used for the video. Argument: `--output-video-encoder` Default: `libx264` Choices: * `libx264` * `libx264rgb` * `libx265` * `libvpx-vp9` * `h264_nvenc` * `hevc_nvenc` * `h264_amf` * `hevc_amf` * `h264_qsv` * `hevc_qsv` * `h264_videotoolbox` * `hevc_videotoolbox` Example: `--output-video-encoder libx265` ### [](https://docs.facefusion.io/usage/cli-arguments/output-creation#output-video-preset) Output Video Preset Balance fast video processing and video file size. Argument: `--output-video-preset` Default: `veryfast` Choices: * `ultrafast` * `superfast` * `veryfast` * `faster` * `fast` * `medium` * `slow` * `slower` * `veryslow` Example: `--output-video-preset ultrafast` ### [](https://docs.facefusion.io/usage/cli-arguments/output-creation#output-video-quality) Output Video Quality Specify the video quality which translates to the video compression. Argument: `--output-video-quality` Default: `80` Range: `0` to `100` at `1` Example: `--output-video-quality 100` ### [](https://docs.facefusion.io/usage/cli-arguments/output-creation#output-video-scale) Output Video Scale Specify the video scale based on the target video. Argument: `--output-video-scale` Default: `1.0` Range: `0.25` to `8.0` at `0.25` Example: `--output-video-scale 0.5` ### [](https://docs.facefusion.io/usage/cli-arguments/output-creation#output-video-fps) Output Video Fps Specify the video fps based on the target video. Argument: `--output-video-fps` Default: `None` Range: `1` to `60` at `1` Example: `--output-video-fps 30` [](https://docs.facefusion.io/usage/cli-arguments/output-creation#default-overrides) Default Overrides ----------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [output_creation] output_image_quality = 100 output_image_scale = 0.5 output_audio_encoder = libvorbis output_audio_quality = 100 output_audio_volume = 80 output_video_encoder = libx265 output_video_preset = ultrafast output_video_quality = 100 output_video_scale = 0.5 output_video_fps = 30 Last updated 2 months ago --- # Face Debugger | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-debugger#cli-arguments) CLI Arguments ---------------------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-debugger#face-debugger-items) Face Debugger Items Visualize face detector and face masker related items. Argument: `--face-debugger-items` Default: `face-landmark-5/68` `face-mask` Choices: * `bounding-box` * `face-landmark-5` * `face-landmark-5/68` * `face-landmark-68` * `face-landmark-68/5` * `face-mask` Example: `--face-debugger-items bounding-box` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-debugger#default-overrides) Default Overrides ------------------------------------------------------------------------------------------------------------------------------------ Modify the `facefusion.ini` file to override the defaults. Copy [processors] face_debugger_items = bounding-box --- # Patterns | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/patterns#cli-arguments) CLI Arguments -------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/patterns#source-pattern) Source Pattern Choose the image or audio pattern. Argument: `-s/--source-pattern` Default: `None` Example: `--source-pattern \*.jpg` ### [](https://docs.facefusion.io/usage/cli-arguments/patterns#target-pattern) Target Pattern Choose the image or video pattern. Argument: `-t/--target-pattern` Default: `None` Example: `--target-pattern \*.mp4` ### [](https://docs.facefusion.io/usage/cli-arguments/patterns#output-pattern) Output Pattern Specify the image or video pattern. Argument: `-o/--output-pattern` Default: `None` Example: `--output-pattern {index}.mp4` [](https://docs.facefusion.io/usage/cli-arguments/patterns#default-overrides) Default Overrides ---------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [patterns] source_pattern = *.jpg target_pattern = *.mp4 output_pattern = {index}.mp4 --- # Face Enhancer | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-enhancer#cli-arguments) CLI Arguments ---------------------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-enhancer#face-enhancer-model) Face Enhancer Model Choose the model responsible for enhancing the face. Argument: `--face-enhancer-model` Default: `gfpgan_1.4` Choices: * `codeformer` * `gfpgan_1.2` * `gfpgan_1.3` * `gfpgan_1.4` * `gpen_bfr_256` * `gpen_bfr_512` * `gpen_bfr_1024` * `gpen_bfr_2048` * `restoreformer_plus_plus` Example: `--face-enhancer-model codeformer` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-enhancer#face-enhancer-blend) Face Enhancer Blend Blend the enhanced into the previous face. Argument: `--face-enhancer-blend` Default: `80` Range: `0` to `100` at `1` Example: `--face-enhancer-blend 100` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-enhancer#face-enhancer-weight) Face Enhancer Weight Specify the degree of weight applied to the face. Argument: `--face-enhancer-weight` Default: `0.5` Range: `0.0` to `1.0` at `0.05` Example: `--face-enhancer-weight 1.0` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-enhancer#default-overrides) Default Overrides ------------------------------------------------------------------------------------------------------------------------------------ Modify the `facefusion.ini` file to override the defaults. Copy [processors] face_enhancer_model = codeformer face_enhancer_blend = 100 face_enhancer_weight = 1.0 --- # Expression Restorer | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/expression-restorer#cli-arguments) CLI Arguments ---------------------------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/expression-restorer#expression-restorer-model) Expression Restorer Model Choose the model responsible for restoring the expression. Argument: `--expression-restorer-model` Default: `live_portrait` Choices: * `live_portrait` Example: `--expression-restorer-model live_portrait` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/expression-restorer#expression-restorer-factor) Expression Restorer Factor Restore factor of expression from the target face. Argument: `--expression-restorer-factor` Default: `80` Range: `0` to `100` at `1` Example: `--expression-restorer-factor 100` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/expression-restorer#expression-restorer-areas) Expression Restorer Areas Choose the items used for the expression areas. Argument: `--expression-restorer-areas` Default: `All` Choices: * `upper-face` * `lower-face` Example: `--expression-restorer-areas upper-face` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/expression-restorer#default-overrides) Default Overrides ------------------------------------------------------------------------------------------------------------------------------------------ Modify the `facefusion.ini` file to override the defaults. Copy [processors] expression_restorer_model = live_portrait expression_restorer_factor = 100 expression_restorer_areas = upper-face --- # Misc | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/misc#cli-arguments) CLI Arguments -------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/misc#log-level) Log Level Adjust the message severity displayed in the terminal. Argument: `--log-level` Default: `info` Choices: * `error` * `warn` * `info` * `debug` Example: `--log-level debug` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/misc#halt-on-error) Halt On Error Halt the program once an error occurred. Argument: `--halt-on-error` Default: `None` Example: `--halt-on-error` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/misc#default-overrides) Default Overrides ---------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [misc] log_level = debug halt_on_error = True --- # Processors | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors#cli-arguments) CLI Arguments -------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors#processors) Processors Load a single or multiple processors. Argument: `--processors` Default: `face_swapper` Choices: * `age-modifier` * `expression_restorer` * `face_debugger` * `face_enhancer` * `face_editor` * `face_swapper` * `frame_colorizer` * `frame_enhancer` * `lip_syncer` Example: `--processors face_swapper face_enhancer` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors#default-overrides) Default Overrides ---------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] processors = face_swapper face_enhancer --- # Background Remover | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/background-remover#cli-arguments) CLI Arguments --------------------------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/background-remover#background-remover-model) Background Remover Model Choose the model responsible for removing the background. Argument: `--background-remover-model` Default: `rmbg_2.0` Choices: * `ben_2` * `birefnet_general` * `birefnet_portrait` * `isnet_general` * `modnet` * `rmbg_1.4` * `rmbg_2.0` * `silueta` * `u2net_cloth` * `u2net_general` * `u2net_human` * `u2net_portable` Example: `--background-remover-model birefnet_general` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/background-remover#background-remover-color) Background Remover Color Apply red, green blue and alpha values to the background. Argument: `--background-remover-color` Default: `0 0 0 0` Example: `--background-remover-color 0 255 0 255` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/background-remover#default-overrides) Default Overrides ----------------------------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] background_remover_model = birefnet_general background_remover_color = 0 255 0 255 Last updated 3 days ago --- # Paths | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/paths#cli-arguments) CLI Arguments ----------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/paths#config-path) Config Path Choose the config file to override defaults. Argument: `--config-path` Default: `facefusion.ini` Example: `--config-path facefusion.ini` ### [](https://docs.facefusion.io/usage/cli-arguments/paths#temp-path) Temp Path Specify the directory for the temporary resources. Argument: `--temp-path` Default: `TemporaryDirectory` Example: `--temp-path .temp` ### [](https://docs.facefusion.io/usage/cli-arguments/paths#jobs-path) Jobs Path Specify the directory to store jobs. Argument: `--jobs-path` Default: `.jobs` Example: `--jobs-path .jobs` ### [](https://docs.facefusion.io/usage/cli-arguments/paths#source-paths) Source Paths Choose the image or audio paths. Argument: `-s/--source-paths` Default: `None` Example: `--source-paths source.jpg source.mp3` ### [](https://docs.facefusion.io/usage/cli-arguments/paths#target-path) Target Path Choose the image or video path. Argument: `-t/--target-path` Default: `None` Example: `--target-path target.mp4` ### [](https://docs.facefusion.io/usage/cli-arguments/paths#output-path) Output Path Specify the image or video within a directory. Argument: `-o/--output-path` Default: `None` Example: `--output-path output.mp4` [](https://docs.facefusion.io/usage/cli-arguments/paths#default-overrides) Default Overrides ------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [paths] temp_path = .temp jobs_path = .jobs source_paths = source.jpg source.mp3 target_path = target.mp4 output_path = output.mp4 --- # Face Landmarker | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/face-landmarker#cli-arguments) CLI Arguments --------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/face-landmarker#face-landmarker-model) Face Landmarker Model Choose the model responsible for detecting the face landmarks. Argument: `--face-landmarker-model` Default: `2dfan4` Choices: * `many` * `2dfan4` * `peppa_wutz` Example: `--face-landmarker-model peppa_wutz` ### [](https://docs.facefusion.io/usage/cli-arguments/face-landmarker#face-landmarker-score) Face Landmarker Score Filter the detected face landmarks base on the confidence score. Argument: `--face-landmarker-score` Default: `0.5` Range: `0` to `1` at `0.05` Example: `--face-landmarker-score 0.7` [](https://docs.facefusion.io/usage/cli-arguments/face-landmarker#default-overrides) Default Overrides ----------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [face_landmarker] face_landmarker_model = peppa_wutz face_landmarker_score = 0.7 Last updated 3 months ago --- # Output Creation | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/output-creation#cli-arguments) CLI Arguments ------------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/output-creation#output-image-quality) Output Image Quality Specify the image quality which translates to the image compression. Argument: `--output-image-quality` Default: `80` Range: `0` to `100` at `1` Example: `--output-image-quality 100` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/output-creation#output-image-scale) Output Image Scale Specify the image scale based on the target image. Argument: `--output-image-scale` Default: `1.0` Range: `0.25` to `8.0` at `0.25` Example: `--output-image-scale 0.5` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/output-creation#output-audio-encoder) Output Audio Encoder Specify the encoder used for the audio. Argument: `--output-audio-encoder` Default: `aac` Choices: * `aac` * `libmp3lame` * `libopus` * `libvorbis` * `flac` Example: `--output-audio-encoder libvorbis` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/output-creation#output-audio-quality) Output Audio Quality Specify the audio quality which translates to the audio compression. Argument: `--output-audio-quality` Default: `80` Range: `0` to `100` at `1` Example: `--output-audio-quality 100` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/output-creation#output-video-volume) Output Video Volume Specify the audio volume based on the target video. Argument: `--output-audio-volume` Default: `100` Range: `0` to `100` at `1` Example: `--output-audio-volume 80` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/output-creation#output-video-encoder) Output Video Encoder Specify the encoder used for the video. Argument: `--output-video-encoder` Default: `libx264` Choices: * `libx264` * `libx264rgb` * `libx265` * `libvpx-vp9` * `h264_nvenc` * `hevc_nvenc` * `h264_amf` * `hevc_amf` * `h264_qsv` * `hevc_qsv` * `h264_videotoolbox` * `hevc_videotoolbox` Example: `--output-video-encoder libx265` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/output-creation#output-video-preset) Output Video Preset Balance fast video processing and video file size. Argument: `--output-video-preset` Default: `veryfast` Choices: * `ultrafast` * `superfast` * `veryfast` * `faster` * `fast` * `medium` * `slow` * `slower` * `veryslow` Example: `--output-video-preset ultrafast` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/output-creation#output-video-quality) Output Video Quality Specify the video quality which translates to the video compression. Argument: `--output-video-quality` Default: `80` Range: `0` to `100` at `1` Example: `--output-video-quality 100` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/output-creation#output-video-scale) Output Video Scale Specify the video scale based on the target video. Argument: `--output-video-scale` Default: `1.0` Range: `0.25` to `8.0` at `0.25` Example: `--output-video-scale 0.5` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/output-creation#output-video-fps) Output Video Fps Specify the video fps based on the target video. Argument: `--output-video-fps` Default: `None` Range: `1` to `60` at `1` Example: `--output-video-fps 30` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/output-creation#default-overrides) Default Overrides --------------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [output_creation] output_image_quality = 100 output_image_scale = 0.5 output_audio_encoder = libvorbis output_audio_quality = 100 output_audio_volume = 80 output_video_encoder = libx265 output_video_preset = ultrafast output_video_quality = 100 output_video_scale = 0.5 output_video_fps = 30 --- # Execution | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/execution#cli-arguments) CLI Arguments ------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/execution#execution-device-ids) Execution Device Ids Specify the devices used for processing. Argument: `--execution-device-ids` Default: `0` Example: `--execution-device-id 0 1` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/execution#execution-providers) Execution Providers Inference using different providers. Argument: `--execution-providers` Default: `Auto` Choices: * `cpu` * `coreml` * `cuda` * `directml` * `migraphx` * `rocm` * `tensorrt` Example: `--execution-providers cuda` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/execution#execution-thread-count) Execution Thread Count Specify the amount of parallel threads while processing. Argument `--execution-thread-count` Default: `4` Range: `1` to `32` at `1` Example: `--execution-thread-count 16` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/execution#default-overrides) Default Overrides --------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [execution] execution_device_ids = 0 1 execution_providers = cuda execution_thread_count = 16 --- # Deep Swapper | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/deep-swapper#cli-arguments) CLI Arguments --------------------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/deep-swapper#deep-swapper-model) Deep Swapper Model Choose the model responsible for swapping the face. Argument: `--deep-swapper-model` Default: `iperov/elon_musk_224` Choices: * `druuzil` * `edel` * `iperov` * `jen` * `mats` * `rumateus` Example: `--deep-swapper-model iperov/jackie_chan_224` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/deep-swapper#deep-swapper-morph) Deep Swapper Morph Morph between source face and target faces. Argument: `--deep-swapper-morph` Default: `80` Range: `0` to `100` at `1` Example: `--deep-swapper-morph 100` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/deep-swapper#default-overrides) Default Overrides ----------------------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] deep_swapper_model = iperov/jackie_chan_224 deep_swapper_morph = 100 --- # Face Selector | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/face-selector#cli-arguments) CLI Arguments ------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/face-selector#face-selector-mode) Face Selector Mode Use reference based tracking or simple matching. Argument: `--face-selector-mode` Default: `reference` Choices: * `many` * `one` * `reference` Example: `--face-selector-mode one` ### [](https://docs.facefusion.io/usage/cli-arguments/face-selector#face-selector-order) Face Selector Order Specify the order of the detected faces. Argument: `--face-selector-order` Default: `large-small` Choices: * `left-right` * `right-left` * `top-bottom` * `bottom-top` * `small-large` * `large-small` * `best-worst` * `worst-best` Example: `--face-selector-order left-right` ### [](https://docs.facefusion.io/usage/cli-arguments/face-selector#face-selector-age-start) Face Selector Age Start Filter the detected faces based the starting age. Argument: `--face-selector-age-start` Default: `None` Range: `0` to `100` at `1` Example: `--trim-frame-start 20` ### [](https://docs.facefusion.io/usage/cli-arguments/face-selector#face-selector-age-end) Face Selector Age End Filter the detected faces based the ending age. Argument: `--face-selector-age-end` Default: `None` Range: `0` to `100` at `1` Example: `--trim-frame-end 40` ### [](https://docs.facefusion.io/usage/cli-arguments/face-selector#face-selector-gender) Face Selector Gender Filter the detected faces based on their gender. Argument: `--face-selector-gender` Default: `None` Choices: * `male` * `female` Example: `--face-selector-gender male` ### [](https://docs.facefusion.io/usage/cli-arguments/face-selector#face-selector-race) Face Selector Race Filter the detected faces based on their race. Argument: `--face-selector-race` Default: `None` Choices: * `white` * `black` * `latino` * `asian` * `indian` * `arabic` Example: `--face-selector-gender white` ### [](https://docs.facefusion.io/usage/cli-arguments/face-selector#reference-face-position) Reference Face Position Specify the position used to create the reference face. Argument: `--reference-face-position` Default: `0` Example: `--reference-face-position 1` ### [](https://docs.facefusion.io/usage/cli-arguments/face-selector#reference-face-distance) Reference Face Distance Specify the similarity between the reference face and target face. Argument: `--reference-face-distance` Default: `0.3` Range: `0` to `1` at `0.05` Example: `--reference-face-distance 0.6` ### [](https://docs.facefusion.io/usage/cli-arguments/face-selector#reference-frame-number) Reference Frame Number Specify the frame used to create the reference face. Argument: `--reference-frame-number` Default: `0` Example: `--reference-frame-number 100` [](https://docs.facefusion.io/usage/cli-arguments/face-selector#default-overrides) Default Overrides --------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [face_selector] face_selector_mode = one face_selector_order = left-right face_selector_age_start = 20 face_selector_age_end = 40 face_selector_gender = male face_selector_race = white reference_face_position = 1 reference_face_distance = 0.6 reference_frame_number = 100 --- # Frame Enhancer | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/frame-enhancer#cli-arguments) CLI Arguments ----------------------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/frame-enhancer#frame-enhancer-model) Frame Enhancer Model Choose the model responsible for enhancing the frame. Argument: `--frame-enhancer-model` Default: `span_kendata_x4` Choices: * `clear_reality_x4` * `lsdir_x4` * `nomos8k_sc_x4` * `real_esrgan_x2` * `real_esrgan_x2_fp16` * `real_esrgan_x4` * `real_esrgan_x4_fp16` * `real_esrgan_x8` * `real_esrgan_x8_fp16` * `real_hatgan_x4` * `real_web_photo_x4` * `realistic_rescaler_x4` * `remacri_x4` * `siax_x4` * `span_kendata_x4` * `swin2_sr_x4` * `ultra_sharp_x4` * `ultra_sharp_2_x4` Example: `--frame-enhancer-model real_hatgan_x4` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/frame-enhancer#frame-enhancer-blend) Frame Enhancer Blend Blend the enhanced into the previous frame. Argument: `--frame-enhancer-blend` Default: `80` Range: `0` to `100` at `1` Example: `--frame-enhancer-blend 100` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/frame-enhancer#default-overrides) Default Overrides ------------------------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] frame_enhancer_model = real_hatgan_x4 frame_enhancer_blend = 100 --- # Age Modifier | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/age-modifier#cli-arguments) CLI Arguments --------------------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/age-modifier#age-modifier-model) Age Modifier Model Choose the model responsible for aging the face. Argument: `--age-modifier-model` Default: `styleganex_age` Choices: * `styleganex_age` Example: `--age-modifier-model styleganex_age` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/age-modifier#age-modifier-direction) Age Modifier Direction Specify the direction in which the age should be modified. Argument: `--age-modifier-direction` Default: `0` Range: `-100` to `100` at `1` Example: `--age-modifier-direction 100` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/age-modifier#default-overrides) Default Overrides ----------------------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] age_modifier_model = styleganex_age age_modifier_direction = 100 --- # Face Masker | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/face-masker#cli-arguments) CLI Arguments ----------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/face-masker#face-occluder-model) Face Occluder Model Choose the model responsible for the occlusion mask. Argument: `--face-occluder-model` Default: `xseg_1` Choices: * `many` * `xseg_1` * `xseg_2` * `xseg_3` Example: `--face-occluder-model xseg_2` ### [](https://docs.facefusion.io/usage/cli-arguments/face-masker#face-parser-model) Face Parser Model Choose the model responsible for the region mask. Argument: `--face-parser-model` Default: `bisenet_resnet_34` Choices: * `bisenet_resnet_18` * `bisenet_resnet_34` Example: `--face-parser-model bisenet_resnet_18` ### [](https://docs.facefusion.io/usage/cli-arguments/face-masker#face-mask-types) Face Mask Types Mix and match different face mask types. Argument: `--face-mask-types` Default: `box` Choices: * `box` * `occlusion` * `area` * `region` Example: `--face-mask-types occlusion` ### [](https://docs.facefusion.io/usage/cli-arguments/face-masker#face-mask-areas) Face Mask Areas Choose the items used for the area mask. Argument: `--face-mask-areas` Default: `All` Choices: * `upper-face` * `lower-face` * `mouth` Example: `--face-mask-areas mouth` ### [](https://docs.facefusion.io/usage/cli-arguments/face-masker#face-mask-regions) Face Mask Regions Choose the items used for the region mask. Argument: `--face-mask-regions` Default: `All` Choices: * `skin` * `left-eyebrow` * `right-eyebrow` * `left-eye` * `right-eye` * `glasses` * `nose` * `mouth` * `upper-lip` * `lower-lip` Example: `--face-mask-regions nose` ### [](https://docs.facefusion.io/usage/cli-arguments/face-masker#face-mask-blur) Face Mask Blur Specify the degree of blur applied to the box mask. Argument: `--face-mask-blur` Default: `0.3` Range: `0` to `1` at `0.05` Example: `--face-mask-blur 0.5` ### [](https://docs.facefusion.io/usage/cli-arguments/face-masker#face-mask-padding) Face Mask Padding Apply top, right, bottom and left padding to the box mask. Argument: `--face-mask-padding` Default: `0 0 0 0` Example: `--face-mask-padding 10 20` [](https://docs.facefusion.io/usage/cli-arguments/face-masker#default-overrides) Default Overrides ------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [face_masker] face_occluder_model = xseg_2 face_parser_model = bisenet_resnet_18 face_mask_types = occlusion face_mask_areas = mouth face_mask_regions = nose face_mask_blur = 0.5 face_mask_padding = 10 20 Last updated 3 months ago --- # UIs | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/uis#cli-arguments) CLI Arguments --------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/uis#open-browser) Open Browser Open the browser once the program is ready. Argument: `--open-browser` Default: `None` Example: `--open-browser` ### [](https://docs.facefusion.io/usage/cli-arguments/uis#ui-layouts) UI Layouts Launch a single or multiple UI layouts. Argument: `--ui-layouts` Default: `default` Choices: * `benchmark` * `default` * `jobs` * `webcam` Example: `--ui-layouts default jobs` ### [](https://docs.facefusion.io/usage/cli-arguments/uis#ui-workflow) UI Workflow Choose the UI workflow. Argument: `--ui-workflow` Default: `instant_runner` Choices: * `instant_runner` * `job_runner` * `job_manager` Example: `--ui-workflow job_manager` [](https://docs.facefusion.io/usage/cli-arguments/uis#default-overrides) Default Overrides ----------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [uis] open_browser = True ui_layouts = default jobs ui_workflow = job_manager --- # Face Detector | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/face-detector#cli-arguments) CLI Arguments ------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/face-detector#face-detector-model) Face Detector Model Choose the model responsible for detecting the faces. Argument: `--face-detector-model` Default: `yoloface` Choices: * `many` * `retinaface` * `scrfd` * `yoloface` Example: `--face-detector-model retinaface` ### [](https://docs.facefusion.io/usage/cli-arguments/face-detector#face-detector-size) Face Detector Size Specify frame size provided to the face detector. Argument: `--face-detector-size` Default: `640x640` Choices: * `160x160` * `320x320` * `480x480` * `512x512` * `640x640` * `768x768` * `960x960` * `1024x1024` Example: `--face-detector-size 320x320` ### [](https://docs.facefusion.io/usage/cli-arguments/face-detector#face-detector-angles) Face Detector Angles Specify the angles to rotate the frame before detecting faces. Argument: `--face-detector-angles` Default: `0` Choices: * `0` * `90` * `180` * `270` Example: `--face-detector-angles 0 180` ### [](https://docs.facefusion.io/usage/cli-arguments/face-detector#face-detector-score) Face Detector Score Filter the detected faces base on the confidence score. Argument: `--face-detector-score` Default: `0.5` Range: `0` to `1` at `0.05` Example: `--face-detector-score 0.7` [](https://docs.facefusion.io/usage/cli-arguments/face-detector#default-overrides) Default Overrides --------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [face_detector] face_detector_model = retinaface face_detector_size = 320x320 face_detector_angles = 0 180 face_detector_score = 0.7 Last updated 3 months ago --- # Frame Colorizer | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/frame-colorizer#cli-arguments) CLI Arguments ------------------------------------------------------------------------------------------------------------------------------ ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/frame-colorizer#frame-colorizer-model) Frame Colorizer Model Choose the model responsible for colorizing the frame. Argument: `--frame-colorizer-model` Default: `ddcolor` Choices: * `ddcolor` * `ddcolor_artistic` * `deoldify` * `deoldify_artistic` * `deoldify_stable` Example: `--frame-colorizer-model deoldify` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/frame-colorizer#frame-colorizer-size) Frame Colorizer Size Specify the frame size provided to the frame colorizer. Argument: `--frame-colorizer-size` Default: `256x256` Choices: * `256x256` * `384x384` * `512x512` Example: `--frame-colorizer-size 512` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/frame-colorizer#frame-colorizer-blend) Frame Colorizer Blend Blend the colorized into the previous frame. Argument: `--frame-colorizer-blend` Default: `100` Range: `0` to `100` at `1` Example: `--frame-colorizer-blend 100` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/frame-colorizer#default-overrides) Default Overrides -------------------------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] frame_colorizer_model = deoldify frame_colorizer_size = 512 frame_colorizer_blend = 100 Last updated 21 days ago --- # Download | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/download#cli-arguments) CLI Arguments -------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/download#download-providers) Download Providers Download using different providers. Argument: `--download-providers` Default: `github huggingface` Choices: * `github` * `huggingface` Example: `--download-providers huggingface` ### [](https://docs.facefusion.io/usage/cli-arguments/download#download-scope) Download Scope Specify the download scope. Argument: `--download-scope` Default: `lite` Choices: * `lite` * `full` Example: `--download-scope full` [](https://docs.facefusion.io/usage/cli-arguments/download#default-overrides) Default Overrides ---------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [download] download_providers = huggingface download_scope = full --- # Lip Syncer | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/lip-syncer#cli-arguments) CLI Arguments ------------------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/lip-syncer#lip-syncer-model) Lip Syncer Model Choose the model responsible for syncing the lips. Argument: `--lip-syncer-model` Default: `wav2lip_gan_96` Choices: * `edtalk_256` * `wav2lip_96` * `wav2lip_gan_96` Example: `--lip-syncer-model edtalk_256` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/lip-syncer#lip-syncer-weight) Lip Syncer Weight Specify the degree of weight applied to the lips. Argument: `--lip-syncer-weight` Default: `0.5` Range: `0.0` to `1.0` at `0.05` Example: `--lip-syncer-weight 1.0` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/lip-syncer#default-overrides) Default Overrides --------------------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] lip_syncer_model = edtalk_256 lip_syncer_weight = 1.0 --- # Memory | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/memory#cli-arguments) CLI Arguments ------------------------------------------------------------------------------------------ ### [](https://docs.facefusion.io/usage/cli-arguments/memory#video-memory-strategy) Video Memory Strategy Balance fast frame processing and low VRAM usage. Argument: `--video-memory-strategy` Default: `strict` Choices: * `strict` * `moderate` * `tolerant` Example: `--video-memory-strategy tolerant` ### [](https://docs.facefusion.io/usage/cli-arguments/memory#system-memory-limit) System Memory Limit Limit the available RAM that can be used while processing. Argument: `--system-memory-limit` Default: `0` Range: `0` to `128` at `4` Example: `--system-memory-limit 16` [](https://docs.facefusion.io/usage/cli-arguments/memory#default-overrides) Default Overrides -------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [memory] video_memory_strategy = tolerant system_memory_limit = 16 --- # Age Modifier | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/processors/age-modifier#cli-arguments) CLI Arguments ----------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/processors/age-modifier#age-modifier-model) Age Modifier Model Choose the model responsible for aging the face. Argument: `--age-modifier-model` Default: `styleganex_age` Choices: * `styleganex_age` Example: `--age-modifier-model styleganex_age` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/age-modifier#age-modifier-direction) Age Modifier Direction Specify the direction in which the age should be modified. Argument: `--age-modifier-direction` Default: `0` Range: `-100` to `100` at `1` Example: `--age-modifier-direction 100` [](https://docs.facefusion.io/usage/cli-arguments/processors/age-modifier#default-overrides) Default Overrides ------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] age_modifier_model = styleganex_age age_modifier_direction = 100 --- # Face Swapper | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-swapper#cli-arguments) CLI Arguments --------------------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-swapper#face-swapper-model) Face Swapper Model Choose the model responsible for swapping the face. Argument: `--face-swapper-model` Default: `inswapper_128_fp16` Choices: * `blendswap_256` * `ghost_1_256` * `ghost_2_256` * `ghost_3_256` * `hififace_unofficial_256` * `hyperswap_1a_256` * `hyperswap_1b_256` * `hyperswap_1c_256` * `inswapper_128` * `inswapper_128_fp16` * `simswap_256` * `simswap_unofficial_512` * `uniface_256` Example: `--face-swapper-model hyperswap_1a_256` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-swapper#face-swapper-pixel-boost) Face Swapper Pixel Boost Choose the pixel boost resolution for the face swapper. Argument: `--face-swapper-pixel-boost` Default: `128x128` Choices: * `128x128` * `256x256` * `384x384` * `512x512` * `768x768` * `1024x1024` Example: `--face-swapper-pixel-boost 512x512` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-swapper#face-swapper-weight) Face Swapper Weight Specify the degree of weight applied to the face. Argument: `--face-enhancer-weight` Default: `0.5` Range: `0.0` to `1.0` at `0.05` Example: `--face-swapper-weight 1.0` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-swapper#default-overrides) Default Overrides ----------------------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] face_swapper_model = hyperswap_1a_256 face_swapper_pixel_boost = 512x512 face_swapper_weight = 1.0 --- # Face Editor | FaceFusion [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-editor#cli-arguments) CLI Arguments -------------------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-editor#face-editor-model) Face Editor Model Choose the model responsible for editing the face. Argument: `--face-editor-model` Default: `live_portrait` Choices: * `live_portrait` Example: `--face-editor-model live_portrait` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-editor#face-editor-eyebrow-direction) Face Editor Eyebrow Direction Specify the eyebrow direction. Argument: `--face-editor-eyebrow-direction` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-eyebrow-direction 0.5` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-editor#face-editor-eye-gaze-horizontal) Face Editor Eye Gaze Horizontal Specify the horizontal eye gaze. Argument: `--face-editor-eye-gaze-horizontal` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-eye-gaze-horizontal 0.5` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-editor#face-editor-eye-gaze-vertical) Face Editor Eye Gaze Vertical Specify the vertical eye gaze. Argument: `--face-editor-eye-gaze-vertical` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-eye-gaze-vertical 0.5` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-editor#face-editor-eye-open-ratio) Face Editor Eye Open Ratio Specify the ratio of eye opening. Argument: `--face-editor-eye-open-ratio` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-eye-open-ration 0.5` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-editor#face-editor-lip-open-ratio) Face Editor Lip Open Ratio Specify the ratio of lip opening. Argument: `--face-editor-lip-open-ratio` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-lip-open-ration 0.5` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-editor#face-editor-mouth-grim) Face Editor Mouth Grim Specify the mouth grim. Argument: `--face-editor-mouth-grim` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-mouth-grim 0.5` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-editor#face-editor-mouth-pout) Face Editor Mouth Pout Specify the mouth pout. Argument: `--face-editor-mouth-pout` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-mouth-pout 0.5` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-editor#face-editor-mouth-purse) Face Editor Mouth Purse Specify the mouth purse. Argument: `--face-editor-mouth-purse` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-mouth-purse 0.5` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-editor#face-editor-mouth-smile) Face Editor Mouth Smile Specify the mouth smile. Argument: `--face-editor-mouth-smile` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-mouth-smile 0.5` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-editor#face-editor-mouth-position-horizontal) Face Editor Mouth Position Horizontal Specify the horizontal mouth position. Argument: `--face-editor-mouth-position-horizontal` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-mouth-position-horizontal 0.5` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-editor#face-editor-mouth-position-vertical) Face Editor Mouth Position Vertical Specify the vertical mouth position. Argument: `--face-editor-mouth-position-vertical` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-mouth-position-vertical 0.5` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-editor#face-editor-head-pitch) Face Editor Head Pitch Specify the head pitch. Argument: `--face-editor-head-pitch` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-head-pitch 0.5` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-editor#face-editor-head-yaw) Face Editor Head Yaw Specify the head yaw. Argument: `--face-editor-head-yaw` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-head-yaw 0.5` ### [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-editor#face-editor-head-roll) Face Editor Head Roll Specify the head roll. Argument: `--face-editor-head-roll` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-head-roll 0.5` [](https://docs.facefusion.io/facefusion-next/usage/cli-arguments/processors/face-editor#default-overrides) Default Overrides ---------------------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] face_editor_model = live_portrait face_editor_eyebrow_direction = 0.5 face_editor_eye_gaze_horizontal = 0.5 face_editor_eye_gaze_vertical = 0.5 face_editor_eye_open_ratio = 0.5 face_editor_lip_open_ratio = 0.5 face_editor_mouth_grim = 0.5 face_editor_mouth_pout = 0.5 face_editor_mouth_purse = 0.5 face_editor_mouth_smile = 0.5 face_editor_mouth_position_horizontal = 0.5 face_editor_mouth_position_vertical = 0.5 face_editor_head_pitch = 0.5 face_editor_head_yaw = 0.5 face_editor_head_roll = 0.5 --- # Execution | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/execution#cli-arguments) CLI Arguments --------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/execution#execution-device-ids) Execution Device Ids Specify the devices used for processing. Argument: `--execution-device-ids` Default: `0` Example: `--execution-device-id 0 1` ### [](https://docs.facefusion.io/usage/cli-arguments/execution#execution-providers) Execution Providers Inference using different providers. Argument: `--execution-providers` Default: `Auto` Choices: * `cpu` * `coreml` * `cuda` * `directml` * `migraphx` * `rocm` * `tensorrt` Example: `--execution-providers cuda` ### [](https://docs.facefusion.io/usage/cli-arguments/execution#execution-thread-count) Execution Thread Count Specify the amount of parallel threads while processing. Argument `--execution-thread-count` Default: `4` Range: `1` to `32` at `1` Example: `--execution-thread-count 16` [](https://docs.facefusion.io/usage/cli-arguments/execution#default-overrides) Default Overrides ----------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [execution] execution_device_ids = 0 1 execution_providers = cuda execution_thread_count = 16 Last updated 2 months ago --- # Misc | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/misc#cli-arguments) CLI Arguments ---------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/misc#log-level) Log Level Adjust the message severity displayed in the terminal. Argument: `--log-level` Default: `info` Choices: * `error` * `warn` * `info` * `debug` Example: `--log-level debug` ### [](https://docs.facefusion.io/usage/cli-arguments/misc#halt-on-error) Halt On Error Halt the program once an error occurred. Argument: `--halt-on-error` Default: `None` Example: `--halt-on-error` [](https://docs.facefusion.io/usage/cli-arguments/misc#default-overrides) Default Overrides ------------------------------------------------------------------------------------------------ Modify the `facefusion.ini` file to override the defaults. Copy [misc] log_level = debug halt_on_error = True --- # Processors | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/processors#cli-arguments) CLI Arguments ---------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/processors#processors) Processors Load a single or multiple processors. Argument: `--processors` Default: `face_swapper` Choices: * `age-modifier` * `expression_restorer` * `face_debugger` * `face_enhancer` * `face_editor` * `face_swapper` * `frame_colorizer` * `frame_enhancer` * `lip_syncer` Example: `--processors face_swapper face_enhancer` [](https://docs.facefusion.io/usage/cli-arguments/processors#default-overrides) Default Overrides ------------------------------------------------------------------------------------------------------ Modify the `facefusion.ini` file to override the defaults. Copy [processors] processors = face_swapper face_enhancer --- # Deep Swapper | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/processors/deep-swapper#cli-arguments) CLI Arguments ----------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/processors/deep-swapper#deep-swapper-model) Deep Swapper Model Choose the model responsible for swapping the face. Argument: `--deep-swapper-model` Default: `iperov/elon_musk_224` Choices: * `druuzil` * `edel` * `iperov` * `jen` * `mats` * `rumateus` Example: `--deep-swapper-model iperov/jackie_chan_224` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/deep-swapper#deep-swapper-morph) Deep Swapper Morph Morph between source face and target faces. Argument: `--deep-swapper-morph` Default: `80` Range: `0` to `100` at `1` Example: `--deep-swapper-morph 100` [](https://docs.facefusion.io/usage/cli-arguments/processors/deep-swapper#default-overrides) Default Overrides ------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] deep_swapper_model = iperov/jackie_chan_224 deep_swapper_morph = 100 --- # Benchmark | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/benchmark#cli-arguments) CLI Arguments --------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/benchmark#benchmark-mode) Benchmark Mode Choose the benchmark mode. Argument: `--benchmark-mode` Default: `warm` Choices: * `warm` * `cold` Example: `--benchmark-mode cold` ### [](https://docs.facefusion.io/usage/cli-arguments/benchmark#benchmark-resolutions) Benchmark Resolutions Choose the resolutions for the benchmarks. Argument: `--benchmark-resolutions` Default: `240p` Choices: * `240p` * `360p` * `540p` * `720p` * `1080p` * `1440p` * `2160p` Example: `--benchmark-resolutions 240p 360p` ### [](https://docs.facefusion.io/usage/cli-arguments/benchmark#benchmark-cycle-count) Benchmark Cycle Count Specify the amount of cycles per benchmark. Argument: `--benchmark-cycle-count` Default: `5` Range: `1` to `10` at `1` Example: `--benchmark-cycle-count 10` [](https://docs.facefusion.io/usage/cli-arguments/benchmark#default-overrides) Default Overrides ----------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [benchmark] benchmark_mode = cold benchmark_resolutions = 240p 360p benchmark_cycle_count = 10 Last updated 3 months ago --- # Frame Colorizer | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/processors/frame-colorizer#cli-arguments) CLI Arguments -------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/processors/frame-colorizer#frame-colorizer-model) Frame Colorizer Model Choose the model responsible for colorizing the frame. Argument: `--frame-colorizer-model` Default: `ddcolor` Choices: * `ddcolor` * `ddcolor_artistic` * `deoldify` * `deoldify_artistic` * `deoldify_stable` Example: `--frame-colorizer-model deoldify` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/frame-colorizer#frame-colorizer-size) Frame Colorizer Size Specify the frame size provided to the frame colorizer. Argument: `--frame-colorizer-size` Default: `256x256` Choices: * `256x256` * `384x384` * `512x512` Example: `--frame-colorizer-size 512` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/frame-colorizer#frame-colorizer-blend) Frame Colorizer Blend Blend the colorized into the previous frame. Argument: `--frame-colorizer-blend` Default: `100` Range: `0` to `100` at `1` Example: `--frame-colorizer-blend 100` [](https://docs.facefusion.io/usage/cli-arguments/processors/frame-colorizer#default-overrides) Default Overrides ---------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] frame_colorizer_model = deoldify frame_colorizer_size = 512 frame_colorizer_blend = 100 Last updated 21 days ago --- # Face Swapper | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/processors/face-swapper#cli-arguments) CLI Arguments ----------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-swapper#face-swapper-model) Face Swapper Model Choose the model responsible for swapping the face. Argument: `--face-swapper-model` Default: `inswapper_128_fp16` Choices: * `blendswap_256` * `ghost_1_256` * `ghost_2_256` * `ghost_3_256` * `hififace_unofficial_256` * `hyperswap_1a_256` * `hyperswap_1b_256` * `hyperswap_1c_256` * `inswapper_128` * `inswapper_128_fp16` * `simswap_256` * `simswap_unofficial_512` * `uniface_256` Example: `--face-swapper-model hyperswap_1a_256` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-swapper#face-swapper-pixel-boost) Face Swapper Pixel Boost Choose the pixel boost resolution for the face swapper. Argument: `--face-swapper-pixel-boost` Default: `128x128` Choices: * `128x128` * `256x256` * `384x384` * `512x512` * `768x768` * `1024x1024` Example: `--face-swapper-pixel-boost 512x512` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-swapper#face-swapper-weight) Face Swapper Weight Specify the degree of weight applied to the face. Argument: `--face-enhancer-weight` Default: `0.5` Range: `0.0` to `1.0` at `0.05` Example: `--face-swapper-weight 1.0` [](https://docs.facefusion.io/usage/cli-arguments/processors/face-swapper#default-overrides) Default Overrides ------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] face_swapper_model = hyperswap_1a_256 face_swapper_pixel_boost = 512x512 face_swapper_weight = 1.0 Last updated 4 months ago --- # Face Debugger | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/processors/face-debugger#cli-arguments) CLI Arguments ------------------------------------------------------------------------------------------------------------ ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-debugger#face-debugger-items) Face Debugger Items Visualize face detector and face masker related items. Argument: `--face-debugger-items` Default: `face-landmark-5/68` `face-mask` Choices: * `bounding-box` * `face-landmark-5` * `face-landmark-5/68` * `face-landmark-68` * `face-landmark-68/5` * `face-mask` Example: `--face-debugger-items bounding-box` [](https://docs.facefusion.io/usage/cli-arguments/processors/face-debugger#default-overrides) Default Overrides -------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] face_debugger_items = bounding-box Last updated 1 month ago --- # Frame Enhancer | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/processors/frame-enhancer#cli-arguments) CLI Arguments ------------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/processors/frame-enhancer#frame-enhancer-model) Frame Enhancer Model Choose the model responsible for enhancing the frame. Argument: `--frame-enhancer-model` Default: `span_kendata_x4` Choices: * `clear_reality_x4` * `lsdir_x4` * `nomos8k_sc_x4` * `real_esrgan_x2` * `real_esrgan_x2_fp16` * `real_esrgan_x4` * `real_esrgan_x4_fp16` * `real_esrgan_x8` * `real_esrgan_x8_fp16` * `real_hatgan_x4` * `real_web_photo_x4` * `realistic_rescaler_x4` * `remacri_x4` * `siax_x4` * `span_kendata_x4` * `swin2_sr_x4` * `ultra_sharp_x4` * `ultra_sharp_2_x4` Example: `--frame-enhancer-model real_hatgan_x4` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/frame-enhancer#frame-enhancer-blend) Frame Enhancer Blend Blend the enhanced into the previous frame. Argument: `--frame-enhancer-blend` Default: `80` Range: `0` to `100` at `1` Example: `--frame-enhancer-blend 100` [](https://docs.facefusion.io/usage/cli-arguments/processors/frame-enhancer#default-overrides) Default Overrides --------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] frame_enhancer_model = real_hatgan_x4 frame_enhancer_blend = 100 --- # Expression Restorer | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/processors/expression-restorer#cli-arguments) CLI Arguments ------------------------------------------------------------------------------------------------------------------ ### [](https://docs.facefusion.io/usage/cli-arguments/processors/expression-restorer#expression-restorer-model) Expression Restorer Model Choose the model responsible for restoring the expression. Argument: `--expression-restorer-model` Default: `live_portrait` Choices: * `live_portrait` Example: `--expression-restorer-model live_portrait` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/expression-restorer#expression-restorer-factor) Expression Restorer Factor Restore factor of expression from the target face. Argument: `--expression-restorer-factor` Default: `80` Range: `0` to `100` at `1` Example: `--expression-restorer-factor 100` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/expression-restorer#expression-restorer-areas) Expression Restorer Areas Choose the items used for the expression areas. Argument: `--expression-restorer-areas` Default: `All` Choices: * `upper-face` * `lower-face` Example: `--expression-restorer-areas upper-face` [](https://docs.facefusion.io/usage/cli-arguments/processors/expression-restorer#default-overrides) Default Overrides -------------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] expression_restorer_model = live_portrait expression_restorer_factor = 100 expression_restorer_areas = upper-face Last updated 2 months ago --- # Face Enhancer | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/processors/face-enhancer#cli-arguments) CLI Arguments ------------------------------------------------------------------------------------------------------------ ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-enhancer#face-enhancer-model) Face Enhancer Model Choose the model responsible for enhancing the face. Argument: `--face-enhancer-model` Default: `gfpgan_1.4` Choices: * `codeformer` * `gfpgan_1.2` * `gfpgan_1.3` * `gfpgan_1.4` * `gpen_bfr_256` * `gpen_bfr_512` * `gpen_bfr_1024` * `gpen_bfr_2048` * `restoreformer_plus_plus` Example: `--face-enhancer-model codeformer` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-enhancer#face-enhancer-blend) Face Enhancer Blend Blend the enhanced into the previous face. Argument: `--face-enhancer-blend` Default: `80` Range: `0` to `100` at `1` Example: `--face-enhancer-blend 100` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-enhancer#face-enhancer-weight) Face Enhancer Weight Specify the degree of weight applied to the face. Argument: `--face-enhancer-weight` Default: `0.5` Range: `0.0` to `1.0` at `0.05` Example: `--face-enhancer-weight 1.0` [](https://docs.facefusion.io/usage/cli-arguments/processors/face-enhancer#default-overrides) Default Overrides -------------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] face_enhancer_model = codeformer face_enhancer_blend = 100 face_enhancer_weight = 1.0 Last updated 4 months ago --- # Lip Syncer | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/processors/lip-syncer#cli-arguments) CLI Arguments --------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/processors/lip-syncer#lip-syncer-model) Lip Syncer Model Choose the model responsible for syncing the lips. Argument: `--lip-syncer-model` Default: `wav2lip_gan_96` Choices: * `edtalk_256` * `wav2lip_96` * `wav2lip_gan_96` Example: `--lip-syncer-model edtalk_256` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/lip-syncer#lip-syncer-weight) Lip Syncer Weight Specify the degree of weight applied to the lips. Argument: `--lip-syncer-weight` Default: `0.5` Range: `0.0` to `1.0` at `0.05` Example: `--lip-syncer-weight 1.0` [](https://docs.facefusion.io/usage/cli-arguments/processors/lip-syncer#default-overrides) Default Overrides ----------------------------------------------------------------------------------------------------------------- Modify the `facefusion.ini` file to override the defaults. Copy [processors] lip_syncer_model = edtalk_256 lip_syncer_weight = 1.0 --- # Face Editor | FaceFusion [](https://docs.facefusion.io/usage/cli-arguments/processors/face-editor#cli-arguments) CLI Arguments ---------------------------------------------------------------------------------------------------------- ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-editor#face-editor-model) Face Editor Model Choose the model responsible for editing the face. Argument: `--face-editor-model` Default: `live_portrait` Choices: * `live_portrait` Example: `--face-editor-model live_portrait` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-editor#face-editor-eyebrow-direction) Face Editor Eyebrow Direction Specify the eyebrow direction. Argument: `--face-editor-eyebrow-direction` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-eyebrow-direction 0.5` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-editor#face-editor-eye-gaze-horizontal) Face Editor Eye Gaze Horizontal Specify the horizontal eye gaze. Argument: `--face-editor-eye-gaze-horizontal` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-eye-gaze-horizontal 0.5` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-editor#face-editor-eye-gaze-vertical) Face Editor Eye Gaze Vertical Specify the vertical eye gaze. Argument: `--face-editor-eye-gaze-vertical` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-eye-gaze-vertical 0.5` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-editor#face-editor-eye-open-ratio) Face Editor Eye Open Ratio Specify the ratio of eye opening. Argument: `--face-editor-eye-open-ratio` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-eye-open-ration 0.5` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-editor#face-editor-lip-open-ratio) Face Editor Lip Open Ratio Specify the ratio of lip opening. Argument: `--face-editor-lip-open-ratio` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-lip-open-ration 0.5` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-editor#face-editor-mouth-grim) Face Editor Mouth Grim Specify the mouth grim. Argument: `--face-editor-mouth-grim` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-mouth-grim 0.5` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-editor#face-editor-mouth-pout) Face Editor Mouth Pout Specify the mouth pout. Argument: `--face-editor-mouth-pout` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-mouth-pout 0.5` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-editor#face-editor-mouth-purse) Face Editor Mouth Purse Specify the mouth purse. Argument: `--face-editor-mouth-purse` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-mouth-purse 0.5` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-editor#face-editor-mouth-smile) Face Editor Mouth Smile Specify the mouth smile. Argument: `--face-editor-mouth-smile` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-mouth-smile 0.5` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-editor#face-editor-mouth-position-horizontal) Face Editor Mouth Position Horizontal Specify the horizontal mouth position. Argument: `--face-editor-mouth-position-horizontal` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-mouth-position-horizontal 0.5` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-editor#face-editor-mouth-position-vertical) Face Editor Mouth Position Vertical Specify the vertical mouth position. Argument: `--face-editor-mouth-position-vertical` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-mouth-position-vertical 0.5` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-editor#face-editor-head-pitch) Face Editor Head Pitch Specify the head pitch. Argument: `--face-editor-head-pitch` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-head-pitch 0.5` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-editor#face-editor-head-yaw) Face Editor Head Yaw Specify the head yaw. Argument: `--face-editor-head-yaw` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-head-yaw 0.5` ### [](https://docs.facefusion.io/usage/cli-arguments/processors/face-editor#face-editor-head-roll) Face Editor Head Roll Specify the head roll. Argument: `--face-editor-head-roll` Default: `0` Range: `-1.0` to `1.0` at `0.05` Example: `--face-editor-head-roll 0.5` [](https://docs.facefusion.io/usage/cli-arguments/processors/face-editor#default-overrides) Default Overrides ------------------------------------------------------------------------------------------------------------------ Modify the `facefusion.ini` file to override the defaults. Copy [processors] face_editor_model = live_portrait face_editor_eyebrow_direction = 0.5 face_editor_eye_gaze_horizontal = 0.5 face_editor_eye_gaze_vertical = 0.5 face_editor_eye_open_ratio = 0.5 face_editor_lip_open_ratio = 0.5 face_editor_mouth_grim = 0.5 face_editor_mouth_pout = 0.5 face_editor_mouth_purse = 0.5 face_editor_mouth_smile = 0.5 face_editor_mouth_position_horizontal = 0.5 face_editor_mouth_position_vertical = 0.5 face_editor_head_pitch = 0.5 face_editor_head_yaw = 0.5 face_editor_head_roll = 0.5 ---