From d56097cb303f4787aa281ae72cbee45d88501802 Mon Sep 17 00:00:00 2001 From: db0 Date: Sun, 30 Jun 2024 21:48:02 +0200 Subject: [PATCH] feat: support transparent in the payload --- 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 e6dce87..03cb342 100644 --- a/horde_sdk/ai_horde_api/apimodels/base.py +++ b/horde_sdk/ai_horde_api/apimodels/base.py @@ -240,6 +240,8 @@ class ImageGenerateParamMixin(HordeAPIDataObject): """A list of extra texts and prompts to use in the comfyUI workflow.""" workflow: str | KNOWN_WORKFLOWS | None = None """The specific comfyUI workflow to use.""" + transparent: bool | None = None + """When true, will generate an image with a transparent background""" special: dict[Any, Any] = Field(default_factory=dict) """Reserved for future use.""" use_nsfw_censor: bool = False