CmdFlags: {
    add_stop_route: boolean;
    administrator: boolean;
    allow_code: boolean;
    always_batch_cond_uncond: boolean;
    api: boolean;
    api_auth: string;
    api_log: boolean;
    api_server_stop: boolean;
    autolaunch: boolean;
    bsrgan_models_path: string;
    ckpt: string;
    ckpt_dir: string;
    clip_models_path: string;
    codeformer_models_path: string;
    config: string;
    cors_allow_origins: string;
    cors_allow_origins_regex: string;
    dat_models_path: string;
    data_dir: string;
    deepdanbooru: boolean;
    device_id: string;
    disable_all_extensions: boolean;
    disable_console_progressbars: boolean;
    disable_extra_extensions: boolean;
    disable_model_loading_ram_optimization: boolean;
    disable_nan_check: boolean;
    disable_opt_split_attention: boolean;
    disable_safe_unpickle: boolean;
    disable_tls_verify: string;
    do_not_download_clip: boolean;
    dump_sysinfo: boolean;
    embeddings_dir: string;
    enable_console_prompts: boolean;
    enable_insecure_extension_access: boolean;
    esrgan_models_path: string;
    f: boolean;
    filenames_max_length: number;
    force_enable_xformers: boolean;
    freeze_settings: boolean;
    freeze_settings_in_sections: string;
    freeze_specific_settings: string;
    gfpgan_dir: string;
    gfpgan_model: string;
    gfpgan_models_path: string;
    gradio_allowed_path: string[];
    gradio_auth: string;
    gradio_auth_path: string;
    gradio_debug: boolean;
    gradio_img2img_tool: string;
    gradio_inpaint_tool: string;
    gradio_queue: boolean;
    hide_ui_dir_config: boolean;
    hypernetwork_dir: string;
    ldsr_models_path: string;
    listen: boolean;
    localizations_dir: string;
    log_startup: boolean;
    loglevel: string;
    lora_dir: string;
    lowram: boolean;
    lowvram: boolean;
    lyco_dir_backcompat: string;
    max_batch_count: number;
    medvram: boolean;
    medvram_sdxl: boolean;
    models_dir: string;
    ngrok: string;
    ngrok_options: Record<string, any>;
    ngrok_region: string;
    no_download_sd_model: boolean;
    no_gradio_queue: boolean;
    no_half: boolean;
    no_half_vae: boolean;
    no_hashing: boolean;
    no_progressbar_hiding: boolean;
    no_prompt_history: boolean;
    nowebui: boolean;
    opt_channelslast: boolean;
    opt_sdp_attention: boolean;
    opt_sdp_no_mem_attention: boolean;
    opt_split_attention: boolean;
    opt_split_attention_invokeai: boolean;
    opt_split_attention_v1: boolean;
    opt_sub_quad_attention: boolean;
    port: string;
    precision: string;
    realesrgan_models_path: string;
    reinstall_torch: boolean;
    reinstall_xformers: boolean;
    scunet_models_path: string;
    server_name: string;
    share: boolean;
    show_negative_prompt: boolean;
    skip_install: boolean;
    skip_load_model_at_start: boolean;
    skip_prepare_environment: boolean;
    skip_python_version_check: boolean;
    skip_torch_cuda_test: boolean;
    skip_version_check: boolean;
    styles_file: any[];
    sub_quad_chunk_threshold: string;
    sub_quad_kv_chunk_size: string;
    sub_quad_q_chunk_size: number;
    subpath: string;
    swinir_models_path: string;
    test_server: boolean;
    textual_inversion_templates_dir: string;
    theme: string;
    timeout_keep_alive: number;
    tls_certfile: string;
    tls_keyfile: string;
    ui_config_file: string;
    ui_debug_mode: boolean;
    ui_settings_file: string;
    unix_filenames_sanitization: boolean;
    unload_gfpgan: boolean;
    upcast_sampling: boolean;
    update_all_extensions: boolean;
    update_check: boolean;
    use_cpu: any[];
    use_ipex: boolean;
    use_textbox_seed: boolean;
    vae_dir: string;
    vae_path: string;
    xformers: boolean;
    xformers_flash_attention: boolean;
}

Represents the Command Line Interface flags

Type declaration

  • add_stop_route: boolean
  • administrator: boolean
  • allow_code: boolean
  • always_batch_cond_uncond: boolean
  • api: boolean
  • api_auth: string
  • api_log: boolean
  • api_server_stop: boolean
  • autolaunch: boolean
  • bsrgan_models_path: string
  • ckpt: string
  • ckpt_dir: string
  • clip_models_path: string
  • codeformer_models_path: string
  • config: string
  • cors_allow_origins: string
  • cors_allow_origins_regex: string
  • dat_models_path: string
  • data_dir: string
  • deepdanbooru: boolean
  • device_id: string
  • disable_all_extensions: boolean
  • disable_console_progressbars: boolean
  • disable_extra_extensions: boolean
  • disable_model_loading_ram_optimization: boolean
  • disable_nan_check: boolean
  • disable_opt_split_attention: boolean
  • disable_safe_unpickle: boolean
  • disable_tls_verify: string
  • do_not_download_clip: boolean
  • dump_sysinfo: boolean
  • embeddings_dir: string
  • enable_console_prompts: boolean
  • enable_insecure_extension_access: boolean
  • esrgan_models_path: string
  • f: boolean
  • filenames_max_length: number
  • force_enable_xformers: boolean
  • freeze_settings: boolean
  • freeze_settings_in_sections: string
  • freeze_specific_settings: string
  • gfpgan_dir: string
  • gfpgan_model: string
  • gfpgan_models_path: string
  • gradio_allowed_path: string[]
  • gradio_auth: string
  • gradio_auth_path: string
  • gradio_debug: boolean
  • gradio_img2img_tool: string
  • gradio_inpaint_tool: string
  • gradio_queue: boolean
  • hide_ui_dir_config: boolean
  • hypernetwork_dir: string
  • ldsr_models_path: string
  • listen: boolean
  • localizations_dir: string
  • log_startup: boolean
  • loglevel: string
  • lora_dir: string
  • lowram: boolean
  • lowvram: boolean
  • lyco_dir_backcompat: string
  • max_batch_count: number
  • medvram: boolean
  • medvram_sdxl: boolean
  • models_dir: string
  • ngrok: string
  • ngrok_options: Record<string, any>
  • ngrok_region: string
  • no_download_sd_model: boolean
  • no_gradio_queue: boolean
  • no_half: boolean
  • no_half_vae: boolean
  • no_hashing: boolean
  • no_progressbar_hiding: boolean
  • no_prompt_history: boolean
  • nowebui: boolean
  • opt_channelslast: boolean
  • opt_sdp_attention: boolean
  • opt_sdp_no_mem_attention: boolean
  • opt_split_attention: boolean
  • opt_split_attention_invokeai: boolean
  • opt_split_attention_v1: boolean
  • opt_sub_quad_attention: boolean
  • port: string
  • precision: string
  • realesrgan_models_path: string
  • reinstall_torch: boolean
  • reinstall_xformers: boolean
  • scunet_models_path: string
  • server_name: string
  • share: boolean
  • show_negative_prompt: boolean
  • skip_install: boolean
  • skip_load_model_at_start: boolean
  • skip_prepare_environment: boolean
  • skip_python_version_check: boolean
  • skip_torch_cuda_test: boolean
  • skip_version_check: boolean
  • styles_file: any[]
  • sub_quad_chunk_threshold: string
  • sub_quad_kv_chunk_size: string
  • sub_quad_q_chunk_size: number
  • subpath: string
  • swinir_models_path: string
  • test_server: boolean
  • textual_inversion_templates_dir: string
  • theme: string
  • timeout_keep_alive: number
  • tls_certfile: string
  • tls_keyfile: string
  • ui_config_file: string
  • ui_debug_mode: boolean
  • ui_settings_file: string
  • unix_filenames_sanitization: boolean
  • unload_gfpgan: boolean
  • upcast_sampling: boolean
  • update_all_extensions: boolean
  • update_check: boolean
  • use_cpu: any[]
  • use_ipex: boolean
  • use_textbox_seed: boolean
  • vae_dir: string
  • vae_path: string
  • xformers: boolean
  • xformers_flash_attention: boolean