Skip to content

Commit

Permalink
Merge pull request #213 from Haidra-Org/main
Browse files Browse the repository at this point in the history
feat: support transparent in the payload
  • Loading branch information
tazlin authored Jul 1, 2024
2 parents f717131 + d56097c commit 3e7a8d5
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 @@ -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
Expand Down

0 comments on commit 3e7a8d5

Please sign in to comment.