Skip to content
Projekte

KazeKaze93/sd-webui-style-organizer

Auf GitHub ansehen

Über uns

A grid/gallery-based style selector for AUTOMATIC1111 / Forge / reForge. Browse and apply prompt styles from a searchable visual card grid.

Design und Medien

So werden diese Zahlen gemessen

Gemessener Sternzuwachs

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
+2

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

Style Grid for Stable Diffusion WebUI (Forge, reForge, A1111)

Style Grid replaces the default style dropdown with a fast, visual interface for browsing, selecting, and applying styles in Stable Diffusion WebUI hosts that load extension javascript/*.mjs as ES modules (Forge, reForge, and AUTOMATIC1111 — see Requirements).

It supports:

  • category-based browsing
  • source-aware filtering
  • deduplicated All Sources view with source picker
  • favorites
  • LoRA cards in a dedicated 🧬 LoRA sidebar view (scanned from disk, read-only)
  • drag reorder of selected styles
  • presets, backup, import/export
  • thumbnail generation/upload and cleanup tools
  • optional CivitAI title enrichment for LoRAs (manual fetch)
  • one-line grid tiles that show a long name whole on hover or keyboard focus
  • optional prompt preview on hover (off by default)

See CHANGELOG.md for full release history.

Screenshots are taken from the real panel on a local test page with a neutral demo library; previews are placeholder gradients and the WebUI page around the panel is a stand-in (see docs/screenshots/README.md).


Requirements

Host Minimum
AUTOMATIC1111 1.1.0
Forge / reForge any release

Older AUTOMATIC1111 versions do not load the extension's scripts (javascript/*.mjs).


Installation

Install from URL (recommended)

  1. Open Extensions in your WebUI (Forge, reForge, or A1111).
  2. Go to Install from URL.
  3. Paste this repository URL and install.
  4. Restart the UI.

Manual install

Clone into the host’s extensions/ folder (folder name sd-webui-style-organizer), then restart the UI:

Host Extensions path
Forge stable-diffusion-webui-forge/extensions/
reForge stable-diffusion-webui-reForge/extensions/ (or your reForge root’s extensions/)
AUTOMATIC1111 stable-diffusion-webui/extensions/
cd /path/to/<webui-root>/extensions
git clone <this-repository-url> sd-webui-style-organizer

Quick Start

  1. Open txt2img or img2img.
  2. Click the Style Grid trigger button to open the panel.
  3. Pick a source (All Sources or a specific CSV).
  4. Search or browse categories.
  5. Click a style card to apply/unapply.
  6. Use the top bar icon buttons (right of the search box): Clear prompts and selection (eraser) empties the positive and negative prompts and the selection, ⋯ More holds Import / Export and Backup & restore; the selection tray keeps its own Clear too. Presets live in the left sidebar. The Presets view shows each saved set as a card with its styles and wildcards (missing styles marked), an Apply / Applied · Remove button and a ⋯ menu for Rename… and Delete…; the last tile saves the current selection as a new set.

Theme

Style Grid follows the Gradio / Forge host light or dark theme:

  • The host detects mode from opaque page backgrounds (skips transparent layers) and posts { type: 'SG_THEME', mode: 'light' | 'dark' }.
  • The iframe URL also carries &theme= so the first paint matches before SG_THEME arrives.
  • Live host theme changes (for example Gradio system mode) update the panel without a full reload.

img2img support

Style Grid works in both generation tabs:

  • txt2img
  • img2img

Behavior is the same in both modes (source filter, deduplication, favorites, context menus, previews, presets). The small tab badge in the panel header shows the active host context.

Style Grid in img2img


Core Workflow

1) Browse and filter styles

  • Use the left sidebar for category filtering.
  • Use source dropdown for CSV-level filtering.
  • Use search box for instant name filtering.

Browse and filter styles

Search and autocomplete

  • Type in the search box to filter the grid in real time. Query tokens are AND-matched (whitespace-separated, case-insensitive): every token must appear in the haystack.
  • Grid search and autocomplete both use matchesSearch: style name (including underscore→space forms and display-name forms) plus description, with Combos: / Conflicts: reference lists stripped from the description so those lists do not pollute matches.
  • Autocomplete suggestions respect the active source filter (with All Sources, suggestions are deduped by name like the grid). Cap: top 8.
  • Favorites and Presets views also respect search and the active source filter (they previously ignored them).
  • Use arrow keys + Enter to pick a suggestion quickly, or click the item with mouse.
  • In the grid, arrow keys move between tiles and Enter / Space toggles the focused style. Nothing is focused when the panel opens: press Tab or click a tile first.

Search with autocomplete suggestions

2) Apply styles from cards

  • Card click toggles selection and applies/unapplies style.
  • Selected styles are tracked in the bottom selected bar.
  • Reorder selected styles by dragging chips in the selected bar.
  • In the gallery, hovering a card shows two small buttons: ★ adds or removes the style from favorites, and ⋯ opens the style menu (see §6). Neither one selects the card.

Apply styles from cards — selection and bottom bar

Long names: grid tiles keep one line and cut a long name with an ellipsis. Hovering such a tile, or reaching it with Tab or the arrow keys, shows the tile with its whole name on top of its neighbours, without moving the grid; a name wider than the grid wraps. Clicks and right-clicks still go to the tile underneath. The gallery and slice-selection mode do not expand tiles.

A long name shown whole on hover

Prompt on hover (optional): turn on Show prompt on hover (speech-bubble icon in the header, off by default; remembered in this browser). Resting on a tile, or reaching it with Tab or the arrow keys, then shows a small card after a short delay: the style's name, its pack, the start of its prompt and, in red, the start of its negative prompt. Moving to the next tile right away shows its card at once. In the gallery the card opens under the tile. Escape hides the card first; the next Escape closes the panel. Styles with an empty prompt and negative show no card.

Prompt card on hover in the grid

Prompt card under a gallery tile

3) All Sources and duplicate names (source picker)

  • With All Sources selected, the grid shows one card per style name even if that name appears in several CSV files.
  • If the same name exists in more than one file, the first click on that card does not toggle the style yet — it opens a small source picker next to the card.
  • The picker lists each duplicate as the CSV file name only (no folder path, no .csv extension). Choose the row you want; that variant is applied like a normal selection.
  • Click outside the picker to close it without applying.
  • If you pick a specific source in the dropdown, you always see that file’s styles only — duplicates from other files are not shown together, so the picker is not used.

4) Favorites and LoRA

  • Favorites: right‑click a style card → Add to favorites / Remove from favorites (or, in the gallery, the ★ that appears on hover). Favorited tiles show a small star in the top-right corner. Favorites are stored by name + CSV source, so the same name from two files can be favorited independently.
  • Open Favorites in the left sidebar to filter the grid to that list (search + source filter apply here too).
  • 🧬 LoRA appears in the sidebar when at least one LoRA was scanned. Cards are synthetic styles (not CSV rows), grouped by sub-folder under your LoRA roots. See LoRA support below.

LoRA sidebar view — cards grouped by folder, CivitAI titles on tiles

Favorites — styles saved via context menu

Browsing a category — favorited tiles show a star; toggle via context menu or Favorites sidebar

5) Category context menu: wildcards and previews

Where to open it

  • Right-click a category row in the left sidebar (the colored category list), or press the ContextMenu key / Shift+F10 on it, to open the category menu. Escape closes it and returns focus to where it was opened.
  • Right-clicking LoRA opens the same menu without Generate previews….
  • While the pointer is over a category row (or LoRA), or it has keyboard focus, the line at the bottom of the sidebar reads NAME: right-click for options.
  • Right-clicking a category header inside the main grid (the sticky ▼ CATEGORY (count) row) no longer opens a menu — that duplicate entry point was removed. A normal left-click on the header still collapses/expands the section; Select All on that row is unchanged.

Menu actions

Item What it does
Random (whole category, may repeat) Inserts a token into the positive prompt on the Forge side: {sg:<category>}. The category name is normalized to lowercase to match how styles are grouped.
Shuffle (whole category, no repeats in a batch) Inserts a token into the positive prompt on the Forge side: {sgd:<category>}. The category name is normalized to lowercase to match how styles are grouped.
Pick styles… Opens a slice-selection mode in the grid: tick individual styles with checkboxes. The Random / Shuffle toggle next to the title in the mode bar chooses the wildcard kind (Random by default); switching keeps the ticked styles. Search and the source filter keep working; Select all covers only the styles currently visible after filtering. Add wildcard inserts a slice token for exactly that selection; Cancel discards it.
Generate previews… Queues thumbnail generation for styles in that category (batch job in the host). Shown for every category except LoRA; does not report a missing-preview count.

Sidebar category menu — Random, Shuffle, Pick styles… and Generate previews…

Slice-selection mode — mode bar with selection count and Select all / Clear / Add wildcard / Cancel; per-card checkboxes; search stays active

How {sg:…} wildcards work

  • Syntax (whole category): {sg:<category>} — curly braces, the sg / sgd prefix (case-insensitive, so {SG:…} and {SGD:…} work too), then the category label as it appears in Style Grid (e.g. ACCESSORY or accessory). Only this pattern is special; the regex is \{(sgd?):…\} with re.IGNORECASE (see stylegrid/wildcards.py).
  • Syntax (slice): {sg:<category>:<spec>}. Spec entries are comma-separated style-name suffixes without the category prefix — e.g. {sg:body:Tanned,Shortstack}, not BODY_Tanned. A leading - excludes ({sg:body:-Tanned} = whole category minus that style); a trailing * is a prefix glob ({sg:body:Male_*}).
  • Slice resolution: include entries are unioned first, then excludes subtract. If every listed name is missing from the CSV, the token falls back to the whole category rather than breaking the prompt. The UI writes whichever form is shortest (so selecting almost an entire category often produces a compact exclude token); the resolver understands all forms regardless.
  • When it runs: tokens are expanded at generation time inside Style Grid’s own processing hook (scripts/style_grid.py), before the rest of the prompt is handled like a normal WebUI prompt.
  • What gets inserted: one random style from the resolved pool (whole category or slice). A wildcard in the positive field pulls the style’s prompt; in the negative field it pulls negative_prompt. Category matching is case-insensitive. The draw follows the seed: a fixed seed repeats the same picks, seed -1 gives new ones.
  • The picked style’s negative comes along: a token in the positive prompt also adds that style’s negative_prompt to the same image’s negative, after your own negative text, in token order, then duplicates are merged. A negative tag that also appears in the expanded positive is dropped (written to the log at INFO level). This always runs. The infotext records the picks as Style Grid styles: "NAME (file.csv), …".
  • Empty fields: an empty chosen field resolves to an empty string (the token is not kept), on both the positive and negative sides.
  • Nesting depth: nested {sg:…} / {sgd:…} tokens resolve in up to 3 passes. Leftovers after that are stripped with a warning.
  • Source-aware pool: if a specific CSV is selected in the source filter, wildcard replacement picks styles only from that source; with All Sources, it uses the merged style pool.
  • Where you can put it: positive or negative prompt box — both strings are scanned. A token in the negative box that also appears in the positive box reuses the positive pick (the k-th occurrence pairs with the k-th one).
  • Unknown category: the raw token is left in place through nested passes, then stripped with a warning.
  • Chips: the selected bar shows each active {sg:…} as a chip. Slice chips display the real number of styles the token can resolve to, with those style names in the tooltip.

Wildcard chips — slice chip category (N) beside a plain whole-category chip, with matching {sg:…} tokens in the prompt

  • You can type or paste tokens manually; the context menu only inserts the same formats.

Compatibility with other “wildcard” extensions (e.g. stable-diffusion-webui-wildcards / Dynamic Prompts __file__ style)

  • Those stacks usually recognize different syntax — commonly __name__ (double underscores) or other Dynamic Prompts / custom grammar — not {sg:…}.
  • Style Grid only looks for {sg:…} and {sgd:…}; other extensions only interpret their patterns. The two do not use the same delimiters, so they do not fight over the same text in normal use.
  • You do not need the Automatic1111 wildcards extension (or any extra wildcard plugin) for Style Grid’s {sg:…} feature — it is implemented inside this extension (Python resolve_sg_wildcards + your style CSV data). Other wildcard extensions remain optional for their own __…__ / file-based workflows.

🃏 Shuffle wildcards

A shuffle wildcard draws styles without repeats across batches. {sgd:category} uses every style once before any style comes back, advancing one deck position per batch. Images inside one batch share the same pick (same as {sg:...}). To get a different style on every image, set batch size 1 and raise batch count.

  • Syntax: {sgd:category} for a whole category, {sgd:category:spec} for a slice. The spec grammar is the same as for {sg:...} (names, -excludes, Root_* globs), and the order of entries does not matter.
  • Insert: open a category's menu and choose Shuffle (whole category) or Pick styles… with Shuffle in the mode bar, or type the token by hand. Shuffle chips have their own icon and can be reordered, removed and saved in presets like any other wildcard.
  • Scope of uniqueness: one generation, counted in batches (batch count), not images. A fixed seed repeats the same order, seed -1 gives a new order on every click.
  • Several tokens: repeating the same token in one prompt draws a different style for each occurrence.
  • Positive and negative prompts: the same shuffle token in both fields resolves to the same style for a given image.
  • Duplicates across packs: styles with identical prompt and negative prompt count once.
  • Random wildcards keep their own draw. Mixing {sg:...} and {sgd:...} in one prompt is fine, they do not influence each other.
  • Hires fix: the built-in hires pass reuses the first-pass pick and negative (a hires prompt override reuses the pick for the tokens it shares with the first pass). The post-process ✨ button re-reads the prompt field unless the expanded prompt of the selected image is available, so a shuffle token may then resolve to a different style, just as a random wildcard would.
  • Presets: shuffle chips are saved in presets. Older versions of the extension load such presets as random wildcards.

6) Style card context menu

Where to open it

  • Right-click a style card in the grid. (Left-click still applies the normal select / source-picker rules.)

On the tile (not menu items)

  • Star (top-right) appears when the style is favorited.
  • Check badge (bottom-right) appears when the style is selected.

Menu actions

Item What it does
Select / Deselect Same as a left-click on the card: applies or removes the style from the active selection (and host prompt), without opening the duplicate-source picker.
Add to favorites / Remove from favorites Toggles the star list for this style row (name + source); the tile star updates immediately.
Copy prompt Copies this style’s prompt text to the clipboard (toast on success/failure).
Edit… Opens the host style editor for this style.
Duplicate Opens the host flow to duplicate the style (typically into the same or chosen source).
Move to category… Opens the host dialog to change the style’s category field.
Generate preview Runs thumbnail generation for this style (Stable Diffusion–based preview in the host).
Upload preview… Opens the host file picker to set a custom thumbnail image.
Remove preview Shown only when the style already has a thumbnail. Deletes the cached preview for this style’s name + source (surfaces errors instead of silently no-oping).
Delete… Removes the style (host confirms and updates CSV). Styles from the shipped samples/ pack cannot be modified via the API (read-only).

LoRA cards: Edit / Duplicate / Move / Generate preview / Upload preview / Remove preview / Delete are hidden. Select, Favorites, and Copy prompt remain. The server also rejects CSV save/delete for LoRA-sourced rows.

Click outside the menu to close it (moving the pointer off the menu does not dismiss it).

Style card context menu

7) Thumbnail previews

Generating a preview

  • Per style: open the style’s context menu (right-click the card) → Generate preview. The host runs an SD render and saves an image under user-data thumbnails/ (see Data and Persistence). While it runs, the tile shows its own progress: a small spinner at the right end of a grid tile (then a ✓ for a moment), or a dimmed Generating overlay on a gallery thumbnail until the new image replaces it. Errors appear as a toast.
  • Per category: use the category context menu → Generate previews… (see §5). Only styles without a preview are queued. Progress shows in that category's header (Generating previews 4 / 12, a thin bar along its bottom edge, Skip for the style being generated, Cancel for the rest) and in the line at the bottom of the sidebar (Generating 4 / 12 with Cancel), so it stays visible when the header is scrolled away. When the batch ends, both briefly show the result (for example Previews ready: 9 new · 2 already had) or Cancelled after 4 / 12. One batch runs at a time.

After a successful run, the iframe is notified so the UI can refresh that style’s thumbnail version.

Thumbnail images are loaded via GET /style_grid/thumbnail?name=…&source=… (CSV styles require source = that row’s source_file). Preview URLs may also include a version for browser cache. Generate / upload / delete send the same source identity so duplicate names across CSVs keep separate previews. Generation is queued (job_id); the host polls status and can cancel.

Upgrading from older builds: thumbnails used to be stored under a name-only hash. On first GET /thumbnails/list, a unique name is renamed to the new (name, source) file automatically. If the same style name exists in more than one loaded pack, that old file is not assigned to either pack — regenerate the preview for each.

What the card shows

  • The grid card is a compact label (name and category color accent). The generated image is not shown inside the tile — switch to Gallery to see it.

8) Fullscreen mode

  • Click the Fullscreen button in the top-right corner of the panel to switch between floating window mode and edge-to-edge view.
  • Fullscreen gives the grid and sidebar more horizontal space, which is useful for large category lists and long browsing sessions.
  • Click the same button again to return to the regular floating panel size.

Fullscreen mode

Top bar (icon buttons on the right)

What this means: not a separate “toolbar” window — it is the top header row of the Style Grid panel: Style Grid title, txt2img/img2img tag, source dropdown, search, then a row of small icon buttons on the right (ToolBtn with lucide icons + tooltips). Hover an icon for its label. Presets are in the left sidebar, not here. There is no Random button.

Grid / Gallery (the two-segment switch right of the search box): Gallery shows each style's preview as a square tile with its name below; Grid stays the text-only tiles. The choice is remembered in this browser.

Gallery view

Top bar — icon buttons (right of search)

Control What it does
⋯ More → Backup & restore… Opens the Backup / Restore modal. Create backup writes a timestamped snapshot under the user-data backups/ folder (folder + .zip) of loaded style CSVs plus presets.json, category_order.json, favorites.json, and recent.json when present. Keeps directory distinction (styles/ vs samples/ vs external paths) so same basenames do not overwrite each other. Thumbnails are opt-in via the modal checkbox Include thumbnails (large) (API body flag include_thumbnails). Restore picks a listed snapshot and creates an automatic safety backup of the current state first. Failures, HTTP errors, or “nothing to copy” are reported via toasts (see docs/API.md § /backup / /restore).
⋯ More → Import / Export… Export/import styles, presets, favorites, and recent. Colliding names are skipped and listed in a toast; non-colliding styles are imported into a new CSV; presets still merge.
Show prompt on hover Turns the prompt card on tiles on or off (see Prompt on hover in §2). Off by default; remembered in this browser. When the panel is narrower than 800 px it is a checkbox item in the ⋯ More menu instead of a header button.
New style Creates a style in the currently selected CSV. Disabled until a specific (non–read-only) source is selected — tooltip explains why.
Fetch LoRA titles Visible only in the 🧬 LoRA sidebar view. Opt-in: calls CivitAI’s public API using modelId already present in each LoRA’s local .json metadata; caches titles under user-data lora_titles.json. Rate-limited; reopen the panel after the run to see updated labels.

Fetch LoRA titles — toolbar tooltip in LoRA view

| N selected | Shown when at least one style is selected. | | Style conflicts | When a selected style's negative prompt removes another's tags, an amber N conflicts chip appears in the selection tray and the styles involved get an amber border. Clicking it opens one card per pair (→ one way, ↔ both ways) with Remove for either style or Keep both, which hides that pair until one of its styles leaves the selection. | | Fullscreen / Exit fullscreen | Toggles between the floating panel size and edge-to-edge layout. | | Close Style Grid | Closes the Style Grid panel. |


LoRA support

Style Grid can show installed LoRAs as style cards so they search, favorite, and apply/unapply like CSV styles.

Topic Behavior
Discovery Best-effort auto-detect of Forge/A1111 LoRA dirs (paths_internal.models_path/Lora, cmd_opts.lora_dir, cmd_opts.lyco_dir), plus optional config/lora_roots.json (gitignored; copy from config/lora_roots.json.example). Roots are merged and deduped by realpath so junctions/symlinks do not double-scan.
Scan depth Fully recursive unless max_depth is set in lora_roots.json.
Card identity Synthetic source_file / source marker __style_grid_lora__. Style keys look like LORA_<stem> (disambiguated with relative folder when stems collide). Apply injects <lora:stem:weight> plus optional activation text from sibling metadata.
Metadata Sibling <stem>.json (A1111/Forge extra-networks / CivitAI Browser+): preferred weight, activation / negative text, description/notes, modelId.
Previews Only real sibling preview files (*.preview.* preferred, else bare image next to the model). Never SD-generated thumbnails for LoRA cards.
Sidebar 🧬 LoRA special view (shown when at least one LoRA was scanned). LoRAs are excluded from the CSV source dropdown and from normal category lists.
Titles Optional 🌐 toolbar action fetches CivitAI model names via GET https://civitai.com/api/v1/models/{id} (manual only; sequential + throttled; retries HTTP 429). Successful titles become display_name on cards/hover.
Read-only UI hides mutate actions; save_style_to_csv / delete_style_from_csv raise if source_file is the LoRA marker.
Refresh Reloading styles (GET /styles / panel refresh) rescans LoRA roots when the scan cache is cold or invalidated.

🧬 LoRA view — CHARACTER folder group with titled cards

Fetch LoRA titles from CivitAI — toolbar control


Data and Persistence

User-writable files live under the WebUI data directory (shared.cmd_opts.data_path / --data-dir), in a style_grid/ subdirectory (typically <WebUI>/style_grid/ when using the default data dir). If the host API is unavailable, the extension falls back to <extension>/data/.

File/Folder Purpose
presets.json Saved presets
category_order.json Persisted category order
favorites.json Favorited style row keys (name + source)
recent.json Recently applied style row keys (max 10), written by older versions; still exported and backed up, no longer updated by the panel
backups/ Timestamped backups of style CSVs + metadata JSON (folder + .zip); thumbnails optional
thumbnails/ Thumbnail image cache (CSV styles)
lora_titles.json Cached CivitAI LoRA titles (by modelId)

Optional local config (not committed; still under the extension folder):

File Purpose
config/lora_roots.json Extra LoRA scan roots / optional max_depth (see .example)

Local UI chrome still uses browser localStorage (active source, thumbnail cache-bust versions). Favorites are server-side under the user data root. On first open after upgrade, the legacy sg_v2_favorites localStorage key is migrated once when the server file is absent.

Export / Import JSON includes styles, presets, favorites, and recent.

Backup / Restore (toolbar): creates snapshots under backups/ that include CSVs plus presets.json, category_order.json, favorites.json, and recent.json. Thumbnails are opt-in (size shown in the dialog). Restore picks a snapshot and creates an automatic safety backup of the current state first.

Data location: User data lives under the WebUI data directory (style_grid/), so data survives reinstall since this version. On first launch after upgrade, an existing <extension>/data/ tree is copied once into the new root (marker file prevents a second copy). The old <extension>/data/ folder is not auto-deleted.


CSV Format

Primary style fields:

  • name
  • prompt
  • negative_prompt
  • optional metadata: description, category

Style packs are read from the extension styles/ folder, samples/, the WebUI styles file(s) (shared.prompt_styles, typically <data_path>/styles.csv), and any *.csv in the WebUI root folder (process cwd; CivitAI packs often live next to styles.csv).

Detailed specification: docs/CSV_FORMAT.md.


API and Developer Docs

  • API reference: docs/API.md
  • Development guide: docs/DEVELOPMENT.md
  • V2 React bundle (iframe loading, Zustand useShallow, selectFilteredStyles): ui/README.md (also overlaps with GET /style_grid/ui in docs/API.md).

Quality checks run locally via .githooks/pre-push (no GitHub Actions). After clone: git config core.hooksPath .githooks.

Remote / share access

When Forge is started with --listen or --share, mutating Style Grid API routes require a per-session X-StyleGrid-Token (injected into the iframe HTML). With --gradio-auth, GET /style_grid/ui and those write routes also require a Gradio login cookie (access-token / access-token-unsecure on Gradio 3.x). Prefer --gradio-auth whenever the UI is reachable beyond localhost. Details: docs/DEVELOPMENT.md § Write-route / Gradio auth.

Corrupt presets.json (or similar data files) returns HTTP 409 and refuses overwrite; restore from the sibling .bak before saving again.


Troubleshooting

Issue What to check
Panel does not open Extension enabled + full Forge restart.
Styles missing CSV location/encoding/header correctness.
Source picker not shown Must be in All Sources, and style must exist in multiple CSVs.
Order seems wrong Check active source and category order persistence rules.
Thumbnails not appearing Verify generation/upload status and user-data thumbnails/ permissions. CSV preview URLs and generate/upload/delete must include source (source_file). Generation is async by job_id — wait for completion / check cancel. LoRA cards only show sibling preview files on disk.
🧬 LoRA missing in sidebar No scanned models yet — check Forge LoRA folder / config/lora_roots.json, then reload / reopen the Style Grid panel so /styles rescans.
LoRA titles still filenames after 🌐 Wait for fetch to finish (toast), then reopen the panel so /styles reloads with cached display_name. HTTP 429 means rate limit; retry later (failed entries are retried on the next run).
Some styles were skipped on import The toast lists names that already exist; rename them in the export file or rename/delete the existing library entries, then import again. LoRA synthetic names are excluded from the check.
Cannot edit/delete a sample style Expected: CSVs under samples/ are read-only. Copy the style into your own styles/ CSV (or another writable source) first.
Preset save blocked / 409 presets.json (or another data file) is corrupt — restore from .bak next to it; Style Grid will not overwrite bad JSON.
/style_grid/ui returns 401 Expected with --gradio-auth until you log in to Gradio (same cookies as the WebUI login).

Screenshots in this repo

PNG files live under docs/screenshots/ and are named to match sections in this README. They are generated: cd ui && node bench/screenshots/capture.mjs takes them from the real panel with a neutral demo library and writes them back under the same names (see docs/screenshots/README.md).


License

AGPL-3.0 (LICENSE)

Ähnliche Projekte entdecken

Wird geladen…