From 370dc29c3efc246fb7bbfb6d159913c268596124 Mon Sep 17 00:00:00 2001 From: tazlin Date: Sun, 7 Jul 2024 09:57:06 -0400 Subject: [PATCH] feat: `hires_fix_denoising_strength` --- horde_sdk/ai_horde_api/apimodels/base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/horde_sdk/ai_horde_api/apimodels/base.py b/horde_sdk/ai_horde_api/apimodels/base.py index 03cb342..0d410ea 100644 --- a/horde_sdk/ai_horde_api/apimodels/base.py +++ b/horde_sdk/ai_horde_api/apimodels/base.py @@ -222,6 +222,8 @@ class ImageGenerateParamMixin(HordeAPIDataObject): """Deprecated.""" hires_fix: bool = False """Set to True if you want to use the hires fix.""" + hires_fix_denoising_strength: float | None = Field(default=None, ge=0, le=1) + """The strength of the denoising for the hires fix second pass.""" clip_skip: int = Field(default=1, ge=1, le=12) """The number of clip layers to skip.""" control_type: str | KNOWN_CONTROLNETS | None = None