interface components {
    headers: never;
    parameters: never;
    pathItems: never;
    requestBodies: never;
    responses: never;
    schemas: {
        AddCustomTagReq: { tag_name: string };
        AppFeSettingDelReq: { name: string };
        AppFeSettingReq: { name: string; value: string };
        BatchUpdateImageReq: {
            action: string;
            img_paths: string[];
            tag_id: number;
        };
        Body_detect_controlnet_detect_post: {
            controlnet_input_images: string[];
            controlnet_module: string;
            controlnet_processor_res: number;
            controlnet_threshold_a: number;
            controlnet_threshold_b: number;
        };
        Body_login_login__post: {
            client_id?: null
            | string;
            client_secret?: null | string;
            grant_type?: null | string;
            password: string;
            scope: string;
            username: string;
        };
        Body_login_login_post: {
            client_id?: null
            | string;
            client_secret?: null | string;
            grant_type?: null | string;
            password: string;
            scope: string;
            username: string;
        };
        CancelBody: { event_id: string; fn_index: number; session_hash: string };
        CheckPathExistsReq: { paths: string[] };
        CreateFoldersReq: { dest_folder: string };
        CreateResponse: { info: string };
        DeleteFilesReq: { file_paths: string[] };
        EmbeddingItem: {
            sd_checkpoint: null | string;
            sd_checkpoint_name: null | string;
            shape: number;
            step: null | number;
            vectors: number;
        };
        EmbeddingsResponse: {
            loaded: {
                [key: string]: {
                    sd_checkpoint: null
                    | string;
                    sd_checkpoint_name: null | string;
                    shape: number;
                    step: null | number;
                    vectors: number;
                };
            };
            skipped: {
                [key: string]: {
                    sd_checkpoint: null
                    | string;
                    sd_checkpoint_name: null | string;
                    shape: number;
                    step: null | number;
                    vectors: number;
                };
            };
        };
        EstimationMessage: {
            event_id?: null
            | string;
            msg: "estimation";
            queue_size: number;
            rank?: null | number;
            rank_eta?: null | number;
        };
        ExtensionItem: {
            branch: string;
            commit_date: number;
            commit_hash: string;
            enabled: boolean;
            name: string;
            remote: string;
            version: string;
        };
        ExtraPathAliasModel: { alias: string; path: string };
        ExtraPathModel: { path: string; types: string[] };
        ExtrasBatchImagesRequest: {
            codeformer_visibility: number;
            codeformer_weight: number;
            extras_upscaler_2_visibility: number;
            gfpgan_visibility: number;
            imageList: { data: string; name: string }[];
            resize_mode: 0 | 1;
            show_extras_results: boolean;
            upscale_first: boolean;
            upscaler_1: string;
            upscaler_2: string;
            upscaling_crop: boolean;
            upscaling_resize: number;
            upscaling_resize_h: number;
            upscaling_resize_w: number;
        };
        ExtrasBatchImagesResponse: { html_info: string; images: string[] };
        ExtrasSingleImageRequest: {
            codeformer_visibility: number;
            codeformer_weight: number;
            extras_upscaler_2_visibility: number;
            gfpgan_visibility: number;
            image: string;
            resize_mode: 0 | 1;
            show_extras_results: boolean;
            upscale_first: boolean;
            upscaler_1: string;
            upscaler_2: string;
            upscaling_crop: boolean;
            upscaling_resize: number;
            upscaling_resize_h: number;
            upscaling_resize_w: number;
        };
        ExtrasSingleImageResponse: { html_info: string; image?: null
        | string };
        FaceRestorerItem: { cmd_dir: null | string; name: string };
        FileData: { data: string; name: string };
        Flags: {
            add_stop_route: boolean;
            administrator: boolean;
            all_in_fp16: boolean;
            all_in_fp32: boolean;
            allow_code: boolean;
            always_batch_cond_uncond: boolean;
            always_cpu: boolean;
            always_gpu: boolean;
            always_high_vram: boolean;
            always_low_vram: boolean;
            always_no_vram: boolean;
            always_normal_vram: boolean;
            always_offload_from_vram: boolean;
            api: boolean;
            api_auth?: null | string;
            api_log: boolean;
            api_server_stop: boolean;
            attention_pytorch: boolean;
            attention_quad: boolean;
            attention_split: boolean;
            autolaunch: boolean;
            bsrgan_models_path: string;
            ckpt: string;
            ckpt_dir?: null | string;
            clip_in_fp16: boolean;
            clip_in_fp32: boolean;
            clip_in_fp8_e4m3fn: boolean;
            clip_in_fp8_e5m2: boolean;
            clip_models_path?: null | string;
            codeformer_models_path: string;
            config: string;
            controlnet_dir?: null | string;
            controlnet_loglevel: string;
            controlnet_preprocessor_models_dir?: null | string;
            controlnet_tracemalloc?: null | string;
            cors_allow_origins?: null | string;
            cors_allow_origins_regex?: null | string;
            cuda_malloc: boolean;
            cuda_stream: boolean;
            dat_models_path: string;
            data_dir: string;
            deepdanbooru: boolean;
            device_id?: null | string;
            directml?: null | string;
            disable_all_extensions: boolean;
            disable_attention_upcast: boolean;
            disable_console_progressbars: boolean;
            disable_extra_extensions: boolean;
            disable_gpu_warning: boolean;
            disable_ipex_hijack: boolean;
            disable_model_loading_ram_optimization: boolean;
            disable_nan_check: boolean;
            disable_opt_split_attention: boolean;
            disable_safe_unpickle: boolean;
            disable_tls_verify?: null | string;
            disable_xformers: boolean;
            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;
            force_upcast_attention: boolean;
            forge_ref_a1111_home?: null | string;
            freeze_settings: boolean;
            freeze_settings_in_sections?: null | string;
            freeze_specific_settings?: null | string;
            gfpgan_dir: string;
            gfpgan_model?: null | string;
            gfpgan_models_path: string;
            gpu_device_id?: null | string;
            gradio_allowed_path: unknown[];
            gradio_auth?: null | string;
            gradio_auth_path?: null | string;
            gradio_debug: boolean;
            gradio_img2img_tool?: null | string;
            gradio_inpaint_tool?: null | string;
            gradio_queue: boolean;
            hide_ui_dir_config: boolean;
            hypernetwork_dir: string;
            listen: boolean;
            localizations_dir: string;
            log_startup: boolean;
            loglevel?: null | string;
            lora_dir: string;
            lowram: boolean;
            lowvram: boolean;
            lyco_dir_backcompat: string;
            max_batch_count: number;
            medvram: boolean;
            medvram_sdxl: boolean;
            models_dir?: null | string;
            ngrok?: null | string;
            ngrok_options: Record<string, never>;
            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;
            pin_shared_memory: boolean;
            port?: null | string;
            precision: string;
            pytorch_deterministic: boolean;
            realesrgan_models_path: string;
            reinstall_torch: boolean;
            reinstall_xformers: boolean;
            scunet_models_path: string;
            server_name?: null | string;
            share: boolean;
            show_negative_prompt: boolean;
            skip_google_blockly: 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: unknown[];
            sub_quad_chunk_threshold?: null | string;
            sub_quad_kv_chunk_size?: null | string;
            sub_quad_q_chunk_size: number;
            subpath?: null | string;
            swinir_models_path: string;
            test_server: boolean;
            text_encoder_dir?: null | string;
            textual_inversion_templates_dir: string;
            theme?: null | string;
            timeout_keep_alive: number;
            tls_certfile?: null | string;
            tls_keyfile?: null | string;
            ui_config_file: string;
            ui_debug_mode: boolean;
            ui_settings_file: string;
            unet_in_bf16: boolean;
            unet_in_fp16: boolean;
            unet_in_fp8_e4m3fn: boolean;
            unet_in_fp8_e5m2: boolean;
            unix_filenames_sanitization: boolean;
            unload_gfpgan: boolean;
            upcast_sampling: boolean;
            update_all_extensions: boolean;
            update_check: boolean;
            use_cpu: unknown[];
            use_ipex: boolean;
            use_textbox_seed: boolean;
            vae_dir?: null | string;
            vae_in_bf16: boolean;
            vae_in_cpu: boolean;
            vae_in_fp16: boolean;
            vae_in_fp32: boolean;
            vae_path?: null | string;
            xformers: boolean;
            xformers_flash_attention: boolean;
        };
        GeninfoBatchReq: { paths: string[] };
        HTTPValidationError: {
            detail?: { loc: (string | number)[]; msg: string; type: string }[];
        };
        HypernetworkItem: { name: string; path: null
        | string };
        ImageToImageResponse: {
            images?: null | string[];
            info: string;
            parameters: Record<string, never>;
        };
        InterrogateRequest: { image: string; model: string };
        LatentUpscalerModeItem: { name: string };
        MatchImagesByTagsReq: {
            and_tags: number[];
            cursor: string;
            folder_paths?: string[];
            not_tags: number[];
            or_tags: number[];
            size: null | number;
        };
        MemoryResponse: {
            cuda: Record<string, never>;
            ram: Record<string, never>;
        };
        modules__api__models__ProgressResponse: {
            current_image?: null
            | string;
            eta_relative: number;
            progress: number;
            state: Record<string, never>;
            textinfo?: null | string;
        };
        modules__progress__ProgressResponse: {
            active: boolean;
            completed: boolean;
            eta?: null
            | number;
            id_live_preview?: null | number;
            live_preview?: null | string;
            progress?: null | number;
            queued: boolean;
            textinfo?: null | string;
        };
        MoveFilesReq: {
            create_dest_folder: null
            | boolean;
            dest: string;
            file_paths: string[];
        };
        OpenFolderReq: { path: string };
        Options: {
            add_model_hash_to_info: null | boolean;
            add_model_name_to_info: null | boolean;
            add_user_name_to_info: unknown;
            add_vae_hash_to_info: null | boolean;
            add_vae_name_to_info: null | boolean;
            add_version_to_infotext: null | boolean;
            always_discard_next_to_last_sigma: unknown;
            api_enable_requests: null | boolean;
            api_forbid_local_requests: null | boolean;
            api_useragent: unknown;
            auto_backcompat: null | boolean;
            auto_launch_browser: null | string;
            auto_vae_precision: null | boolean;
            auto_vae_precision_bfloat16: unknown;
            batch_cond_uncond: null | boolean;
            beta_dist_alpha: null | number;
            beta_dist_beta: null | number;
            cache_fp16_weight: unknown;
            clean_temp_dir_at_start: unknown;
            CLIP_stop_at_last_layers: null | number;
            code_former_weight: null | number;
            comma_padding_backtrack: null | number;
            compact_prompt_box: unknown;
            cross_attention_optimization: null | string;
            dat_enabled_models: null | unknown[];
            DAT_tile: null | number;
            DAT_tile_overlap: null | number;
            dataset_filename_join_string: null | string;
            dataset_filename_word_regex: unknown;
            ddim_discretize: null | string;
            deepbooru_escape: null | boolean;
            deepbooru_filter_tags: unknown;
            deepbooru_sort_alpha: null | boolean;
            deepbooru_use_spaces: null | boolean;
            dimensions_and_batch_together: null | boolean;
            directories_filename_pattern: null | string;
            directories_max_prompt_words: null | number;
            disable_all_extensions: null | string;
            disable_mmap_load_safetensors: unknown;
            disable_token_counters: unknown;
            disable_weights_auto_swap: null | boolean;
            disabled_extensions: unknown;
            do_not_show_images: unknown;
            dump_stacks_on_signal: unknown;
            emphasis: null | string;
            enable_batch_seeds: null | boolean;
            enable_console_prompts: unknown;
            enable_pnginfo: null | boolean;
            enable_prompt_comments: null | boolean;
            enable_quantization: unknown;
            enable_reloading_ui_scripts: unknown;
            enable_upscale_progressbar: null | boolean;
            ESRGAN_tile: null | number;
            ESRGAN_tile_overlap: null | number;
            eta_ancestral: null | number;
            eta_ddim: unknown;
            eta_noise_seed_delta: unknown;
            export_for_4chan: null | boolean;
            extra_networks_add_text_separator: null | string;
            extra_networks_card_description_is_html: unknown;
            extra_networks_card_height: unknown;
            extra_networks_card_order: null | string;
            extra_networks_card_order_field: null | string;
            extra_networks_card_show_desc: null | boolean;
            extra_networks_card_text_scale: null | number;
            extra_networks_card_width: unknown;
            extra_networks_default_multiplier: null | number;
            extra_networks_dir_button_function: unknown;
            extra_networks_hidden_models: null | string;
            extra_networks_show_hidden_directories: null | boolean;
            extra_networks_tree_view_default_enabled: null | boolean;
            extra_networks_tree_view_default_width: null | number;
            extra_networks_tree_view_style: null | string;
            extra_options_accordion: unknown;
            extra_options_cols: null | number;
            extra_options_img2img: unknown;
            extra_options_txt2img: unknown;
            face_restoration: unknown;
            face_restoration_model: null | string;
            face_restoration_unload: unknown;
            flux_GPU_MB: null | number;
            flux_i2i_cfg: null | number;
            flux_i2i_d_cfg: null | number;
            flux_i2i_height: null | number;
            flux_i2i_width: null | number;
            flux_t2i_cfg: null | number;
            flux_t2i_d_cfg: null | number;
            flux_t2i_height: null | number;
            flux_t2i_hr_cfg: null | number;
            flux_t2i_hr_d_cfg: null | number;
            flux_t2i_width: null | number;
            font: unknown;
            forge_additional_modules: unknown;
            forge_async_loading: null | string;
            forge_canvas_plain: unknown;
            forge_canvas_toolbar_always: unknown;
            forge_inference_memory: null | number;
            forge_pin_shared_memory: null | string;
            forge_preset: null | string;
            forge_try_reproduce: null | string;
            forge_unet_storage_dtype: null | string;
            fp8_storage: null | string;
            gallery_height: unknown;
            gradio_theme: null | string;
            gradio_themes_cache: null | boolean;
            grid_background_color: null | string;
            grid_extended_filename: unknown;
            grid_format: null | string;
            grid_only_if_multiple: null | boolean;
            grid_prevent_empty_spots: unknown;
            grid_save: null | boolean;
            grid_save_to_dirs: null | boolean;
            grid_text_active_color: null | string;
            grid_text_inactive_color: null | string;
            grid_zip_filename_pattern: unknown;
            hidden_tabs: unknown;
            hide_ldm_prints: null | boolean;
            hide_samplers: unknown;
            hires_button_gallery_insert: unknown;
            hires_fix_refiner_pass: null | string;
            hires_fix_show_prompts: unknown;
            hires_fix_show_sampler: unknown;
            hires_fix_use_firstpass_conds: unknown;
            img_downscale_threshold: null | number;
            img_max_size_mp: null | number;
            img2img_autosize: unknown;
            img2img_background_color: null | string;
            img2img_batch_show_results_limit: null | number;
            img2img_batch_use_original_name: unknown;
            img2img_color_correction: unknown;
            img2img_extra_noise: unknown;
            img2img_fix_steps: unknown;
            img2img_inpaint_mask_brush_color: null | string;
            img2img_inpaint_mask_high_contrast: null | boolean;
            img2img_inpaint_mask_scribble_alpha: null | number;
            img2img_inpaint_sketch_default_brush_color: null | string;
            img2img_settings_accordion: unknown;
            img2img_sketch_default_brush_color: null | string;
            include_styles_into_token_counters: null | boolean;
            infotext_explanation: null | string;
            infotext_skip_pasting: unknown;
            infotext_styles: null | string;
            initial_noise_multiplier: null | number;
            inpainting_mask_weight: null | number;
            interrogate_clip_dict_limit: null | number;
            interrogate_clip_max_length: null | number;
            interrogate_clip_min_length: null | number;
            interrogate_clip_num_beams: null | number;
            interrogate_clip_skip_categories: unknown;
            interrogate_deepbooru_score_threshold: null | number;
            interrogate_keep_models_in_memory: unknown;
            interrogate_return_ranks: unknown;
            interrupt_after_current: null | boolean;
            jpeg_quality: null | number;
            js_live_preview_in_modal_lightbox: unknown;
            js_modal_lightbox: null | boolean;
            js_modal_lightbox_gamepad: unknown;
            js_modal_lightbox_gamepad_repeat: null | number;
            js_modal_lightbox_initially_zoomed: null | boolean;
            keyedit_delimiters: null | string;
            keyedit_delimiters_whitespace: null | unknown[];
            keyedit_move: null | boolean;
            keyedit_precision_attention: null | number;
            keyedit_precision_extra: null | number;
            list_hidden_files: null | boolean;
            live_preview_allow_lowvram_full: unknown;
            live_preview_content: null | string;
            live_preview_fast_interrupt: unknown;
            live_preview_refresh_period: null | number;
            live_previews_enable: null | boolean;
            live_previews_image_format: null | string;
            localization: null | string;
            memmon_poll_rate: null | number;
            multiple_tqdm: null | boolean;
            n_rows: null | number;
            no_dpmpp_sde_batch_determinism: unknown;
            notification_audio: null | boolean;
            notification_volume: null | number;
            open_dir_button_choice: null | string;
            outdir_extras_samples: null | string;
            outdir_grids: unknown;
            outdir_img2img_grids: null | string;
            outdir_img2img_samples: null | string;
            outdir_init_images: null | string;
            outdir_samples: unknown;
            outdir_save: null | string;
            outdir_txt2img_grids: null | string;
            outdir_txt2img_samples: null | string;
            overlay_inpaint: null | boolean;
            pad_cond_uncond: unknown;
            pad_cond_uncond_v0: unknown;
            persistent_cond_cache: null | boolean;
            pin_memory: unknown;
            postprocessing_disable_in_extras: unknown;
            postprocessing_enable_in_main_ui: unknown;
            postprocessing_existing_caption_action: null | string;
            postprocessing_operation_order: unknown;
            prevent_screen_sleep_during_generation: null | boolean;
            print_hypernet_extra: unknown;
            profiling_activities: null | unknown[];
            profiling_enable: unknown;
            profiling_explanation: null | string;
            profiling_filename: null | string;
            profiling_profile_memory: null | boolean;
            profiling_record_shapes: null | boolean;
            profiling_with_stack: null | boolean;
            quick_setting_list: unknown;
            randn_source: null | string;
            realesrgan_enabled_models: null | unknown[];
            refiner_switch_by_sample_steps: unknown;
            restore_config_state_file: unknown;
            return_grid: null | boolean;
            return_mask: unknown;
            return_mask_composite: unknown;
            rho: unknown;
            s_churn: unknown;
            s_min_uncond: unknown;
            s_min_uncond_all: unknown;
            s_noise: null | number;
            s_tmax: unknown;
            s_tmin: unknown;
            samplers_in_dropdown: null | boolean;
            samples_filename_pattern: unknown;
            samples_format: null | string;
            samples_log_stdout: unknown;
            samples_save: null | boolean;
            save_images_add_number: null | boolean;
            save_images_before_color_correction: unknown;
            save_images_before_face_restoration: unknown;
            save_images_before_highres_fix: unknown;
            save_images_replace_action: null | string;
            save_incomplete_images: unknown;
            save_init_img: unknown;
            save_mask: unknown;
            save_mask_composite: unknown;
            save_optimizer_state: unknown;
            save_selected_only: null | boolean;
            save_to_dirs: null | boolean;
            save_training_settings_to_txt: null | boolean;
            save_txt: unknown;
            save_write_log_csv: null | boolean;
            sd_checkpoint_cache: unknown;
            sd_checkpoint_dropdown_use_short: unknown;
            sd_checkpoint_hash: unknown;
            sd_checkpoints_keep_in_cpu: null | boolean;
            sd_checkpoints_limit: null | number;
            sd_hypernetwork: null | string;
            sd_i2i_cfg: null | number;
            sd_i2i_height: null | number;
            sd_i2i_width: null | number;
            sd_model_checkpoint?: unknown;
            sd_noise_schedule: null | string;
            sd_t2i_cfg: null | number;
            sd_t2i_height: null | number;
            sd_t2i_hr_cfg: null | number;
            sd_t2i_width: null | number;
            sd_unet: null | string;
            sd_vae: null | string;
            sd_vae_checkpoint_cache: unknown;
            sd_vae_decode_method: null | string;
            sd_vae_encode_method: null | string;
            sd_vae_explanation: null | string;
            sd_vae_overrides_per_model_preferences: null | boolean;
            sd_webui_modal_lightbox_icon_opacity: null | number;
            sd_webui_modal_lightbox_toolbar_opacity: null | number;
            sd3_enable_t5: unknown;
            sdxl_clip_l_skip: unknown;
            sdxl_crop_left: unknown;
            sdxl_crop_top: unknown;
            sdxl_refiner_high_aesthetic_score: null | number;
            sdxl_refiner_low_aesthetic_score: null | number;
            send_seed: null | boolean;
            send_size: null | boolean;
            set_scale_by_when_changing_upscaler: unknown;
            settings_in_ui: null | string;
            sgm_noise_multiplier: unknown;
            show_gradio_deprecation_warnings: null | boolean;
            show_progress_every_n_steps: null | number;
            show_progress_grid: null | boolean;
            show_progress_in_title: null | boolean;
            show_progress_type: null | string;
            show_progressbar: null | boolean;
            show_warnings: unknown;
            sigma_max: unknown;
            sigma_min: unknown;
            skip_early_cond: unknown;
            stealth_pnginfo_option: null | string;
            tabs_without_quick_settings_bar: null | unknown[];
            target_side_length: null | number;
            temp_dir: unknown;
            textual_inversion_add_hashes_to_infotext: null | boolean;
            textual_inversion_print_at_load: unknown;
            tiling: unknown;
            token_merging_ratio: unknown;
            token_merging_ratio_hr: unknown;
            token_merging_ratio_img2img: unknown;
            training_enable_tensorboard: unknown;
            training_image_repeats_per_epoch: null | number;
            training_tensorboard_flush_every: null | number;
            training_tensorboard_save_images: unknown;
            training_write_csv_every: null | number;
            training_xattention_optimizations: unknown;
            txt2img_settings_accordion: unknown;
            ui_extra_networks_tab_reorder: unknown;
            ui_reorder_list: unknown;
            ui_tab_order: unknown;
            uni_pc_lower_order_final: null | boolean;
            uni_pc_order: null | number;
            uni_pc_skip_type: null | string;
            uni_pc_variant: null | string;
            unload_models_when_training: unknown;
            upcast_attn: unknown;
            upscaler_for_img2img?: unknown;
            upscaling_max_images_in_cache: null | number;
            use_downcasted_alpha_bar: unknown;
            use_old_emphasis_implementation: unknown;
            use_old_hires_fix_width_height: unknown;
            use_old_karras_scheduler_sigmas: unknown;
            use_old_scheduling: unknown;
            use_original_name_batch: null | boolean;
            use_save_to_dirs_for_ui: unknown;
            use_upscaler_name_as_suffix: unknown;
            webp_lossless: unknown;
            xl_GPU_MB: null | number;
            xl_i2i_cfg: null | number;
            xl_i2i_height: null | number;
            xl_i2i_width: null | number;
            xl_t2i_cfg: null | number;
            xl_t2i_height: null | number;
            xl_t2i_hr_cfg: null | number;
            xl_t2i_width: null | number;
        };
        PackReq: { compress: boolean; pack_only: boolean; paths: string[] };
        PathsReq: { paths: string[] };
        PNGInfoRequest: { image: string };
        PNGInfoResponse: {
            info: string;
            items: Record<string, never>;
            parameters: Record<string, never>;
        };
        PredictBody: {
            batched?: boolean;
            data: Record<string, never>[];
            event_data?: Record<string, never>;
            event_id?: string;
            fn_index?: number;
            request?: Record<string, never>;
            session_hash?: string;
            simple_format?: boolean;
            trigger_id?: number;
        };
        ProgressRequest: {
            id_live_preview: number;
            id_task?: string;
            live_preview: boolean;
        };
        PromptStyleItem: {
            name: string;
            negative_prompt: null
            | string;
            prompt: null | string;
        };
        QuicksettingsHint: { label: string; name: string };
        RealesrganItem: {
            name: string;
            path: null | string;
            scale: null | number;
        };
        RemoveCustomTagFromReq: { img_id: number; tag_id: string };
        RemoveCustomTagReq: { tag_id: number };
        RenameFileReq: { name: string; path: string };
        ResetBody: { event_id: string };
        SamplerItem: {
            aliases: string[];
            name: string;
            options: Record<string, never>;
        };
        SchedulerItem: {
            aliases: null
            | string[];
            default_rho: null | number;
            label: string;
            name: string;
            need_inner_model: null | boolean;
        };
        ScriptArg: {
            choices?: null
            | string[];
            label?: null | string;
            maximum?: unknown;
            minimum?: unknown;
            step?: unknown;
            value?: unknown;
        };
        ScriptInfo: {
            args: {
                choices?: null
                | string[];
                label?: null | string;
                maximum?: unknown;
                minimum?: unknown;
                step?: unknown;
                value?: unknown;
            }[];
            is_alwayson?: null
            | boolean;
            is_img2img?: null | boolean;
            name?: null | string;
        };
        ScriptsList: { img2img?: null
        | unknown[]; txt2img?: null | unknown[] };
        SDModelItem: {
            config?: null | string;
            filename: string;
            hash: null | string;
            model_name: string;
            sha256: null | string;
            title: string;
        };
        SDModuleItem: { filename: string; model_name: string };
        SearchBySubstrReq: {
            cursor: string;
            folder_paths?: string[];
            path_only: null | boolean;
            regexp: string;
            size: null | number;
            surstr: string;
        };
        SetTargetFrameAsCoverReq: {
            base64_img: string;
            path: string;
            updated_time: string;
        };
        SimplePredictBody: { data: unknown[]; session_hash?: null
        | string };
        StableDiffusionProcessingImg2Img: {
            alwayson_scripts: Record<string, never>;
            batch_size: null | number;
            cfg_scale: null | number;
            comments?: null | Record<string, never>;
            denoising_strength: number;
            disable_extra_networks: null | boolean;
            distilled_cfg_scale: null | number;
            do_not_save_grid: null | boolean;
            do_not_save_samples: null | boolean;
            eta?: null | number;
            firstpass_image?: null | string;
            force_task_id?: null | string;
            height: null | number;
            hr_distilled_cfg: null | number;
            image_cfg_scale?: null | number;
            include_init_images: boolean;
            infotext?: null | string;
            init_images?: null | unknown[];
            initial_noise_multiplier?: null | number;
            inpaint_full_res: null | boolean;
            inpaint_full_res_padding: null | number;
            inpainting_fill: null | number;
            inpainting_mask_invert: null | number;
            latent_mask?: null | string;
            mask?: null | string;
            mask_blur?: null | number;
            mask_blur_x: null | number;
            mask_blur_y: null | number;
            mask_round: null | boolean;
            n_iter: null | number;
            negative_prompt: null | string;
            override_settings?: null | Record<string, never>;
            override_settings_restore_afterwards: null | boolean;
            prompt: null | string;
            refiner_checkpoint?: null | string;
            refiner_switch_at?: null | number;
            resize_mode: null | number;
            restore_faces?: null | boolean;
            s_churn?: null | number;
            s_min_uncond?: null | number;
            s_noise?: null | number;
            s_tmax?: null | number;
            s_tmin?: null | number;
            sampler_index: string;
            sampler_name?: null | string;
            save_images: boolean;
            scheduler?: null | string;
            script_args: unknown[];
            script_name?: null | string;
            seed: null | number;
            seed_resize_from_h: null | number;
            seed_resize_from_w: null | number;
            send_images: boolean;
            steps: null | number;
            styles?: null | string[];
            subseed: null | number;
            subseed_strength: null | number;
            tiling?: null | boolean;
            width: null | number;
        };
        StableDiffusionProcessingTxt2Img: {
            alwayson_scripts: Record<string, never>;
            batch_size: null | number;
            cfg_scale: null | number;
            comments?: null | Record<string, never>;
            denoising_strength?: null | number;
            disable_extra_networks: null | boolean;
            distilled_cfg_scale: null | number;
            do_not_save_grid: null | boolean;
            do_not_save_samples: null | boolean;
            enable_hr: null | boolean;
            eta?: null | number;
            firstpass_image?: null | string;
            firstphase_height: null | number;
            firstphase_width: null | number;
            force_task_id?: null | string;
            height: null | number;
            hr_additional_modules?: null | unknown[];
            hr_cfg: null | number;
            hr_checkpoint_name?: null | string;
            hr_distilled_cfg: null | number;
            hr_negative_prompt: null | string;
            hr_prompt: null | string;
            hr_resize_x: null | number;
            hr_resize_y: null | number;
            hr_sampler_name?: null | string;
            hr_scale: null | number;
            hr_scheduler?: null | string;
            hr_second_pass_steps: null | number;
            hr_upscaler?: null | string;
            infotext?: null | string;
            n_iter: null | number;
            negative_prompt: null | string;
            override_settings?: null | Record<string, never>;
            override_settings_restore_afterwards: null | boolean;
            prompt: null | string;
            refiner_checkpoint?: null | string;
            refiner_switch_at?: null | number;
            restore_faces?: null | boolean;
            s_churn?: null | number;
            s_min_uncond?: null | number;
            s_noise?: null | number;
            s_tmax?: null | number;
            s_tmin?: null | number;
            sampler_index: string;
            sampler_name?: null | string;
            save_images: boolean;
            scheduler?: null | string;
            script_args: unknown[];
            script_name?: null | string;
            seed: null | number;
            seed_resize_from_h: null | number;
            seed_resize_from_w: null | number;
            send_images: boolean;
            steps: null | number;
            styles?: null | string[];
            subseed: null | number;
            subseed_strength: null | number;
            tiling?: null | boolean;
            width: null | number;
        };
        TextToImageResponse: {
            images?: null
            | string[];
            info: string;
            parameters: Record<string, never>;
        };
        ToggleCustomTagToImgReq: { img_path: string; tag_id: number };
        UpdateTagReq: { color: string; id: number };
        UpscalerItem: {
            model_name: null | string;
            model_path: null | string;
            model_url: null | string;
            name: string;
            scale: null | number;
        };
        ValidationError: { loc: (string | number)[]; msg: string; type: string };
    };
}

Properties

headers: never
parameters: never
pathItems: never
requestBodies: never
responses: never
schemas: {
    AddCustomTagReq: { tag_name: string };
    AppFeSettingDelReq: { name: string };
    AppFeSettingReq: { name: string; value: string };
    BatchUpdateImageReq: {
        action: string;
        img_paths: string[];
        tag_id: number;
    };
    Body_detect_controlnet_detect_post: {
        controlnet_input_images: string[];
        controlnet_module: string;
        controlnet_processor_res: number;
        controlnet_threshold_a: number;
        controlnet_threshold_b: number;
    };
    Body_login_login__post: {
        client_id?: null
        | string;
        client_secret?: null | string;
        grant_type?: null | string;
        password: string;
        scope: string;
        username: string;
    };
    Body_login_login_post: {
        client_id?: null
        | string;
        client_secret?: null | string;
        grant_type?: null | string;
        password: string;
        scope: string;
        username: string;
    };
    CancelBody: { event_id: string; fn_index: number; session_hash: string };
    CheckPathExistsReq: { paths: string[] };
    CreateFoldersReq: { dest_folder: string };
    CreateResponse: { info: string };
    DeleteFilesReq: { file_paths: string[] };
    EmbeddingItem: {
        sd_checkpoint: null | string;
        sd_checkpoint_name: null | string;
        shape: number;
        step: null | number;
        vectors: number;
    };
    EmbeddingsResponse: {
        loaded: {
            [key: string]: {
                sd_checkpoint: null
                | string;
                sd_checkpoint_name: null | string;
                shape: number;
                step: null | number;
                vectors: number;
            };
        };
        skipped: {
            [key: string]: {
                sd_checkpoint: null
                | string;
                sd_checkpoint_name: null | string;
                shape: number;
                step: null | number;
                vectors: number;
            };
        };
    };
    EstimationMessage: {
        event_id?: null
        | string;
        msg: "estimation";
        queue_size: number;
        rank?: null | number;
        rank_eta?: null | number;
    };
    ExtensionItem: {
        branch: string;
        commit_date: number;
        commit_hash: string;
        enabled: boolean;
        name: string;
        remote: string;
        version: string;
    };
    ExtraPathAliasModel: { alias: string; path: string };
    ExtraPathModel: { path: string; types: string[] };
    ExtrasBatchImagesRequest: {
        codeformer_visibility: number;
        codeformer_weight: number;
        extras_upscaler_2_visibility: number;
        gfpgan_visibility: number;
        imageList: { data: string; name: string }[];
        resize_mode: 0 | 1;
        show_extras_results: boolean;
        upscale_first: boolean;
        upscaler_1: string;
        upscaler_2: string;
        upscaling_crop: boolean;
        upscaling_resize: number;
        upscaling_resize_h: number;
        upscaling_resize_w: number;
    };
    ExtrasBatchImagesResponse: { html_info: string; images: string[] };
    ExtrasSingleImageRequest: {
        codeformer_visibility: number;
        codeformer_weight: number;
        extras_upscaler_2_visibility: number;
        gfpgan_visibility: number;
        image: string;
        resize_mode: 0 | 1;
        show_extras_results: boolean;
        upscale_first: boolean;
        upscaler_1: string;
        upscaler_2: string;
        upscaling_crop: boolean;
        upscaling_resize: number;
        upscaling_resize_h: number;
        upscaling_resize_w: number;
    };
    ExtrasSingleImageResponse: { html_info: string; image?: null
    | string };
    FaceRestorerItem: { cmd_dir: null | string; name: string };
    FileData: { data: string; name: string };
    Flags: {
        add_stop_route: boolean;
        administrator: boolean;
        all_in_fp16: boolean;
        all_in_fp32: boolean;
        allow_code: boolean;
        always_batch_cond_uncond: boolean;
        always_cpu: boolean;
        always_gpu: boolean;
        always_high_vram: boolean;
        always_low_vram: boolean;
        always_no_vram: boolean;
        always_normal_vram: boolean;
        always_offload_from_vram: boolean;
        api: boolean;
        api_auth?: null | string;
        api_log: boolean;
        api_server_stop: boolean;
        attention_pytorch: boolean;
        attention_quad: boolean;
        attention_split: boolean;
        autolaunch: boolean;
        bsrgan_models_path: string;
        ckpt: string;
        ckpt_dir?: null | string;
        clip_in_fp16: boolean;
        clip_in_fp32: boolean;
        clip_in_fp8_e4m3fn: boolean;
        clip_in_fp8_e5m2: boolean;
        clip_models_path?: null | string;
        codeformer_models_path: string;
        config: string;
        controlnet_dir?: null | string;
        controlnet_loglevel: string;
        controlnet_preprocessor_models_dir?: null | string;
        controlnet_tracemalloc?: null | string;
        cors_allow_origins?: null | string;
        cors_allow_origins_regex?: null | string;
        cuda_malloc: boolean;
        cuda_stream: boolean;
        dat_models_path: string;
        data_dir: string;
        deepdanbooru: boolean;
        device_id?: null | string;
        directml?: null | string;
        disable_all_extensions: boolean;
        disable_attention_upcast: boolean;
        disable_console_progressbars: boolean;
        disable_extra_extensions: boolean;
        disable_gpu_warning: boolean;
        disable_ipex_hijack: boolean;
        disable_model_loading_ram_optimization: boolean;
        disable_nan_check: boolean;
        disable_opt_split_attention: boolean;
        disable_safe_unpickle: boolean;
        disable_tls_verify?: null | string;
        disable_xformers: boolean;
        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;
        force_upcast_attention: boolean;
        forge_ref_a1111_home?: null | string;
        freeze_settings: boolean;
        freeze_settings_in_sections?: null | string;
        freeze_specific_settings?: null | string;
        gfpgan_dir: string;
        gfpgan_model?: null | string;
        gfpgan_models_path: string;
        gpu_device_id?: null | string;
        gradio_allowed_path: unknown[];
        gradio_auth?: null | string;
        gradio_auth_path?: null | string;
        gradio_debug: boolean;
        gradio_img2img_tool?: null | string;
        gradio_inpaint_tool?: null | string;
        gradio_queue: boolean;
        hide_ui_dir_config: boolean;
        hypernetwork_dir: string;
        listen: boolean;
        localizations_dir: string;
        log_startup: boolean;
        loglevel?: null | string;
        lora_dir: string;
        lowram: boolean;
        lowvram: boolean;
        lyco_dir_backcompat: string;
        max_batch_count: number;
        medvram: boolean;
        medvram_sdxl: boolean;
        models_dir?: null | string;
        ngrok?: null | string;
        ngrok_options: Record<string, never>;
        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;
        pin_shared_memory: boolean;
        port?: null | string;
        precision: string;
        pytorch_deterministic: boolean;
        realesrgan_models_path: string;
        reinstall_torch: boolean;
        reinstall_xformers: boolean;
        scunet_models_path: string;
        server_name?: null | string;
        share: boolean;
        show_negative_prompt: boolean;
        skip_google_blockly: 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: unknown[];
        sub_quad_chunk_threshold?: null | string;
        sub_quad_kv_chunk_size?: null | string;
        sub_quad_q_chunk_size: number;
        subpath?: null | string;
        swinir_models_path: string;
        test_server: boolean;
        text_encoder_dir?: null | string;
        textual_inversion_templates_dir: string;
        theme?: null | string;
        timeout_keep_alive: number;
        tls_certfile?: null | string;
        tls_keyfile?: null | string;
        ui_config_file: string;
        ui_debug_mode: boolean;
        ui_settings_file: string;
        unet_in_bf16: boolean;
        unet_in_fp16: boolean;
        unet_in_fp8_e4m3fn: boolean;
        unet_in_fp8_e5m2: boolean;
        unix_filenames_sanitization: boolean;
        unload_gfpgan: boolean;
        upcast_sampling: boolean;
        update_all_extensions: boolean;
        update_check: boolean;
        use_cpu: unknown[];
        use_ipex: boolean;
        use_textbox_seed: boolean;
        vae_dir?: null | string;
        vae_in_bf16: boolean;
        vae_in_cpu: boolean;
        vae_in_fp16: boolean;
        vae_in_fp32: boolean;
        vae_path?: null | string;
        xformers: boolean;
        xformers_flash_attention: boolean;
    };
    GeninfoBatchReq: { paths: string[] };
    HTTPValidationError: {
        detail?: { loc: (string | number)[]; msg: string; type: string }[];
    };
    HypernetworkItem: { name: string; path: null
    | string };
    ImageToImageResponse: {
        images?: null | string[];
        info: string;
        parameters: Record<string, never>;
    };
    InterrogateRequest: { image: string; model: string };
    LatentUpscalerModeItem: { name: string };
    MatchImagesByTagsReq: {
        and_tags: number[];
        cursor: string;
        folder_paths?: string[];
        not_tags: number[];
        or_tags: number[];
        size: null | number;
    };
    MemoryResponse: { cuda: Record<string, never>; ram: Record<string, never> };
    modules__api__models__ProgressResponse: {
        current_image?: null | string;
        eta_relative: number;
        progress: number;
        state: Record<string, never>;
        textinfo?: null | string;
    };
    modules__progress__ProgressResponse: {
        active: boolean;
        completed: boolean;
        eta?: null
        | number;
        id_live_preview?: null | number;
        live_preview?: null | string;
        progress?: null | number;
        queued: boolean;
        textinfo?: null | string;
    };
    MoveFilesReq: {
        create_dest_folder: null
        | boolean;
        dest: string;
        file_paths: string[];
    };
    OpenFolderReq: { path: string };
    Options: {
        add_model_hash_to_info: null | boolean;
        add_model_name_to_info: null | boolean;
        add_user_name_to_info: unknown;
        add_vae_hash_to_info: null | boolean;
        add_vae_name_to_info: null | boolean;
        add_version_to_infotext: null | boolean;
        always_discard_next_to_last_sigma: unknown;
        api_enable_requests: null | boolean;
        api_forbid_local_requests: null | boolean;
        api_useragent: unknown;
        auto_backcompat: null | boolean;
        auto_launch_browser: null | string;
        auto_vae_precision: null | boolean;
        auto_vae_precision_bfloat16: unknown;
        batch_cond_uncond: null | boolean;
        beta_dist_alpha: null | number;
        beta_dist_beta: null | number;
        cache_fp16_weight: unknown;
        clean_temp_dir_at_start: unknown;
        CLIP_stop_at_last_layers: null | number;
        code_former_weight: null | number;
        comma_padding_backtrack: null | number;
        compact_prompt_box: unknown;
        cross_attention_optimization: null | string;
        dat_enabled_models: null | unknown[];
        DAT_tile: null | number;
        DAT_tile_overlap: null | number;
        dataset_filename_join_string: null | string;
        dataset_filename_word_regex: unknown;
        ddim_discretize: null | string;
        deepbooru_escape: null | boolean;
        deepbooru_filter_tags: unknown;
        deepbooru_sort_alpha: null | boolean;
        deepbooru_use_spaces: null | boolean;
        dimensions_and_batch_together: null | boolean;
        directories_filename_pattern: null | string;
        directories_max_prompt_words: null | number;
        disable_all_extensions: null | string;
        disable_mmap_load_safetensors: unknown;
        disable_token_counters: unknown;
        disable_weights_auto_swap: null | boolean;
        disabled_extensions: unknown;
        do_not_show_images: unknown;
        dump_stacks_on_signal: unknown;
        emphasis: null | string;
        enable_batch_seeds: null | boolean;
        enable_console_prompts: unknown;
        enable_pnginfo: null | boolean;
        enable_prompt_comments: null | boolean;
        enable_quantization: unknown;
        enable_reloading_ui_scripts: unknown;
        enable_upscale_progressbar: null | boolean;
        ESRGAN_tile: null | number;
        ESRGAN_tile_overlap: null | number;
        eta_ancestral: null | number;
        eta_ddim: unknown;
        eta_noise_seed_delta: unknown;
        export_for_4chan: null | boolean;
        extra_networks_add_text_separator: null | string;
        extra_networks_card_description_is_html: unknown;
        extra_networks_card_height: unknown;
        extra_networks_card_order: null | string;
        extra_networks_card_order_field: null | string;
        extra_networks_card_show_desc: null | boolean;
        extra_networks_card_text_scale: null | number;
        extra_networks_card_width: unknown;
        extra_networks_default_multiplier: null | number;
        extra_networks_dir_button_function: unknown;
        extra_networks_hidden_models: null | string;
        extra_networks_show_hidden_directories: null | boolean;
        extra_networks_tree_view_default_enabled: null | boolean;
        extra_networks_tree_view_default_width: null | number;
        extra_networks_tree_view_style: null | string;
        extra_options_accordion: unknown;
        extra_options_cols: null | number;
        extra_options_img2img: unknown;
        extra_options_txt2img: unknown;
        face_restoration: unknown;
        face_restoration_model: null | string;
        face_restoration_unload: unknown;
        flux_GPU_MB: null | number;
        flux_i2i_cfg: null | number;
        flux_i2i_d_cfg: null | number;
        flux_i2i_height: null | number;
        flux_i2i_width: null | number;
        flux_t2i_cfg: null | number;
        flux_t2i_d_cfg: null | number;
        flux_t2i_height: null | number;
        flux_t2i_hr_cfg: null | number;
        flux_t2i_hr_d_cfg: null | number;
        flux_t2i_width: null | number;
        font: unknown;
        forge_additional_modules: unknown;
        forge_async_loading: null | string;
        forge_canvas_plain: unknown;
        forge_canvas_toolbar_always: unknown;
        forge_inference_memory: null | number;
        forge_pin_shared_memory: null | string;
        forge_preset: null | string;
        forge_try_reproduce: null | string;
        forge_unet_storage_dtype: null | string;
        fp8_storage: null | string;
        gallery_height: unknown;
        gradio_theme: null | string;
        gradio_themes_cache: null | boolean;
        grid_background_color: null | string;
        grid_extended_filename: unknown;
        grid_format: null | string;
        grid_only_if_multiple: null | boolean;
        grid_prevent_empty_spots: unknown;
        grid_save: null | boolean;
        grid_save_to_dirs: null | boolean;
        grid_text_active_color: null | string;
        grid_text_inactive_color: null | string;
        grid_zip_filename_pattern: unknown;
        hidden_tabs: unknown;
        hide_ldm_prints: null | boolean;
        hide_samplers: unknown;
        hires_button_gallery_insert: unknown;
        hires_fix_refiner_pass: null | string;
        hires_fix_show_prompts: unknown;
        hires_fix_show_sampler: unknown;
        hires_fix_use_firstpass_conds: unknown;
        img_downscale_threshold: null | number;
        img_max_size_mp: null | number;
        img2img_autosize: unknown;
        img2img_background_color: null | string;
        img2img_batch_show_results_limit: null | number;
        img2img_batch_use_original_name: unknown;
        img2img_color_correction: unknown;
        img2img_extra_noise: unknown;
        img2img_fix_steps: unknown;
        img2img_inpaint_mask_brush_color: null | string;
        img2img_inpaint_mask_high_contrast: null | boolean;
        img2img_inpaint_mask_scribble_alpha: null | number;
        img2img_inpaint_sketch_default_brush_color: null | string;
        img2img_settings_accordion: unknown;
        img2img_sketch_default_brush_color: null | string;
        include_styles_into_token_counters: null | boolean;
        infotext_explanation: null | string;
        infotext_skip_pasting: unknown;
        infotext_styles: null | string;
        initial_noise_multiplier: null | number;
        inpainting_mask_weight: null | number;
        interrogate_clip_dict_limit: null | number;
        interrogate_clip_max_length: null | number;
        interrogate_clip_min_length: null | number;
        interrogate_clip_num_beams: null | number;
        interrogate_clip_skip_categories: unknown;
        interrogate_deepbooru_score_threshold: null | number;
        interrogate_keep_models_in_memory: unknown;
        interrogate_return_ranks: unknown;
        interrupt_after_current: null | boolean;
        jpeg_quality: null | number;
        js_live_preview_in_modal_lightbox: unknown;
        js_modal_lightbox: null | boolean;
        js_modal_lightbox_gamepad: unknown;
        js_modal_lightbox_gamepad_repeat: null | number;
        js_modal_lightbox_initially_zoomed: null | boolean;
        keyedit_delimiters: null | string;
        keyedit_delimiters_whitespace: null | unknown[];
        keyedit_move: null | boolean;
        keyedit_precision_attention: null | number;
        keyedit_precision_extra: null | number;
        list_hidden_files: null | boolean;
        live_preview_allow_lowvram_full: unknown;
        live_preview_content: null | string;
        live_preview_fast_interrupt: unknown;
        live_preview_refresh_period: null | number;
        live_previews_enable: null | boolean;
        live_previews_image_format: null | string;
        localization: null | string;
        memmon_poll_rate: null | number;
        multiple_tqdm: null | boolean;
        n_rows: null | number;
        no_dpmpp_sde_batch_determinism: unknown;
        notification_audio: null | boolean;
        notification_volume: null | number;
        open_dir_button_choice: null | string;
        outdir_extras_samples: null | string;
        outdir_grids: unknown;
        outdir_img2img_grids: null | string;
        outdir_img2img_samples: null | string;
        outdir_init_images: null | string;
        outdir_samples: unknown;
        outdir_save: null | string;
        outdir_txt2img_grids: null | string;
        outdir_txt2img_samples: null | string;
        overlay_inpaint: null | boolean;
        pad_cond_uncond: unknown;
        pad_cond_uncond_v0: unknown;
        persistent_cond_cache: null | boolean;
        pin_memory: unknown;
        postprocessing_disable_in_extras: unknown;
        postprocessing_enable_in_main_ui: unknown;
        postprocessing_existing_caption_action: null | string;
        postprocessing_operation_order: unknown;
        prevent_screen_sleep_during_generation: null | boolean;
        print_hypernet_extra: unknown;
        profiling_activities: null | unknown[];
        profiling_enable: unknown;
        profiling_explanation: null | string;
        profiling_filename: null | string;
        profiling_profile_memory: null | boolean;
        profiling_record_shapes: null | boolean;
        profiling_with_stack: null | boolean;
        quick_setting_list: unknown;
        randn_source: null | string;
        realesrgan_enabled_models: null | unknown[];
        refiner_switch_by_sample_steps: unknown;
        restore_config_state_file: unknown;
        return_grid: null | boolean;
        return_mask: unknown;
        return_mask_composite: unknown;
        rho: unknown;
        s_churn: unknown;
        s_min_uncond: unknown;
        s_min_uncond_all: unknown;
        s_noise: null | number;
        s_tmax: unknown;
        s_tmin: unknown;
        samplers_in_dropdown: null | boolean;
        samples_filename_pattern: unknown;
        samples_format: null | string;
        samples_log_stdout: unknown;
        samples_save: null | boolean;
        save_images_add_number: null | boolean;
        save_images_before_color_correction: unknown;
        save_images_before_face_restoration: unknown;
        save_images_before_highres_fix: unknown;
        save_images_replace_action: null | string;
        save_incomplete_images: unknown;
        save_init_img: unknown;
        save_mask: unknown;
        save_mask_composite: unknown;
        save_optimizer_state: unknown;
        save_selected_only: null | boolean;
        save_to_dirs: null | boolean;
        save_training_settings_to_txt: null | boolean;
        save_txt: unknown;
        save_write_log_csv: null | boolean;
        sd_checkpoint_cache: unknown;
        sd_checkpoint_dropdown_use_short: unknown;
        sd_checkpoint_hash: unknown;
        sd_checkpoints_keep_in_cpu: null | boolean;
        sd_checkpoints_limit: null | number;
        sd_hypernetwork: null | string;
        sd_i2i_cfg: null | number;
        sd_i2i_height: null | number;
        sd_i2i_width: null | number;
        sd_model_checkpoint?: unknown;
        sd_noise_schedule: null | string;
        sd_t2i_cfg: null | number;
        sd_t2i_height: null | number;
        sd_t2i_hr_cfg: null | number;
        sd_t2i_width: null | number;
        sd_unet: null | string;
        sd_vae: null | string;
        sd_vae_checkpoint_cache: unknown;
        sd_vae_decode_method: null | string;
        sd_vae_encode_method: null | string;
        sd_vae_explanation: null | string;
        sd_vae_overrides_per_model_preferences: null | boolean;
        sd_webui_modal_lightbox_icon_opacity: null | number;
        sd_webui_modal_lightbox_toolbar_opacity: null | number;
        sd3_enable_t5: unknown;
        sdxl_clip_l_skip: unknown;
        sdxl_crop_left: unknown;
        sdxl_crop_top: unknown;
        sdxl_refiner_high_aesthetic_score: null | number;
        sdxl_refiner_low_aesthetic_score: null | number;
        send_seed: null | boolean;
        send_size: null | boolean;
        set_scale_by_when_changing_upscaler: unknown;
        settings_in_ui: null | string;
        sgm_noise_multiplier: unknown;
        show_gradio_deprecation_warnings: null | boolean;
        show_progress_every_n_steps: null | number;
        show_progress_grid: null | boolean;
        show_progress_in_title: null | boolean;
        show_progress_type: null | string;
        show_progressbar: null | boolean;
        show_warnings: unknown;
        sigma_max: unknown;
        sigma_min: unknown;
        skip_early_cond: unknown;
        stealth_pnginfo_option: null | string;
        tabs_without_quick_settings_bar: null | unknown[];
        target_side_length: null | number;
        temp_dir: unknown;
        textual_inversion_add_hashes_to_infotext: null | boolean;
        textual_inversion_print_at_load: unknown;
        tiling: unknown;
        token_merging_ratio: unknown;
        token_merging_ratio_hr: unknown;
        token_merging_ratio_img2img: unknown;
        training_enable_tensorboard: unknown;
        training_image_repeats_per_epoch: null | number;
        training_tensorboard_flush_every: null | number;
        training_tensorboard_save_images: unknown;
        training_write_csv_every: null | number;
        training_xattention_optimizations: unknown;
        txt2img_settings_accordion: unknown;
        ui_extra_networks_tab_reorder: unknown;
        ui_reorder_list: unknown;
        ui_tab_order: unknown;
        uni_pc_lower_order_final: null | boolean;
        uni_pc_order: null | number;
        uni_pc_skip_type: null | string;
        uni_pc_variant: null | string;
        unload_models_when_training: unknown;
        upcast_attn: unknown;
        upscaler_for_img2img?: unknown;
        upscaling_max_images_in_cache: null | number;
        use_downcasted_alpha_bar: unknown;
        use_old_emphasis_implementation: unknown;
        use_old_hires_fix_width_height: unknown;
        use_old_karras_scheduler_sigmas: unknown;
        use_old_scheduling: unknown;
        use_original_name_batch: null | boolean;
        use_save_to_dirs_for_ui: unknown;
        use_upscaler_name_as_suffix: unknown;
        webp_lossless: unknown;
        xl_GPU_MB: null | number;
        xl_i2i_cfg: null | number;
        xl_i2i_height: null | number;
        xl_i2i_width: null | number;
        xl_t2i_cfg: null | number;
        xl_t2i_height: null | number;
        xl_t2i_hr_cfg: null | number;
        xl_t2i_width: null | number;
    };
    PackReq: { compress: boolean; pack_only: boolean; paths: string[] };
    PathsReq: { paths: string[] };
    PNGInfoRequest: { image: string };
    PNGInfoResponse: {
        info: string;
        items: Record<string, never>;
        parameters: Record<string, never>;
    };
    PredictBody: {
        batched?: boolean;
        data: Record<string, never>[];
        event_data?: Record<string, never>;
        event_id?: string;
        fn_index?: number;
        request?: Record<string, never>;
        session_hash?: string;
        simple_format?: boolean;
        trigger_id?: number;
    };
    ProgressRequest: {
        id_live_preview: number;
        id_task?: string;
        live_preview: boolean;
    };
    PromptStyleItem: {
        name: string;
        negative_prompt: null
        | string;
        prompt: null | string;
    };
    QuicksettingsHint: { label: string; name: string };
    RealesrganItem: { name: string; path: null | string; scale: null | number };
    RemoveCustomTagFromReq: { img_id: number; tag_id: string };
    RemoveCustomTagReq: { tag_id: number };
    RenameFileReq: { name: string; path: string };
    ResetBody: { event_id: string };
    SamplerItem: {
        aliases: string[];
        name: string;
        options: Record<string, never>;
    };
    SchedulerItem: {
        aliases: null
        | string[];
        default_rho: null | number;
        label: string;
        name: string;
        need_inner_model: null | boolean;
    };
    ScriptArg: {
        choices?: null
        | string[];
        label?: null | string;
        maximum?: unknown;
        minimum?: unknown;
        step?: unknown;
        value?: unknown;
    };
    ScriptInfo: {
        args: {
            choices?: null
            | string[];
            label?: null | string;
            maximum?: unknown;
            minimum?: unknown;
            step?: unknown;
            value?: unknown;
        }[];
        is_alwayson?: null
        | boolean;
        is_img2img?: null | boolean;
        name?: null | string;
    };
    ScriptsList: { img2img?: null
    | unknown[]; txt2img?: null | unknown[] };
    SDModelItem: {
        config?: null | string;
        filename: string;
        hash: null | string;
        model_name: string;
        sha256: null | string;
        title: string;
    };
    SDModuleItem: { filename: string; model_name: string };
    SearchBySubstrReq: {
        cursor: string;
        folder_paths?: string[];
        path_only: null | boolean;
        regexp: string;
        size: null | number;
        surstr: string;
    };
    SetTargetFrameAsCoverReq: {
        base64_img: string;
        path: string;
        updated_time: string;
    };
    SimplePredictBody: { data: unknown[]; session_hash?: null
    | string };
    StableDiffusionProcessingImg2Img: {
        alwayson_scripts: Record<string, never>;
        batch_size: null | number;
        cfg_scale: null | number;
        comments?: null | Record<string, never>;
        denoising_strength: number;
        disable_extra_networks: null | boolean;
        distilled_cfg_scale: null | number;
        do_not_save_grid: null | boolean;
        do_not_save_samples: null | boolean;
        eta?: null | number;
        firstpass_image?: null | string;
        force_task_id?: null | string;
        height: null | number;
        hr_distilled_cfg: null | number;
        image_cfg_scale?: null | number;
        include_init_images: boolean;
        infotext?: null | string;
        init_images?: null | unknown[];
        initial_noise_multiplier?: null | number;
        inpaint_full_res: null | boolean;
        inpaint_full_res_padding: null | number;
        inpainting_fill: null | number;
        inpainting_mask_invert: null | number;
        latent_mask?: null | string;
        mask?: null | string;
        mask_blur?: null | number;
        mask_blur_x: null | number;
        mask_blur_y: null | number;
        mask_round: null | boolean;
        n_iter: null | number;
        negative_prompt: null | string;
        override_settings?: null | Record<string, never>;
        override_settings_restore_afterwards: null | boolean;
        prompt: null | string;
        refiner_checkpoint?: null | string;
        refiner_switch_at?: null | number;
        resize_mode: null | number;
        restore_faces?: null | boolean;
        s_churn?: null | number;
        s_min_uncond?: null | number;
        s_noise?: null | number;
        s_tmax?: null | number;
        s_tmin?: null | number;
        sampler_index: string;
        sampler_name?: null | string;
        save_images: boolean;
        scheduler?: null | string;
        script_args: unknown[];
        script_name?: null | string;
        seed: null | number;
        seed_resize_from_h: null | number;
        seed_resize_from_w: null | number;
        send_images: boolean;
        steps: null | number;
        styles?: null | string[];
        subseed: null | number;
        subseed_strength: null | number;
        tiling?: null | boolean;
        width: null | number;
    };
    StableDiffusionProcessingTxt2Img: {
        alwayson_scripts: Record<string, never>;
        batch_size: null | number;
        cfg_scale: null | number;
        comments?: null | Record<string, never>;
        denoising_strength?: null | number;
        disable_extra_networks: null | boolean;
        distilled_cfg_scale: null | number;
        do_not_save_grid: null | boolean;
        do_not_save_samples: null | boolean;
        enable_hr: null | boolean;
        eta?: null | number;
        firstpass_image?: null | string;
        firstphase_height: null | number;
        firstphase_width: null | number;
        force_task_id?: null | string;
        height: null | number;
        hr_additional_modules?: null | unknown[];
        hr_cfg: null | number;
        hr_checkpoint_name?: null | string;
        hr_distilled_cfg: null | number;
        hr_negative_prompt: null | string;
        hr_prompt: null | string;
        hr_resize_x: null | number;
        hr_resize_y: null | number;
        hr_sampler_name?: null | string;
        hr_scale: null | number;
        hr_scheduler?: null | string;
        hr_second_pass_steps: null | number;
        hr_upscaler?: null | string;
        infotext?: null | string;
        n_iter: null | number;
        negative_prompt: null | string;
        override_settings?: null | Record<string, never>;
        override_settings_restore_afterwards: null | boolean;
        prompt: null | string;
        refiner_checkpoint?: null | string;
        refiner_switch_at?: null | number;
        restore_faces?: null | boolean;
        s_churn?: null | number;
        s_min_uncond?: null | number;
        s_noise?: null | number;
        s_tmax?: null | number;
        s_tmin?: null | number;
        sampler_index: string;
        sampler_name?: null | string;
        save_images: boolean;
        scheduler?: null | string;
        script_args: unknown[];
        script_name?: null | string;
        seed: null | number;
        seed_resize_from_h: null | number;
        seed_resize_from_w: null | number;
        send_images: boolean;
        steps: null | number;
        styles?: null | string[];
        subseed: null | number;
        subseed_strength: null | number;
        tiling?: null | boolean;
        width: null | number;
    };
    TextToImageResponse: {
        images?: null
        | string[];
        info: string;
        parameters: Record<string, never>;
    };
    ToggleCustomTagToImgReq: { img_path: string; tag_id: number };
    UpdateTagReq: { color: string; id: number };
    UpscalerItem: {
        model_name: null | string;
        model_path: null | string;
        model_url: null | string;
        name: string;
        scale: null | number;
    };
    ValidationError: { loc: (string | number)[]; msg: string; type: string };
}

Type declaration

  • AddCustomTagReq: { tag_name: string }

    AddCustomTagReq

    • tag_name: string

      Tag Name

  • AppFeSettingDelReq: { name: string }

    AppFeSettingDelReq

    • name: string

      Name

  • AppFeSettingReq: { name: string; value: string }

    AppFeSettingReq

    • name: string

      Name

    • value: string

      Value

  • BatchUpdateImageReq: { action: string; img_paths: string[]; tag_id: number }

    BatchUpdateImageReq

    • action: string

      Action

    • img_paths: string[]

      Img Paths

    • tag_id: number

      Tag Id

  • Body_detect_controlnet_detect_post: {
        controlnet_input_images: string[];
        controlnet_module: string;
        controlnet_processor_res: number;
        controlnet_threshold_a: number;
        controlnet_threshold_b: number;
    }

    Body_detect_controlnet_detect_post

    • controlnet_input_images: string[]

      Controlnet Input Images

      []
      
    • controlnet_module: string

      Controlnet Module

      none
      
    • controlnet_processor_res: number

      Controlnet Processor Resolution

      512
      
    • controlnet_threshold_a: number

      Controlnet Threshold a

      64
      
    • controlnet_threshold_b: number

      Controlnet Threshold b

      64
      
  • Body_login_login__post: {
        client_id?: null | string;
        client_secret?: null | string;
        grant_type?: null | string;
        password: string;
        scope: string;
        username: string;
    }

    Body_login_login__post

    • Optionalclient_id?: null | string

      Client Id

    • Optionalclient_secret?: null | string

      Client Secret

    • Optionalgrant_type?: null | string

      Grant Type

    • password: string

      Password

    • scope: string

      Scope

      
      
    • username: string

      Username

  • Body_login_login_post: {
        client_id?: null | string;
        client_secret?: null | string;
        grant_type?: null | string;
        password: string;
        scope: string;
        username: string;
    }

    Body_login_login_post

    • Optionalclient_id?: null | string

      Client Id

    • Optionalclient_secret?: null | string

      Client Secret

    • Optionalgrant_type?: null | string

      Grant Type

    • password: string

      Password

    • scope: string

      Scope

      
      
    • username: string

      Username

  • CancelBody: { event_id: string; fn_index: number; session_hash: string }

    CancelBody

    • event_id: string

      Event Id

    • fn_index: number

      Fn Index

    • session_hash: string

      Session Hash

  • CheckPathExistsReq: { paths: string[] }

    CheckPathExistsReq

    • paths: string[]

      Paths

  • CreateFoldersReq: { dest_folder: string }

    CreateFoldersReq

    • dest_folder: string

      Dest Folder

  • CreateResponse: { info: string }

    CreateResponse

    • info: string

      Create info

      Response string from create embedding or hypernetwork task.

  • DeleteFilesReq: { file_paths: string[] }

    DeleteFilesReq

    • file_paths: string[]

      File Paths

  • EmbeddingItem: {
        sd_checkpoint: null | string;
        sd_checkpoint_name: null | string;
        shape: number;
        step: null | number;
        vectors: number;
    }

    EmbeddingItem

    • sd_checkpoint: null | string

      SD Checkpoint

      The hash of the checkpoint this embedding was trained on, if available

    • sd_checkpoint_name: null | string

      SD Checkpoint Name

      The name of the checkpoint this embedding was trained on, if available. Note that this is the name that was used by the trainer; for a stable identifier, use sd_checkpoint instead

    • shape: number

      Shape

      The length of each individual vector in the embedding

    • step: null | number

      Step

      The number of steps that were used to train this embedding, if available

    • vectors: number

      Vectors

      The number of vectors in the embedding

  • EmbeddingsResponse: {
        loaded: {
            [key: string]: {
                sd_checkpoint: null | string;
                sd_checkpoint_name: null | string;
                shape: number;
                step: null | number;
                vectors: number;
            };
        };
        skipped: {
            [key: string]: {
                sd_checkpoint: null
                | string;
                sd_checkpoint_name: null | string;
                shape: number;
                step: null | number;
                vectors: number;
            };
        };
    }

    EmbeddingsResponse

    • loaded: {
          [key: string]: {
              sd_checkpoint: null | string;
              sd_checkpoint_name: null | string;
              shape: number;
              step: null | number;
              vectors: number;
          };
      }

      Loaded

      Embeddings loaded for the current model

    • skipped: {
          [key: string]: {
              sd_checkpoint: null | string;
              sd_checkpoint_name: null | string;
              shape: number;
              step: null | number;
              vectors: number;
          };
      }

      Skipped

      Embeddings skipped for the current model (likely due to architecture incompatibility)

  • EstimationMessage: {
        event_id?: null | string;
        msg: "estimation";
        queue_size: number;
        rank?: null | number;
        rank_eta?: null | number;
    }

    EstimationMessage

    • Optionalevent_id?: null | string

      Event Id

    • msg: "estimation"

      Msg

      estimation
      
    • queue_size: number

      Queue Size

    • Optionalrank?: null | number

      Rank

    • Optionalrank_eta?: null | number

      Rank Eta

  • ExtensionItem: {
        branch: string;
        commit_date: number;
        commit_hash: string;
        enabled: boolean;
        name: string;
        remote: string;
        version: string;
    }

    ExtensionItem

    • branch: string

      Branch

      Extension Repository Branch

    • commit_date: number

      Commit Date

      Extension Repository Commit Date

    • commit_hash: string

      Commit Hash

      Extension Repository Commit Hash

    • enabled: boolean

      Enabled

      Flag specifying whether this extension is enabled

    • name: string

      Name

      Extension name

    • remote: string

      Remote

      Extension Repository URL

    • version: string

      Version

      Extension Version

  • ExtraPathAliasModel: { alias: string; path: string }

    ExtraPathAliasModel

    • alias: string

      Alias

    • path: string

      Path

  • ExtraPathModel: { path: string; types: string[] }

    ExtraPathModel

    • path: string

      Path

    • types: string[]

      Types

  • ExtrasBatchImagesRequest: {
        codeformer_visibility: number;
        codeformer_weight: number;
        extras_upscaler_2_visibility: number;
        gfpgan_visibility: number;
        imageList: { data: string; name: string }[];
        resize_mode: 0 | 1;
        show_extras_results: boolean;
        upscale_first: boolean;
        upscaler_1: string;
        upscaler_2: string;
        upscaling_crop: boolean;
        upscaling_resize: number;
        upscaling_resize_h: number;
        upscaling_resize_w: number;
    }

    ExtrasBatchImagesRequest

    • codeformer_visibility: number

      CodeFormer Visibility

      Sets the visibility of CodeFormer, values should be between 0 and 1.

      0
      
    • codeformer_weight: number

      CodeFormer Weight

      Sets the weight of CodeFormer, values should be between 0 and 1.

      0
      
    • extras_upscaler_2_visibility: number

      Secondary upscaler visibility

      Sets the visibility of secondary upscaler, values should be between 0 and 1.

      0
      
    • gfpgan_visibility: number

      GFPGAN Visibility

      Sets the visibility of GFPGAN, values should be between 0 and 1.

      0
      
    • imageList: { data: string; name: string }[]

      Images

      List of images to work on. Must be Base64 strings

    • resize_mode: 0 | 1

      Resize Mode

      Sets the resize mode: 0 to upscale by upscaling_resize amount, 1 to upscale up to upscaling_resize_h x upscaling_resize_w.

      0
      @enum {integer}
    • show_extras_results: boolean

      Show results

      Should the backend return the generated image?

      true
      
    • upscale_first: boolean

      Upscale first

      Should the upscaler run before restoring faces?

      false
      
    • upscaler_1: string

      Main upscaler

      The name of the main upscaler to use, it has to be one of this list:

      None
      
    • upscaler_2: string

      Secondary upscaler

      The name of the secondary upscaler to use, it has to be one of this list:

      None
      
    • upscaling_crop: boolean

      Crop to fit

      Should the upscaler crop the image to fit in the chosen size?

      true
      
    • upscaling_resize: number

      Upscaling Factor

      By how much to upscale the image, only used when resize_mode=0.

      2
      
    • upscaling_resize_h: number

      Target Height

      Target height for the upscaler to hit. Only used when resize_mode=1.

      512
      
    • upscaling_resize_w: number

      Target Width

      Target width for the upscaler to hit. Only used when resize_mode=1.

      512
      
  • ExtrasBatchImagesResponse: { html_info: string; images: string[] }

    ExtrasBatchImagesResponse

    • html_info: string

      HTML info

      A series of HTML tags containing the process info.

    • images: string[]

      Images

      The generated images in base64 format.

  • ExtrasSingleImageRequest: {
        codeformer_visibility: number;
        codeformer_weight: number;
        extras_upscaler_2_visibility: number;
        gfpgan_visibility: number;
        image: string;
        resize_mode: 0 | 1;
        show_extras_results: boolean;
        upscale_first: boolean;
        upscaler_1: string;
        upscaler_2: string;
        upscaling_crop: boolean;
        upscaling_resize: number;
        upscaling_resize_h: number;
        upscaling_resize_w: number;
    }

    ExtrasSingleImageRequest

    • codeformer_visibility: number

      CodeFormer Visibility

      Sets the visibility of CodeFormer, values should be between 0 and 1.

      0
      
    • codeformer_weight: number

      CodeFormer Weight

      Sets the weight of CodeFormer, values should be between 0 and 1.

      0
      
    • extras_upscaler_2_visibility: number

      Secondary upscaler visibility

      Sets the visibility of secondary upscaler, values should be between 0 and 1.

      0
      
    • gfpgan_visibility: number

      GFPGAN Visibility

      Sets the visibility of GFPGAN, values should be between 0 and 1.

      0
      
    • image: string

      Image

      Image to work on, must be a Base64 string containing the image's data.

      
      
    • resize_mode: 0 | 1

      Resize Mode

      Sets the resize mode: 0 to upscale by upscaling_resize amount, 1 to upscale up to upscaling_resize_h x upscaling_resize_w.

      0
      @enum {integer}
    • show_extras_results: boolean

      Show results

      Should the backend return the generated image?

      true
      
    • upscale_first: boolean

      Upscale first

      Should the upscaler run before restoring faces?

      false
      
    • upscaler_1: string

      Main upscaler

      The name of the main upscaler to use, it has to be one of this list:

      None
      
    • upscaler_2: string

      Secondary upscaler

      The name of the secondary upscaler to use, it has to be one of this list:

      None
      
    • upscaling_crop: boolean

      Crop to fit

      Should the upscaler crop the image to fit in the chosen size?

      true
      
    • upscaling_resize: number

      Upscaling Factor

      By how much to upscale the image, only used when resize_mode=0.

      2
      
    • upscaling_resize_h: number

      Target Height

      Target height for the upscaler to hit. Only used when resize_mode=1.

      512
      
    • upscaling_resize_w: number

      Target Width

      Target width for the upscaler to hit. Only used when resize_mode=1.

      512
      
  • ExtrasSingleImageResponse: { html_info: string; image?: null | string }

    ExtrasSingleImageResponse

    • html_info: string

      HTML info

      A series of HTML tags containing the process info.

    • Optionalimage?: null | string

      Image

      The generated image in base64 format.

  • FaceRestorerItem: { cmd_dir: null | string; name: string }

    FaceRestorerItem

    • cmd_dir: null | string

      Path

    • name: string

      Name

  • FileData: { data: string; name: string }

    FileData

    • data: string

      File data

      Base64 representation of the file

    • name: string

      File name

  • Flags: {
        add_stop_route: boolean;
        administrator: boolean;
        all_in_fp16: boolean;
        all_in_fp32: boolean;
        allow_code: boolean;
        always_batch_cond_uncond: boolean;
        always_cpu: boolean;
        always_gpu: boolean;
        always_high_vram: boolean;
        always_low_vram: boolean;
        always_no_vram: boolean;
        always_normal_vram: boolean;
        always_offload_from_vram: boolean;
        api: boolean;
        api_auth?: null | string;
        api_log: boolean;
        api_server_stop: boolean;
        attention_pytorch: boolean;
        attention_quad: boolean;
        attention_split: boolean;
        autolaunch: boolean;
        bsrgan_models_path: string;
        ckpt: string;
        ckpt_dir?: null | string;
        clip_in_fp16: boolean;
        clip_in_fp32: boolean;
        clip_in_fp8_e4m3fn: boolean;
        clip_in_fp8_e5m2: boolean;
        clip_models_path?: null | string;
        codeformer_models_path: string;
        config: string;
        controlnet_dir?: null | string;
        controlnet_loglevel: string;
        controlnet_preprocessor_models_dir?: null | string;
        controlnet_tracemalloc?: null | string;
        cors_allow_origins?: null | string;
        cors_allow_origins_regex?: null | string;
        cuda_malloc: boolean;
        cuda_stream: boolean;
        dat_models_path: string;
        data_dir: string;
        deepdanbooru: boolean;
        device_id?: null | string;
        directml?: null | string;
        disable_all_extensions: boolean;
        disable_attention_upcast: boolean;
        disable_console_progressbars: boolean;
        disable_extra_extensions: boolean;
        disable_gpu_warning: boolean;
        disable_ipex_hijack: boolean;
        disable_model_loading_ram_optimization: boolean;
        disable_nan_check: boolean;
        disable_opt_split_attention: boolean;
        disable_safe_unpickle: boolean;
        disable_tls_verify?: null | string;
        disable_xformers: boolean;
        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;
        force_upcast_attention: boolean;
        forge_ref_a1111_home?: null | string;
        freeze_settings: boolean;
        freeze_settings_in_sections?: null | string;
        freeze_specific_settings?: null | string;
        gfpgan_dir: string;
        gfpgan_model?: null | string;
        gfpgan_models_path: string;
        gpu_device_id?: null | string;
        gradio_allowed_path: unknown[];
        gradio_auth?: null | string;
        gradio_auth_path?: null | string;
        gradio_debug: boolean;
        gradio_img2img_tool?: null | string;
        gradio_inpaint_tool?: null | string;
        gradio_queue: boolean;
        hide_ui_dir_config: boolean;
        hypernetwork_dir: string;
        listen: boolean;
        localizations_dir: string;
        log_startup: boolean;
        loglevel?: null | string;
        lora_dir: string;
        lowram: boolean;
        lowvram: boolean;
        lyco_dir_backcompat: string;
        max_batch_count: number;
        medvram: boolean;
        medvram_sdxl: boolean;
        models_dir?: null | string;
        ngrok?: null | string;
        ngrok_options: Record<string, never>;
        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;
        pin_shared_memory: boolean;
        port?: null | string;
        precision: string;
        pytorch_deterministic: boolean;
        realesrgan_models_path: string;
        reinstall_torch: boolean;
        reinstall_xformers: boolean;
        scunet_models_path: string;
        server_name?: null | string;
        share: boolean;
        show_negative_prompt: boolean;
        skip_google_blockly: 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: unknown[];
        sub_quad_chunk_threshold?: null | string;
        sub_quad_kv_chunk_size?: null | string;
        sub_quad_q_chunk_size: number;
        subpath?: null | string;
        swinir_models_path: string;
        test_server: boolean;
        text_encoder_dir?: null | string;
        textual_inversion_templates_dir: string;
        theme?: null | string;
        timeout_keep_alive: number;
        tls_certfile?: null | string;
        tls_keyfile?: null | string;
        ui_config_file: string;
        ui_debug_mode: boolean;
        ui_settings_file: string;
        unet_in_bf16: boolean;
        unet_in_fp16: boolean;
        unet_in_fp8_e4m3fn: boolean;
        unet_in_fp8_e5m2: boolean;
        unix_filenames_sanitization: boolean;
        unload_gfpgan: boolean;
        upcast_sampling: boolean;
        update_all_extensions: boolean;
        update_check: boolean;
        use_cpu: unknown[];
        use_ipex: boolean;
        use_textbox_seed: boolean;
        vae_dir?: null | string;
        vae_in_bf16: boolean;
        vae_in_cpu: boolean;
        vae_in_fp16: boolean;
        vae_in_fp32: boolean;
        vae_path?: null | string;
        xformers: boolean;
        xformers_flash_attention: boolean;
    }

    Flags

    • add_stop_route: boolean

      Add Stop Route

      does not do anything

      false
      
    • administrator: boolean

      Administrator

      Administrator rights

      false
      
    • all_in_fp16: boolean

      All In Fp16

      false
      
    • all_in_fp32: boolean

      All In Fp32

      false
      
    • allow_code: boolean

      Allow Code

      allow custom script execution from webui

      false
      
    • always_batch_cond_uncond: boolean

      Always Batch Cond Uncond

      does not do anything

      false
      
    • always_cpu: boolean

      Always Cpu

      false
      
    • always_gpu: boolean

      Always Gpu

      false
      
    • always_high_vram: boolean

      Always High Vram

      false
      
    • always_low_vram: boolean

      Always Low Vram

      false
      
    • always_no_vram: boolean

      Always No Vram

      false
      
    • always_normal_vram: boolean

      Always Normal Vram

      false
      
    • always_offload_from_vram: boolean

      Always Offload From Vram

      false
      
    • api: boolean

      Api

      use api=True to launch the API together with the webui (use --nowebui instead for only the API)

      false
      
    • Optionalapi_auth?: null | string

      Api Auth

      Set authentication for API like "username:password"; or comma-delimit multiple like "u1:p1,u2:p2,u3:p3"

    • api_log: boolean

      Api Log

      use api-log=True to enable logging of all API requests

      false
      
    • api_server_stop: boolean

      Api Server Stop

      enable server stop/restart/kill via api

      false
      
    • attention_pytorch: boolean

      Attention Pytorch

      false
      
    • attention_quad: boolean

      Attention Quad

      false
      
    • attention_split: boolean

      Attention Split

      false
      
    • autolaunch: boolean

      Autolaunch

      open the webui URL in the system's default browser upon launch

      false
      
    • bsrgan_models_path: string

      Bsrgan Models Path

      Path to directory with BSRGAN model file(s).

      /app/sd-webui/models/BSRGAN
      
    • ckpt: string

      Ckpt

      path to checkpoint of stable diffusion model; if specified, this checkpoint will be added to the list of checkpoints and loaded

      /app/sd-webui/model.ckpt
      
    • Optionalckpt_dir?: null | string

      Ckpt Dir

      Path to directory with stable diffusion checkpoints

    • clip_in_fp16: boolean

      Clip In Fp16

      false
      
    • clip_in_fp32: boolean

      Clip In Fp32

      false
      
    • clip_in_fp8_e4m3fn: boolean

      Clip In Fp8 E4M3Fn

      false
      
    • clip_in_fp8_e5m2: boolean

      Clip In Fp8 E5M2

      false
      
    • Optionalclip_models_path?: null | string

      Clip Models Path

      Path to directory with CLIP model file(s), for Interrogate options.

    • codeformer_models_path: string

      Codeformer Models Path

      Path to directory with codeformer model file(s).

      /app/sd-webui/models/Codeformer
      
    • config: string

      Config

      path to config which constructs model

      /app/sd-webui/configs/v1-inference.yaml
      
    • Optionalcontrolnet_dir?: null | string

      Controlnet Dir

      Path to directory with ControlNet models

    • controlnet_loglevel: string

      Controlnet Loglevel

      Set the log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)

      INFO
      
    • Optionalcontrolnet_preprocessor_models_dir?: null | string

      Controlnet Preprocessor Models Dir

      Path to directory with annotator model directories

    • Optionalcontrolnet_tracemalloc?: null | string

      Controlnet Tracemalloc

      Enable memory tracing.

    • Optionalcors_allow_origins?: null | string

      Cors Allow Origins

      Allowed CORS origin(s) in the form of a comma-separated list (no spaces)

    • Optionalcors_allow_origins_regex?: null | string

      Cors Allow Origins Regex

      Allowed CORS origin(s) in the form of a single regular expression

    • cuda_malloc: boolean

      Cuda Malloc

      false
      
    • cuda_stream: boolean

      Cuda Stream

      false
      
    • dat_models_path: string

      Dat Models Path

      Path to directory with DAT model file(s).

      /app/sd-webui/models/DAT
      
    • data_dir: string

      Data Dir

      base path where all user data is stored

      /app/sd-webui
      
    • deepdanbooru: boolean

      Deepdanbooru

      does not do anything

      false
      
    • Optionaldevice_id?: null | string

      Device Id

      Select the default CUDA device to use (export CUDA_VISIBLE_DEVICES=0,1,etc might be needed before)

    • Optionaldirectml?: null | string

      Directml

    • disable_all_extensions: boolean

      Disable All Extensions

      prevent all extensions from running regardless of any other settings

      false
      
    • disable_attention_upcast: boolean

      Disable Attention Upcast

      false
      
    • disable_console_progressbars: boolean

      Disable Console Progressbars

      do not output progressbars to console

      false
      
    • disable_extra_extensions: boolean

      Disable Extra Extensions

      prevent all extensions except built-in from running regardless of any other settings

      false
      
    • disable_gpu_warning: boolean

      Disable Gpu Warning

      false
      
    • disable_ipex_hijack: boolean

      Disable Ipex Hijack

      false
      
    • disable_model_loading_ram_optimization: boolean

      Disable Model Loading Ram Optimization

      disable an optimization that reduces RAM use when loading a model

      false
      
    • disable_nan_check: boolean

      Disable Nan Check

      do not check if produced images/latent spaces have nans; useful for running without a checkpoint in CI

      false
      
    • disable_opt_split_attention: boolean

      Disable Opt Split Attention

      prefer no cross-attention layer optimization for automatic choice of optimization

      false
      
    • disable_safe_unpickle: boolean

      Disable Safe Unpickle

      disable checking pytorch models for malicious code

      false
      
    • Optionaldisable_tls_verify?: null | string

      Disable Tls Verify

      When passed, enables the use of self-signed certificates.

    • disable_xformers: boolean

      Disable Xformers

      false
      
    • do_not_download_clip: boolean

      Do Not Download Clip

      do not download CLIP model even if it's not included in the checkpoint

      false
      
    • dump_sysinfo: boolean

      Dump Sysinfo

      launch.py argument: dump limited sysinfo file (without information about extensions, options) to disk and quit

      false
      
    • embeddings_dir: string

      Embeddings Dir

      embeddings directory for textual inversion (default: embeddings)

      /app/sd-webui/embeddings
      
    • enable_console_prompts: boolean

      Enable Console Prompts

      does not do anything

      false
      
    • enable_insecure_extension_access: boolean

      Enable Insecure Extension Access

      enable extensions tab regardless of other options

      false
      
    • esrgan_models_path: string

      Esrgan Models Path

      Path to directory with ESRGAN model file(s).

      /app/sd-webui/models/ESRGAN
      
    • f: boolean

      F

      ==SUPPRESS==

      false
      
    • filenames_max_length: number

      Filenames Max Length

      maximal length of filenames of saved images. If you override it, it can conflict with your file system

      128
      
    • force_enable_xformers: boolean

      Force Enable Xformers

      enable xformers for cross attention layers regardless of whether the checking code thinks you can run it; do not make bug reports if this fails to work

      false
      
    • force_upcast_attention: boolean

      Force Upcast Attention

      false
      
    • Optionalforge_ref_a1111_home?: null | string

      Forge Ref A1111 Home

      Look for models in an existing A1111 checkout's path

    • freeze_settings: boolean

      Freeze Settings

      disable editing of all settings globally

      false
      
    • Optionalfreeze_settings_in_sections?: null | string

      Freeze Settings In Sections

      disable editing settings in specific sections of the settings page by specifying a comma-delimited list such like "saving-images,upscaling". The list of setting names can be found in the modules/shared_options.py file

    • Optionalfreeze_specific_settings?: null | string

      Freeze Specific Settings

      disable editing of individual settings by specifying a comma-delimited list like "samples_save,samples_format". The list of setting names can be found in the config.json file

    • gfpgan_dir: string

      Gfpgan Dir

      GFPGAN directory

      ./GFPGAN
      
    • Optionalgfpgan_model?: null | string

      Gfpgan Model

      GFPGAN model file name

    • gfpgan_models_path: string

      Gfpgan Models Path

      Path to directory with GFPGAN model file(s).

      /app/sd-webui/models/GFPGAN
      
    • Optionalgpu_device_id?: null | string

      Gpu Device Id

    • gradio_allowed_path: unknown[]

      Gradio Allowed Path

      add path to gradio's allowed_paths, make it possible to serve files from it

      [
      "/app/sd-webui"
      ]
    • Optionalgradio_auth?: null | string

      Gradio Auth

      set gradio authentication like "username:password"; or comma-delimit multiple like "u1:p1,u2:p2,u3:p3"

    • Optionalgradio_auth_path?: null | string

      Gradio Auth Path

      set gradio authentication file path ex. "/path/to/auth/file" same auth format as --gradio-auth

    • gradio_debug: boolean

      Gradio Debug

      launch gradio with --debug option

      false
      
    • Optionalgradio_img2img_tool?: null | string

      Gradio Img2Img Tool

      does not do anything

    • Optionalgradio_inpaint_tool?: null | string

      Gradio Inpaint Tool

      does not do anything

    • gradio_queue: boolean

      Gradio Queue

      does not do anything

      true
      
    • hide_ui_dir_config: boolean

      Hide Ui Dir Config

      hide directory configuration from webui

      false
      
    • hypernetwork_dir: string

      Hypernetwork Dir

      hypernetwork directory

      /app/sd-webui/models/hypernetworks
      
    • listen: boolean

      Listen

      launch gradio with 0.0.0.0 as server name, allowing to respond to network requests

      false
      
    • localizations_dir: string

      Localizations Dir

      localizations directory

      /app/sd-webui/localizations
      
    • log_startup: boolean

      Log Startup

      launch.py argument: print a detailed log of what's happening at startup

      false
      
    • Optionalloglevel?: null | string

      Loglevel

      log level; one of: CRITICAL, ERROR, WARNING, INFO, DEBUG

    • lora_dir: string

      Lora Dir

      Path to directory with Lora networks.

      /app/sd-webui/models/Lora
      
    • lowram: boolean

      Lowram

      load stable diffusion checkpoint weights to VRAM instead of RAM

      false
      
    • lowvram: boolean

      Lowvram

      enable stable diffusion model optimizations for sacrificing a lot of speed for very low VRM usage

      false
      
    • lyco_dir_backcompat: string

      Lyco Dir Backcompat

      Path to directory with LyCORIS networks (for backawards compatibility; can also use --lyco-dir).

      /app/sd-webui/models/LyCORIS
      
    • max_batch_count: number

      Max Batch Count

      does not do anything

      16
      
    • medvram: boolean

      Medvram

      enable stable diffusion model optimizations for sacrificing a little speed for low VRM usage

      false
      
    • medvram_sdxl: boolean

      Medvram Sdxl

      enable --medvram optimization just for SDXL models

      false
      
    • Optionalmodels_dir?: null | string

      Models Dir

      base path where models are stored; overrides --data-dir

    • Optionalngrok?: null | string

      Ngrok

      ngrok authtoken, alternative to gradio --share

    • ngrok_options: Record<string, never>

      Ngrok Options

      The options to pass to ngrok in JSON format, e.g.: '{"authtoken_from_env":true, "basic_auth":"user:password", "oauth_provider":"google", "oauth_allow_emails":"user@asdf.com"}'

      {}
      
    • ngrok_region: string

      Ngrok Region

      does not do anything.

      
      
    • no_download_sd_model: boolean

      No Download Sd Model

      don't download SD1.5 model even if no model is found in --ckpt-dir

      false
      
    • no_gradio_queue: boolean

      No Gradio Queue

      Disables gradio queue; causes the webpage to use http requests instead of websockets; was the default in earlier versions

      false
      
    • no_half: boolean

      No Half

      do not switch the model to 16-bit floats

      false
      
    • no_half_vae: boolean

      No Half Vae

      do not switch the VAE model to 16-bit floats

      false
      
    • no_hashing: boolean

      No Hashing

      disable sha256 hashing of checkpoints to help loading performance

      false
      
    • no_progressbar_hiding: boolean

      No Progressbar Hiding

      do not hide progressbar in gradio UI (we hide it because it slows down ML if you have hardware acceleration in browser)

      false
      
    • no_prompt_history: boolean

      No Prompt History

      disable read prompt from last generation feature; settings this argument will not create '--data_path/params.txt' file

      false
      
    • nowebui: boolean

      Nowebui

      use api=True to launch the API instead of the webui

      false
      
    • opt_channelslast: boolean

      Opt Channelslast

      change memory type for stable diffusion to channels last

      false
      
    • opt_sdp_attention: boolean

      Opt Sdp Attention

      prefer scaled dot product cross-attention layer optimization for automatic choice of optimization; requires PyTorch 2.*

      false
      
    • opt_sdp_no_mem_attention: boolean

      Opt Sdp No Mem Attention

      prefer scaled dot product cross-attention layer optimization without memory efficient attention for automatic choice of optimization, makes image generation deterministic; requires PyTorch 2.*

      false
      
    • opt_split_attention: boolean

      Opt Split Attention

      prefer Doggettx's cross-attention layer optimization for automatic choice of optimization

      false
      
    • opt_split_attention_invokeai: boolean

      Opt Split Attention Invokeai

      prefer InvokeAI's cross-attention layer optimization for automatic choice of optimization

      false
      
    • opt_split_attention_v1: boolean

      Opt Split Attention V1

      prefer older version of split attention optimization for automatic choice of optimization

      false
      
    • opt_sub_quad_attention: boolean

      Opt Sub Quad Attention

      prefer memory efficient sub-quadratic cross-attention layer optimization for automatic choice of optimization

      false
      
    • pin_shared_memory: boolean

      Pin Shared Memory

      false
      
    • Optionalport?: null | string

      Port

      launch gradio with given server port, you need root/admin rights for ports < 1024, defaults to 7860 if available

    • precision: string

      Precision

      evaluate at this precision

      autocast
      
    • pytorch_deterministic: boolean

      Pytorch Deterministic

      false
      
    • realesrgan_models_path: string

      Realesrgan Models Path

      Path to directory with RealESRGAN model file(s).

      /app/sd-webui/models/RealESRGAN
      
    • reinstall_torch: boolean

      Reinstall Torch

      launch.py argument: install the appropriate version of torch even if you have some version already installed

      false
      
    • reinstall_xformers: boolean

      Reinstall Xformers

      launch.py argument: install the appropriate version of xformers even if you have some version already installed

      false
      
    • scunet_models_path: string

      Scunet Models Path

      Path to directory with ScuNET model file(s).

      /app/sd-webui/models/ScuNET
      
    • Optionalserver_name?: null | string

      Server Name

      Sets hostname of server

    • share: boolean

      Share

      use share=True for gradio and make the UI accessible through their site

      false
      
    • show_negative_prompt: boolean

      Show Negative Prompt

      does not do anything

      false
      
    • skip_google_blockly: boolean

      Skip Google Blockly

      launch.py argument: do not initialize google blockly modules

      false
      
    • skip_install: boolean

      Skip Install

      launch.py argument: skip installation of packages

      false
      
    • skip_load_model_at_start: boolean

      Skip Load Model At Start

      if load a model at web start, only take effect when --nowebui

      false
      
    • skip_prepare_environment: boolean

      Skip Prepare Environment

      launch.py argument: skip all environment preparation

      false
      
    • skip_python_version_check: boolean

      Skip Python Version Check

      launch.py argument: do not check python version

      false
      
    • skip_torch_cuda_test: boolean

      Skip Torch Cuda Test

      launch.py argument: do not check if CUDA is able to work properly

      false
      
    • skip_version_check: boolean

      Skip Version Check

      Do not check versions of torch and xformers

      false
      
    • styles_file: unknown[]

      Styles File

      path or wildcard path of styles files, allow multiple entries.

      []
      
    • Optionalsub_quad_chunk_threshold?: null | string

      Sub Quad Chunk Threshold

      the percentage of VRAM threshold for the sub-quadratic cross-attention layer optimization to use chunking

    • Optionalsub_quad_kv_chunk_size?: null | string

      Sub Quad Kv Chunk Size

      kv chunk size for the sub-quadratic cross-attention layer optimization to use

    • sub_quad_q_chunk_size: number

      Sub Quad Q Chunk Size

      query chunk size for the sub-quadratic cross-attention layer optimization to use

      1024
      
    • Optionalsubpath?: null | string

      Subpath

      customize the subpath for gradio, use with reverse proxy

    • swinir_models_path: string

      Swinir Models Path

      Path to directory with SwinIR model file(s).

      /app/sd-webui/models/SwinIR
      
    • test_server: boolean

      Test Server

      launch.py argument: configure server for testing

      false
      
    • Optionaltext_encoder_dir?: null | string

      Text Encoder Dir

      Path to directory with text encoder models

    • textual_inversion_templates_dir: string

      Textual Inversion Templates Dir

      directory with textual inversion templates

      /app/sd-webui/textual_inversion_templates
      
    • Optionaltheme?: null | string

      Theme

      launches the UI with light or dark theme

    • timeout_keep_alive: number

      Timeout Keep Alive

      set timeout_keep_alive for uvicorn

      30
      
    • Optionaltls_certfile?: null | string

      Tls Certfile

      Partially enables TLS, requires --tls-keyfile to fully function

    • Optionaltls_keyfile?: null | string

      Tls Keyfile

      Partially enables TLS, requires --tls-certfile to fully function

    • ui_config_file: string

      Ui Config File

      filename to use for ui configuration

      /app/sd-webui/ui-config.json
      
    • ui_debug_mode: boolean

      Ui Debug Mode

      Don't load model to quickly launch UI

      false
      
    • ui_settings_file: string

      Ui Settings File

      filename to use for ui settings

      /app/sd-webui/config.json
      
    • unet_in_bf16: boolean

      Unet In Bf16

      false
      
    • unet_in_fp16: boolean

      Unet In Fp16

      false
      
    • unet_in_fp8_e4m3fn: boolean

      Unet In Fp8 E4M3Fn

      false
      
    • unet_in_fp8_e5m2: boolean

      Unet In Fp8 E5M2

      false
      
    • unix_filenames_sanitization: boolean

      Unix Filenames Sanitization

      allow any symbols except '/' in filenames. May conflict with your browser and file system

      false
      
    • unload_gfpgan: boolean

      Unload Gfpgan

      does not do anything.

      false
      
    • upcast_sampling: boolean

      Upcast Sampling

      upcast sampling. No effect with --no-half. Usually produces similar results to --no-half with better performance while using less memory.

      false
      
    • update_all_extensions: boolean

      Update All Extensions

      launch.py argument: download updates for all extensions when starting the program

      false
      
    • update_check: boolean

      Update Check

      launch.py argument: check for updates at startup

      false
      
    • use_cpu: unknown[]

      Use Cpu

      use CPU as torch device for specified modules

      []
      
    • use_ipex: boolean

      Use Ipex

      use Intel XPU as torch device

      false
      
    • use_textbox_seed: boolean

      Use Textbox Seed

      use textbox for seeds in UI (no up/down, but possible to input long seeds)

      false
      
    • Optionalvae_dir?: null | string

      Vae Dir

      Path to directory with VAE files

    • vae_in_bf16: boolean

      Vae In Bf16

      false
      
    • vae_in_cpu: boolean

      Vae In Cpu

      false
      
    • vae_in_fp16: boolean

      Vae In Fp16

      false
      
    • vae_in_fp32: boolean

      Vae In Fp32

      false
      
    • Optionalvae_path?: null | string

      Vae Path

      Checkpoint to use as VAE; setting this argument disables all settings related to VAE

    • xformers: boolean

      Xformers

      enable xformers for cross attention layers

      false
      
    • xformers_flash_attention: boolean

      Xformers Flash Attention

      enable xformers with Flash Attention to improve reproducibility (supported for SD2.x or variant only)

      false
      
  • GeninfoBatchReq: { paths: string[] }

    GeninfoBatchReq

    • paths: string[]

      Paths

  • HTTPValidationError: { detail?: { loc: (string | number)[]; msg: string; type: string }[] }

    HTTPValidationError

    • Optionaldetail?: { loc: (string | number)[]; msg: string; type: string }[]

      Detail

  • HypernetworkItem: { name: string; path: null | string }

    HypernetworkItem

    • name: string

      Name

    • path: null | string

      Path

  • ImageToImageResponse: { images?: null | string[]; info: string; parameters: Record<string, never> }

    ImageToImageResponse

    • Optionalimages?: null | string[]

      Image

      The generated image in base64 format.

    • info: string

      Info

    • parameters: Record<string, never>

      Parameters

  • InterrogateRequest: { image: string; model: string }

    InterrogateRequest

    • image: string

      Image

      Image to work on, must be a Base64 string containing the image's data.

      
      
    • model: string

      Model

      The interrogate model used.

      clip
      
  • LatentUpscalerModeItem: { name: string }

    LatentUpscalerModeItem

    • name: string

      Name

  • MatchImagesByTagsReq: {
        and_tags: number[];
        cursor: string;
        folder_paths?: string[];
        not_tags: number[];
        or_tags: number[];
        size: null | number;
    }

    MatchImagesByTagsReq

    • and_tags: number[]

      And Tags

    • cursor: string

      Cursor

    • Optionalfolder_paths?: string[]

      Folder Paths

    • not_tags: number[]

      Not Tags

    • or_tags: number[]

      Or Tags

    • size: null | number

      Size

      200
      
  • MemoryResponse: { cuda: Record<string, never>; ram: Record<string, never> }

    MemoryResponse

    • cuda: Record<string, never>

      CUDA

      nVidia CUDA memory stats

    • ram: Record<string, never>

      RAM

      System memory stats

  • modules__api__models__ProgressResponse: {
        current_image?: null | string;
        eta_relative: number;
        progress: number;
        state: Record<string, never>;
        textinfo?: null | string;
    }

    ProgressResponse

    • Optionalcurrent_image?: null | string

      Current image

      The current image in base64 format. opts.show_progress_every_n_steps is required for this to work.

    • eta_relative: number

      ETA in secs

    • progress: number

      Progress

      The progress with a range of 0 to 1

    • state: Record<string, never>

      State

      The current state snapshot

    • Optionaltextinfo?: null | string

      Info text

      Info text used by WebUI.

  • modules__progress__ProgressResponse: {
        active: boolean;
        completed: boolean;
        eta?: null | number;
        id_live_preview?: null | number;
        live_preview?: null | string;
        progress?: null | number;
        queued: boolean;
        textinfo?: null | string;
    }

    ProgressResponse

    • active: boolean

      Whether the task is being worked on right now

    • completed: boolean

      Whether the task has already finished

    • Optionaleta?: null | number

      ETA in secs

    • Optionalid_live_preview?: null | number

      Live preview image ID

      Send this together with next request to prevent receiving same image

    • Optionallive_preview?: null | string

      Live preview image

      Current live preview; a data: uri

    • Optionalprogress?: null | number

      Progress

      The progress with a range of 0 to 1

    • queued: boolean

      Whether the task is in queue

    • Optionaltextinfo?: null | string

      Info text

      Info text used by WebUI.

  • MoveFilesReq: { create_dest_folder: null | boolean; dest: string; file_paths: string[] }

    MoveFilesReq

    • create_dest_folder: null | boolean

      Create Dest Folder

      false
      
    • dest: string

      Dest

    • file_paths: string[]

      File Paths

  • OpenFolderReq: { path: string }

    OpenFolderReq

    • path: string

      Path

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

    Options

    • add_model_hash_to_info: null | boolean

      Add Model Hash To Info

      Add model hash to infotext

      true
      
    • add_model_name_to_info: null | boolean

      Add Model Name To Info

      Add model name to infotext

      true
      
    • add_user_name_to_info: unknown

      Add User Name To Info

      Add user name to infotext when authenticated

      false
      
    • add_vae_hash_to_info: null | boolean

      Add Vae Hash To Info

      Add VAE hash to infotext

      true
      
    • add_vae_name_to_info: null | boolean

      Add Vae Name To Info

      Add VAE name to infotext

      true
      
    • add_version_to_infotext: null | boolean

      Add Version To Infotext

      Add program version to infotext

      true
      
    • always_discard_next_to_last_sigma: unknown

      Always Discard Next To Last Sigma

      Always discard next-to-last sigma

      false
      
    • api_enable_requests: null | boolean

      Api Enable Requests

      Allow http:// and https:// URLs for input images in API

      true
      
    • api_forbid_local_requests: null | boolean

      Api Forbid Local Requests

      Forbid URLs to local resources

      true
      
    • api_useragent: unknown

      Api Useragent

      User agent for requests

      
      
    • auto_backcompat: null | boolean

      Auto Backcompat

      Automatic backward compatibility

      true
      
    • auto_launch_browser: null | string

      Auto Launch Browser

      Automatically open webui in browser on startup

      Local
      
    • auto_vae_precision: null | boolean

      Auto Vae Precision

      Automatically revert VAE to 32-bit floats

      true
      
    • auto_vae_precision_bfloat16: unknown

      Auto Vae Precision Bfloat16

      Automatically convert VAE to bfloat16

      false
      
    • batch_cond_uncond: null | boolean

      Batch Cond Uncond

      Batch cond/uncond

      true
      
    • beta_dist_alpha: null | number

      Beta Dist Alpha

      Beta scheduler - alpha

      0.6
      
    • beta_dist_beta: null | number

      Beta Dist Beta

      Beta scheduler - beta

      0.6
      
    • cache_fp16_weight: unknown

      Cache Fp16 Weight

      Cache FP16 weight for LoRA

      false
      
    • clean_temp_dir_at_start: unknown

      Clean Temp Dir At Start

      Cleanup non-default temporary directory when starting webui

      false
      
    • CLIP_stop_at_last_layers: null | number

      Clip Stop At Last Layers

      (Managed by Forge)

      1
      
    • code_former_weight: null | number

      Code Former Weight

      CodeFormer weight

      0.5
      
    • comma_padding_backtrack: null | number

      Comma Padding Backtrack

      Prompt word wrap length limit

      20
      
    • compact_prompt_box: unknown

      Compact Prompt Box

      Compact prompt layout

      false
      
    • cross_attention_optimization: null | string

      Cross Attention Optimization

      Cross attention optimization

      Automatic
      
    • dat_enabled_models: null | unknown[]

      Dat Enabled Models

      Select which DAT models to show in the web UI.

      [
      "DAT x2",
      "DAT x3",
      "DAT x4"
      ]
    • DAT_tile: null | number

      Dat Tile

      Tile size for DAT upscalers.

      192
      
    • DAT_tile_overlap: null | number

      Dat Tile Overlap

      Tile overlap for DAT upscalers.

      8
      
    • dataset_filename_join_string: null | string

      Dataset Filename Join String

      Filename join string

      
      
    • dataset_filename_word_regex: unknown

      Dataset Filename Word Regex

      Filename word regex

      
      
    • ddim_discretize: null | string

      Ddim Discretize

      img2img DDIM discretize

      uniform
      
    • deepbooru_escape: null | boolean

      Deepbooru Escape

      deepbooru: escape () brackets

      true
      
    • deepbooru_filter_tags: unknown

      Deepbooru Filter Tags

      deepbooru: filter out those tags

      
      
    • deepbooru_sort_alpha: null | boolean

      Deepbooru Sort Alpha

      deepbooru: sort tags alphabetically

      true
      
    • deepbooru_use_spaces: null | boolean

      Deepbooru Use Spaces

      deepbooru: use spaces in tags

      true
      
    • dimensions_and_batch_together: null | boolean

      Dimensions And Batch Together

      Show Width/Height and Batch sliders in same row

      true
      
    • directories_filename_pattern: null | string

      Directories Filename Pattern

      Directory name pattern

      [date]
      
    • directories_max_prompt_words: null | number

      Directories Max Prompt Words

      Max prompt words for [prompt_words] pattern

      8
      
    • disable_all_extensions: null | string

      Disable All Extensions

      Disable all extensions (preserves the list of disabled extensions)

      none
      
    • disable_mmap_load_safetensors: unknown

      Disable Mmap Load Safetensors

      Disable memmapping for loading .safetensors files.

      false
      
    • disable_token_counters: unknown

      Disable Token Counters

      Disable prompt token counters

      false
      
    • disable_weights_auto_swap: null | boolean

      Disable Weights Auto Swap

      Disregard checkpoint information from pasted infotext

      true
      
    • disabled_extensions: unknown

      Disabled Extensions

      Disable these extensions

      []
      
    • do_not_show_images: unknown

      Do Not Show Images

      Do not show any images in gallery

      false
      
    • dump_stacks_on_signal: unknown

      Dump Stacks On Signal

      Print stack traces before exiting the program with ctrl+c.

      false
      
    • emphasis: null | string

      Emphasis

      Emphasis mode

      Original
      
    • enable_batch_seeds: null | boolean

      Enable Batch Seeds

      Make K-diffusion samplers produce same images in a batch as when making a single image

      true
      
    • enable_console_prompts: unknown

      Enable Console Prompts

      Print prompts to console when generating with txt2img and img2img.

      false
      
    • enable_pnginfo: null | boolean

      Enable Pnginfo

      Write infotext to metadata of the generated image

      true
      
    • enable_prompt_comments: null | boolean

      Enable Prompt Comments

      Enable comments

      true
      
    • enable_quantization: unknown

      Enable Quantization

      Enable quantization in K samplers for sharper and cleaner results. This may change existing seeds

      false
      
    • enable_reloading_ui_scripts: unknown

      Enable Reloading Ui Scripts

      Reload UI scripts when using Reload UI option

      false
      
    • enable_upscale_progressbar: null | boolean

      Enable Upscale Progressbar

      Show a progress bar in the console for tiled upscaling.

      true
      
    • ESRGAN_tile: null | number

      Esrgan Tile

      Tile size for ESRGAN upscalers.

      192
      
    • ESRGAN_tile_overlap: null | number

      Esrgan Tile Overlap

      Tile overlap for ESRGAN upscalers.

      8
      
    • eta_ancestral: null | number

      Eta Ancestral

      Eta for k-diffusion samplers

      1
      
    • eta_ddim: unknown

      Eta Ddim

      Eta for DDIM

      0
      
    • eta_noise_seed_delta: unknown

      Eta Noise Seed Delta

      Eta noise seed delta

      0
      
    • export_for_4chan: null | boolean

      Export For 4Chan

      Save copy of large images as JPG

      true
      
    • extra_networks_add_text_separator: null | string

      Extra Networks Add Text Separator

      Extra networks separator

      
      
    • extra_networks_card_description_is_html: unknown

      Extra Networks Card Description Is Html

      Treat card description as HTML

      false
      
    • extra_networks_card_height: unknown

      Extra Networks Card Height

      Card height for Extra Networks

      0
      
    • extra_networks_card_order: null | string

      Extra Networks Card Order

      Default order for Extra Networks cards

      Ascending
      
    • extra_networks_card_order_field: null | string

      Extra Networks Card Order Field

      Default order field for Extra Networks cards

      Path
      
    • extra_networks_card_show_desc: null | boolean

      Extra Networks Card Show Desc

      Show description on card

      true
      
    • extra_networks_card_text_scale: null | number

      Extra Networks Card Text Scale

      Card text scale

      1
      
    • extra_networks_card_width: unknown

      Extra Networks Card Width

      Card width for Extra Networks

      0
      
    • extra_networks_default_multiplier: null | number

      Extra Networks Default Multiplier

      Default multiplier for extra networks

      1
      
    • extra_networks_dir_button_function: unknown

      Extra Networks Dir Button Function

      Add a '/' to the beginning of directory buttons

      false
      
    • extra_networks_hidden_models: null | string

      Extra Networks Hidden Models

      Show cards for models in hidden directories

      When searched
      
    • extra_networks_show_hidden_directories: null | boolean

      Extra Networks Show Hidden Directories

      Show hidden directories

      true
      
    • extra_networks_tree_view_default_enabled: null | boolean

      Extra Networks Tree View Default Enabled

      Show the Extra Networks directory view by default

      true
      
    • extra_networks_tree_view_default_width: null | number

      Extra Networks Tree View Default Width

      Default width for the Extra Networks directory tree view

      180
      
    • extra_networks_tree_view_style: null | string

      Extra Networks Tree View Style

      Extra Networks directory view style

      Dirs
      
    • extra_options_accordion: unknown

      Extra Options Accordion

      Place added settings into an accordion

      false
      
    • extra_options_cols: null | number

      Extra Options Cols

      Number of columns for added settings

      1
      
    • extra_options_img2img: unknown

      Extra Options Img2Img

      Settings for img2img

      []
      
    • extra_options_txt2img: unknown

      Extra Options Txt2Img

      Settings for txt2img

      []
      
    • face_restoration: unknown

      Face Restoration

      Restore faces

      false
      
    • face_restoration_model: null | string

      Face Restoration Model

      Face restoration model

      CodeFormer
      
    • face_restoration_unload: unknown

      Face Restoration Unload

      Move face restoration model from VRAM into RAM after processing

      false
      
    • flux_GPU_MB: null | number

      Flux Gpu Mb

      GPU Weights (MB)

      23090
      
    • flux_i2i_cfg: null | number

      Flux I2I Cfg

      img2img CFG

      1
      
    • flux_i2i_d_cfg: null | number

      Flux I2I D Cfg

      img2img Distilled CFG

      3.5
      
    • flux_i2i_height: null | number

      Flux I2I Height

      img2img height

      1024
      
    • flux_i2i_width: null | number

      Flux I2I Width

      img2img width

      1024
      
    • flux_t2i_cfg: null | number

      Flux T2I Cfg

      txt2img CFG

      1
      
    • flux_t2i_d_cfg: null | number

      Flux T2I D Cfg

      txt2img Distilled CFG

      3.5
      
    • flux_t2i_height: null | number

      Flux T2I Height

      txt2img height

      1152
      
    • flux_t2i_hr_cfg: null | number

      Flux T2I Hr Cfg

      txt2img HiRes CFG

      1
      
    • flux_t2i_hr_d_cfg: null | number

      Flux T2I Hr D Cfg

      txt2img Distilled HiRes CFG

      3.5
      
    • flux_t2i_width: null | number

      Flux T2I Width

      txt2img width

      896
      
    • font: unknown

      Font

      Font for image grids that have text

      
      
    • forge_additional_modules: unknown

      Forge Additional Modules

      []
      
    • forge_async_loading: null | string

      Forge Async Loading

      Queue
      
    • forge_canvas_plain: unknown

      Forge Canvas Plain

      ForgeCanvas: use plain background

      false
      
    • forge_canvas_toolbar_always: unknown

      Forge Canvas Toolbar Always

      ForgeCanvas: toolbar always visible

      false
      
    • forge_inference_memory: null | number

      Forge Inference Memory

      1024
      
    • forge_pin_shared_memory: null | string

      Forge Pin Shared Memory

      CPU
      
    • forge_preset: null | string

      Forge Preset

      sd
      
    • forge_try_reproduce: null | string

      Forge Try Reproduce

      Try to reproduce the results from external software

      None
      
    • forge_unet_storage_dtype: null | string

      Forge Unet Storage Dtype

      Automatic
      
    • fp8_storage: null | string

      Fp8 Storage

      FP8 weight

      Disable
      
    • gallery_height: unknown

      Gallery Height

      Gallery height

      
      
    • gradio_theme: null | string

      Gradio Theme

      Gradio theme

      Default
      
    • gradio_themes_cache: null | boolean

      Gradio Themes Cache

      Cache gradio themes locally

      true
      
    • grid_background_color: null | string

      Grid Background Color

      Background color for image grids

      #ffffff
      
    • grid_extended_filename: unknown

      Grid Extended Filename

      Add extended info (seed, prompt) to filename when saving grid

      false
      
    • grid_format: null | string

      Grid Format

      File format for grids

      png
      
    • grid_only_if_multiple: null | boolean

      Grid Only If Multiple

      Do not save grids consisting of one picture

      true
      
    • grid_prevent_empty_spots: unknown

      Grid Prevent Empty Spots

      Prevent empty spots in grid (when set to autodetect)

      false
      
    • grid_save: null | boolean

      Grid Save

      Always save all generated image grids

      true
      
    • grid_save_to_dirs: null | boolean

      Grid Save To Dirs

      Save grids to a subdirectory

      true
      
    • grid_text_active_color: null | string

      Grid Text Active Color

      Text color for image grids

      #000000
      
    • grid_text_inactive_color: null | string

      Grid Text Inactive Color

      Inactive text color for image grids

      #999999
      
    • grid_zip_filename_pattern: unknown

      Grid Zip Filename Pattern

      Archive filename pattern

      
      
    • hidden_tabs: unknown

      Hidden Tabs

      Hidden UI tabs

      []
      
    • hide_ldm_prints: null | boolean

      Hide Ldm Prints

      Prevent Stability-AI's ldm/sgm modules from printing noise to console.

      true
      
    • hide_samplers: unknown

      Hide Samplers

      Hide samplers in user interface

      []
      
    • hires_button_gallery_insert: unknown

      Hires Button Gallery Insert

      Insert [✨] hires button results into gallery

      false
      
    • hires_fix_refiner_pass: null | string

      Hires Fix Refiner Pass

      Hires fix: which pass to enable refiner for

      second pass
      
    • hires_fix_show_prompts: unknown

      Hires Fix Show Prompts

      Hires fix: show hires prompt and negative prompt

      false
      
    • hires_fix_show_sampler: unknown

      Hires Fix Show Sampler

      Hires fix: show hires checkpoint and sampler selection

      false
      
    • hires_fix_use_firstpass_conds: unknown

      Hires Fix Use Firstpass Conds

      For hires fix, calculate conds of second pass using extra networks of first pass.

      false
      
    • img_downscale_threshold: null | number

      Img Downscale Threshold

      File size limit for the above option, MB

      4
      
    • img_max_size_mp: null | number

      Img Max Size Mp

      Maximum image size

      200
      
    • img2img_autosize: unknown

      Img2Img Autosize

      After loading into Img2img, automatically update Width and Height

      false
      
    • img2img_background_color: null | string

      Img2Img Background Color

      With img2img, fill transparent parts of the input image with this color.

      #ffffff
      
    • img2img_batch_show_results_limit: null | number

      Img2Img Batch Show Results Limit

      Show the first N batch img2img results in UI

      32
      
    • img2img_batch_use_original_name: unknown

      Img2Img Batch Use Original Name

      Save using original filename in img2img batch. Applies to 'Upload' and 'From directory' tabs.

      false
      
    • img2img_color_correction: unknown

      Img2Img Color Correction

      Apply color correction to img2img results to match original colors.

      false
      
    • img2img_extra_noise: unknown

      Img2Img Extra Noise

      Extra noise multiplier for img2img and hires fix

      0
      
    • img2img_fix_steps: unknown

      Img2Img Fix Steps

      With img2img, do exactly the amount of steps the slider specifies.

      false
      
    • img2img_inpaint_mask_brush_color: null | string

      Img2Img Inpaint Mask Brush Color

      Inpaint mask brush color

      #ffffff
      
    • img2img_inpaint_mask_high_contrast: null | boolean

      Img2Img Inpaint Mask High Contrast

      For inpainting, use a high-contrast brush pattern

      true
      
    • img2img_inpaint_mask_scribble_alpha: null | number

      Img2Img Inpaint Mask Scribble Alpha

      Inpaint mask alpha (transparency)

      75
      
    • img2img_inpaint_sketch_default_brush_color: null | string

      Img2Img Inpaint Sketch Default Brush Color

      Inpaint sketch initial brush color

      #ffffff
      
    • img2img_settings_accordion: unknown

      Img2Img Settings Accordion

      Settings in img2img hidden under Accordion

      false
      
    • img2img_sketch_default_brush_color: null | string

      Img2Img Sketch Default Brush Color

      Sketch initial brush color

      #ffffff
      
    • include_styles_into_token_counters: null | boolean

      Include Styles Into Token Counters

      Count tokens of enabled styles

      true
      
    • infotext_explanation: null | string

      Infotext Explanation

      Infotext is what this software calls the text that contains generation parameters and can be used to generate the same picture again.
      It is displayed in UI below the image. To use infotext, paste it into the prompt and click the ↙️ paste button.
    • infotext_skip_pasting: unknown

      Infotext Skip Pasting

      Disregard fields from pasted infotext

      []
      
    • infotext_styles: null | string

      Infotext Styles

      Infer styles from prompts of pasted infotext

      Apply if any
      
    • initial_noise_multiplier: null | number

      Initial Noise Multiplier

      Noise multiplier for img2img

      1
      
    • inpainting_mask_weight: null | number

      Inpainting Mask Weight

      Inpainting conditioning mask strength

      1
      
    • interrogate_clip_dict_limit: null | number

      Interrogate Clip Dict Limit

      CLIP: maximum number of lines in text file

      1500
      
    • interrogate_clip_max_length: null | number

      Interrogate Clip Max Length

      BLIP: maximum description length

      48
      
    • interrogate_clip_min_length: null | number

      Interrogate Clip Min Length

      BLIP: minimum description length

      24
      
    • interrogate_clip_num_beams: null | number

      Interrogate Clip Num Beams

      BLIP: num_beams

      1
      
    • interrogate_clip_skip_categories: unknown

      Interrogate Clip Skip Categories

      CLIP: skip inquire categories

      []
      
    • interrogate_deepbooru_score_threshold: null | number

      Interrogate Deepbooru Score Threshold

      deepbooru: score threshold

      0.5
      
    • interrogate_keep_models_in_memory: unknown

      Interrogate Keep Models In Memory

      Keep models in VRAM

      false
      
    • interrogate_return_ranks: unknown

      Interrogate Return Ranks

      Include ranks of model tags matches in results.

      false
      
    • interrupt_after_current: null | boolean

      Interrupt After Current

      Don't Interrupt in the middle

      true
      
    • jpeg_quality: null | number

      Jpeg Quality

      Quality for saved jpeg and avif images

      80
      
    • js_live_preview_in_modal_lightbox: unknown

      Js Live Preview In Modal Lightbox

      Show Live preview in full page image viewer

      false
      
    • js_modal_lightbox: null | boolean

      Js Modal Lightbox

      Full page image viewer: enable

      true
      
    • js_modal_lightbox_gamepad: unknown

      Js Modal Lightbox Gamepad

      Full page image viewer: navigate with gamepad

      false
      
    • js_modal_lightbox_gamepad_repeat: null | number

      Js Modal Lightbox Gamepad Repeat

      Full page image viewer: gamepad repeat period

      250
      
    • js_modal_lightbox_initially_zoomed: null | boolean

      Js Modal Lightbox Initially Zoomed

      Full page image viewer: show images zoomed in by default

      true
      
    • keyedit_delimiters: null | string

      Keyedit Delimiters

      Word delimiters when editing the prompt with Ctrl+up/down

      .,/!?%^*;:{}=`~()
      
    • keyedit_delimiters_whitespace: null | unknown[]

      Keyedit Delimiters Whitespace

      Ctrl+up/down whitespace delimiters

      [
      "Tab",
      "Carriage Return",
      "Line Feed"
      ]
    • keyedit_move: null | boolean

      Keyedit Move

      Alt+left/right moves prompt elements

      true
      
    • keyedit_precision_attention: null | number

      Keyedit Precision Attention

      Precision for (attention:1.1) when editing the prompt with Ctrl+up/down

      0.1
      
    • keyedit_precision_extra: null | number

      Keyedit Precision Extra

      Precision for when editing the prompt with Ctrl+up/down

      0.05
      
    • list_hidden_files: null | boolean

      List Hidden Files

      Load models/files in hidden directories

      true
      
    • live_preview_allow_lowvram_full: unknown

      Live Preview Allow Lowvram Full

      Allow Full live preview method with lowvram/medvram

      false
      
    • live_preview_content: null | string

      Live Preview Content

      Live preview subject

      Prompt
      
    • live_preview_fast_interrupt: unknown

      Live Preview Fast Interrupt

      Return image with chosen live preview method on interrupt

      false
      
    • live_preview_refresh_period: null | number

      Live Preview Refresh Period

      Progressbar and preview update period

      1000
      
    • live_previews_enable: null | boolean

      Live Previews Enable

      Show live previews of the created image

      true
      
    • live_previews_image_format: null | string

      Live Previews Image Format

      Live preview file format

      png
      
    • localization: null | string

      Localization

      Localization

      None
      
    • memmon_poll_rate: null | number

      Memmon Poll Rate

      VRAM usage polls per second during generation.

      8
      
    • multiple_tqdm: null | boolean

      Multiple Tqdm

      Add a second progress bar to the console that shows progress for an entire job.

      true
      
    • n_rows: null | number

      N Rows

      Grid row count; use -1 for autodetect and 0 for it to be same as batch size

      -1
      
    • no_dpmpp_sde_batch_determinism: unknown

      No Dpmpp Sde Batch Determinism

      Do not make DPM++ SDE deterministic across different batch sizes.

      false
      
    • notification_audio: null | boolean

      Notification Audio

      Play notification sound after image generation

      true
      
    • notification_volume: null | number

      Notification Volume

      Notification sound volume

      100
      
    • open_dir_button_choice: null | string

      Open Dir Button Choice

      What directory the [📂] button opens

      Subdirectory
      
    • outdir_extras_samples: null | string

      Outdir Extras Samples

      Output directory for images from extras tab

      outputs/extras-images
      
    • outdir_grids: unknown

      Outdir Grids

      Output directory for grids; if empty, defaults to two directories below

      
      
    • outdir_img2img_grids: null | string

      Outdir Img2Img Grids

      Output directory for img2img grids

      outputs/img2img-grids
      
    • outdir_img2img_samples: null | string

      Outdir Img2Img Samples

      Output directory for img2img images

      outputs/img2img-images
      
    • outdir_init_images: null | string

      Outdir Init Images

      Directory for saving init images when using img2img

      outputs/init-images
      
    • outdir_samples: unknown

      Outdir Samples

      Output directory for images; if empty, defaults to three directories below

      
      
    • outdir_save: null | string

      Outdir Save

      Directory for saving images using the Save button

      log/images
      
    • outdir_txt2img_grids: null | string

      Outdir Txt2Img Grids

      Output directory for txt2img grids

      outputs/txt2img-grids
      
    • outdir_txt2img_samples: null | string

      Outdir Txt2Img Samples

      Output directory for txt2img images

      outputs/txt2img-images
      
    • overlay_inpaint: null | boolean

      Overlay Inpaint

      Overlay original for inpaint

      true
      
    • pad_cond_uncond: unknown

      Pad Cond Uncond

      Pad prompt/negative prompt

      false
      
    • pad_cond_uncond_v0: unknown

      Pad Cond Uncond V0

      Pad prompt/negative prompt (v0)

      false
      
    • persistent_cond_cache: null | boolean

      Persistent Cond Cache

      Persistent cond cache

      true
      
    • pin_memory: unknown

      Pin Memory

      Turn on pin_memory for DataLoader. Makes training slightly faster but can increase memory usage.

      false
      
    • postprocessing_disable_in_extras: unknown

      Postprocessing Disable In Extras

      Disable postprocessing operations in extras tab

      []
      
    • postprocessing_enable_in_main_ui: unknown

      Postprocessing Enable In Main Ui

      Enable postprocessing operations in txt2img and img2img tabs

      []
      
    • postprocessing_existing_caption_action: null | string

      Postprocessing Existing Caption Action

      Action for existing captions

      Ignore
      
    • postprocessing_operation_order: unknown

      Postprocessing Operation Order

      Postprocessing operation order

      []
      
    • prevent_screen_sleep_during_generation: null | boolean

      Prevent Screen Sleep During Generation

      Prevent screen sleep during generation

      true
      
    • print_hypernet_extra: unknown

      Print Hypernet Extra

      Print extra hypernetwork information to console.

      false
      
    • profiling_activities: null | unknown[]

      Profiling Activities

      Activities

      [
      "CPU"
      ]
    • profiling_enable: unknown

      Profiling Enable

      Enable profiling

      false
      
    • profiling_explanation: null | string

      Profiling Explanation

      Those settings allow you to enable torch profiler when generating pictures.
      Profiling allows you to see which code uses how much of computer's resources during generation.
      Each generation writes its own profile to one file, overwriting previous.
      The file can be viewed in <a href="chrome:tracing">Chrome</a>, or on a <a href="https://ui.perfetto.dev/">Perfetto</a> web site.
      Warning: writing profile can take a lot of time, up to 30 seconds, and the file itelf can be around 500MB in size.
    • profiling_filename: null | string

      Profiling Filename

      Profile filename

      trace.json
      
    • profiling_profile_memory: null | boolean

      Profiling Profile Memory

      Profile memory

      true
      
    • profiling_record_shapes: null | boolean

      Profiling Record Shapes

      Record shapes

      true
      
    • profiling_with_stack: null | boolean

      Profiling With Stack

      Include python stack

      true
      
    • quick_setting_list: unknown

      Quick Setting List

      Quicksettings list

      []
      
    • randn_source: null | string

      Randn Source

      Random number generator source.

      GPU
      
    • realesrgan_enabled_models: null | unknown[]

      Realesrgan Enabled Models

      Select which Real-ESRGAN models to show in the web UI.

      [
      "R-ESRGAN 4x+",
      "R-ESRGAN 4x+ Anime6B"
      ]
    • refiner_switch_by_sample_steps: unknown

      Refiner Switch By Sample Steps

      Switch to refiner by sampling steps instead of model timesteps. Old behavior for refiner.

      false
      
    • restore_config_state_file: unknown

      Restore Config State File

      Config state file to restore from, under 'config-states/' folder

      
      
    • return_grid: null | boolean

      Return Grid

      Show grid in gallery

      true
      
    • return_mask: unknown

      Return Mask

      For inpainting, include the greyscale mask in results for web

      false
      
    • return_mask_composite: unknown

      Return Mask Composite

      For inpainting, include masked composite in results for web

      false
      
    • rho: unknown

      Rho

      rho

      0
      
    • s_churn: unknown

      S Churn

      sigma churn

      0
      
    • s_min_uncond: unknown

      S Min Uncond

      Negative Guidance minimum sigma

      0
      
    • s_min_uncond_all: unknown

      S Min Uncond All

      Negative Guidance minimum sigma all steps

      false
      
    • s_noise: null | number

      S Noise

      sigma noise

      1
      
    • s_tmax: unknown

      S Tmax

      sigma tmax

      0
      
    • s_tmin: unknown

      S Tmin

      sigma tmin

      0
      
    • samplers_in_dropdown: null | boolean

      Samplers In Dropdown

      Use dropdown for sampler selection instead of radio group

      true
      
    • samples_filename_pattern: unknown

      Samples Filename Pattern

      Images filename pattern

      
      
    • samples_format: null | string

      Samples Format

      File format for images

      png
      
    • samples_log_stdout: unknown

      Samples Log Stdout

      Always print all generation info to standard output

      false
      
    • samples_save: null | boolean

      Samples Save

      Always save all generated images

      true
      
    • save_images_add_number: null | boolean

      Save Images Add Number

      Add number to filename when saving

      true
      
    • save_images_before_color_correction: unknown

      Save Images Before Color Correction

      Save a copy of image before applying color correction to img2img results

      false
      
    • save_images_before_face_restoration: unknown

      Save Images Before Face Restoration

      Save a copy of image before doing face restoration.

      false
      
    • save_images_before_highres_fix: unknown

      Save Images Before Highres Fix

      Save a copy of image before applying highres fix.

      false
      
    • save_images_replace_action: null | string

      Save Images Replace Action

      Saving the image to an existing file

      Replace
      
    • save_incomplete_images: unknown

      Save Incomplete Images

      Save incomplete images

      false
      
    • save_init_img: unknown

      Save Init Img

      Save init images when using img2img

      false
      
    • save_mask: unknown

      Save Mask

      For inpainting, save a copy of the greyscale mask

      false
      
    • save_mask_composite: unknown

      Save Mask Composite

      For inpainting, save a masked composite

      false
      
    • save_optimizer_state: unknown

      Save Optimizer State

      Saves Optimizer state as separate *.optim file. Training of embedding or HN can be resumed with the matching optim file.

      false
      
    • save_selected_only: null | boolean

      Save Selected Only

      When using 'Save' button, only save a single selected image

      true
      
    • save_to_dirs: null | boolean

      Save To Dirs

      Save images to a subdirectory

      true
      
    • save_training_settings_to_txt: null | boolean

      Save Training Settings To Txt

      Save textual inversion and hypernet settings to a text file whenever training starts.

      true
      
    • save_txt: unknown

      Save Txt

      Create a text file with infotext next to every generated image

      false
      
    • save_write_log_csv: null | boolean

      Save Write Log Csv

      Write log.csv when saving images using 'Save' button

      true
      
    • sd_checkpoint_cache: unknown

      Sd Checkpoint Cache

      Checkpoints to cache in RAM

      0
      
    • sd_checkpoint_dropdown_use_short: unknown

      Sd Checkpoint Dropdown Use Short

      Checkpoint dropdown: use filenames without paths

      false
      
    • sd_checkpoint_hash: unknown

      Sd Checkpoint Hash

      SHA256 hash of the current checkpoint

      
      
    • sd_checkpoints_keep_in_cpu: null | boolean

      Sd Checkpoints Keep In Cpu

      Only keep one model on device

      true
      
    • sd_checkpoints_limit: null | number

      Sd Checkpoints Limit

      Maximum number of checkpoints loaded at the same time

      1
      
    • sd_hypernetwork: null | string

      Sd Hypernetwork

      Add hypernetwork to prompt

      None
      
    • sd_i2i_cfg: null | number

      Sd I2I Cfg

      img2img CFG

      7
      
    • sd_i2i_height: null | number

      Sd I2I Height

      img2img height

      512
      
    • sd_i2i_width: null | number

      Sd I2I Width

      img2img width

      512
      
    • Optionalsd_model_checkpoint?: unknown

      Sd Model Checkpoint

      (Managed by Forge)

    • sd_noise_schedule: null | string

      Sd Noise Schedule

      Noise schedule for sampling

      Default
      
    • sd_t2i_cfg: null | number

      Sd T2I Cfg

      txt2img CFG

      7
      
    • sd_t2i_height: null | number

      Sd T2I Height

      txt2img height

      640
      
    • sd_t2i_hr_cfg: null | number

      Sd T2I Hr Cfg

      txt2img HiRes CFG

      7
      
    • sd_t2i_width: null | number

      Sd T2I Width

      txt2img width

      512
      
    • sd_unet: null | string

      Sd Unet

      SD Unet

      Automatic
      
    • sd_vae: null | string

      Sd Vae

      (Managed by Forge)

      Automatic
      
    • sd_vae_checkpoint_cache: unknown

      Sd Vae Checkpoint Cache

      VAE Checkpoints to cache in RAM

      0
      
    • sd_vae_decode_method: null | string

      Sd Vae Decode Method

      VAE type for decode

      Full
      
    • sd_vae_encode_method: null | string

      Sd Vae Encode Method

      VAE type for encode

      Full
      
    • sd_vae_explanation: null | string

      Sd Vae Explanation

      <abbr title='Variational autoencoder'>VAE</abbr> is a neural network that transforms a standard <abbr title='red/green/blue'>RGB</abbr>
      image into latent space representation and back. Latent space representation is what stable diffusion is working on during sampling
      (i.e. when the progress bar is between empty and full). For txt2img, VAE is used to create a resulting image after the sampling is finished.
      For img2img, VAE is used to process user's input image before the sampling, and to create an image after sampling.
    • sd_vae_overrides_per_model_preferences: null | boolean

      Sd Vae Overrides Per Model Preferences

      Selected VAE overrides per-model preferences

      true
      
    • sd_webui_modal_lightbox_icon_opacity: null | number

      Sd Webui Modal Lightbox Icon Opacity

      Full page image viewer: control icon unfocused opacity

      1
      
    • sd_webui_modal_lightbox_toolbar_opacity: null | number

      Sd Webui Modal Lightbox Toolbar Opacity

      Full page image viewer: tool bar opacity

      0.9
      
    • sd3_enable_t5: unknown

      Sd3 Enable T5

      Enable T5

      false
      
    • sdxl_clip_l_skip: unknown

      Sdxl Clip L Skip

      Clip skip SDXL

      false
      
    • sdxl_crop_left: unknown

      Sdxl Crop Left

      crop left coordinate

      0
      
    • sdxl_crop_top: unknown

      Sdxl Crop Top

      crop top coordinate

      0
      
    • sdxl_refiner_high_aesthetic_score: null | number

      Sdxl Refiner High Aesthetic Score

      SDXL high aesthetic score

      6
      
    • sdxl_refiner_low_aesthetic_score: null | number

      Sdxl Refiner Low Aesthetic Score

      SDXL low aesthetic score

      2.5
      
    • send_seed: null | boolean

      Send Seed

      Send seed when sending prompt or image to other interface

      true
      
    • send_size: null | boolean

      Send Size

      Send size when sending prompt or image to another interface

      true
      
    • set_scale_by_when_changing_upscaler: unknown

      Set Scale By When Changing Upscaler

      Automatically set the Scale by factor based on the name of the selected Upscaler.

      false
      
    • settings_in_ui: null | string

      Settings In Ui

      This page allows you to add some settings to the main interface of txt2img and img2img tabs.
      
    • sgm_noise_multiplier: unknown

      Sgm Noise Multiplier

      SGM noise multiplier

      false
      
    • show_gradio_deprecation_warnings: null | boolean

      Show Gradio Deprecation Warnings

      Show gradio deprecation warnings in console.

      true
      
    • show_progress_every_n_steps: null | number

      Show Progress Every N Steps

      Live preview display period

      10
      
    • show_progress_grid: null | boolean

      Show Progress Grid

      Show previews of all images generated in a batch as a grid

      true
      
    • show_progress_in_title: null | boolean

      Show Progress In Title

      Show generation progress in window title.

      true
      
    • show_progress_type: null | string

      Show Progress Type

      Live preview method

      Approx NN
      
    • show_progressbar: null | boolean

      Show Progressbar

      Show progressbar

      true
      
    • show_warnings: unknown

      Show Warnings

      Show warnings in console.

      false
      
    • sigma_max: unknown

      Sigma Max

      sigma max

      0
      
    • sigma_min: unknown

      Sigma Min

      sigma min

      0
      
    • skip_early_cond: unknown

      Skip Early Cond

      Ignore negative prompt during early sampling

      0
      
    • stealth_pnginfo_option: null | string

      Stealth Pnginfo Option

      Stealth infotext mode

      Alpha
      
    • tabs_without_quick_settings_bar: null | unknown[]

      Tabs Without Quick Settings Bar

      UI tabs without Quicksettings bar (top row)

      [
      "Spaces"
      ]
    • target_side_length: null | number

      Target Side Length

      Width/height limit for the above option, in pixels

      4000
      
    • temp_dir: unknown

      Temp Dir

      Directory for temporary images; leave empty for default

      
      
    • textual_inversion_add_hashes_to_infotext: null | boolean

      Textual Inversion Add Hashes To Infotext

      Add Textual Inversion hashes to infotext

      true
      
    • textual_inversion_print_at_load: unknown

      Textual Inversion Print At Load

      Print a list of Textual Inversion embeddings when loading model

      false
      
    • tiling: unknown

      Tiling

      Tiling

      false
      
    • token_merging_ratio: unknown

      Token Merging Ratio

      Token merging ratio

      0
      
    • token_merging_ratio_hr: unknown

      Token Merging Ratio Hr

      Token merging ratio for high-res pass

      0
      
    • token_merging_ratio_img2img: unknown

      Token Merging Ratio Img2Img

      Token merging ratio for img2img

      0
      
    • training_enable_tensorboard: unknown

      Training Enable Tensorboard

      Enable tensorboard logging.

      false
      
    • training_image_repeats_per_epoch: null | number

      Training Image Repeats Per Epoch

      Number of repeats for a single input image per epoch; used only for displaying epoch number

      1
      
    • training_tensorboard_flush_every: null | number

      Training Tensorboard Flush Every

      How often, in seconds, to flush the pending tensorboard events and summaries to disk.

      120
      
    • training_tensorboard_save_images: unknown

      Training Tensorboard Save Images

      Save generated images within tensorboard.

      false
      
    • training_write_csv_every: null | number

      Training Write Csv Every

      Save an csv containing the loss to log directory every N steps, 0 to disable

      500
      
    • training_xattention_optimizations: unknown

      Training Xattention Optimizations

      Use cross attention optimizations while training

      false
      
    • txt2img_settings_accordion: unknown

      Txt2Img Settings Accordion

      Settings in txt2img hidden under Accordion

      false
      
    • ui_extra_networks_tab_reorder: unknown

      Ui Extra Networks Tab Reorder

      Extra networks tab order

      
      
    • ui_reorder_list: unknown

      Ui Reorder List

      UI item order for txt2img/img2img tabs

      []
      
    • ui_tab_order: unknown

      Ui Tab Order

      UI tab order

      []
      
    • uni_pc_lower_order_final: null | boolean

      Uni Pc Lower Order Final

      UniPC lower order final

      true
      
    • uni_pc_order: null | number

      Uni Pc Order

      UniPC order

      3
      
    • uni_pc_skip_type: null | string

      Uni Pc Skip Type

      UniPC skip type

      time_uniform
      
    • uni_pc_variant: null | string

      Uni Pc Variant

      UniPC variant

      bh1
      
    • unload_models_when_training: unknown

      Unload Models When Training

      Move VAE and CLIP to RAM when training if possible. Saves VRAM.

      false
      
    • upcast_attn: unknown

      Upcast Attn

      Upcast cross attention layer to float32

      false
      
    • Optionalupscaler_for_img2img?: unknown

      Upscaler For Img2Img

      Upscaler for img2img

    • upscaling_max_images_in_cache: null | number

      Upscaling Max Images In Cache

      Maximum number of images in upscaling cache

      5
      
    • use_downcasted_alpha_bar: unknown

      Use Downcasted Alpha Bar

      Downcast model alphas_cumprod to fp16 before sampling. For reproducing old seeds.

      false
      
    • use_old_emphasis_implementation: unknown

      Use Old Emphasis Implementation

      Use old emphasis implementation. Can be useful to reproduce old seeds.

      false
      
    • use_old_hires_fix_width_height: unknown

      Use Old Hires Fix Width Height

      For hires fix, use width/height sliders to set final resolution rather than first pass (disables Upscale by, Resize width/height to).

      false
      
    • use_old_karras_scheduler_sigmas: unknown

      Use Old Karras Scheduler Sigmas

      Use old karras scheduler sigmas (0.1 to 10).

      false
      
    • use_old_scheduling: unknown

      Use Old Scheduling

      Use old prompt editing timelines.

      false
      
    • use_original_name_batch: null | boolean

      Use Original Name Batch

      Use original name for output filename during batch process in extras tab

      true
      
    • use_save_to_dirs_for_ui: unknown

      Use Save To Dirs For Ui

      When using "Save" button, save images to a subdirectory

      false
      
    • use_upscaler_name_as_suffix: unknown

      Use Upscaler Name As Suffix

      Use upscaler name as filename suffix in the extras tab

      false
      
    • webp_lossless: unknown

      Webp Lossless

      Use lossless compression for webp images

      false
      
    • xl_GPU_MB: null | number

      Xl Gpu Mb

      GPU Weights (MB)

      23090
      
    • xl_i2i_cfg: null | number

      Xl I2I Cfg

      img2img CFG

      5
      
    • xl_i2i_height: null | number

      Xl I2I Height

      img2img height

      1024
      
    • xl_i2i_width: null | number

      Xl I2I Width

      img2img width

      1024
      
    • xl_t2i_cfg: null | number

      Xl T2I Cfg

      txt2img CFG

      5
      
    • xl_t2i_height: null | number

      Xl T2I Height

      txt2img height

      1152
      
    • xl_t2i_hr_cfg: null | number

      Xl T2I Hr Cfg

      txt2img HiRes CFG

      5
      
    • xl_t2i_width: null | number

      Xl T2I Width

      txt2img width

      896
      
  • PackReq: { compress: boolean; pack_only: boolean; paths: string[] }

    PackReq

    • compress: boolean

      Compress

    • pack_only: boolean

      Pack Only

    • paths: string[]

      Paths

  • PathsReq: { paths: string[] }

    PathsReq

    • paths: string[]

      Paths

  • PNGInfoRequest: { image: string }

    PNGInfoRequest

    • image: string

      Image

      The base64 encoded PNG image

  • PNGInfoResponse: {
        info: string;
        items: Record<string, never>;
        parameters: Record<string, never>;
    }

    PNGInfoResponse

    • info: string

      Image info

      A string with the parameters used to generate the image

    • items: Record<string, never>

      Items

      A dictionary containing all the other fields the image had

    • parameters: Record<string, never>

      Parameters

      A dictionary with parsed generation info fields

  • PredictBody: {
        batched?: boolean;
        data: Record<string, never>[];
        event_data?: Record<string, never>;
        event_id?: string;
        fn_index?: number;
        request?: Record<string, never>;
        session_hash?: string;
        simple_format?: boolean;
        trigger_id?: number;
    }

    PredictBody

  • ProgressRequest: { id_live_preview: number; id_task?: string; live_preview: boolean }

    ProgressRequest

    • id_live_preview: number

      Live preview image ID

      id of last received last preview image

      -1
      
    • Optionalid_task?: string

      Task ID

      id of the task to get progress for

    • live_preview: boolean

      Include live preview

      boolean flag indicating whether to include the live preview image

      true
      
  • PromptStyleItem: { name: string; negative_prompt: null | string; prompt: null | string }

    PromptStyleItem

    • name: string

      Name

    • negative_prompt: null | string

      Negative Prompt

    • prompt: null | string

      Prompt

  • QuicksettingsHint: { label: string; name: string }

    QuicksettingsHint

    • label: string

      Label of the quicksettings field

    • name: string

      Name of the quicksettings field

  • RealesrganItem: { name: string; path: null | string; scale: null | number }

    RealesrganItem

    • name: string

      Name

    • path: null | string

      Path

    • scale: null | number

      Scale

  • RemoveCustomTagFromReq: { img_id: number; tag_id: string }

    RemoveCustomTagFromReq

    • img_id: number

      Img Id

    • tag_id: string

      Tag Id

  • RemoveCustomTagReq: { tag_id: number }

    RemoveCustomTagReq

    • tag_id: number

      Tag Id

  • RenameFileReq: { name: string; path: string }

    RenameFileReq

    • name: string

      Name

    • path: string

      Path

  • ResetBody: { event_id: string }

    ResetBody

    • event_id: string

      Event Id

  • SamplerItem: { aliases: string[]; name: string; options: Record<string, never> }

    SamplerItem

    • aliases: string[]

      Aliases

    • name: string

      Name

    • options: Record<string, never>

      Options

  • SchedulerItem: {
        aliases: null | string[];
        default_rho: null | number;
        label: string;
        name: string;
        need_inner_model: null | boolean;
    }

    SchedulerItem

    • aliases: null | string[]

      Aliases

    • default_rho: null | number

      Default Rho

    • label: string

      Label

    • name: string

      Name

    • need_inner_model: null | boolean

      Needs Inner Model

  • ScriptArg: {
        choices?: null | string[];
        label?: null | string;
        maximum?: unknown;
        minimum?: unknown;
        step?: unknown;
        value?: unknown;
    }

    ScriptArg

    • Optionalchoices?: null | string[]

      Choices

      Possible values for the argument

    • Optionallabel?: null | string

      Label

      Name of the argument in UI

    • Optionalmaximum?: unknown

      Minimum

      Maximum allowed value for the argumentin UI

    • Optionalminimum?: unknown

      Minimum

      Minimum allowed value for the argumentin UI

    • Optionalstep?: unknown

      Minimum

      Step for changing value of the argumentin UI

    • Optionalvalue?: unknown

      Value

      Default value of the argument

  • ScriptInfo: {
        args: {
            choices?: null | string[];
            label?: null | string;
            maximum?: unknown;
            minimum?: unknown;
            step?: unknown;
            value?: unknown;
        }[];
        is_alwayson?: null
        | boolean;
        is_img2img?: null | boolean;
        name?: null | string;
    }

    ScriptInfo

    • args: {
          choices?: null | string[];
          label?: null | string;
          maximum?: unknown;
          minimum?: unknown;
          step?: unknown;
          value?: unknown;
      }[]

      Arguments

      List of script's arguments

    • Optionalis_alwayson?: null | boolean

      IsAlwayson

      Flag specifying whether this script is an alwayson script

    • Optionalis_img2img?: null | boolean

      IsImg2img

      Flag specifying whether this script is an img2img script

    • Optionalname?: null | string

      Name

      Script name

  • ScriptsList: { img2img?: null | unknown[]; txt2img?: null | unknown[] }

    ScriptsList

    • Optionalimg2img?: null | unknown[]

      Img2img

      Titles of scripts (img2img)

    • Optionaltxt2img?: null | unknown[]

      Txt2img

      Titles of scripts (txt2img)

  • SDModelItem: {
        config?: null | string;
        filename: string;
        hash: null | string;
        model_name: string;
        sha256: null | string;
        title: string;
    }

    SDModelItem

    • Optionalconfig?: null | string

      Config file

    • filename: string

      Filename

    • hash: null | string

      Short hash

    • model_name: string

      Model Name

    • sha256: null | string

      sha256 hash

    • title: string

      Title

  • SDModuleItem: { filename: string; model_name: string }

    SDModuleItem

    • filename: string

      Filename

    • model_name: string

      Model Name

  • SearchBySubstrReq: {
        cursor: string;
        folder_paths?: string[];
        path_only: null | boolean;
        regexp: string;
        size: null | number;
        surstr: string;
    }

    SearchBySubstrReq

    • cursor: string

      Cursor

    • Optionalfolder_paths?: string[]

      Folder Paths

    • path_only: null | boolean

      Path Only

      false
      
    • regexp: string

      Regexp

    • size: null | number

      Size

      200
      
    • surstr: string

      Surstr

  • SetTargetFrameAsCoverReq: { base64_img: string; path: string; updated_time: string }

    SetTargetFrameAsCoverReq

    • base64_img: string

      Base64 Img

    • path: string

      Path

    • updated_time: string

      Updated Time

  • SimplePredictBody: { data: unknown[]; session_hash?: null | string }

    SimplePredictBody

    • data: unknown[]

      Data

    • Optionalsession_hash?: null | string

      Session Hash

  • StableDiffusionProcessingImg2Img: {
        alwayson_scripts: Record<string, never>;
        batch_size: null | number;
        cfg_scale: null | number;
        comments?: null | Record<string, never>;
        denoising_strength: number;
        disable_extra_networks: null | boolean;
        distilled_cfg_scale: null | number;
        do_not_save_grid: null | boolean;
        do_not_save_samples: null | boolean;
        eta?: null | number;
        firstpass_image?: null | string;
        force_task_id?: null | string;
        height: null | number;
        hr_distilled_cfg: null | number;
        image_cfg_scale?: null | number;
        include_init_images: boolean;
        infotext?: null | string;
        init_images?: null | unknown[];
        initial_noise_multiplier?: null | number;
        inpaint_full_res: null | boolean;
        inpaint_full_res_padding: null | number;
        inpainting_fill: null | number;
        inpainting_mask_invert: null | number;
        latent_mask?: null | string;
        mask?: null | string;
        mask_blur?: null | number;
        mask_blur_x: null | number;
        mask_blur_y: null | number;
        mask_round: null | boolean;
        n_iter: null | number;
        negative_prompt: null | string;
        override_settings?: null | Record<string, never>;
        override_settings_restore_afterwards: null | boolean;
        prompt: null | string;
        refiner_checkpoint?: null | string;
        refiner_switch_at?: null | number;
        resize_mode: null | number;
        restore_faces?: null | boolean;
        s_churn?: null | number;
        s_min_uncond?: null | number;
        s_noise?: null | number;
        s_tmax?: null | number;
        s_tmin?: null | number;
        sampler_index: string;
        sampler_name?: null | string;
        save_images: boolean;
        scheduler?: null | string;
        script_args: unknown[];
        script_name?: null | string;
        seed: null | number;
        seed_resize_from_h: null | number;
        seed_resize_from_w: null | number;
        send_images: boolean;
        steps: null | number;
        styles?: null | string[];
        subseed: null | number;
        subseed_strength: null | number;
        tiling?: null | boolean;
        width: null | number;
    }

    StableDiffusionProcessingImg2Img

    • alwayson_scripts: Record<string, never>

      Alwayson Scripts

      {}
      
    • batch_size: null | number

      Batch Size

      1
      
    • cfg_scale: null | number

      Cfg Scale

      7
      
    • Optionalcomments?: null | Record<string, never>

      Comments

    • denoising_strength: number

      Denoising Strength

      0.75
      
    • disable_extra_networks: null | boolean

      Disable Extra Networks

      false
      
    • distilled_cfg_scale: null | number

      Distilled Cfg Scale

      3.5
      
    • do_not_save_grid: null | boolean

      Do Not Save Grid

      false
      
    • do_not_save_samples: null | boolean

      Do Not Save Samples

      false
      
    • Optionaleta?: null | number

      Eta

    • Optionalfirstpass_image?: null | string

      Firstpass Image

    • Optionalforce_task_id?: null | string

      Force Task Id

    • height: null | number

      Height

      512
      
    • hr_distilled_cfg: null | number

      Hr Distilled Cfg

      3.5
      
    • Optionalimage_cfg_scale?: null | number

      Image Cfg Scale

    • include_init_images: boolean

      Include Init Images

      false
      
    • Optionalinfotext?: null | string

      Infotext

    • Optionalinit_images?: null | unknown[]

      Init Images

    • Optionalinitial_noise_multiplier?: null | number

      Initial Noise Multiplier

    • inpaint_full_res: null | boolean

      Inpaint Full Res

      true
      
    • inpaint_full_res_padding: null | number

      Inpaint Full Res Padding

      0
      
    • inpainting_fill: null | number

      Inpainting Fill

      0
      
    • inpainting_mask_invert: null | number

      Inpainting Mask Invert

      0
      
    • Optionallatent_mask?: null | string

      Latent Mask

    • Optionalmask?: null | string

      Mask

    • Optionalmask_blur?: null | number

      Mask Blur

    • mask_blur_x: null | number

      Mask Blur X

      4
      
    • mask_blur_y: null | number

      Mask Blur Y

      4
      
    • mask_round: null | boolean

      Mask Round

      true
      
    • n_iter: null | number

      N Iter

      1
      
    • negative_prompt: null | string

      Negative Prompt

      
      
    • Optionaloverride_settings?: null | Record<string, never>

      Override Settings

    • override_settings_restore_afterwards: null | boolean

      Override Settings Restore Afterwards

      true
      
    • prompt: null | string

      Prompt

      
      
    • Optionalrefiner_checkpoint?: null | string

      Refiner Checkpoint

    • Optionalrefiner_switch_at?: null | number

      Refiner Switch At

    • resize_mode: null | number

      Resize Mode

      0
      
    • Optionalrestore_faces?: null | boolean

      Restore Faces

    • Optionals_churn?: null | number

      S Churn

    • Optionals_min_uncond?: null | number

      S Min Uncond

    • Optionals_noise?: null | number

      S Noise

    • Optionals_tmax?: null | number

      S Tmax

    • Optionals_tmin?: null | number

      S Tmin

    • sampler_index: string

      Sampler Index

      Euler
      
    • Optionalsampler_name?: null | string

      Sampler Name

    • save_images: boolean

      Save Images

      false
      
    • Optionalscheduler?: null | string

      Scheduler

    • script_args: unknown[]

      Script Args

      []
      
    • Optionalscript_name?: null | string

      Script Name

    • seed: null | number

      Seed

      -1
      
    • seed_resize_from_h: null | number

      Seed Resize From H

      -1
      
    • seed_resize_from_w: null | number

      Seed Resize From W

      -1
      
    • send_images: boolean

      Send Images

      true
      
    • steps: null | number

      Steps

      50
      
    • Optionalstyles?: null | string[]

      Styles

    • subseed: null | number

      Subseed

      -1
      
    • subseed_strength: null | number

      Subseed Strength

      0
      
    • Optionaltiling?: null | boolean

      Tiling

    • width: null | number

      Width

      512
      
  • StableDiffusionProcessingTxt2Img: {
        alwayson_scripts: Record<string, never>;
        batch_size: null | number;
        cfg_scale: null | number;
        comments?: null | Record<string, never>;
        denoising_strength?: null | number;
        disable_extra_networks: null | boolean;
        distilled_cfg_scale: null | number;
        do_not_save_grid: null | boolean;
        do_not_save_samples: null | boolean;
        enable_hr: null | boolean;
        eta?: null | number;
        firstpass_image?: null | string;
        firstphase_height: null | number;
        firstphase_width: null | number;
        force_task_id?: null | string;
        height: null | number;
        hr_additional_modules?: null | unknown[];
        hr_cfg: null | number;
        hr_checkpoint_name?: null | string;
        hr_distilled_cfg: null | number;
        hr_negative_prompt: null | string;
        hr_prompt: null | string;
        hr_resize_x: null | number;
        hr_resize_y: null | number;
        hr_sampler_name?: null | string;
        hr_scale: null | number;
        hr_scheduler?: null | string;
        hr_second_pass_steps: null | number;
        hr_upscaler?: null | string;
        infotext?: null | string;
        n_iter: null | number;
        negative_prompt: null | string;
        override_settings?: null | Record<string, never>;
        override_settings_restore_afterwards: null | boolean;
        prompt: null | string;
        refiner_checkpoint?: null | string;
        refiner_switch_at?: null | number;
        restore_faces?: null | boolean;
        s_churn?: null | number;
        s_min_uncond?: null | number;
        s_noise?: null | number;
        s_tmax?: null | number;
        s_tmin?: null | number;
        sampler_index: string;
        sampler_name?: null | string;
        save_images: boolean;
        scheduler?: null | string;
        script_args: unknown[];
        script_name?: null | string;
        seed: null | number;
        seed_resize_from_h: null | number;
        seed_resize_from_w: null | number;
        send_images: boolean;
        steps: null | number;
        styles?: null | string[];
        subseed: null | number;
        subseed_strength: null | number;
        tiling?: null | boolean;
        width: null | number;
    }

    StableDiffusionProcessingTxt2Img

    • alwayson_scripts: Record<string, never>

      Alwayson Scripts

      {}
      
    • batch_size: null | number

      Batch Size

      1
      
    • cfg_scale: null | number

      Cfg Scale

      7
      
    • Optionalcomments?: null | Record<string, never>

      Comments

    • Optionaldenoising_strength?: null | number

      Denoising Strength

    • disable_extra_networks: null | boolean

      Disable Extra Networks

      false
      
    • distilled_cfg_scale: null | number

      Distilled Cfg Scale

      3.5
      
    • do_not_save_grid: null | boolean

      Do Not Save Grid

      false
      
    • do_not_save_samples: null | boolean

      Do Not Save Samples

      false
      
    • enable_hr: null | boolean

      Enable Hr

      false
      
    • Optionaleta?: null | number

      Eta

    • Optionalfirstpass_image?: null | string

      Firstpass Image

    • firstphase_height: null | number

      Firstphase Height

      0
      
    • firstphase_width: null | number

      Firstphase Width

      0
      
    • Optionalforce_task_id?: null | string

      Force Task Id

    • height: null | number

      Height

      512
      
    • Optionalhr_additional_modules?: null | unknown[]

      Hr Additional Modules

    • hr_cfg: null | number

      Hr Cfg

      1
      
    • Optionalhr_checkpoint_name?: null | string

      Hr Checkpoint Name

    • hr_distilled_cfg: null | number

      Hr Distilled Cfg

      3.5
      
    • hr_negative_prompt: null | string

      Hr Negative Prompt

      
      
    • hr_prompt: null | string

      Hr Prompt

      
      
    • hr_resize_x: null | number

      Hr Resize X

      0
      
    • hr_resize_y: null | number

      Hr Resize Y

      0
      
    • Optionalhr_sampler_name?: null | string

      Hr Sampler Name

    • hr_scale: null | number

      Hr Scale

      2
      
    • Optionalhr_scheduler?: null | string

      Hr Scheduler

    • hr_second_pass_steps: null | number

      Hr Second Pass Steps

      0
      
    • Optionalhr_upscaler?: null | string

      Hr Upscaler

    • Optionalinfotext?: null | string

      Infotext

    • n_iter: null | number

      N Iter

      1
      
    • negative_prompt: null | string

      Negative Prompt

      
      
    • Optionaloverride_settings?: null | Record<string, never>

      Override Settings

    • override_settings_restore_afterwards: null | boolean

      Override Settings Restore Afterwards

      true
      
    • prompt: null | string

      Prompt

      
      
    • Optionalrefiner_checkpoint?: null | string

      Refiner Checkpoint

    • Optionalrefiner_switch_at?: null | number

      Refiner Switch At

    • Optionalrestore_faces?: null | boolean

      Restore Faces

    • Optionals_churn?: null | number

      S Churn

    • Optionals_min_uncond?: null | number

      S Min Uncond

    • Optionals_noise?: null | number

      S Noise

    • Optionals_tmax?: null | number

      S Tmax

    • Optionals_tmin?: null | number

      S Tmin

    • sampler_index: string

      Sampler Index

      Euler
      
    • Optionalsampler_name?: null | string

      Sampler Name

    • save_images: boolean

      Save Images

      false
      
    • Optionalscheduler?: null | string

      Scheduler

    • script_args: unknown[]

      Script Args

      []
      
    • Optionalscript_name?: null | string

      Script Name

    • seed: null | number

      Seed

      -1
      
    • seed_resize_from_h: null | number

      Seed Resize From H

      -1
      
    • seed_resize_from_w: null | number

      Seed Resize From W

      -1
      
    • send_images: boolean

      Send Images

      true
      
    • steps: null | number

      Steps

      50
      
    • Optionalstyles?: null | string[]

      Styles

    • subseed: null | number

      Subseed

      -1
      
    • subseed_strength: null | number

      Subseed Strength

      0
      
    • Optionaltiling?: null | boolean

      Tiling

    • width: null | number

      Width

      512
      
  • TextToImageResponse: { images?: null | string[]; info: string; parameters: Record<string, never> }

    TextToImageResponse

    • Optionalimages?: null | string[]

      Image

      The generated image in base64 format.

    • info: string

      Info

    • parameters: Record<string, never>

      Parameters

  • ToggleCustomTagToImgReq: { img_path: string; tag_id: number }

    ToggleCustomTagToImgReq

    • img_path: string

      Img Path

    • tag_id: number

      Tag Id

  • UpdateTagReq: { color: string; id: number }

    UpdateTagReq

    • color: string

      Color

    • id: number

      Id

  • UpscalerItem: {
        model_name: null | string;
        model_path: null | string;
        model_url: null | string;
        name: string;
        scale: null | number;
    }

    UpscalerItem

    • model_name: null | string

      Model Name

    • model_path: null | string

      Path

    • model_url: null | string

      URL

    • name: string

      Name

    • scale: null | number

      Scale

  • ValidationError: { loc: (string | number)[]; msg: string; type: string }

    ValidationError

    • loc: (string | number)[]

      Location

    • msg: string

      Message

    • type: string

      Error Type