It fetches booru tags and source images, builds prompts, and supports a two-stage generation flow with optional Img2Img, ControlNet handoff, and ADetailer postprocessing.
Important
Project Owner Testing Disclaimer: This project is strictly developed and tested only using Forge Neo. Other WebUI distributions (including original SD WebUI / Automatic1111 and original SD WebUI Forge) are not tested by the repository owner. Support for other environments is strictly best-effort.
- Fix brittle Img2Img/ControlNet interactions and make them reliable on Forge Neo.
- Split the old “remove bad tags” into clear, no‑surprise filters.
- Make installs easy with
requirements.txtand a bundled ControlNet helper. - Add favorites, file‑driven prompts, logging, and sensible caching.

- Open Forge Neo.
- Navigate to the Extensions tab -> Install from URL sub-tab.
- Paste the URL of this repository into URL for extension's git repository:
https://github.com/soficis/sd-webui-ranbooruX - Click Install.
- Restart Forge Neo or click Apply and restart UI.
- Copy or clone this repository to your Forge Neo extensions directory:
extensions/sd-webui-ranbooruX
- Start or restart Forge Neo.
install.pyinstalls extension dependencies fromrequirements.txt.- Open the RanbooruX panel.
Optional environment overrides for ControlNet detection:
SD_FORGE_CONTROLNET_PATHRANBOORUX_CN_PATH
- Select a booru source.
- Enter tags and generate.
- Optional: enable
Use Image for Img2Img. - Optional: enable
Use Image for ControlNet (Unit 0). - Optional: enable
Enable RanbooruX ADetailer support.
- Booru sources:
aibooru,danbooru,e621,gelbooru,gelbooru-compatible,konachan,rule34,safebooru,xbooru,yande.re - Fine-grained removal filters (artist, character, series, clothing, text/commentary, furry, headwear,
*_girl, subject constraints, preserve hair/eye colors, and more) Quick Stripone-click removal preset (instantly activates all major removal filters for aggressive prompt cleanup)- Danbooru tag catalog normalization/filtering (enabled by default, toggleable)
- Img2Img and ControlNet handoff flow
- Optional manual ADetailer pass after Img2Img
- LoRAnado random LoRA injection with PonyXL & Anima compatibility controls (legacy feature)
- Platform diagnostics panel for runtime visibility
- Caching, file-driven tag sources, favorites, and prompt/source logging
RanbooruX includes a bundled catalog used by the redesigned tag-catalog pipeline.
- Bundled file:
data/catalogs/danbooru_tags.csv - Catalog mode toggle:
Use Danbooru Tag Catalog(default ON) - Source selection:
BundledorCustom file
With catalog mode enabled (default), the catalog pipeline adds:
- alias normalization
- category-aware filtering
- better hair/eye preservation behavior
- textual/meta tag cleanup backed by catalog categories
- diagnostics panel for kept/dropped/unknown tag insight
When the toggle is disabled, RanbooruX still uses the bundled catalog path (catalog-only mode; no legacy filter engine).
Custom CSV catalogs are supported and imported into user/catalogs/.
Accepted formats:
- Header-based CSV (
tag,category,count,alias) - Headerless 4-column CSV (
tag,category,count,alias)
Validation/import controls:
Validate CSVImport Custom CatalogReload Catalog
Implementation details and format notes are documented in:
data/catalogs/README.txtranboorux/catalog.py
data/catalogs/README.txt includes provenance/licensing context for the bundled danbooru_tags.csv, plus references used for the research notes.
Note
LoRAnado is a legacy feature inherited from original Ranbooru and is not extensively tested by the repository owner.
LoRAnado includes detection and control surfaces to reduce incompatible LoRA picks in PonyXL and Anima workflows.
Controls:
Auto-detect PonyXL/Anima-compatible LoRAsScan LoRAsSelect All CompatibleDetected LoRAs (toggle enabled)LoRAnado blacklist
Detection prefers strict compatibility signals:
- Filename token matches (word-boundary aware):
- PonyXL:
pony,pony xl,pony-diffusion,ponydiffusion,pdxl,xlp - Anima:
anima
- PonyXL:
- Metadata matches from relevant base-model/architecture keys only
- avoids scanning unrelated metadata fields that previously caused false positives
If no compatible LoRAs are detected, RanbooruX falls back to all LoRAs in the selected folder so generation is still usable.
For Img2Img workflows, RanbooruX runs an initial pass, then a dedicated Img2Img pass, then optional manual ADetailer processing.
Note
Img2Img is currently not tested with Anima models/LoRAs.
Important behavior:
- first-pass previews are suppressed until final images are ready (preview guard)
- final results are forced back into processed image state for extension/UI consistency
- ADetailer integration uses guarded manual execution to reduce script collisions
- Project scope: original Ranbooru is mostly a single-script extension; RanbooruX adds a modular package (
ranboorux/), a fulltests/suite, CI/pre-commit/tooling config, and contributor/testing docs. - Core implementation:
scripts/ranbooru.pyis heavily expanded/refactored with compatibility wrappers and integration boundaries for Forge Neo. - Feature set: RanbooruX adds Danbooru tag-catalog processing (bundled/custom CSV + validation/import),
Quick Strip, richer removal filters, and a diagnostics panel. - Integration flow: RanbooruX hardens Img2Img + ControlNet + ADetailer behavior on Forge Neo with safer two-pass processing and guarded/manual ADetailer execution.
- LoRAnado: RanbooruX introduces PonyXL & Anima-aware LoRA detection/selection controls and blacklist support.
- Deepbooru Removal: Deepbooru support has been removed in RanbooruX.
- Original Ranbooru by Inzaniak
