diff --git a/invokeai/app/invocations/image.py b/invokeai/app/invocations/image.py index 491a4895a6..9f072036a4 100644 --- a/invokeai/app/invocations/image.py +++ b/invokeai/app/invocations/image.py @@ -139,7 +139,7 @@ class PasteImageInvocation(BaseInvocation): None if self.mask is None else ImageOps.invert( - services.images.get(self.mask.image_type, self.mask.image_name) + context.services.images.get(self.mask.image_type, self.mask.image_name) ) ) # TODO: probably shouldn't invert mask here... should user be required to do it?