Skip to content

Commit

Permalink
feat: support transparent in the payload
Browse files Browse the repository at this point in the history
  • Loading branch information
db0 authored and tazlin committed Jul 1, 2024
1 parent 1216a0d commit d56097c
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 d56097c

Please sign in to comment.