mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Add inapint mask field class
This commit is contained in:
parent
5aa7bfebd4
commit
bf0dfcac2f
@ -305,6 +305,18 @@ class ImageCollectionInvocation(BaseInvocation):
|
|||||||
return ImageCollectionOutput(collection=self.collection)
|
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
|
# endregion
|
||||||
|
|
||||||
# region Latents
|
# region Latents
|
||||||
|
Loading…
Reference in New Issue
Block a user