205 Commits

Author SHA1 Message Date
Vladimir Mandic 63a5722429 prepare queue mgmt
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-22 11:24:41 +02:00
Vladimir Mandic ae8d559b50 swtich to igwn-segments
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-16 18:15:59 +02:00
Vladimir Mandic a882ce945b detailer.next
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-08-09 15:05:00 +02:00
Vladimir Mandic afc1a043b6 vae_scale_factor override
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-20 10:49:43 +02:00
QualiaRain a6b4614e25 fix(control): advance video frames via cap, not the always-None video var
The VideoCapture is stored in cap, but the per-frame read and skip/yield guards referenced video, which is set to None at function entry and never reassigned. As a result only the first frame of a video input was processed.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-15 15:20:06 -04:00
Vladimir Mandic 5e99dee3c2 full codespell coverage
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-04 12:36:10 +02:00
Vladimir Mandic f25f325efb fixes based on full skills run
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-06-04 11:10:26 +02:00
Vladimir Mandic 01a68baa47 update masking
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-19 11:56: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 6c2a56ff71 more pylint fixes
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-11 08:57:16 +02:00
Vladimir Mandic 7ee740e744 add hidream-o1
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-05-10 21:45:58 +02:00
Vladimir Mandic 2a14d73fab add skip processing option
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-30 10:06:55 +02:00
Vladimir Mandic 66a270dc16 cleanup
Co-authored-by: Copilot <copilot@github.com>
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-30 09:32:10 +02:00
Vladimir Mandic eaf06fbc74 all direct input images
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-04-30 09:30:11 +02:00
CalamitousFelicitousness ba4436916d fix(control): prevent duplicate save_video and unmask video module shadow
When a video script (animatediff, text2video, image2video, stablevideodiffusion)
runs via Control tab, both the script's save and control_run's end-of-run save
fired. The latter crashed silently because the local `video` cv2 capture name at
control_run:584 shadowed the modules.video import, so the duplicate was hidden
and the gallery video link never propagated.

- alias import as video_module to bypass the shadow
- p.video_saved marker set by each script
- control_run skips its end-of-run save when the marker is set
2026-04-27 01:32:30 +01:00
CalamitousFelicitousness 7d77b01c3d feat(video): wire scripts and control to video_interpolate field
Set p.video_interpolate at run() entry so process_images_inner picks up
the helper. Save calls keep their existing kwargs; the sentinel guard
skips re-interpolation when the helper already ran.

- animatediff, text2video, image2video, stablevideodiffusion route
  mp4_interpolate into p.video_interpolate
- modules/control/run.py routes the request video_interpolate arg
- xyz_grid intentionally untouched: its end-of-axis save_video stitches
  the cell slideshow, not per-cell videos; a future video_interpolate
  axis would set p.video_interpolate per cell via axis_options
2026-04-26 03:09:27 +01:00
vladmandic 93f948af13 control add error handling
Signed-off-by: vladmandic <mandic00@live.com>
2026-04-12 19:06:09 +02:00
awsr b75a1f971f RUF013 update + minor typing fixes 2026-03-24 03:39:02 -07:00
vladmandic 936216e20d merge: modules/control/run.py 2026-03-16 08:10:48 +01:00
vladmandic ee6cadfa9c cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-13 11:42:16 +01:00
vladmandic 0838b938e1 merge: modules/control/run.py 2026-03-13 11:01:01 +01:00
vladmandic ff4b5c33dc reduce use of python generators with ui
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-01 18:17:42 +01:00
Vladimir Mandic 47543663f9 cleanup references to p.sd_model
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2026-02-19 20:48:42 +01:00
Vladimir Mandic f34df6faac fix class overrides 2026-02-19 17:33:01 +01:00
Vladimir Mandic 494e4a7a7b fixes 2026-02-19 16:20:17 +01:00
Vladimir Mandic f78f0eb4a5 refactor imports 2026-02-19 15:28:24 +01:00
Vladimir Mandic 216558185b update installer usage 2026-02-19 12:21:46 +01: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 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 3a96c514c4 cleanup
Signed-off-by: vladmandic <mandic00@live.com>
2025-12-24 15:10:43 +01:00
vladmandic 33913825b0 fix control run args
Signed-off-by: vladmandic <mandic00@live.com>
2025-11-24 10:12:40 -05:00
vladmandic b5f000ab8a add xyz and script support to control api
Signed-off-by: vladmandic <mandic00@live.com>
2025-11-23 13:07:42 -05:00
Vladimir Mandic 385de2f0af better detect input source
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-11 16:07:57 -05:00
Vladimir Mandic ec7bcd7202 fix kanvas-vs-video
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-11 14:45:16 -05:00
Vladimir Mandic a6d854fef6 update override settings
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-30 14:01:32 -04:00
Vladimir Mandic 4033567d4f controlnet fixes and validation
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-30 13:36:58 -04:00
Vladimir Mandic 4b95d72d45 video tab layout
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-18 14:07:52 -04:00
Vladimir Mandic c530167cbe qwen multi-image edits
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-10-04 18:06:50 -04:00
Vladimir Mandic eb025eaf31 remove split-attention and add attention slicing option
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-28 18:01:34 -04:00
Vladimir Mandic 6f409deedf ui separate guidance and detail sections
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-24 12:33:57 -04:00
Vladimir Mandic d351fdb98f add more job state updates and update history tab
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-13 10:54:04 -04:00
Vladimir Mandic 9bed503ce6 control handle override settings
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-11 16:06:03 -04:00
Vladimir Mandic 4093b6c040 allow custom detailer resolution
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-10 16:32:50 -04:00
Vladimir Mandic 2b26a3a21a fix detailer metadata
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-08 10:19:14 -04:00
Vladimir Mandic ff9a7e5444 fix reprocess workflow for control with hires
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-06 11:28:44 -04:00
Vladimir Mandic 338129b7c1 calculate vae-scale-factor and use everywhere
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-09 11:31:13 -04:00
Vladimir Mandic 629e90814f cleanup
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-29 09:29:36 -04:00
Vladimir Mandic c07e5d74ab control auto-determine save path
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-29 09:07:36 -04:00