diff --git a/CHANGELOG.md b/CHANGELOG.md index e3416144b..81cb47e79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Change Log for SD.Next -## Highlights for 2026-08-23 +## Highlights for 2026-08-24 Time for a new release, this is a larger one! Main focus is improving video workflows which also brings full support for new [MiniMax H3](https://vladmandic.github.io/sdnext-docs/MiniMax) and [LTXVideo-2.5](https://vladmandic.github.io/sdnext-docs/LTX) @@ -17,7 +17,7 @@ Plus quite a lot more, see full [changelog](https://github.com/vladmandic/automa [Home](https://vladmandic.github.io/sdnext/) | [ChangeLog](https://github.com/vladmandic/automatic/blob/master/CHANGELOG.md) | [Docs](https://vladmandic.github.io/sdnext-docs/) | [Discord](https://discord.com/invite/sd-next-federal-batch-inspectors-1101998836328697867) | [Sponsor](https://github.com/sponsors/vladmandic) -## Details for 2026-08-23 +## Details for 2026-08-24 - **Models** - [MiniMax H3](https://huggingface.co/MiniMaxAI/MiniMax-H3) available in *base* and *ref* variants diff --git a/extensions-builtin/sdnq b/extensions-builtin/sdnq index 2981468c0..a0ceca93e 160000 --- a/extensions-builtin/sdnq +++ b/extensions-builtin/sdnq @@ -1 +1 @@ -Subproject commit 2981468c0b6eac1dc4ec91a29955138d76f95eda +Subproject commit a0ceca93e2791776362d4e34c417abb7b22b861e diff --git a/modules/api/process.py b/modules/api/process.py index 0bed6557b..19b712ad6 100644 --- a/modules/api/process.py +++ b/modules/api/process.py @@ -219,10 +219,13 @@ class APIProcess: seed = req.seed or -1 seed = processing_helpers.get_fixed_seed(seed) prompt = '' - from modules.scripts_manager import scripts_txt2img + from modules.scripts_manager import scripts_control default_model = 'google/gemma-3-4b-it' if req.type == 'image' else 'google/gemma-3-1b-it' model = default_model if req.model is None or len(req.model) < 4 else req.model - instance = [s for s in scripts_txt2img.scripts if 'prompt_enhance.py' in s.filename][0] + instance = [s for s in scripts_control.scripts if 'prompt_enhance_ext.py' in s.filename] + if len(instance) == 0: + raise HTTPException(status_code=500, detail="Prompt enhancement script not found") + instance = instance[0] prompt = instance.enhance( model=model, prompt=req.prompt,