From e25b39aca2e9d5a2b087e9fe73da3bd2d43739eb Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Thu, 14 Mar 2024 19:05:24 +1100 Subject: [PATCH] chore(ui): typegen --- .../frontend/web/src/services/api/schema.ts | 1183 +++++++++++++++-- 1 file changed, 1044 insertions(+), 139 deletions(-) diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.ts index cb3d11c06b..28b41b0472 100644 --- a/invokeai/frontend/web/src/services/api/schema.ts +++ b/invokeai/frontend/web/src/services/api/schema.ts @@ -1175,11 +1175,8 @@ export type components = { * Format: binary */ file: Blob; - /** - * Metadata - * @description The metadata to associate with the image - */ - metadata?: Record | null; + /** @description The metadata to associate with the image */ + metadata?: components["schemas"]["JsonValue"] | null; }; /** * Boolean Collection Primitive @@ -1414,6 +1411,7 @@ export type components = { /** * Description * @description Model description + * @default null */ description?: string | null; /** @@ -1426,11 +1424,13 @@ export type components = { /** * Source Api Response * @description The original API response from the source, as stringified JSON. + * @default null */ source_api_response?: string | null; /** * Cover Image * @description Url for image to preview model + * @default null */ cover_image?: string | null; /** @@ -2383,7 +2383,10 @@ export type components = { * @description Model config for ControlNet models (diffusers version). */ ControlNetCheckpointConfig: { - /** @description Default settings for this model */ + /** + * @description Default settings for this model + * @default null + */ default_settings?: components["schemas"]["ControlAdapterDefaultSettings"] | null; /** * Key @@ -2410,6 +2413,7 @@ export type components = { /** * Description * @description Model description + * @default null */ description?: string | null; /** @@ -2422,11 +2426,13 @@ export type components = { /** * Source Api Response * @description The original API response from the source, as stringified JSON. + * @default null */ source_api_response?: string | null; /** * Cover Image * @description Url for image to preview model + * @default null */ cover_image?: string | null; /** @@ -2459,7 +2465,10 @@ export type components = { * @description Model config for ControlNet models (diffusers version). */ ControlNetDiffusersConfig: { - /** @description Default settings for this model */ + /** + * @description Default settings for this model + * @default null + */ default_settings?: components["schemas"]["ControlAdapterDefaultSettings"] | null; /** * Key @@ -2486,6 +2495,7 @@ export type components = { /** * Description * @description Model description + * @default null */ description?: string | null; /** @@ -2498,11 +2508,13 @@ export type components = { /** * Source Api Response * @description The original API response from the source, as stringified JSON. + * @default null */ source_api_response?: string | null; /** * Cover Image * @description Url for image to preview model + * @default null */ cover_image?: string | null; /** @@ -4261,7 +4273,7 @@ export type components = { * @description The nodes in this graph */ nodes: { - [key: string]: components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["StringInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ColorMapImageProcessorInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["FloatInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["DepthAnythingImageProcessorInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["DWOpenposeImageProcessorInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"]; + [key: string]: components["schemas"]["ImagePasteInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["StringInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["VAELoaderInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["DepthAnythingImageProcessorInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["DWOpenposeImageProcessorInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["ModelIdentifierInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["ImageMaskToTensorInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["AlphaMaskToTensorInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["MaskFromIDInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["FloatInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["LoRACollectionLoader"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["InvertTensorMaskInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["LoRASelectorInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["SDXLLoRACollectionLoader"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["HeuristicResizeInvocation"] | components["schemas"]["RectangleMaskInvocation"] | components["schemas"]["ColorMapImageProcessorInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["LoRALoaderInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["CLIPSkipInvocation"] | components["schemas"]["SDXLLoRALoaderInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["ImageInvocation"]; }; /** * Edges @@ -4298,7 +4310,7 @@ export type components = { * @description The results of node executions */ results: { - [key: string]: components["schemas"]["NoiseOutput"] | components["schemas"]["SDXLModelLoaderOutput"] | components["schemas"]["TileToPropertiesOutput"] | components["schemas"]["CLIPSkipInvocationOutput"] | components["schemas"]["T2IAdapterOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["CollectInvocationOutput"] | components["schemas"]["IntegerOutput"] | components["schemas"]["IntegerCollectionOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["PairTileImageOutput"] | components["schemas"]["BooleanOutput"] | components["schemas"]["SDXLLoRALoaderOutput"] | components["schemas"]["SchedulerOutput"] | components["schemas"]["StringPosNegOutput"] | components["schemas"]["SDXLRefinerModelLoaderOutput"] | components["schemas"]["UNetOutput"] | components["schemas"]["DenoiseMaskOutput"] | components["schemas"]["IPAdapterOutput"] | components["schemas"]["ImageOutput"] | components["schemas"]["CalculateImageTilesOutput"] | components["schemas"]["IdealSizeOutput"] | components["schemas"]["LatentsCollectionOutput"] | components["schemas"]["FloatCollectionOutput"] | components["schemas"]["ModelIdentifierOutput"] | components["schemas"]["ColorOutput"] | components["schemas"]["FaceOffOutput"] | components["schemas"]["GradientMaskOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["FaceMaskOutput"] | components["schemas"]["VAEOutput"] | components["schemas"]["SeamlessModeOutput"] | components["schemas"]["MetadataItemOutput"] | components["schemas"]["ColorCollectionOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["ConditioningCollectionOutput"] | components["schemas"]["CLIPOutput"] | components["schemas"]["StringCollectionOutput"] | components["schemas"]["String2Output"] | components["schemas"]["LoRALoaderOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["LoRASelectorOutput"] | components["schemas"]["StringOutput"] | components["schemas"]["BooleanCollectionOutput"] | components["schemas"]["ConditioningOutput"] | components["schemas"]["MaskOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["MetadataOutput"]; + [key: string]: components["schemas"]["CLIPOutput"] | components["schemas"]["IPAdapterOutput"] | components["schemas"]["SDXLLoRALoaderOutput"] | components["schemas"]["SDXLModelLoaderOutput"] | components["schemas"]["LoRALoaderOutput"] | components["schemas"]["ImageOutput"] | components["schemas"]["IntegerOutput"] | components["schemas"]["ColorOutput"] | components["schemas"]["IdealSizeOutput"] | components["schemas"]["MetadataItemOutput"] | components["schemas"]["BooleanOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["SchedulerOutput"] | components["schemas"]["StringPosNegOutput"] | components["schemas"]["LatentsCollectionOutput"] | components["schemas"]["MetadataOutput"] | components["schemas"]["SDXLRefinerModelLoaderOutput"] | components["schemas"]["NoiseOutput"] | components["schemas"]["VAEOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["ModelIdentifierOutput"] | components["schemas"]["IntegerCollectionOutput"] | components["schemas"]["FaceMaskOutput"] | components["schemas"]["FloatCollectionOutput"] | components["schemas"]["ConditioningCollectionOutput"] | components["schemas"]["StringOutput"] | components["schemas"]["SeamlessModeOutput"] | components["schemas"]["ColorCollectionOutput"] | components["schemas"]["BooleanCollectionOutput"] | components["schemas"]["T2IAdapterOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["CLIPSkipInvocationOutput"] | components["schemas"]["LoRASelectorOutput"] | components["schemas"]["ConditioningOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["TileToPropertiesOutput"] | components["schemas"]["DenoiseMaskOutput"] | components["schemas"]["MaskOutput"] | components["schemas"]["PairTileImageOutput"] | components["schemas"]["StringCollectionOutput"] | components["schemas"]["GradientMaskOutput"] | components["schemas"]["CollectInvocationOutput"] | components["schemas"]["String2Output"] | components["schemas"]["CalculateImageTilesOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["FaceOffOutput"] | components["schemas"]["UNetOutput"]; }; /** * Errors @@ -4535,6 +4547,7 @@ export type components = { /** * Description * @description Model description + * @default null */ description?: string | null; /** @@ -4547,11 +4560,13 @@ export type components = { /** * Source Api Response * @description The original API response from the source, as stringified JSON. + * @default null */ source_api_response?: string | null; /** * Cover Image * @description Url for image to preview model + * @default null */ cover_image?: string | null; /** @@ -4713,6 +4728,7 @@ export type components = { /** * Description * @description Model description + * @default null */ description?: string | null; /** @@ -4725,11 +4741,13 @@ export type components = { /** * Source Api Response * @description The original API response from the source, as stringified JSON. + * @default null */ source_api_response?: string | null; /** * Cover Image * @description Url for image to preview model + * @default null */ cover_image?: string | null; /** @@ -6856,6 +6874,7 @@ export type components = { /** * Description * @description Model description + * @default null */ description?: string | null; /** @@ -6868,11 +6887,13 @@ export type components = { /** * Source Api Response * @description The original API response from the source, as stringified JSON. + * @default null */ source_api_response?: string | null; /** * Cover Image * @description Url for image to preview model + * @default null */ cover_image?: string | null; /** @@ -6885,6 +6906,7 @@ export type components = { /** * Trigger Phrases * @description Set of trigger phrases for this model + * @default null */ trigger_phrases?: string[] | null; /** @@ -7011,6 +7033,7 @@ export type components = { /** * Description * @description Model description + * @default null */ description?: string | null; /** @@ -7023,11 +7046,13 @@ export type components = { /** * Source Api Response * @description The original API response from the source, as stringified JSON. + * @default null */ source_api_response?: string | null; /** * Cover Image * @description Url for image to preview model + * @default null */ cover_image?: string | null; /** @@ -7040,6 +7065,7 @@ export type components = { /** * Trigger Phrases * @description Set of trigger phrases for this model + * @default null */ trigger_phrases?: string[] | null; /** @@ -7177,6 +7203,7 @@ export type components = { /** * Description * @description Model description + * @default null */ description?: string | null; /** @@ -7189,11 +7216,13 @@ export type components = { /** * Source Api Response * @description The original API response from the source, as stringified JSON. + * @default null */ source_api_response?: string | null; /** * Cover Image * @description Url for image to preview model + * @default null */ cover_image?: string | null; /** @@ -7206,9 +7235,13 @@ export type components = { /** * Trigger Phrases * @description Set of trigger phrases for this model + * @default null */ trigger_phrases?: string[] | null; - /** @description Default settings for this model */ + /** + * @description Default settings for this model + * @default null + */ default_settings?: components["schemas"]["MainModelDefaultSettings"] | null; /** @default normal */ variant?: components["schemas"]["ModelVariantType"]; @@ -7267,6 +7300,7 @@ export type components = { /** * Description * @description Model description + * @default null */ description?: string | null; /** @@ -7279,11 +7313,13 @@ export type components = { /** * Source Api Response * @description The original API response from the source, as stringified JSON. + * @default null */ source_api_response?: string | null; /** * Cover Image * @description Url for image to preview model + * @default null */ cover_image?: string | null; /** @@ -7296,9 +7332,13 @@ export type components = { /** * Trigger Phrases * @description Set of trigger phrases for this model + * @default null */ trigger_phrases?: string[] | null; - /** @description Default settings for this model */ + /** + * @description Default settings for this model + * @default null + */ default_settings?: components["schemas"]["MainModelDefaultSettings"] | null; /** @default normal */ variant?: components["schemas"]["ModelVariantType"]; @@ -7317,41 +7357,49 @@ export type components = { /** * Vae * @description Default VAE for this model (model key) + * @default null */ vae?: string | null; /** * Vae Precision * @description Default VAE precision for this model + * @default null */ vae_precision?: ("fp16" | "fp32") | null; /** * Scheduler * @description Default scheduler for this model + * @default null */ scheduler?: ("ddim" | "ddpm" | "deis" | "lms" | "lms_k" | "pndm" | "heun" | "heun_k" | "euler" | "euler_k" | "euler_a" | "kdpm_2" | "kdpm_2_a" | "dpmpp_2s" | "dpmpp_2s_k" | "dpmpp_2m" | "dpmpp_2m_k" | "dpmpp_2m_sde" | "dpmpp_2m_sde_k" | "dpmpp_sde" | "dpmpp_sde_k" | "unipc" | "lcm" | "tcd") | null; /** * Steps * @description Default number of steps for this model + * @default null */ steps?: number | null; /** * Cfg Scale * @description Default CFG Scale for this model + * @default null */ cfg_scale?: number | null; /** * Cfg Rescale Multiplier * @description Default CFG Rescale Multiplier for this model + * @default null */ cfg_rescale_multiplier?: number | null; /** * Width * @description Default width for this model + * @default null */ width?: number | null; /** * Height * @description Default height for this model + * @default null */ height?: number | null; }; @@ -10620,7 +10668,10 @@ export type components = { * @description Model config for T2I. */ T2IAdapterConfig: { - /** @description Default settings for this model */ + /** + * @description Default settings for this model + * @default null + */ default_settings?: components["schemas"]["ControlAdapterDefaultSettings"] | null; /** * Key @@ -10647,6 +10698,7 @@ export type components = { /** * Description * @description Model description + * @default null */ description?: string | null; /** @@ -10659,11 +10711,13 @@ export type components = { /** * Source Api Response * @description The original API response from the source, as stringified JSON. + * @default null */ source_api_response?: string | null; /** * Cover Image * @description Url for image to preview model + * @default null */ cover_image?: string | null; /** @@ -10877,6 +10931,7 @@ export type components = { /** * Description * @description Model description + * @default null */ description?: string | null; /** @@ -10889,11 +10944,13 @@ export type components = { /** * Source Api Response * @description The original API response from the source, as stringified JSON. + * @default null */ source_api_response?: string | null; /** * Cover Image * @description Url for image to preview model + * @default null */ cover_image?: string | null; /** @@ -10941,6 +10998,7 @@ export type components = { /** * Description * @description Model description + * @default null */ description?: string | null; /** @@ -10953,11 +11011,13 @@ export type components = { /** * Source Api Response * @description The original API response from the source, as stringified JSON. + * @default null */ source_api_response?: string | null; /** * Cover Image * @description Url for image to preview model + * @default null */ cover_image?: string | null; /** @@ -11272,6 +11332,7 @@ export type components = { /** * Description * @description Model description + * @default null */ description?: string | null; /** @@ -11284,11 +11345,13 @@ export type components = { /** * Source Api Response * @description The original API response from the source, as stringified JSON. + * @default null */ source_api_response?: string | null; /** * Cover Image * @description Url for image to preview model + * @default null */ cover_image?: string | null; /** @@ -11346,6 +11409,7 @@ export type components = { /** * Description * @description Model description + * @default null */ description?: string | null; /** @@ -11358,11 +11422,13 @@ export type components = { /** * Source Api Response * @description The original API response from the source, as stringified JSON. + * @default null */ source_api_response?: string | null; /** * Cover Image * @description Url for image to preview model + * @default null */ cover_image?: string | null; /** @@ -11901,144 +11967,983 @@ export type components = { */ UIType: "MainModelField" | "SDXLMainModelField" | "SDXLRefinerModelField" | "ONNXModelField" | "VAEModelField" | "LoRAModelField" | "ControlNetModelField" | "IPAdapterModelField" | "T2IAdapterModelField" | "SchedulerField" | "AnyField" | "CollectionField" | "CollectionItemField" | "DEPRECATED_Boolean" | "DEPRECATED_Color" | "DEPRECATED_Conditioning" | "DEPRECATED_Control" | "DEPRECATED_Float" | "DEPRECATED_Image" | "DEPRECATED_Integer" | "DEPRECATED_Latents" | "DEPRECATED_String" | "DEPRECATED_BooleanCollection" | "DEPRECATED_ColorCollection" | "DEPRECATED_ConditioningCollection" | "DEPRECATED_ControlCollection" | "DEPRECATED_FloatCollection" | "DEPRECATED_ImageCollection" | "DEPRECATED_IntegerCollection" | "DEPRECATED_LatentsCollection" | "DEPRECATED_StringCollection" | "DEPRECATED_BooleanPolymorphic" | "DEPRECATED_ColorPolymorphic" | "DEPRECATED_ConditioningPolymorphic" | "DEPRECATED_ControlPolymorphic" | "DEPRECATED_FloatPolymorphic" | "DEPRECATED_ImagePolymorphic" | "DEPRECATED_IntegerPolymorphic" | "DEPRECATED_LatentsPolymorphic" | "DEPRECATED_StringPolymorphic" | "DEPRECATED_UNet" | "DEPRECATED_Vae" | "DEPRECATED_CLIP" | "DEPRECATED_Collection" | "DEPRECATED_CollectionItem" | "DEPRECATED_Enum" | "DEPRECATED_WorkflowField" | "DEPRECATED_IsIntermediate" | "DEPRECATED_BoardField" | "DEPRECATED_MetadataItem" | "DEPRECATED_MetadataItemCollection" | "DEPRECATED_MetadataItemPolymorphic" | "DEPRECATED_MetadataDict"; InvocationOutputMap: { - calculate_image_tiles: components["schemas"]["CalculateImageTilesOutput"]; - clip_skip: components["schemas"]["CLIPSkipInvocationOutput"]; - range_of_size: components["schemas"]["IntegerCollectionOutput"]; - lora_loader: components["schemas"]["LoRALoaderOutput"]; - img_mul: components["schemas"]["ImageOutput"]; - div: components["schemas"]["IntegerOutput"]; - crop_latents: components["schemas"]["LatentsOutput"]; - scheduler: components["schemas"]["SchedulerOutput"]; - blank_image: components["schemas"]["ImageOutput"]; - invert_tensor_mask: components["schemas"]["MaskOutput"]; - controlnet: components["schemas"]["ControlOutput"]; - create_gradient_mask: components["schemas"]["GradientMaskOutput"]; - img_crop: components["schemas"]["ImageOutput"]; - img_chan: components["schemas"]["ImageOutput"]; - iterate: components["schemas"]["IterateInvocationOutput"]; - img_hue_adjust: components["schemas"]["ImageOutput"]; - merge_tiles_to_image: components["schemas"]["ImageOutput"]; - denoise_latents: components["schemas"]["LatentsOutput"]; - string_split_neg: components["schemas"]["StringPosNegOutput"]; - metadata_item: components["schemas"]["MetadataItemOutput"]; - face_off: components["schemas"]["FaceOffOutput"]; - zoe_depth_image_processor: components["schemas"]["ImageOutput"]; - prompt_from_file: components["schemas"]["StringCollectionOutput"]; - img_nsfw: components["schemas"]["ImageOutput"]; - infill_lama: components["schemas"]["ImageOutput"]; - vae_loader: components["schemas"]["VAEOutput"]; - noise: components["schemas"]["NoiseOutput"]; - midas_depth_image_processor: components["schemas"]["ImageOutput"]; - string: components["schemas"]["StringOutput"]; - img_conv: components["schemas"]["ImageOutput"]; - mlsd_image_processor: components["schemas"]["ImageOutput"]; - core_metadata: components["schemas"]["MetadataOutput"]; - float_math: components["schemas"]["FloatOutput"]; - hed_image_processor: components["schemas"]["ImageOutput"]; - lineart_anime_image_processor: components["schemas"]["ImageOutput"]; - main_model_loader: components["schemas"]["ModelLoaderOutput"]; - infill_cv2: components["schemas"]["ImageOutput"]; - image: components["schemas"]["ImageOutput"]; - normalbae_image_processor: components["schemas"]["ImageOutput"]; - rand_int: components["schemas"]["IntegerOutput"]; - image_collection: components["schemas"]["ImageCollectionOutput"]; - step_param_easing: components["schemas"]["FloatCollectionOutput"]; - infill_patchmatch: components["schemas"]["ImageOutput"]; - sdxl_model_loader: components["schemas"]["SDXLModelLoaderOutput"]; - string_collection: components["schemas"]["StringCollectionOutput"]; img_paste: components["schemas"]["ImageOutput"]; + pidi_image_processor: components["schemas"]["ImageOutput"]; + crop_latents: components["schemas"]["LatentsOutput"]; + string: components["schemas"]["StringOutput"]; + pair_tile_image: components["schemas"]["PairTileImageOutput"]; + canny_image_processor: components["schemas"]["ImageOutput"]; + metadata_item: components["schemas"]["MetadataItemOutput"]; + face_mask_detection: components["schemas"]["FaceMaskOutput"]; infill_rgba: components["schemas"]["ImageOutput"]; - integer_collection: components["schemas"]["IntegerCollectionOutput"]; - float_to_int: components["schemas"]["IntegerOutput"]; - tile_image_processor: components["schemas"]["ImageOutput"]; - mask_combine: components["schemas"]["ImageOutput"]; + tomask: components["schemas"]["ImageOutput"]; merge_metadata: components["schemas"]["MetadataOutput"]; - rectangle_mask: components["schemas"]["MaskOutput"]; - color_map_image_processor: components["schemas"]["ImageOutput"]; - img_lerp: components["schemas"]["ImageOutput"]; - mask_edge: components["schemas"]["ImageOutput"]; - ip_adapter: components["schemas"]["IPAdapterOutput"]; - lineart_image_processor: components["schemas"]["ImageOutput"]; - seamless: components["schemas"]["SeamlessModeOutput"]; - img_channel_offset: components["schemas"]["ImageOutput"]; - sdxl_refiner_model_loader: components["schemas"]["SDXLRefinerModelLoaderOutput"]; + img_ilerp: components["schemas"]["ImageOutput"]; + img_chan: components["schemas"]["ImageOutput"]; + compel: components["schemas"]["ConditioningOutput"]; + mediapipe_face_processor: components["schemas"]["ImageOutput"]; + string_join: components["schemas"]["StringOutput"]; + img_hue_adjust: components["schemas"]["ImageOutput"]; + calculate_image_tiles_min_overlap: components["schemas"]["CalculateImageTilesOutput"]; + img_conv: components["schemas"]["ImageOutput"]; + leres_image_processor: components["schemas"]["ImageOutput"]; + create_gradient_mask: components["schemas"]["GradientMaskOutput"]; + face_off: components["schemas"]["FaceOffOutput"]; + collect: components["schemas"]["CollectInvocationOutput"]; + conditioning: components["schemas"]["ConditioningOutput"]; + face_identifier: components["schemas"]["ImageOutput"]; + vae_loader: components["schemas"]["VAEOutput"]; + cv_inpaint: components["schemas"]["ImageOutput"]; + segment_anything_processor: components["schemas"]["ImageOutput"]; + dynamic_prompt: components["schemas"]["StringCollectionOutput"]; + denoise_latents: components["schemas"]["LatentsOutput"]; + float_collection: components["schemas"]["FloatCollectionOutput"]; + depth_anything_image_processor: components["schemas"]["ImageOutput"]; + rand_float: components["schemas"]["FloatOutput"]; + mul: components["schemas"]["IntegerOutput"]; + create_denoise_mask: components["schemas"]["DenoiseMaskOutput"]; + calculate_image_tiles: components["schemas"]["CalculateImageTilesOutput"]; + content_shuffle_image_processor: components["schemas"]["ImageOutput"]; range: components["schemas"]["IntegerCollectionOutput"]; + sdxl_compel_prompt: components["schemas"]["ConditioningOutput"]; + sub: components["schemas"]["IntegerOutput"]; + calculate_image_tiles_even_split: components["schemas"]["CalculateImageTilesOutput"]; + show_image: components["schemas"]["ImageOutput"]; + dw_openpose_image_processor: components["schemas"]["ImageOutput"]; + boolean: components["schemas"]["BooleanOutput"]; + metadata: components["schemas"]["MetadataOutput"]; + infill_tile: components["schemas"]["ImageOutput"]; + round_float: components["schemas"]["FloatOutput"]; + tile_to_properties: components["schemas"]["TileToPropertiesOutput"]; + ip_adapter: components["schemas"]["IPAdapterOutput"]; + img_pad_crop: components["schemas"]["ImageOutput"]; + string_replace: components["schemas"]["StringOutput"]; + img_channel_offset: components["schemas"]["ImageOutput"]; + t2i_adapter: components["schemas"]["T2IAdapterOutput"]; + img_nsfw: components["schemas"]["ImageOutput"]; + lscale: components["schemas"]["LatentsOutput"]; + conditioning_collection: components["schemas"]["ConditioningCollectionOutput"]; + add: components["schemas"]["IntegerOutput"]; + save_image: components["schemas"]["ImageOutput"]; + model_identifier: components["schemas"]["ModelIdentifierOutput"]; + i2l: components["schemas"]["LatentsOutput"]; + color: components["schemas"]["ColorOutput"]; + step_param_easing: components["schemas"]["FloatCollectionOutput"]; + merge_tiles_to_image: components["schemas"]["ImageOutput"]; + integer_math: components["schemas"]["IntegerOutput"]; + lblend: components["schemas"]["LatentsOutput"]; + img_lerp: components["schemas"]["ImageOutput"]; + seamless: components["schemas"]["SeamlessModeOutput"]; + image_mask_to_tensor: components["schemas"]["MaskOutput"]; lresize: components["schemas"]["LatentsOutput"]; freeu: components["schemas"]["UNetOutput"]; - string_join: components["schemas"]["StringOutput"]; - compel: components["schemas"]["ConditioningOutput"]; - collect: components["schemas"]["CollectInvocationOutput"]; - img_watermark: components["schemas"]["ImageOutput"]; - float_range: components["schemas"]["FloatCollectionOutput"]; - sdxl_compel_prompt: components["schemas"]["ConditioningOutput"]; - i2l: components["schemas"]["LatentsOutput"]; - sdxl_refiner_compel_prompt: components["schemas"]["ConditioningOutput"]; - float: components["schemas"]["FloatOutput"]; - dynamic_prompt: components["schemas"]["StringCollectionOutput"]; - save_image: components["schemas"]["ImageOutput"]; - heuristic_resize: components["schemas"]["ImageOutput"]; - lblend: components["schemas"]["LatentsOutput"]; - tomask: components["schemas"]["ImageOutput"]; - leres_image_processor: components["schemas"]["ImageOutput"]; - lscale: components["schemas"]["LatentsOutput"]; - conditioning: components["schemas"]["ConditioningOutput"]; - mediapipe_face_processor: components["schemas"]["ImageOutput"]; - esrgan: components["schemas"]["ImageOutput"]; - img_pad_crop: components["schemas"]["ImageOutput"]; - content_shuffle_image_processor: components["schemas"]["ImageOutput"]; - color_correct: components["schemas"]["ImageOutput"]; - unsharp_mask: components["schemas"]["ImageOutput"]; - infill_tile: components["schemas"]["ImageOutput"]; - canny_image_processor: components["schemas"]["ImageOutput"]; - show_image: components["schemas"]["ImageOutput"]; - pidi_image_processor: components["schemas"]["ImageOutput"]; - pair_tile_image: components["schemas"]["PairTileImageOutput"]; - segment_anything_processor: components["schemas"]["ImageOutput"]; - rand_float: components["schemas"]["FloatOutput"]; - canvas_paste_back: components["schemas"]["ImageOutput"]; - depth_anything_image_processor: components["schemas"]["ImageOutput"]; - img_channel_multiply: components["schemas"]["ImageOutput"]; - metadata: components["schemas"]["MetadataOutput"]; - string_replace: components["schemas"]["StringOutput"]; - image_mask_to_tensor: components["schemas"]["MaskOutput"]; - mul: components["schemas"]["IntegerOutput"]; - img_scale: components["schemas"]["ImageOutput"]; - model_identifier: components["schemas"]["ModelIdentifierOutput"]; - alpha_mask_to_tensor: components["schemas"]["MaskOutput"]; - latents: components["schemas"]["LatentsOutput"]; - dw_openpose_image_processor: components["schemas"]["ImageOutput"]; - mask_from_id: components["schemas"]["ImageOutput"]; - conditioning_collection: components["schemas"]["ConditioningCollectionOutput"]; - round_float: components["schemas"]["FloatOutput"]; - face_mask_detection: components["schemas"]["FaceMaskOutput"]; - calculate_image_tiles_min_overlap: components["schemas"]["CalculateImageTilesOutput"]; - img_resize: components["schemas"]["ImageOutput"]; - l2i: components["schemas"]["ImageOutput"]; - color: components["schemas"]["ColorOutput"]; - lora_collection_loader: components["schemas"]["LoRALoaderOutput"]; - sdxl_lora_collection_loader: components["schemas"]["SDXLLoRALoaderOutput"]; string_join_three: components["schemas"]["StringOutput"]; - sub: components["schemas"]["IntegerOutput"]; - img_blur: components["schemas"]["ImageOutput"]; - float_collection: components["schemas"]["FloatCollectionOutput"]; - integer: components["schemas"]["IntegerOutput"]; - face_identifier: components["schemas"]["ImageOutput"]; + alpha_mask_to_tensor: components["schemas"]["MaskOutput"]; + mlsd_image_processor: components["schemas"]["ImageOutput"]; + integer_collection: components["schemas"]["IntegerCollectionOutput"]; + div: components["schemas"]["IntegerOutput"]; + unsharp_mask: components["schemas"]["ImageOutput"]; + mask_from_id: components["schemas"]["ImageOutput"]; latents_collection: components["schemas"]["LatentsCollectionOutput"]; - cv_inpaint: components["schemas"]["ImageOutput"]; - t2i_adapter: components["schemas"]["T2IAdapterOutput"]; - create_denoise_mask: components["schemas"]["DenoiseMaskOutput"]; + scheduler: components["schemas"]["SchedulerOutput"]; + canvas_paste_back: components["schemas"]["ImageOutput"]; + midas_depth_image_processor: components["schemas"]["ImageOutput"]; + img_channel_multiply: components["schemas"]["ImageOutput"]; + core_metadata: components["schemas"]["MetadataOutput"]; + float: components["schemas"]["FloatOutput"]; + lineart_anime_image_processor: components["schemas"]["ImageOutput"]; random_range: components["schemas"]["IntegerCollectionOutput"]; - sdxl_lora_loader: components["schemas"]["SDXLLoRALoaderOutput"]; - ideal_size: components["schemas"]["IdealSizeOutput"]; - tile_to_properties: components["schemas"]["TileToPropertiesOutput"]; - img_ilerp: components["schemas"]["ImageOutput"]; - integer_math: components["schemas"]["IntegerOutput"]; - add: components["schemas"]["IntegerOutput"]; - boolean: components["schemas"]["BooleanOutput"]; + mask_combine: components["schemas"]["ImageOutput"]; + hed_image_processor: components["schemas"]["ImageOutput"]; + latents: components["schemas"]["LatentsOutput"]; + float_math: components["schemas"]["FloatOutput"]; + prompt_from_file: components["schemas"]["StringCollectionOutput"]; + mask_edge: components["schemas"]["ImageOutput"]; + integer: components["schemas"]["IntegerOutput"]; + color_correct: components["schemas"]["ImageOutput"]; + range_of_size: components["schemas"]["IntegerCollectionOutput"]; + img_mul: components["schemas"]["ImageOutput"]; + zoe_depth_image_processor: components["schemas"]["ImageOutput"]; + main_model_loader: components["schemas"]["ModelLoaderOutput"]; + img_blur: components["schemas"]["ImageOutput"]; + img_scale: components["schemas"]["ImageOutput"]; + lineart_image_processor: components["schemas"]["ImageOutput"]; + img_resize: components["schemas"]["ImageOutput"]; + infill_lama: components["schemas"]["ImageOutput"]; string_split: components["schemas"]["String2Output"]; - lora_selector: components["schemas"]["LoRASelectorOutput"]; boolean_collection: components["schemas"]["BooleanCollectionOutput"]; - calculate_image_tiles_even_split: components["schemas"]["CalculateImageTilesOutput"]; + string_collection: components["schemas"]["StringCollectionOutput"]; + iterate: components["schemas"]["IterateInvocationOutput"]; + img_watermark: components["schemas"]["ImageOutput"]; + lora_collection_loader: components["schemas"]["LoRALoaderOutput"]; + rand_int: components["schemas"]["IntegerOutput"]; + invert_tensor_mask: components["schemas"]["MaskOutput"]; + sdxl_refiner_compel_prompt: components["schemas"]["ConditioningOutput"]; + sdxl_model_loader: components["schemas"]["SDXLModelLoaderOutput"]; + blank_image: components["schemas"]["ImageOutput"]; + image_collection: components["schemas"]["ImageCollectionOutput"]; + ideal_size: components["schemas"]["IdealSizeOutput"]; + lora_selector: components["schemas"]["LoRASelectorOutput"]; + sdxl_refiner_model_loader: components["schemas"]["SDXLRefinerModelLoaderOutput"]; + tile_image_processor: components["schemas"]["ImageOutput"]; + img_crop: components["schemas"]["ImageOutput"]; + esrgan: components["schemas"]["ImageOutput"]; + normalbae_image_processor: components["schemas"]["ImageOutput"]; + float_to_int: components["schemas"]["IntegerOutput"]; + sdxl_lora_collection_loader: components["schemas"]["SDXLLoRALoaderOutput"]; + noise: components["schemas"]["NoiseOutput"]; + infill_cv2: components["schemas"]["ImageOutput"]; + l2i: components["schemas"]["ImageOutput"]; + string_split_neg: components["schemas"]["StringPosNegOutput"]; + heuristic_resize: components["schemas"]["ImageOutput"]; + rectangle_mask: components["schemas"]["MaskOutput"]; + color_map_image_processor: components["schemas"]["ImageOutput"]; + controlnet: components["schemas"]["ControlOutput"]; + lora_loader: components["schemas"]["LoRALoaderOutput"]; + infill_patchmatch: components["schemas"]["ImageOutput"]; + clip_skip: components["schemas"]["CLIPSkipInvocationOutput"]; + sdxl_lora_loader: components["schemas"]["SDXLLoRALoaderOutput"]; + float_range: components["schemas"]["FloatCollectionOutput"]; + image: components["schemas"]["ImageOutput"]; + }; + /** + * InvocationStartedEvent + * @description Emitted when an invocation is started + */ + InvocationStartedEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Queue Id + * @description The ID of the queue + */ + queue_id: string; + /** + * Item Id + * @description The ID of the queue item + */ + item_id: number; + /** + * Batch Id + * @description The ID of the queue batch + */ + batch_id: string; + /** + * Session Id + * @description The ID of the session (aka graph execution state) + */ + session_id: string; + /** + * Invocation Id + * @description The ID of the invocation + */ + invocation_id: string; + /** + * Invocation Source Id + * @description The ID of the prepared invocation's source node + */ + invocation_source_id: string; + /** + * Invocation Type + * @description The type of invocation + */ + invocation_type: string; + }; + /** + * InvocationDenoiseProgressEvent + * @description Emitted at each step during denoising of an invocation. + */ + InvocationDenoiseProgressEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Queue Id + * @description The ID of the queue + */ + queue_id: string; + /** + * Item Id + * @description The ID of the queue item + */ + item_id: number; + /** + * Batch Id + * @description The ID of the queue batch + */ + batch_id: string; + /** + * Session Id + * @description The ID of the session (aka graph execution state) + */ + session_id: string; + /** + * Invocation Id + * @description The ID of the invocation + */ + invocation_id: string; + /** + * Invocation Source Id + * @description The ID of the prepared invocation's source node + */ + invocation_source_id: string; + /** + * Invocation Type + * @description The type of invocation + */ + invocation_type: string; + /** @description The progress image sent at each step during processing */ + progress_image: components["schemas"]["ProgressImage"]; + /** + * Step + * @description The current step of the invocation + */ + step: number; + /** + * Total Steps + * @description The total number of steps in the invocation + */ + total_steps: number; + }; + /** + * BaseInvocationOutput + * @description Base class for all invocation outputs. + * + * All invocation outputs must use the `@invocation_output` decorator to provide their unique type. + */ + BaseInvocationOutput: Record; + /** + * InvocationCompleteEvent + * @description Emitted when an invocation is complete + */ + InvocationCompleteEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Queue Id + * @description The ID of the queue + */ + queue_id: string; + /** + * Item Id + * @description The ID of the queue item + */ + item_id: number; + /** + * Batch Id + * @description The ID of the queue batch + */ + batch_id: string; + /** + * Session Id + * @description The ID of the session (aka graph execution state) + */ + session_id: string; + /** + * Invocation Id + * @description The ID of the invocation + */ + invocation_id: string; + /** + * Invocation Source Id + * @description The ID of the prepared invocation's source node + */ + invocation_source_id: string; + /** + * Invocation Type + * @description The type of invocation + */ + invocation_type: string; + /** @description The result of the invocation */ + result: components["schemas"]["BaseInvocationOutput"]; + }; + /** + * InvocationErrorEvent + * @description Emitted when an invocation encounters an error + */ + InvocationErrorEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Queue Id + * @description The ID of the queue + */ + queue_id: string; + /** + * Item Id + * @description The ID of the queue item + */ + item_id: number; + /** + * Batch Id + * @description The ID of the queue batch + */ + batch_id: string; + /** + * Session Id + * @description The ID of the session (aka graph execution state) + */ + session_id: string; + /** + * Invocation Id + * @description The ID of the invocation + */ + invocation_id: string; + /** + * Invocation Source Id + * @description The ID of the prepared invocation's source node + */ + invocation_source_id: string; + /** + * Invocation Type + * @description The type of invocation + */ + invocation_type: string; + /** + * Error Type + * @description The type of error + */ + error_type: string; + /** + * Error + * @description The error message + */ + error: string; + }; + /** + * SessionStartedEvent + * @description Emitted when a session has started + */ + SessionStartedEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Queue Id + * @description The ID of the queue + */ + queue_id: string; + /** + * Item Id + * @description The ID of the queue item + */ + item_id: number; + /** + * Batch Id + * @description The ID of the queue batch + */ + batch_id: string; + /** + * Session Id + * @description The ID of the session (aka graph execution state) + */ + session_id: string; + }; + /** + * SessionCompleteEvent + * @description Emitted when a session has completed all invocations + */ + SessionCompleteEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Queue Id + * @description The ID of the queue + */ + queue_id: string; + /** + * Item Id + * @description The ID of the queue item + */ + item_id: number; + /** + * Batch Id + * @description The ID of the queue batch + */ + batch_id: string; + /** + * Session Id + * @description The ID of the session (aka graph execution state) + */ + session_id: string; + }; + /** + * SessionCanceledEvent + * @description Emitted when a session is canceled + */ + SessionCanceledEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Queue Id + * @description The ID of the queue + */ + queue_id: string; + /** + * Item Id + * @description The ID of the queue item + */ + item_id: number; + /** + * Batch Id + * @description The ID of the queue batch + */ + batch_id: string; + /** + * Session Id + * @description The ID of the session (aka graph execution state) + */ + session_id: string; + }; + /** + * QueueItemStatusChangedEvent + * @description Emitted when a queue item's status changes + */ + QueueItemStatusChangedEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Queue Id + * @description The ID of the queue + */ + queue_id: string; + /** + * Item Id + * @description The ID of the queue item + */ + item_id: number; + /** + * Batch Id + * @description The ID of the queue batch + */ + batch_id: string; + /** + * Status + * @description The new status of the queue item + * @enum {string} + */ + status: "pending" | "in_progress" | "completed" | "failed" | "canceled"; + /** + * Error + * @description The error message, if any + * @default null + */ + error: string | null; + /** + * Created At + * @description The timestamp when the queue item was created + * @default null + */ + created_at: string | null; + /** + * Updated At + * @description The timestamp when the queue item was last updated + * @default null + */ + updated_at: string | null; + /** + * Started At + * @description The timestamp when the queue item was started + * @default null + */ + started_at: string | null; + /** + * Completed At + * @description The timestamp when the queue item was completed + * @default null + */ + completed_at: string | null; + /** @description The status of the batch */ + batch_status: components["schemas"]["BatchStatus"]; + /** @description The status of the queue */ + queue_status: components["schemas"]["SessionQueueStatus"]; + }; + /** + * BatchEnqueuedEvent + * @description Emitted when a batch is enqueued + */ + BatchEnqueuedEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Queue Id + * @description The ID of the queue + */ + queue_id: string; + /** + * Batch Id + * @description The ID of the batch + */ + batch_id: string; + /** + * Enqueued + * @description The number of invocations enqueued + */ + enqueued: number; + /** + * Requested + * @description The number of invocations initially requested to be enqueued (may be less than enqueued if queue was full) + */ + requested: number; + /** + * Priority + * @description The priority of the batch + */ + priority: number; + }; + /** + * QueueClearedEvent + * @description Emitted when a queue is cleared + */ + QueueClearedEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Queue Id + * @description The ID of the queue + */ + queue_id: string; + }; + /** + * DownloadStartedEvent + * @description Emitted when a download is started + */ + DownloadStartedEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Source + * @description The source of the download + */ + source: string; + /** + * Download Path + * @description The local path where the download is saved + */ + download_path: string; + }; + /** + * DownloadProgressEvent + * @description Emitted at intervals during a download + */ + DownloadProgressEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Source + * @description The source of the download + */ + source: string; + /** + * Download Path + * @description The local path where the download is saved + */ + download_path: string; + /** + * Current Bytes + * @description The number of bytes downloaded so far + */ + current_bytes: number; + /** + * Total Bytes + * @description The total number of bytes to be downloaded + */ + total_bytes: number; + }; + /** + * DownloadCompleteEvent + * @description Emitted when a download is completed + */ + DownloadCompleteEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Source + * @description The source of the download + */ + source: string; + /** + * Download Path + * @description The local path where the download is saved + */ + download_path: string; + /** + * Total Bytes + * @description The total number of bytes downloaded + */ + total_bytes: number; + }; + /** + * DownloadCancelledEvent + * @description Emitted when a download is cancelled + */ + DownloadCancelledEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Source + * @description The source of the download + */ + source: string; + }; + /** + * DownloadErrorEvent + * @description Emitted when a download encounters an error + */ + DownloadErrorEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Source + * @description The source of the download + */ + source: string; + /** + * Error Type + * @description The type of error + */ + error_type: string; + /** + * Error + * @description The error message + */ + error: string; + }; + /** + * ModelLoadStartedEvent + * @description Emitted when a model is requested + */ + ModelLoadStartedEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Config + * @description The model's config + */ + config: components["schemas"]["MainDiffusersConfig"] | components["schemas"]["MainCheckpointConfig"] | components["schemas"]["VAEDiffusersConfig"] | components["schemas"]["VAECheckpointConfig"] | components["schemas"]["ControlNetDiffusersConfig"] | components["schemas"]["ControlNetCheckpointConfig"] | components["schemas"]["LoRALyCORISConfig"] | components["schemas"]["LoRADiffusersConfig"] | components["schemas"]["TextualInversionFileConfig"] | components["schemas"]["TextualInversionFolderConfig"] | components["schemas"]["IPAdapterInvokeAIConfig"] | components["schemas"]["IPAdapterCheckpointConfig"] | components["schemas"]["T2IAdapterConfig"] | components["schemas"]["CLIPVisionDiffusersConfig"]; + /** + * @description The submodel type, if any + * @default null + */ + submodel_type: components["schemas"]["SubModelType"] | null; + }; + /** + * ModelLoadCompleteEvent + * @description Emitted when a model is requested + */ + ModelLoadCompleteEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Config + * @description The model's config + */ + config: components["schemas"]["MainDiffusersConfig"] | components["schemas"]["MainCheckpointConfig"] | components["schemas"]["VAEDiffusersConfig"] | components["schemas"]["VAECheckpointConfig"] | components["schemas"]["ControlNetDiffusersConfig"] | components["schemas"]["ControlNetCheckpointConfig"] | components["schemas"]["LoRALyCORISConfig"] | components["schemas"]["LoRADiffusersConfig"] | components["schemas"]["TextualInversionFileConfig"] | components["schemas"]["TextualInversionFolderConfig"] | components["schemas"]["IPAdapterInvokeAIConfig"] | components["schemas"]["IPAdapterCheckpointConfig"] | components["schemas"]["T2IAdapterConfig"] | components["schemas"]["CLIPVisionDiffusersConfig"]; + /** + * @description The submodel type, if any + * @default null + */ + submodel_type: components["schemas"]["SubModelType"] | null; + }; + /** + * ModelInstallDownloadProgressEvent + * @description Emitted at intervals while the install job is in progress (remote models only). + */ + ModelInstallDownloadProgressEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Id + * @description The ID of the install job + */ + id: number; + /** + * Source + * @description Source of the model; local path, repo_id or url + */ + source: string; + /** + * Local Path + * @description Where model is downloading to + */ + local_path: string; + /** + * Bytes + * @description Number of bytes downloaded so far + */ + bytes: number; + /** + * Total Bytes + * @description Total size of download, including all files + */ + total_bytes: number; + /** + * Parts + * @description Progress of downloading URLs that comprise the model, if any + */ + parts: ({ + [key: string]: number | string; + })[]; + }; + /** + * ModelInstallDownloadsCompleteEvent + * @description Emitted once when an install job becomes active. + */ + ModelInstallDownloadsCompleteEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Id + * @description The ID of the install job + */ + id: number; + /** + * Source + * @description Source of the model; local path, repo_id or url + */ + source: string; + }; + /** + * ModelInstallStartedEvent + * @description Emitted once when an install job becomes active. + */ + ModelInstallStartedEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Id + * @description The ID of the install job + */ + id: number; + /** + * Source + * @description Source of the model; local path, repo_id or url + */ + source: string; + }; + /** + * ModelInstallCompleteEvent + * @description Emitted when an install job is completed successfully. + */ + ModelInstallCompleteEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Id + * @description The ID of the install job + */ + id: number; + /** + * Source + * @description Source of the model; local path, repo_id or url + */ + source: string; + /** + * Key + * @description Model config record key + */ + key: string; + /** + * Total Bytes + * @description Size of the model (may be None for installation of a local path) + */ + total_bytes: number | null; + }; + /** + * ModelInstallCancelledEvent + * @description Emitted when an install job is cancelled. + */ + ModelInstallCancelledEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Id + * @description The ID of the install job + */ + id: number; + /** + * Source + * @description Source of the model; local path, repo_id or url + */ + source: string; + }; + /** + * ModelInstallErrorEvent + * @description Emitted when an install job encounters an exception. + */ + ModelInstallErrorEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Id + * @description The ID of the install job + */ + id: number; + /** + * Source + * @description Source of the model; local path, repo_id or url + */ + source: string; + /** + * Error Type + * @description The name of the exception + */ + error_type: string; + /** + * Error + * @description A text description of the exception + */ + error: string; + }; + /** + * BulkDownloadStartedEvent + * @description Emitted when a bulk image download is started + */ + BulkDownloadStartedEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Bulk Download Id + * @description The ID of the bulk image download + */ + bulk_download_id: string; + /** + * Bulk Download Item Id + * @description The ID of the bulk image download item + */ + bulk_download_item_id: string; + /** + * Bulk Download Item Name + * @description The name of the bulk image download item + */ + bulk_download_item_name: string; + }; + /** + * BulkDownloadCompleteEvent + * @description Emitted when a bulk image download is started + */ + BulkDownloadCompleteEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Bulk Download Id + * @description The ID of the bulk image download + */ + bulk_download_id: string; + /** + * Bulk Download Item Id + * @description The ID of the bulk image download item + */ + bulk_download_item_id: string; + /** + * Bulk Download Item Name + * @description The name of the bulk image download item + */ + bulk_download_item_name: string; + }; + /** + * BulkDownloadErrorEvent + * @description Emitted when a bulk image download is started + */ + BulkDownloadErrorEvent: { + /** + * Timestamp + * @description The timestamp of the event + */ + timestamp: number; + /** + * Bulk Download Id + * @description The ID of the bulk image download + */ + bulk_download_id: string; + /** + * Bulk Download Item Id + * @description The ID of the bulk image download item + */ + bulk_download_item_id: string; + /** + * Bulk Download Item Name + * @description The name of the bulk image download item + */ + bulk_download_item_name: string; + /** + * Error + * @description The error message + */ + error: string; }; }; responses: never;