mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Added node for creating mask inpaint
This commit is contained in:
@ -314,7 +314,14 @@ class InpaintMaskField(BaseModel):
|
||||
"""An inpaint 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")
|
||||
masked_latents_name: Optional[str] = Field(description="The name of the masked image latents")
|
||||
|
||||
|
||||
class InpaintMaskOutput(BaseInvocationOutput):
|
||||
"""Base class for nodes that output a single image"""
|
||||
|
||||
type: Literal["inpaint_mask_output"] = "inpaint_mask_output"
|
||||
inpaint_mask: InpaintMaskField = OutputField(description="Mask for inpaint model run")
|
||||
|
||||
|
||||
# endregion
|
||||
|
Reference in New Issue
Block a user