Skip to content

Commit

Permalink
Merge pull request #217 from Haidra-Org/main
Browse files Browse the repository at this point in the history
feat: `hires_fix_denoising_strength`
  • Loading branch information
tazlin authored Jul 7, 2024
2 parents 3e7a8d5 + 370dc29 commit e528ff1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions horde_sdk/ai_horde_api/apimodels/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e528ff1

Please sign in to comment.