mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-23 02:04:27 +08:00
rename renderingSpeed default value from 'balanced' to 'default'
This commit is contained in:
parent
55b15469a4
commit
6fc2228dc6
2
comfy_api_nodes/apis/__init__.py
generated
2
comfy_api_nodes/apis/__init__.py
generated
@ -2680,7 +2680,7 @@ class ReleaseNote(BaseModel):
|
|||||||
|
|
||||||
|
|
||||||
class RenderingSpeed(str, Enum):
|
class RenderingSpeed(str, Enum):
|
||||||
BALANCED = 'BALANCED'
|
DEFAULT = 'DEFAULT'
|
||||||
TURBO = 'TURBO'
|
TURBO = 'TURBO'
|
||||||
QUALITY = 'QUALITY'
|
QUALITY = 'QUALITY'
|
||||||
|
|
||||||
|
|||||||
@ -615,8 +615,8 @@ class IdeogramV3(comfy_io.ComfyNode):
|
|||||||
),
|
),
|
||||||
comfy_io.Combo.Input(
|
comfy_io.Combo.Input(
|
||||||
"rendering_speed",
|
"rendering_speed",
|
||||||
options=["BALANCED", "TURBO", "QUALITY"],
|
options=["DEFAULT", "TURBO", "QUALITY"],
|
||||||
default="BALANCED",
|
default="DEFAULT",
|
||||||
tooltip="Controls the trade-off between generation speed and quality",
|
tooltip="Controls the trade-off between generation speed and quality",
|
||||||
optional=True,
|
optional=True,
|
||||||
),
|
),
|
||||||
@ -652,7 +652,7 @@ class IdeogramV3(comfy_io.ComfyNode):
|
|||||||
magic_prompt_option="AUTO",
|
magic_prompt_option="AUTO",
|
||||||
seed=0,
|
seed=0,
|
||||||
num_images=1,
|
num_images=1,
|
||||||
rendering_speed="BALANCED",
|
rendering_speed="DEFAULT",
|
||||||
character_image=None,
|
character_image=None,
|
||||||
character_mask=None,
|
character_mask=None,
|
||||||
):
|
):
|
||||||
@ -660,6 +660,8 @@ class IdeogramV3(comfy_io.ComfyNode):
|
|||||||
"auth_token": cls.hidden.auth_token_comfy_org,
|
"auth_token": cls.hidden.auth_token_comfy_org,
|
||||||
"comfy_api_key": cls.hidden.api_key_comfy_org,
|
"comfy_api_key": cls.hidden.api_key_comfy_org,
|
||||||
}
|
}
|
||||||
|
if rendering_speed == "BALANCED": # for backward compatibility
|
||||||
|
rendering_speed = "DEFAULT"
|
||||||
|
|
||||||
character_img_binary = None
|
character_img_binary = None
|
||||||
character_mask_binary = None
|
character_mask_binary = None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user