SDOptions: {
    add_model_hash_to_info: boolean;
    add_model_name_to_info: boolean;
    add_user_name_to_info: boolean;
    add_vae_hash_to_info: boolean;
    add_vae_name_to_info: boolean;
    add_version_to_infotext: boolean;
    always_discard_next_to_last_sigma: boolean;
    api_enable_requests: boolean;
    api_forbid_local_requests: boolean;
    api_useragent: string;
    auto_backcompat: boolean;
    auto_launch_browser: string;
    auto_vae_precision: boolean;
    auto_vae_precision_bfloat16: boolean;
    batch_cond_uncond: boolean;
    beta_dist_alpha: number;
    beta_dist_beta: number;
    cache_fp16_weight: boolean;
    clean_temp_dir_at_start: boolean;
    CLIP_stop_at_last_layers: number;
    code_former_weight: number;
    comma_padding_backtrack: number;
    compact_prompt_box: boolean;
    cross_attention_optimization: string;
    dat_enabled_models: string[];
    DAT_tile: number;
    DAT_tile_overlap: number;
    dataset_filename_join_string: string;
    dataset_filename_word_regex: string;
    ddim_discretize: string;
    deepbooru_escape: boolean;
    deepbooru_filter_tags: string;
    deepbooru_sort_alpha: boolean;
    deepbooru_use_spaces: boolean;
    dimensions_and_batch_together: boolean;
    directories_filename_pattern: string;
    directories_max_prompt_words: number;
    disable_all_extensions: string;
    disable_mmap_load_safetensors: boolean;
    disable_token_counters: boolean;
    disable_weights_auto_swap: boolean;
    disabled_extensions: any[];
    do_not_show_images: boolean;
    dump_stacks_on_signal: boolean;
    emphasis: string;
    enable_batch_seeds: boolean;
    enable_console_prompts: boolean;
    enable_pnginfo: boolean;
    enable_prompt_comments: boolean;
    enable_quantization: boolean;
    enable_reloading_ui_scripts: boolean;
    enable_upscale_progressbar: boolean;
    ESRGAN_tile: number;
    ESRGAN_tile_overlap: number;
    eta_ancestral: number;
    eta_ddim: number;
    eta_noise_seed_delta: number;
    export_for_4chan: boolean;
    extra_networks_add_text_separator: string;
    extra_networks_card_description_is_html: boolean;
    extra_networks_card_height: number;
    extra_networks_card_order: string;
    extra_networks_card_order_field: string;
    extra_networks_card_show_desc: boolean;
    extra_networks_card_text_scale: number;
    extra_networks_card_width: number;
    extra_networks_default_multiplier: number;
    extra_networks_dir_button_function: boolean;
    extra_networks_hidden_models: string;
    extra_networks_show_hidden_directories: boolean;
    extra_networks_tree_view_default_enabled: boolean;
    extra_networks_tree_view_default_width: number;
    extra_networks_tree_view_style: string;
    face_restoration: boolean;
    face_restoration_model: string;
    face_restoration_unload: boolean;
    font: string;
    fp8_storage: string;
    gallery_height: string;
    gradio_theme: string;
    gradio_themes_cache: boolean;
    grid_background_color: string;
    grid_extended_filename: boolean;
    grid_format: string;
    grid_only_if_multiple: boolean;
    grid_prevent_empty_spots: boolean;
    grid_save: boolean;
    grid_save_to_dirs: boolean;
    grid_text_active_color: string;
    grid_text_inactive_color: string;
    grid_zip_filename_pattern: string;
    hidden_tabs: any[];
    hide_ldm_prints: boolean;
    hide_samplers: any[];
    hires_fix_refiner_pass: string;
    hires_fix_show_prompts: boolean;
    hires_fix_show_sampler: boolean;
    hires_fix_use_firstpass_conds: boolean;
    img_downscale_threshold: number;
    img_max_size_mp: number;
    img2img_background_color: string;
    img2img_batch_show_results_limit: number;
    img2img_color_correction: boolean;
    img2img_editor_height: number;
    img2img_extra_noise: number;
    img2img_fix_steps: boolean;
    img2img_inpaint_mask_brush_color: string;
    img2img_inpaint_sketch_default_brush_color: string;
    img2img_settings_accordion: boolean;
    img2img_sketch_default_brush_color: string;
    include_styles_into_token_counters: boolean;
    infotext_explanation: string;
    infotext_skip_pasting: any[];
    infotext_styles: string;
    initial_noise_multiplier: number;
    inpainting_mask_weight: number;
    interrogate_clip_dict_limit: number;
    interrogate_clip_max_length: number;
    interrogate_clip_min_length: number;
    interrogate_clip_num_beams: number;
    interrogate_clip_skip_categories: any[];
    interrogate_deepbooru_score_threshold: number;
    interrogate_keep_models_in_memory: boolean;
    interrogate_return_ranks: boolean;
    interrupt_after_current: boolean;
    jpeg_quality: number;
    js_live_preview_in_modal_lightbox: boolean;
    js_modal_lightbox: boolean;
    js_modal_lightbox_gamepad: boolean;
    js_modal_lightbox_gamepad_repeat: number;
    js_modal_lightbox_initially_zoomed: boolean;
    keyedit_delimiters: string;
    keyedit_delimiters_whitespace: string[];
    keyedit_move: boolean;
    keyedit_precision_attention: number;
    keyedit_precision_extra: number;
    list_hidden_files: boolean;
    live_preview_allow_lowvram_full: boolean;
    live_preview_content: string;
    live_preview_fast_interrupt: boolean;
    live_preview_refresh_period: number;
    live_previews_enable: boolean;
    live_previews_image_format: string;
    localization: string;
    memmon_poll_rate: number;
    multiple_tqdm: boolean;
    n_rows: number;
    no_dpmpp_sde_batch_determinism: boolean;
    notification_audio: boolean;
    notification_volume: number;
    open_dir_button_choice: string;
    outdir_extras_samples: string;
    outdir_grids: string;
    outdir_img2img_grids: string;
    outdir_img2img_samples: string;
    outdir_init_images: string;
    outdir_samples: string;
    outdir_save: string;
    outdir_txt2img_grids: string;
    outdir_txt2img_samples: string;
    overlay_inpaint: boolean;
    pad_cond_uncond: boolean;
    pad_cond_uncond_v0: boolean;
    persistent_cond_cache: boolean;
    pin_memory: boolean;
    postprocessing_disable_in_extras: any[];
    postprocessing_enable_in_main_ui: any[];
    postprocessing_existing_caption_action: string;
    postprocessing_operation_order: any[];
    prevent_screen_sleep_during_generation: boolean;
    print_hypernet_extra: boolean;
    profiling_activities: string[];
    profiling_enable: boolean;
    profiling_explanation: string;
    profiling_filename: string;
    profiling_profile_memory: boolean;
    profiling_record_shapes: boolean;
    profiling_with_stack: boolean;
    quicksettings_list: string[];
    randn_source: string;
    realesrgan_enabled_models: string[];
    refiner_switch_by_sample_steps: boolean;
    restore_config_state_file: string;
    return_grid: boolean;
    return_mask: boolean;
    return_mask_composite: boolean;
    rho: number;
    s_churn: number;
    s_min_uncond: number;
    s_min_uncond_all: boolean;
    s_noise: number;
    s_tmax: number;
    s_tmin: number;
    samplers_in_dropdown: boolean;
    samples_filename_pattern: string;
    samples_format: string;
    samples_log_stdout: boolean;
    samples_save: boolean;
    save_images_add_number: boolean;
    save_images_before_color_correction: boolean;
    save_images_before_face_restoration: boolean;
    save_images_before_highres_fix: boolean;
    save_images_replace_action: string;
    save_incomplete_images: boolean;
    save_init_img: boolean;
    save_mask: boolean;
    save_mask_composite: boolean;
    save_optimizer_state: boolean;
    save_selected_only: boolean;
    save_to_dirs: boolean;
    save_training_settings_to_txt: boolean;
    save_txt: boolean;
    save_write_log_csv: boolean;
    sd_checkpoint_cache: number;
    sd_checkpoint_dropdown_use_short: boolean;
    sd_checkpoint_hash: string;
    sd_checkpoints_keep_in_cpu: boolean;
    sd_checkpoints_limit: number;
    sd_hypernetwork: string;
    sd_model_checkpoint: string;
    sd_noise_schedule: string;
    sd_unet: string;
    sd_vae: string;
    sd_vae_checkpoint_cache: number;
    sd_vae_decode_method: string;
    sd_vae_encode_method: string;
    sd_vae_explanation: string;
    sd_vae_overrides_per_model_preferences: boolean;
    sd_webui_modal_lightbox_icon_opacity: number;
    sd_webui_modal_lightbox_toolbar_opacity: number;
    sd3_enable_t5: boolean;
    sdxl_clip_l_skip: boolean;
    sdxl_crop_left: number;
    sdxl_crop_top: number;
    sdxl_refiner_high_aesthetic_score: number;
    sdxl_refiner_low_aesthetic_score: number;
    send_seed: boolean;
    send_size: boolean;
    set_scale_by_when_changing_upscaler: boolean;
    sgm_noise_multiplier: boolean;
    show_gradio_deprecation_warnings: boolean;
    show_progress_every_n_steps: number;
    show_progress_grid: boolean;
    show_progress_in_title: boolean;
    show_progress_type: string;
    show_progressbar: boolean;
    show_warnings: boolean;
    sigma_max: number;
    sigma_min: number;
    skip_early_cond: number;
    target_side_length: number;
    temp_dir: string;
    textual_inversion_add_hashes_to_infotext: boolean;
    textual_inversion_print_at_load: boolean;
    tiling: boolean;
    token_merging_ratio: number;
    token_merging_ratio_hr: number;
    token_merging_ratio_img2img: number;
    training_enable_tensorboard: boolean;
    training_image_repeats_per_epoch: number;
    training_tensorboard_flush_every: number;
    training_tensorboard_save_images: boolean;
    training_write_csv_every: number;
    training_xattention_optimizations: boolean;
    txt2img_settings_accordion: boolean;
    ui_extra_networks_tab_reorder: string;
    ui_reorder_list: any[];
    ui_tab_order: any[];
    uni_pc_lower_order_final: boolean;
    uni_pc_order: number;
    uni_pc_skip_type: string;
    uni_pc_variant: string;
    unload_models_when_training: boolean;
    upcast_attn: boolean;
    upscaler_for_img2img: string;
    upscaling_max_images_in_cache: number;
    use_downcasted_alpha_bar: boolean;
    use_old_emphasis_implementation: boolean;
    use_old_hires_fix_width_height: boolean;
    use_old_karras_scheduler_sigmas: boolean;
    use_old_scheduling: boolean;
    use_original_name_batch: boolean;
    use_save_to_dirs_for_ui: boolean;
    use_upscaler_name_as_suffix: boolean;
    webp_lossless: boolean;
}

Represents the Stable Diffusion options

Type declaration

  • add_model_hash_to_info: boolean
  • add_model_name_to_info: boolean
  • add_user_name_to_info: boolean
  • add_vae_hash_to_info: boolean
  • add_vae_name_to_info: boolean
  • add_version_to_infotext: boolean
  • always_discard_next_to_last_sigma: boolean
  • api_enable_requests: boolean
  • api_forbid_local_requests: boolean
  • api_useragent: string
  • auto_backcompat: boolean
  • auto_launch_browser: string
  • auto_vae_precision: boolean
  • auto_vae_precision_bfloat16: boolean
  • batch_cond_uncond: boolean
  • beta_dist_alpha: number
  • beta_dist_beta: number
  • cache_fp16_weight: boolean
  • clean_temp_dir_at_start: boolean
  • CLIP_stop_at_last_layers: number
  • code_former_weight: number
  • comma_padding_backtrack: number
  • compact_prompt_box: boolean
  • cross_attention_optimization: string
  • dat_enabled_models: string[]
  • DAT_tile: number
  • DAT_tile_overlap: number
  • dataset_filename_join_string: string
  • dataset_filename_word_regex: string
  • ddim_discretize: string
  • deepbooru_escape: boolean
  • deepbooru_filter_tags: string
  • deepbooru_sort_alpha: boolean
  • deepbooru_use_spaces: boolean
  • dimensions_and_batch_together: boolean
  • directories_filename_pattern: string
  • directories_max_prompt_words: number
  • disable_all_extensions: string
  • disable_mmap_load_safetensors: boolean
  • disable_token_counters: boolean
  • disable_weights_auto_swap: boolean
  • disabled_extensions: any[]
  • do_not_show_images: boolean
  • dump_stacks_on_signal: boolean
  • emphasis: string
  • enable_batch_seeds: boolean
  • enable_console_prompts: boolean
  • enable_pnginfo: boolean
  • enable_prompt_comments: boolean
  • enable_quantization: boolean
  • enable_reloading_ui_scripts: boolean
  • enable_upscale_progressbar: boolean
  • ESRGAN_tile: number
  • ESRGAN_tile_overlap: number
  • eta_ancestral: number
  • eta_ddim: number
  • eta_noise_seed_delta: number
  • export_for_4chan: boolean
  • extra_networks_add_text_separator: string
  • extra_networks_card_description_is_html: boolean
  • extra_networks_card_height: number
  • extra_networks_card_order: string
  • extra_networks_card_order_field: string
  • extra_networks_card_show_desc: boolean
  • extra_networks_card_text_scale: number
  • extra_networks_card_width: number
  • extra_networks_default_multiplier: number
  • extra_networks_dir_button_function: boolean
  • extra_networks_hidden_models: string
  • extra_networks_show_hidden_directories: boolean
  • extra_networks_tree_view_default_enabled: boolean
  • extra_networks_tree_view_default_width: number
  • extra_networks_tree_view_style: string
  • face_restoration: boolean
  • face_restoration_model: string
  • face_restoration_unload: boolean
  • font: string
  • fp8_storage: string
  • gallery_height: string
  • gradio_theme: string
  • gradio_themes_cache: boolean
  • grid_background_color: string
  • grid_extended_filename: boolean
  • grid_format: string
  • grid_only_if_multiple: boolean
  • grid_prevent_empty_spots: boolean
  • grid_save: boolean
  • grid_save_to_dirs: boolean
  • grid_text_active_color: string
  • grid_text_inactive_color: string
  • grid_zip_filename_pattern: string
  • hidden_tabs: any[]
  • hide_ldm_prints: boolean
  • hide_samplers: any[]
  • hires_fix_refiner_pass: string
  • hires_fix_show_prompts: boolean
  • hires_fix_show_sampler: boolean
  • hires_fix_use_firstpass_conds: boolean
  • img_downscale_threshold: number
  • img_max_size_mp: number
  • img2img_background_color: string
  • img2img_batch_show_results_limit: number
  • img2img_color_correction: boolean
  • img2img_editor_height: number
  • img2img_extra_noise: number
  • img2img_fix_steps: boolean
  • img2img_inpaint_mask_brush_color: string
  • img2img_inpaint_sketch_default_brush_color: string
  • img2img_settings_accordion: boolean
  • img2img_sketch_default_brush_color: string
  • include_styles_into_token_counters: boolean
  • infotext_explanation: string
  • infotext_skip_pasting: any[]
  • infotext_styles: string
  • initial_noise_multiplier: number
  • inpainting_mask_weight: number
  • interrogate_clip_dict_limit: number
  • interrogate_clip_max_length: number
  • interrogate_clip_min_length: number
  • interrogate_clip_num_beams: number
  • interrogate_clip_skip_categories: any[]
  • interrogate_deepbooru_score_threshold: number
  • interrogate_keep_models_in_memory: boolean
  • interrogate_return_ranks: boolean
  • interrupt_after_current: boolean
  • jpeg_quality: number
  • js_live_preview_in_modal_lightbox: boolean
  • js_modal_lightbox: boolean
  • js_modal_lightbox_gamepad: boolean
  • js_modal_lightbox_gamepad_repeat: number
  • js_modal_lightbox_initially_zoomed: boolean
  • keyedit_delimiters: string
  • keyedit_delimiters_whitespace: string[]
  • keyedit_move: boolean
  • keyedit_precision_attention: number
  • keyedit_precision_extra: number
  • list_hidden_files: boolean
  • live_preview_allow_lowvram_full: boolean
  • live_preview_content: string
  • live_preview_fast_interrupt: boolean
  • live_preview_refresh_period: number
  • live_previews_enable: boolean
  • live_previews_image_format: string
  • localization: string
  • memmon_poll_rate: number
  • multiple_tqdm: boolean
  • n_rows: number
  • no_dpmpp_sde_batch_determinism: boolean
  • notification_audio: boolean
  • notification_volume: number
  • open_dir_button_choice: string
  • outdir_extras_samples: string
  • outdir_grids: string
  • outdir_img2img_grids: string
  • outdir_img2img_samples: string
  • outdir_init_images: string
  • outdir_samples: string
  • outdir_save: string
  • outdir_txt2img_grids: string
  • outdir_txt2img_samples: string
  • overlay_inpaint: boolean
  • pad_cond_uncond: boolean
  • pad_cond_uncond_v0: boolean
  • persistent_cond_cache: boolean
  • pin_memory: boolean
  • postprocessing_disable_in_extras: any[]
  • postprocessing_enable_in_main_ui: any[]
  • postprocessing_existing_caption_action: string
  • postprocessing_operation_order: any[]
  • prevent_screen_sleep_during_generation: boolean
  • print_hypernet_extra: boolean
  • profiling_activities: string[]
  • profiling_enable: boolean
  • profiling_explanation: string
  • profiling_filename: string
  • profiling_profile_memory: boolean
  • profiling_record_shapes: boolean
  • profiling_with_stack: boolean
  • quicksettings_list: string[]
  • randn_source: string
  • realesrgan_enabled_models: string[]
  • refiner_switch_by_sample_steps: boolean
  • restore_config_state_file: string
  • return_grid: boolean
  • return_mask: boolean
  • return_mask_composite: boolean
  • rho: number
  • s_churn: number
  • s_min_uncond: number
  • s_min_uncond_all: boolean
  • s_noise: number
  • s_tmax: number
  • s_tmin: number
  • samplers_in_dropdown: boolean
  • samples_filename_pattern: string
  • samples_format: string
  • samples_log_stdout: boolean
  • samples_save: boolean
  • save_images_add_number: boolean
  • save_images_before_color_correction: boolean
  • save_images_before_face_restoration: boolean
  • save_images_before_highres_fix: boolean
  • save_images_replace_action: string
  • save_incomplete_images: boolean
  • save_init_img: boolean
  • save_mask: boolean
  • save_mask_composite: boolean
  • save_optimizer_state: boolean
  • save_selected_only: boolean
  • save_to_dirs: boolean
  • save_training_settings_to_txt: boolean
  • save_txt: boolean
  • save_write_log_csv: boolean
  • sd_checkpoint_cache: number
  • sd_checkpoint_dropdown_use_short: boolean
  • sd_checkpoint_hash: string
  • sd_checkpoints_keep_in_cpu: boolean
  • sd_checkpoints_limit: number
  • sd_hypernetwork: string
  • sd_model_checkpoint: string
  • sd_noise_schedule: string
  • sd_unet: string
  • sd_vae: string
  • sd_vae_checkpoint_cache: number
  • sd_vae_decode_method: string
  • sd_vae_encode_method: string
  • sd_vae_explanation: string
  • sd_vae_overrides_per_model_preferences: boolean
  • sd_webui_modal_lightbox_icon_opacity: number
  • sd_webui_modal_lightbox_toolbar_opacity: number
  • sd3_enable_t5: boolean
  • sdxl_clip_l_skip: boolean
  • sdxl_crop_left: number
  • sdxl_crop_top: number
  • sdxl_refiner_high_aesthetic_score: number
  • sdxl_refiner_low_aesthetic_score: number
  • send_seed: boolean
  • send_size: boolean
  • set_scale_by_when_changing_upscaler: boolean
  • sgm_noise_multiplier: boolean
  • show_gradio_deprecation_warnings: boolean
  • show_progress_every_n_steps: number
  • show_progress_grid: boolean
  • show_progress_in_title: boolean
  • show_progress_type: string
  • show_progressbar: boolean
  • show_warnings: boolean
  • sigma_max: number
  • sigma_min: number
  • skip_early_cond: number
  • target_side_length: number
  • temp_dir: string
  • textual_inversion_add_hashes_to_infotext: boolean
  • textual_inversion_print_at_load: boolean
  • tiling: boolean
  • token_merging_ratio: number
  • token_merging_ratio_hr: number
  • token_merging_ratio_img2img: number
  • training_enable_tensorboard: boolean
  • training_image_repeats_per_epoch: number
  • training_tensorboard_flush_every: number
  • training_tensorboard_save_images: boolean
  • training_write_csv_every: number
  • training_xattention_optimizations: boolean
  • txt2img_settings_accordion: boolean
  • ui_extra_networks_tab_reorder: string
  • ui_reorder_list: any[]
  • ui_tab_order: any[]
  • uni_pc_lower_order_final: boolean
  • uni_pc_order: number
  • uni_pc_skip_type: string
  • uni_pc_variant: string
  • unload_models_when_training: boolean
  • upcast_attn: boolean
  • upscaler_for_img2img: string
  • upscaling_max_images_in_cache: number
  • use_downcasted_alpha_bar: boolean
  • use_old_emphasis_implementation: boolean
  • use_old_hires_fix_width_height: boolean
  • use_old_karras_scheduler_sigmas: boolean
  • use_old_scheduling: boolean
  • use_original_name_batch: boolean
  • use_save_to_dirs_for_ui: boolean
  • use_upscaler_name_as_suffix: boolean
  • webp_lossless: boolean