From b9f1a4bd65016f0a760bddd7b567a8b783d2100e Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Tue, 12 Mar 2024 20:08:09 +1100 Subject: [PATCH] feat(nodes): add w/h defaults for models --- invokeai/backend/model_manager/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/invokeai/backend/model_manager/config.py b/invokeai/backend/model_manager/config.py index 98e4da1847..2d5bb36a57 100644 --- a/invokeai/backend/model_manager/config.py +++ b/invokeai/backend/model_manager/config.py @@ -143,6 +143,8 @@ class MainModelDefaultSettings(BaseModel): cfg_rescale_multiplier: float | None = Field( default=None, ge=0, lt=1, description="Default CFG Rescale Multiplier for this model" ) + width: int | None = Field(default=None, multiple_of=8, ge=64, description="Default width for this model") + height: int | None = Field(default=None, multiple_of=8, ge=64, description="Default height for this model") class ControlAdapterDefaultSettings(BaseModel):