From 24b86cffe91c26a18062a6f5ba7f6773f1ae7702 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 14 Jun 2023 21:45:49 +1000 Subject: [PATCH] chore(ui): regen api client & types --- .../frontend/web/src/services/api/index.ts | 2 + .../src/services/api/models/ControlField.ts | 2 +- .../api/models/ControlNetInvocation.ts | 4 +- .../src/services/api/models/ControlOutput.ts | 2 +- .../api/models/FloatLinearRangeInvocation.ts | 31 ++++++++++ .../web/src/services/api/models/Graph.ts | 4 +- .../api/models/HedImageProcessorInvocation.ts | 14 +++-- .../api/models/HedImageprocessorInvocation.ts | 33 ----------- .../web/src/services/api/models/ImageDTO.ts | 8 +-- .../web/src/services/api/models/ImageField.ts | 6 -- .../src/services/api/models/ImageMetadata.ts | 2 +- .../src/services/api/models/ImageUrlsDTO.ts | 6 -- .../api/models/LatentsToLatentsInvocation.ts | 2 +- .../api/models/StepParamEasingInvocation.ts | 59 +++++++++++++++++++ .../api/models/TextToLatentsInvocation.ts | 2 +- .../services/api/services/ImagesService.ts | 48 ++------------- .../services/api/services/SessionsService.ts | 6 +- 17 files changed, 125 insertions(+), 106 deletions(-) create mode 100644 invokeai/frontend/web/src/services/api/models/FloatLinearRangeInvocation.ts delete mode 100644 invokeai/frontend/web/src/services/api/models/HedImageprocessorInvocation.ts create mode 100644 invokeai/frontend/web/src/services/api/models/StepParamEasingInvocation.ts diff --git a/invokeai/frontend/web/src/services/api/index.ts b/invokeai/frontend/web/src/services/api/index.ts index 187752627a..6d1dbed780 100644 --- a/invokeai/frontend/web/src/services/api/index.ts +++ b/invokeai/frontend/web/src/services/api/index.ts @@ -27,6 +27,7 @@ export type { DivideInvocation } from './models/DivideInvocation'; export type { Edge } from './models/Edge'; export type { EdgeConnection } from './models/EdgeConnection'; export type { FloatCollectionOutput } from './models/FloatCollectionOutput'; +export type { FloatLinearRangeInvocation } from './models/FloatLinearRangeInvocation'; export type { FloatOutput } from './models/FloatOutput'; export type { Graph } from './models/Graph'; export type { GraphExecutionState } from './models/GraphExecutionState'; @@ -95,6 +96,7 @@ export type { ResourceOrigin } from './models/ResourceOrigin'; export type { RestoreFaceInvocation } from './models/RestoreFaceInvocation'; export type { ScaleLatentsInvocation } from './models/ScaleLatentsInvocation'; export type { ShowImageInvocation } from './models/ShowImageInvocation'; +export type { StepParamEasingInvocation } from './models/StepParamEasingInvocation'; export type { SubtractInvocation } from './models/SubtractInvocation'; export type { TextToImageInvocation } from './models/TextToImageInvocation'; export type { TextToLatentsInvocation } from './models/TextToLatentsInvocation'; diff --git a/invokeai/frontend/web/src/services/api/models/ControlField.ts b/invokeai/frontend/web/src/services/api/models/ControlField.ts index a67655c018..0479684d2c 100644 --- a/invokeai/frontend/web/src/services/api/models/ControlField.ts +++ b/invokeai/frontend/web/src/services/api/models/ControlField.ts @@ -16,7 +16,7 @@ export type ControlField = { /** * The weight given to the ControlNet */ - control_weight: number; + control_weight: (number | Array); /** * When the ControlNet is first applied (% of total steps) */ diff --git a/invokeai/frontend/web/src/services/api/models/ControlNetInvocation.ts b/invokeai/frontend/web/src/services/api/models/ControlNetInvocation.ts index 92688d6adc..42268b8295 100644 --- a/invokeai/frontend/web/src/services/api/models/ControlNetInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/ControlNetInvocation.ts @@ -22,13 +22,13 @@ export type ControlNetInvocation = { */ image?: ImageField; /** - * The ControlNet model to use + * control model used */ control_model?: 'lllyasviel/sd-controlnet-canny' | 'lllyasviel/sd-controlnet-depth' | 'lllyasviel/sd-controlnet-hed' | 'lllyasviel/sd-controlnet-seg' | 'lllyasviel/sd-controlnet-openpose' | 'lllyasviel/sd-controlnet-scribble' | 'lllyasviel/sd-controlnet-normal' | 'lllyasviel/sd-controlnet-mlsd' | 'lllyasviel/control_v11p_sd15_canny' | 'lllyasviel/control_v11p_sd15_openpose' | 'lllyasviel/control_v11p_sd15_seg' | 'lllyasviel/control_v11f1p_sd15_depth' | 'lllyasviel/control_v11p_sd15_normalbae' | 'lllyasviel/control_v11p_sd15_scribble' | 'lllyasviel/control_v11p_sd15_mlsd' | 'lllyasviel/control_v11p_sd15_softedge' | 'lllyasviel/control_v11p_sd15s2_lineart_anime' | 'lllyasviel/control_v11p_sd15_lineart' | 'lllyasviel/control_v11p_sd15_inpaint' | 'lllyasviel/control_v11e_sd15_shuffle' | 'lllyasviel/control_v11e_sd15_ip2p' | 'lllyasviel/control_v11f1e_sd15_tile' | 'thibaud/controlnet-sd21-openpose-diffusers' | 'thibaud/controlnet-sd21-canny-diffusers' | 'thibaud/controlnet-sd21-depth-diffusers' | 'thibaud/controlnet-sd21-scribble-diffusers' | 'thibaud/controlnet-sd21-hed-diffusers' | 'thibaud/controlnet-sd21-zoedepth-diffusers' | 'thibaud/controlnet-sd21-color-diffusers' | 'thibaud/controlnet-sd21-openposev2-diffusers' | 'thibaud/controlnet-sd21-lineart-diffusers' | 'thibaud/controlnet-sd21-normalbae-diffusers' | 'thibaud/controlnet-sd21-ade20k-diffusers' | 'CrucibleAI/ControlNetMediaPipeFace,diffusion_sd15' | 'CrucibleAI/ControlNetMediaPipeFace'; /** * The weight given to the ControlNet */ - control_weight?: number; + control_weight?: (number | Array); /** * When the ControlNet is first applied (% of total steps) */ diff --git a/invokeai/frontend/web/src/services/api/models/ControlOutput.ts b/invokeai/frontend/web/src/services/api/models/ControlOutput.ts index 8c8b76a32f..a3cc5530c1 100644 --- a/invokeai/frontend/web/src/services/api/models/ControlOutput.ts +++ b/invokeai/frontend/web/src/services/api/models/ControlOutput.ts @@ -10,7 +10,7 @@ import type { ControlField } from './ControlField'; export type ControlOutput = { type?: 'control_output'; /** - * The output control image + * The control info */ control?: ControlField; }; diff --git a/invokeai/frontend/web/src/services/api/models/FloatLinearRangeInvocation.ts b/invokeai/frontend/web/src/services/api/models/FloatLinearRangeInvocation.ts new file mode 100644 index 0000000000..e0fd4a1caa --- /dev/null +++ b/invokeai/frontend/web/src/services/api/models/FloatLinearRangeInvocation.ts @@ -0,0 +1,31 @@ +/* istanbul ignore file */ +/* tslint:disable */ +/* eslint-disable */ + +/** + * Creates a range + */ +export type FloatLinearRangeInvocation = { + /** + * The id of this node. Must be unique among all nodes. + */ + id: string; + /** + * Whether or not this node is an intermediate node. + */ + is_intermediate?: boolean; + type?: 'float_range'; + /** + * The first value of the range + */ + start?: number; + /** + * The last value of the range + */ + stop?: number; + /** + * number of values to interpolate over (including start and stop) + */ + steps?: number; +}; + diff --git a/invokeai/frontend/web/src/services/api/models/Graph.ts b/invokeai/frontend/web/src/services/api/models/Graph.ts index 2c7efbb423..fbc03dcf3a 100644 --- a/invokeai/frontend/web/src/services/api/models/Graph.ts +++ b/invokeai/frontend/web/src/services/api/models/Graph.ts @@ -11,6 +11,7 @@ import type { ControlNetInvocation } from './ControlNetInvocation'; import type { CvInpaintInvocation } from './CvInpaintInvocation'; import type { DivideInvocation } from './DivideInvocation'; import type { Edge } from './Edge'; +import type { FloatLinearRangeInvocation } from './FloatLinearRangeInvocation'; import type { GraphInvocation } from './GraphInvocation'; import type { HedImageProcessorInvocation } from './HedImageProcessorInvocation'; import type { ImageBlurInvocation } from './ImageBlurInvocation'; @@ -55,6 +56,7 @@ import type { ResizeLatentsInvocation } from './ResizeLatentsInvocation'; import type { RestoreFaceInvocation } from './RestoreFaceInvocation'; import type { ScaleLatentsInvocation } from './ScaleLatentsInvocation'; import type { ShowImageInvocation } from './ShowImageInvocation'; +import type { StepParamEasingInvocation } from './StepParamEasingInvocation'; import type { SubtractInvocation } from './SubtractInvocation'; import type { TextToImageInvocation } from './TextToImageInvocation'; import type { TextToLatentsInvocation } from './TextToLatentsInvocation'; @@ -69,7 +71,7 @@ export type Graph = { /** * The nodes in this graph */ - nodes?: Record; + nodes?: Record; /** * The connections between nodes and their fields in this graph */ diff --git a/invokeai/frontend/web/src/services/api/models/HedImageProcessorInvocation.ts b/invokeai/frontend/web/src/services/api/models/HedImageProcessorInvocation.ts index 6dea43dc32..1132012c5a 100644 --- a/invokeai/frontend/web/src/services/api/models/HedImageProcessorInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/HedImageProcessorInvocation.ts @@ -7,26 +7,30 @@ import type { ImageField } from './ImageField'; /** * Applies HED edge detection to image */ -export type HedImageprocessorInvocation = { +export type HedImageProcessorInvocation = { /** * The id of this node. Must be unique among all nodes. */ id: string; + /** + * Whether or not this node is an intermediate node. + */ + is_intermediate?: boolean; type?: 'hed_image_processor'; /** - * image to process + * The image to process */ image?: ImageField; /** - * pixel resolution for edge detection + * The pixel resolution for detection */ detect_resolution?: number; /** - * pixel resolution for output image + * The pixel resolution for the output image */ image_resolution?: number; /** - * whether to use scribble mode + * Whether to use scribble mode */ scribble?: boolean; }; diff --git a/invokeai/frontend/web/src/services/api/models/HedImageprocessorInvocation.ts b/invokeai/frontend/web/src/services/api/models/HedImageprocessorInvocation.ts deleted file mode 100644 index 6dea43dc32..0000000000 --- a/invokeai/frontend/web/src/services/api/models/HedImageprocessorInvocation.ts +++ /dev/null @@ -1,33 +0,0 @@ -/* istanbul ignore file */ -/* tslint:disable */ -/* eslint-disable */ - -import type { ImageField } from './ImageField'; - -/** - * Applies HED edge detection to image - */ -export type HedImageprocessorInvocation = { - /** - * The id of this node. Must be unique among all nodes. - */ - id: string; - type?: 'hed_image_processor'; - /** - * image to process - */ - image?: ImageField; - /** - * pixel resolution for edge detection - */ - detect_resolution?: number; - /** - * pixel resolution for output image - */ - image_resolution?: number; - /** - * whether to use scribble mode - */ - scribble?: boolean; -}; - diff --git a/invokeai/frontend/web/src/services/api/models/ImageDTO.ts b/invokeai/frontend/web/src/services/api/models/ImageDTO.ts index f5f2603b03..5399d16b8f 100644 --- a/invokeai/frontend/web/src/services/api/models/ImageDTO.ts +++ b/invokeai/frontend/web/src/services/api/models/ImageDTO.ts @@ -14,10 +14,6 @@ export type ImageDTO = { * The unique name of the image. */ image_name: string; - /** - * The type of the image. - */ - image_origin: ResourceOrigin; /** * The URL of the image. */ @@ -26,6 +22,10 @@ export type ImageDTO = { * The URL of the image's thumbnail. */ thumbnail_url: string; + /** + * The type of the image. + */ + image_origin: ResourceOrigin; /** * The category of the image. */ diff --git a/invokeai/frontend/web/src/services/api/models/ImageField.ts b/invokeai/frontend/web/src/services/api/models/ImageField.ts index 63a12f4730..baf3bf2b54 100644 --- a/invokeai/frontend/web/src/services/api/models/ImageField.ts +++ b/invokeai/frontend/web/src/services/api/models/ImageField.ts @@ -2,16 +2,10 @@ /* tslint:disable */ /* eslint-disable */ -import type { ResourceOrigin } from './ResourceOrigin'; - /** * An image field used for passing image objects between invocations */ export type ImageField = { - /** - * The type of the image - */ - image_origin: ResourceOrigin; /** * The name of the image */ diff --git a/invokeai/frontend/web/src/services/api/models/ImageMetadata.ts b/invokeai/frontend/web/src/services/api/models/ImageMetadata.ts index 76c0155e97..0b2af78799 100644 --- a/invokeai/frontend/web/src/services/api/models/ImageMetadata.ts +++ b/invokeai/frontend/web/src/services/api/models/ImageMetadata.ts @@ -40,7 +40,7 @@ export type ImageMetadata = { /** * The classifier-free guidance scale. */ - cfg_scale?: number; + cfg_scale?: (number | Array); /** * The number of steps used for inference. */ diff --git a/invokeai/frontend/web/src/services/api/models/ImageUrlsDTO.ts b/invokeai/frontend/web/src/services/api/models/ImageUrlsDTO.ts index 81639be9b3..1e0ff322e8 100644 --- a/invokeai/frontend/web/src/services/api/models/ImageUrlsDTO.ts +++ b/invokeai/frontend/web/src/services/api/models/ImageUrlsDTO.ts @@ -2,8 +2,6 @@ /* tslint:disable */ /* eslint-disable */ -import type { ResourceOrigin } from './ResourceOrigin'; - /** * The URLs for an image and its thumbnail. */ @@ -12,10 +10,6 @@ export type ImageUrlsDTO = { * The unique name of the image. */ image_name: string; - /** - * The type of the image. - */ - image_origin: ResourceOrigin; /** * The URL of the image. */ diff --git a/invokeai/frontend/web/src/services/api/models/LatentsToLatentsInvocation.ts b/invokeai/frontend/web/src/services/api/models/LatentsToLatentsInvocation.ts index f5b4912141..60504459e7 100644 --- a/invokeai/frontend/web/src/services/api/models/LatentsToLatentsInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/LatentsToLatentsInvocation.ts @@ -38,7 +38,7 @@ export type LatentsToLatentsInvocation = { /** * The Classifier-Free Guidance, higher values may result in a result closer to the prompt */ - cfg_scale?: number; + cfg_scale?: (number | Array); /** * The scheduler to use */ diff --git a/invokeai/frontend/web/src/services/api/models/StepParamEasingInvocation.ts b/invokeai/frontend/web/src/services/api/models/StepParamEasingInvocation.ts new file mode 100644 index 0000000000..2cff38b3e5 --- /dev/null +++ b/invokeai/frontend/web/src/services/api/models/StepParamEasingInvocation.ts @@ -0,0 +1,59 @@ +/* istanbul ignore file */ +/* tslint:disable */ +/* eslint-disable */ + +/** + * Experimental per-step parameter easing for denoising steps + */ +export type StepParamEasingInvocation = { + /** + * The id of this node. Must be unique among all nodes. + */ + id: string; + /** + * Whether or not this node is an intermediate node. + */ + is_intermediate?: boolean; + type?: 'step_param_easing'; + /** + * The easing function to use + */ + easing?: 'Linear' | 'QuadIn' | 'QuadOut' | 'QuadInOut' | 'CubicIn' | 'CubicOut' | 'CubicInOut' | 'QuarticIn' | 'QuarticOut' | 'QuarticInOut' | 'QuinticIn' | 'QuinticOut' | 'QuinticInOut' | 'SineIn' | 'SineOut' | 'SineInOut' | 'CircularIn' | 'CircularOut' | 'CircularInOut' | 'ExponentialIn' | 'ExponentialOut' | 'ExponentialInOut' | 'ElasticIn' | 'ElasticOut' | 'ElasticInOut' | 'BackIn' | 'BackOut' | 'BackInOut' | 'BounceIn' | 'BounceOut' | 'BounceInOut'; + /** + * number of denoising steps + */ + num_steps?: number; + /** + * easing starting value + */ + start_value?: number; + /** + * easing ending value + */ + end_value?: number; + /** + * fraction of steps at which to start easing + */ + start_step_percent?: number; + /** + * fraction of steps after which to end easing + */ + end_step_percent?: number; + /** + * value before easing start + */ + pre_start_value?: number; + /** + * value after easing end + */ + post_end_value?: number; + /** + * include mirror of easing function + */ + mirror?: boolean; + /** + * show easing plot + */ + show_easing_plot?: boolean; +}; + diff --git a/invokeai/frontend/web/src/services/api/models/TextToLatentsInvocation.ts b/invokeai/frontend/web/src/services/api/models/TextToLatentsInvocation.ts index f1831b2b59..2db0657e25 100644 --- a/invokeai/frontend/web/src/services/api/models/TextToLatentsInvocation.ts +++ b/invokeai/frontend/web/src/services/api/models/TextToLatentsInvocation.ts @@ -38,7 +38,7 @@ export type TextToLatentsInvocation = { /** * The Classifier-Free Guidance, higher values may result in a result closer to the prompt */ - cfg_scale?: number; + cfg_scale?: (number | Array); /** * The scheduler to use */ diff --git a/invokeai/frontend/web/src/services/api/services/ImagesService.ts b/invokeai/frontend/web/src/services/api/services/ImagesService.ts index 51fe6c820f..d0eae92d4b 100644 --- a/invokeai/frontend/web/src/services/api/services/ImagesService.ts +++ b/invokeai/frontend/web/src/services/api/services/ImagesService.ts @@ -115,13 +115,8 @@ export class ImagesService { * @throws ApiError */ public static getImageFull({ - imageOrigin, imageName, }: { - /** - * The type of full-resolution image file to get - */ - imageOrigin: ResourceOrigin, /** * The name of full-resolution image file to get */ @@ -129,9 +124,8 @@ export class ImagesService { }): CancelablePromise { return __request(OpenAPI, { method: 'GET', - url: '/api/v1/images/{image_origin}/{image_name}', + url: '/api/v1/images/{image_name}', path: { - 'image_origin': imageOrigin, 'image_name': imageName, }, errors: { @@ -148,13 +142,8 @@ export class ImagesService { * @throws ApiError */ public static deleteImage({ - imageOrigin, imageName, }: { - /** - * The origin of image to delete - */ - imageOrigin: ResourceOrigin, /** * The name of the image to delete */ @@ -162,9 +151,8 @@ export class ImagesService { }): CancelablePromise { return __request(OpenAPI, { method: 'DELETE', - url: '/api/v1/images/{image_origin}/{image_name}', + url: '/api/v1/images/{image_name}', path: { - 'image_origin': imageOrigin, 'image_name': imageName, }, errors: { @@ -180,14 +168,9 @@ export class ImagesService { * @throws ApiError */ public static updateImage({ - imageOrigin, imageName, requestBody, }: { - /** - * The origin of image to update - */ - imageOrigin: ResourceOrigin, /** * The name of the image to update */ @@ -196,9 +179,8 @@ export class ImagesService { }): CancelablePromise { return __request(OpenAPI, { method: 'PATCH', - url: '/api/v1/images/{image_origin}/{image_name}', + url: '/api/v1/images/{image_name}', path: { - 'image_origin': imageOrigin, 'image_name': imageName, }, body: requestBody, @@ -216,13 +198,8 @@ export class ImagesService { * @throws ApiError */ public static getImageMetadata({ - imageOrigin, imageName, }: { - /** - * The origin of image to get - */ - imageOrigin: ResourceOrigin, /** * The name of image to get */ @@ -230,9 +207,8 @@ export class ImagesService { }): CancelablePromise { return __request(OpenAPI, { method: 'GET', - url: '/api/v1/images/{image_origin}/{image_name}/metadata', + url: '/api/v1/images/{image_name}/metadata', path: { - 'image_origin': imageOrigin, 'image_name': imageName, }, errors: { @@ -248,13 +224,8 @@ export class ImagesService { * @throws ApiError */ public static getImageThumbnail({ - imageOrigin, imageName, }: { - /** - * The origin of thumbnail image file to get - */ - imageOrigin: ResourceOrigin, /** * The name of thumbnail image file to get */ @@ -262,9 +233,8 @@ export class ImagesService { }): CancelablePromise { return __request(OpenAPI, { method: 'GET', - url: '/api/v1/images/{image_origin}/{image_name}/thumbnail', + url: '/api/v1/images/{image_name}/thumbnail', path: { - 'image_origin': imageOrigin, 'image_name': imageName, }, errors: { @@ -281,13 +251,8 @@ export class ImagesService { * @throws ApiError */ public static getImageUrls({ - imageOrigin, imageName, }: { - /** - * The origin of the image whose URL to get - */ - imageOrigin: ResourceOrigin, /** * The name of the image whose URL to get */ @@ -295,9 +260,8 @@ export class ImagesService { }): CancelablePromise { return __request(OpenAPI, { method: 'GET', - url: '/api/v1/images/{image_origin}/{image_name}/urls', + url: '/api/v1/images/{image_name}/urls', path: { - 'image_origin': imageOrigin, 'image_name': imageName, }, errors: { diff --git a/invokeai/frontend/web/src/services/api/services/SessionsService.ts b/invokeai/frontend/web/src/services/api/services/SessionsService.ts index 977c03e6fb..b95f0526be 100644 --- a/invokeai/frontend/web/src/services/api/services/SessionsService.ts +++ b/invokeai/frontend/web/src/services/api/services/SessionsService.ts @@ -10,6 +10,7 @@ import type { ControlNetInvocation } from '../models/ControlNetInvocation'; import type { CvInpaintInvocation } from '../models/CvInpaintInvocation'; import type { DivideInvocation } from '../models/DivideInvocation'; import type { Edge } from '../models/Edge'; +import type { FloatLinearRangeInvocation } from '../models/FloatLinearRangeInvocation'; import type { Graph } from '../models/Graph'; import type { GraphExecutionState } from '../models/GraphExecutionState'; import type { GraphInvocation } from '../models/GraphInvocation'; @@ -57,6 +58,7 @@ import type { ResizeLatentsInvocation } from '../models/ResizeLatentsInvocation' import type { RestoreFaceInvocation } from '../models/RestoreFaceInvocation'; import type { ScaleLatentsInvocation } from '../models/ScaleLatentsInvocation'; import type { ShowImageInvocation } from '../models/ShowImageInvocation'; +import type { StepParamEasingInvocation } from '../models/StepParamEasingInvocation'; import type { SubtractInvocation } from '../models/SubtractInvocation'; import type { TextToImageInvocation } from '../models/TextToImageInvocation'; import type { TextToLatentsInvocation } from '../models/TextToLatentsInvocation'; @@ -171,7 +173,7 @@ export class SessionsService { * The id of the session */ sessionId: string, - requestBody: (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | ParamFloatInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation), + requestBody: (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | ParamFloatInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | FloatLinearRangeInvocation | StepParamEasingInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation), }): CancelablePromise { return __request(OpenAPI, { method: 'POST', @@ -208,7 +210,7 @@ export class SessionsService { * The path to the node in the graph */ nodePath: string, - requestBody: (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | ParamFloatInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation), + requestBody: (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | ParamFloatInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | FloatLinearRangeInvocation | StepParamEasingInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation), }): CancelablePromise { return __request(OpenAPI, { method: 'PUT',