163 Commits

Author SHA1 Message Date
Vladimir Mandic 48cf0166f3 separate progress monitoring from live preview, live preview improvements, progress details
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-07 11:41:40 +02:00
Vladimir Mandic 53e69c7ec2 seedvr enhancements
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-07-21 15:59:45 +02:00
Vladimir Mandic fb71f63d77 fix gallery delete and save
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-07-13 19:08:59 +02:00
Vladimir Mandic 17c8fe91e2 cleanup performance tags
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-07-02 19:14:04 +02:00
Vladimir Mandic 25262146fb lint fix
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-16 10:16:17 +02:00
Claude e6c13aab37 Fix PObject metadata keys that never match parsed infotext
Infotext parsing produces 'Negative prompt' and 'Variation seed', but
the save-image PObject looked up 'Negative_prompt' and 'Subseed', so
images saved from restored metadata always lost their negative prompt
and variation seed. Use the keys the parser actually emits, matching
the sibling lookups like 'CFG scale'.

https: //claude.ai/code/session_014QWKWgKvMevcuvfCnsYoT2
Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-12 02:41:25 -04:00
Vladimir Mandic a56d1d299e add wildcards to image metadata and note separate template from prompt field
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-19 09:45:20 +02:00
Vladimir Mandic f67562b912 - all guidance values set to -1 to enable using model defaults
- log default values used if not overriden by user
- rename inconsistent guidance variables:

p.cfg_scale
p.image_cfg_scale -> p.cfg_image
p.diffusers_guidance_rescale -> p.cfg_rescale
p.pag_scale -> p.cfg_true
p.pag_adaptive -> p.cfg_adaptive

Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-16 11:06:23 +02:00
Vladimir Mandic f1b6e82ccf models table improvements
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-08 12:16:21 +02:00
Vladimir Mandic 56a2ebf973 gallery skip empty files
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-25 14:48:07 +02:00
awsr f4437ef6f1 Update token counter to support truncation 2026-04-24 15:24:36 -07:00
awsr 1d5154e125 Don't display empty groups 2026-04-22 15:26:13 -07:00
awsr b18de2e9b5 Fix display typo 2026-04-22 15:25:56 -07:00
CalamitousFelicitousness afff6c1852 feat(ui): right-click send-to-control for prompt/params transfer
Right-clicking the "Send to Images" button now offers two entries:
one copies the prompt only, the other copies all generation parameters
except the image itself. Available in gallery, txt2img, img2img, and
extras. Keeps the results toolbar compact.

- extend ParamBinding with skip_image and only_prompt flags
- create prompt/params variants in all four output panels
- register per-tab context menu entries scoped to #{tab}_tabitem
- match menu selectors via e.target.closest for nested-icon clicks
- document the right-click surface in the "➠ Control" locale hint
2026-04-12 21:51:29 +01:00
vladmandic b2b4e13bab lint
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-22 11:17:41 +01:00
CalamitousFelicitousness 9a5e908ddf fix(ui): initialize max_length before tokenizer block 2026-03-21 23:27:46 +00:00
awsr 51a10320c7 Implement updated Warn Once handling 2026-03-13 02:01:59 -07:00
awsr 9a7f1e7978 Typing update 2026-03-13 02:01:56 -07:00
awsr 041029d184 Restore max length of 75 (77 for model)
Default model max length for CLIP is 77 including BOS and EOS.
2026-03-13 02:01:53 -07:00
awsr 686ac0375d Always enabled 2026-03-13 02:01:50 -07:00
awsr 09c82064e1 Only enable detailed with native prompt parsing 2026-03-13 02:01:47 -07:00
awsr f43b459e9b Revert "Use manual looping"
This reverts commit e5fdb0015727edc68938a8a394a83b3c70f9833a.
2026-03-13 02:01:45 -07:00
awsr 0d27d9ea09 Use manual looping
- I'm assuming there won't be much of a difference in performance. If it ends up being too slow, this can always be reverted.
2026-03-13 02:01:41 -07:00
awsr 897925da2a Minor cleanup 2026-03-13 02:01:35 -07:00
awsr f1a4faadb8 Add optional detailed token counts 2026-03-13 02:00:51 -07:00
awsr 61b98de9e2 Keep wsl-open as a fallback
Very unlikely to be needed, but just in case...
2026-03-07 14:52:10 -08:00
awsr 952fdedd73 Use wslview on WSL + minor rewrite
`wslview` has been included by default in WSL for a while now.
2026-03-07 01:13:49 -08:00
Vladimir Mandic e5c494f999 cleanup logger 2026-02-19 11:09:13 +01:00
Vladimir Mandic a3074baf8b unified logger 2026-02-19 09:46:42 +01:00
Vladimir Mandic bfe014f5da modernize typing 2026-02-19 09:15:37 +01:00
CalamitousFelicitousness 61b031ada5 refactor: update imports for caption module rename
Update all imports from modules.interrogate to modules.caption across:
- modules/shared.py, modules/shared_legacy.py
- modules/ui_caption.py, modules/ui_common.py
- modules/ui_control.py, modules/ui_control_helpers.py
- modules/ui_img2img.py, modules/ui_sections.py
- modules/ui_symbols.py, modules/ui_video_vlm.py
2026-02-11 02:47:41 +00:00
vladmandic 58351b1f53 fix metadata save and temp file handler
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-28 19:28:49 +01:00
awsr 3298f3db9a Rework prompt parsing/processing
- Return consistent structure
2026-01-21 16:57:05 -08:00
awsr ffa2150d42 Re-enable file deletion 2026-01-20 22:07:44 -08:00
vladmandic f9aa2591e5 fix gallery save/delete
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-20 09:53:20 +01:00
CalamitousFelicitousness 761ea1c327 feat(settings): add base path support for output folders
Change "Images folder" and "Grids folder" settings to act as base paths
that combine with specific folder settings, rather than replacing them.

- Add resolve_output_path() helper function to modules/paths.py
- Update all output path usages to use combined base + specific paths
- Update gallery API to return resolved paths with display labels
- Update gallery UI to show short labels with full path on hover

Example: If base is "C:\Database\" and specific is "outputs/text",
the resolved path becomes "C:\Database\outputs\text"

Edge cases handled:
- Empty base path: uses specific path directly (backward compatible)
- Absolute specific path: ignores base path
- Empty specific path: uses base path only
2026-01-16 16:24:05 +00:00
vladmandic f21a943028 gallery save/delete checks
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-13 09:57:22 +01:00
vladmandic 87429b19ca kanvas add send-to functionality
Signed-off-by: vladmandic <mandic00@live.com>
2026-01-04 19:37:10 +01:00
vladmandic 3a96c514c4 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-24 15:10:43 +01:00
CalamitousFelicitousness a19c795b49 fix(prompt): handle multi-modal processors in token counter
For FLUX2 models using Mistral3/PixtralProcessor, detect and use the
underlying text tokenizer instead of calling the processor directly,
which incorrectly tries to interpret text prompts as images.
2025-12-10 18:54:39 +00:00
awsr 00d3be3dba show_progress requires "full", "minimal", or "hidden" 2025-11-28 02:27:19 -08:00
vladmandic ad6458aa7b add flux2
Signed-off-by: vladmandic <mandic00@live.com>
2025-11-26 15:47:17 +00:00
Vladimir Mandic c1d87a14eb import sdnq on video prequant model load
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-01 11:20:30 -04:00
Vladimir Mandic c254835351 fix lora strength
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-26 10:14:02 -04:00
Vladimir Mandic 01e8211d4b cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-25 14:17:40 -04:00
Vladimir Mandic 9cee2cd1ed fix metadata on batched images
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-25 13:45:23 -04:00
Vladimir Mandic 6a0090714c add reference models to gallery
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-10 10:21:51 -04:00
Vladimir Mandic 3493a4268c refactor reuse-seed
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-31 16:11:14 -04:00
Vladimir Mandic 105b917d72 modernui improved image sizing
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-22 14:06:51 -04:00
Vladimir Mandic 09cc584089 civitai downloader batch download all versions
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-08 18:06:36 -04:00