From 5087b306c0429e3218f93ecc2efe1d32b22a00ca Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Tue, 16 Jul 2024 21:31:49 +1000 Subject: [PATCH] chore(ui): typegen --- .../frontend/web/src/services/api/schema.ts | 28 ++++++++----------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.ts index c2e65c6daa..63fc5aca4e 100644 --- a/invokeai/frontend/web/src/services/api/schema.ts +++ b/invokeai/frontend/web/src/services/api/schema.ts @@ -3090,7 +3090,7 @@ export type components = { }; /** * Canvas V2 Mask and Crop - * @description Apply a mask to an image + * @description Handles Canvas V2 image output masking and cropping */ CanvasV2MaskAndCropInvocation: { /** @@ -3131,17 +3131,11 @@ export type components = { */ mask?: components["schemas"]["ImageField"]; /** - * Invert - * @description Whether or not to invert the mask - * @default false + * Mask Blur + * @description The amount to blur the mask by + * @default 0 */ - invert?: boolean; - /** - * Crop Visible - * @description Crop the image to the mask - * @default false - */ - crop_visible?: boolean; + mask_blur?: number; /** * type * @default canvas_v2_mask_and_crop @@ -3172,15 +3166,15 @@ export type components = { */ type: "canvas_v2_mask_and_crop_output"; /** - * X - * @description The x coordinate of the image + * Offset X + * @description The x offset of the image, after cropping */ - x: number; + offset_x: number; /** - * Y - * @description The y coordinate of the image + * Offset Y + * @description The y offset of the image, after cropping */ - y: number; + offset_y: number; }; /** * Center Pad or Crop Image