This guide provides detailed instructions on how to install and set up the "sd-webui-infinite-image-browsing" application using various methods.
This guide provides detailed instructions on how to install and set up the "sd-webui-infinite-image-browsing" application using various methods.
This is the recommended method if you are already using the Stable Diffusion web UI.
Extensions tab.Install from URL option.https://github.com/zanllp/sd-webui-infinite-image-browsingInstall button.Apply and restart UI. The extension will now be available as a new tab in your Stable Diffusion web UI.You can run "Infinite Image Browsing" as a standalone application using Python, without needing the Stable Diffusion web UI.
pip (Python package installer)requirements.txt file.
hnswlib and numpy are optional but required for experimental features like "natural language categorization & search". If you encounter installation issues for these, you can try:
Alternatively, to skip optional dependencies during installation, set the environment variable
IIB_SKIP_OPTIONAL_DEPS=1 before running pip install.
To run the application, execute app.py:
Common Options:
--host <address>: Specify the host address (default: 127.0.0.1).--port <port>: Specify the port number (default: 8000).--sd_webui_config <path>: Path to your Stable Diffusion web UI config.json file. This allows IIB to read your web UI's configured image directories.--sd_webui_path_relative_to_config: Use the sd_webui_config file's directory as the base for relative paths specified within config.json.--sd_webui_dir <path>: Path to the root of your SD-webui folder. This will automatically set sd_webui_config and sd_webui_path_relative_to_config.--extra_paths <path1> <path2> ...: Add additional folders to be browsed. These paths will be added to the homepage but their images won't be indexed for search by default.--update_image_index: Update the image index on startup. This is crucial for search functionality.--generate_video_cover: Pre-generate video cover images to speed up browsing.--generate_image_cache: Pre-generate image cache (thumbnails) to speed up browsing.--generate_image_cache_size <size>: Specify the thumbnail size for generate_image_cache (default: 512x512).--gen_cache_verbose: Enable verbose output during cache generation.--allow_cors: Allow Cross-Origin Resource Sharing (CORS) for the API.--enable_shutdown: Enable the /shutdown API endpoint (primarily for Tauri integration).--export_fe_fn: Export front-end functions to enable external access through iframe.--base <url_path>: The base URL for the IIB API (e.g., /my_iib_app).Example Usage:
Viewing Images from Other AI Software (ComfyUI/Fooocus/NovelAI/StableSwarmUI/Invoke.AI): The application supports parsing metadata from images generated by these tools. For detailed configuration or troubleshooting, refer to GitHub Issue 202↗.
Docker Usage: For Docker configurations, you can refer to the discussions on GitHub Discussions 366↗.
A pre-compiled desktop application version is available for easier installation without Python dependencies. This version also supports ComfyUI/Fooocus/NovelAI.
releases section on the right-hand side of the GitHub repository page↗..github/workflows/tauri_app_build.yml↗."Infinite Image Browsing" can be embedded into other web applications using an iframe. This allows it to function as a file browser within your existing application.
vue/usage.md↗.