Add inapint mask field class

This commit is contained in:
Sergey Borisov 2023-08-17 19:19:07 +03:00
parent 5aa7bfebd4
commit bf0dfcac2f

View File

@ -305,6 +305,18 @@ class ImageCollectionInvocation(BaseInvocation):
return ImageCollectionOutput(collection=self.collection)
# endregion
# region InpaintMask
class InpaintMaskField(BaseModel):
"""An inapint mask field"""
mask_name: str = Field(description="The name of the mask image")
masked_latens_name: Optional[str] = Field(description="The name of the masked image latents")
# endregion
# region Latents