mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(nodes): refactor parameter/primitive nodes
Refine concept of "parameter" nodes to "primitives": - integer - float - string - boolean - image - latents - conditioning - color Each primitive has: - A field definition, if it is not already python primitive value. The field is how this primitive value is passed between nodes. Collections are lists of the field in node definitions. ex: `ImageField` & `list[ImageField]` - A single output class. ex: `ImageOutput` - A collection output class. ex: `ImageCollectionOutput` - A node, which functions to load or pass on the primitive value. ex: `ImageInvocation` (in this case, `ImageInvocation` replaces `LoadImage`) Plus a number of related changes: - Reorganize these into `primitives.py` - Update all nodes and logic to use primitives - Consolidate "prompt" outputs into "string" & "mask" into "image" (there's no reason for these to be different, the function identically) - Update default graphs & tests - Regen frontend types & minor frontend tidy related to changes
This commit is contained in:
@ -3,8 +3,6 @@ import {
|
||||
GraphExecutionState,
|
||||
GraphInvocationOutput,
|
||||
ImageOutput,
|
||||
MaskOutput,
|
||||
PromptOutput,
|
||||
IterateInvocationOutput,
|
||||
CollectInvocationOutput,
|
||||
ImageField,
|
||||
@ -48,14 +46,6 @@ export const isLatentsOutput = (
|
||||
output: GraphExecutionState['results'][string]
|
||||
): output is LatentsOutput => output?.type === 'latents_output';
|
||||
|
||||
export const isMaskOutput = (
|
||||
output: GraphExecutionState['results'][string]
|
||||
): output is MaskOutput => output?.type === 'mask';
|
||||
|
||||
export const isPromptOutput = (
|
||||
output: GraphExecutionState['results'][string]
|
||||
): output is PromptOutput => output?.type === 'prompt';
|
||||
|
||||
export const isGraphOutput = (
|
||||
output: GraphExecutionState['results'][string]
|
||||
): output is GraphInvocationOutput => output?.type === 'graph_output';
|
||||
|
638
invokeai/frontend/web/src/services/api/schema.d.ts
vendored
638
invokeai/frontend/web/src/services/api/schema.d.ts
vendored
@ -548,6 +548,69 @@ export type components = {
|
||||
*/
|
||||
file: Blob;
|
||||
};
|
||||
/**
|
||||
* BooleanCollectionOutput
|
||||
* @description Base class for nodes that output a collection of booleans
|
||||
*/
|
||||
BooleanCollectionOutput: {
|
||||
/**
|
||||
* Type
|
||||
* @default boolean_collection_output
|
||||
* @enum {string}
|
||||
*/
|
||||
type?: "boolean_collection_output";
|
||||
/**
|
||||
* Collection
|
||||
* @description The output boolean collection
|
||||
*/
|
||||
collection?: (boolean)[];
|
||||
};
|
||||
/**
|
||||
* Boolean Primitive
|
||||
* @description A boolean primitive value
|
||||
*/
|
||||
BooleanInvocation: {
|
||||
/**
|
||||
* Id
|
||||
* @description The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Is Intermediate
|
||||
* @description Whether or not this node is an intermediate node.
|
||||
* @default false
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
/**
|
||||
* Type
|
||||
* @default bool
|
||||
* @enum {string}
|
||||
*/
|
||||
type: "bool";
|
||||
/**
|
||||
* A
|
||||
* @description The boolean value
|
||||
* @default false
|
||||
*/
|
||||
a?: boolean;
|
||||
};
|
||||
/**
|
||||
* BooleanOutput
|
||||
* @description Base class for nodes that output a single boolean
|
||||
*/
|
||||
BooleanOutput: {
|
||||
/**
|
||||
* Type
|
||||
* @default boolean_output
|
||||
* @enum {string}
|
||||
*/
|
||||
type?: "boolean_output";
|
||||
/**
|
||||
* A
|
||||
* @description The output boolean
|
||||
*/
|
||||
a: boolean;
|
||||
};
|
||||
/**
|
||||
* Canny Processor
|
||||
* @description Canny edge detection for ControlNet
|
||||
@ -712,6 +775,23 @@ export type components = {
|
||||
*/
|
||||
collection: (unknown)[];
|
||||
};
|
||||
/**
|
||||
* ColorCollectionOutput
|
||||
* @description Base class for nodes that output a collection of colors
|
||||
*/
|
||||
ColorCollectionOutput: {
|
||||
/**
|
||||
* Type
|
||||
* @default color_collection_output
|
||||
* @enum {string}
|
||||
*/
|
||||
type?: "color_collection_output";
|
||||
/**
|
||||
* Collection
|
||||
* @description The output colors
|
||||
*/
|
||||
collection?: (components["schemas"]["ColorField"])[];
|
||||
};
|
||||
/**
|
||||
* Color Correct
|
||||
* @description Shifts the colors of a target image to match the reference image, optionally
|
||||
@ -757,7 +837,10 @@ export type components = {
|
||||
*/
|
||||
mask_blur_radius?: number;
|
||||
};
|
||||
/** ColorField */
|
||||
/**
|
||||
* ColorField
|
||||
* @description A color primitive field
|
||||
*/
|
||||
ColorField: {
|
||||
/**
|
||||
* R
|
||||
@ -780,6 +863,57 @@ export type components = {
|
||||
*/
|
||||
a: number;
|
||||
};
|
||||
/**
|
||||
* Color Primitive
|
||||
* @description A color primitive value
|
||||
*/
|
||||
ColorInvocation: {
|
||||
/**
|
||||
* Id
|
||||
* @description The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Is Intermediate
|
||||
* @description Whether or not this node is an intermediate node.
|
||||
* @default false
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
/**
|
||||
* Type
|
||||
* @default color
|
||||
* @enum {string}
|
||||
*/
|
||||
type: "color";
|
||||
/**
|
||||
* Color
|
||||
* @description The color value
|
||||
* @default {
|
||||
* "r": 0,
|
||||
* "g": 0,
|
||||
* "b": 0,
|
||||
* "a": 255
|
||||
* }
|
||||
*/
|
||||
color?: components["schemas"]["ColorField"];
|
||||
};
|
||||
/**
|
||||
* ColorOutput
|
||||
* @description Base class for nodes that output a single color
|
||||
*/
|
||||
ColorOutput: {
|
||||
/**
|
||||
* Type
|
||||
* @default color_output
|
||||
* @enum {string}
|
||||
*/
|
||||
type?: "color_output";
|
||||
/**
|
||||
* Color
|
||||
* @description The output color
|
||||
*/
|
||||
color: components["schemas"]["ColorField"];
|
||||
};
|
||||
/**
|
||||
* Compel Prompt
|
||||
* @description Parse prompt using compel package to conditioning.
|
||||
@ -815,30 +949,78 @@ export type components = {
|
||||
clip?: components["schemas"]["ClipField"];
|
||||
};
|
||||
/**
|
||||
* CompelOutput
|
||||
* @description Compel parser output
|
||||
* ConditioningCollectionOutput
|
||||
* @description Base class for nodes that output a collection of conditioning tensors
|
||||
*/
|
||||
CompelOutput: {
|
||||
ConditioningCollectionOutput: {
|
||||
/**
|
||||
* Type
|
||||
* @default compel_output
|
||||
* @default conditioning_collection_output
|
||||
* @enum {string}
|
||||
*/
|
||||
type?: "compel_output";
|
||||
type?: "conditioning_collection_output";
|
||||
/**
|
||||
* Collection
|
||||
* @description The output conditioning tensors
|
||||
*/
|
||||
collection?: (components["schemas"]["ConditioningField"])[];
|
||||
};
|
||||
/**
|
||||
* ConditioningField
|
||||
* @description A conditioning tensor primitive field
|
||||
*/
|
||||
ConditioningField: {
|
||||
/**
|
||||
* Conditioning Name
|
||||
* @description The name of conditioning tensor
|
||||
*/
|
||||
conditioning_name: string;
|
||||
};
|
||||
/**
|
||||
* Conditioning
|
||||
* @description A conditioning tensor primitive value
|
||||
*/
|
||||
ConditioningInvocation: {
|
||||
/**
|
||||
* Id
|
||||
* @description The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Is Intermediate
|
||||
* @description Whether or not this node is an intermediate node.
|
||||
* @default false
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
/**
|
||||
* Type
|
||||
* @default conditioning
|
||||
* @enum {string}
|
||||
*/
|
||||
type: "conditioning";
|
||||
/**
|
||||
* Conditioning
|
||||
* @description Conditioning tensor
|
||||
*/
|
||||
conditioning?: components["schemas"]["ConditioningField"];
|
||||
};
|
||||
/**
|
||||
* ConditioningOutput
|
||||
* @description Base class for nodes that output a single conditioning tensor
|
||||
*/
|
||||
ConditioningOutput: {
|
||||
/**
|
||||
* Type
|
||||
* @default conditioning_output
|
||||
* @enum {string}
|
||||
*/
|
||||
type?: "conditioning_output";
|
||||
/**
|
||||
* Conditioning
|
||||
* @description Conditioning tensor
|
||||
*/
|
||||
conditioning: components["schemas"]["ConditioningField"];
|
||||
};
|
||||
/** ConditioningField */
|
||||
ConditioningField: {
|
||||
/**
|
||||
* Conditioning Name
|
||||
* @description The name of conditioning data
|
||||
*/
|
||||
conditioning_name: string;
|
||||
};
|
||||
/**
|
||||
* Content Shuffle Processor
|
||||
* @description Applies content shuffle processing to image
|
||||
@ -1507,7 +1689,7 @@ export type components = {
|
||||
};
|
||||
/**
|
||||
* FloatCollectionOutput
|
||||
* @description A collection of floats
|
||||
* @description Base class for nodes that output a collection of floats
|
||||
*/
|
||||
FloatCollectionOutput: {
|
||||
/**
|
||||
@ -1518,11 +1700,39 @@ export type components = {
|
||||
type?: "float_collection_output";
|
||||
/**
|
||||
* Collection
|
||||
* @description The float collection
|
||||
* @default []
|
||||
* @description The float collection
|
||||
*/
|
||||
collection?: (number)[];
|
||||
};
|
||||
/**
|
||||
* Float Primitive
|
||||
* @description A float primitive value
|
||||
*/
|
||||
FloatInvocation: {
|
||||
/**
|
||||
* Id
|
||||
* @description The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Is Intermediate
|
||||
* @description Whether or not this node is an intermediate node.
|
||||
* @default false
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
/**
|
||||
* Type
|
||||
* @default float
|
||||
* @enum {string}
|
||||
*/
|
||||
type: "float";
|
||||
/**
|
||||
* Param
|
||||
* @description The float value
|
||||
* @default 0
|
||||
*/
|
||||
param?: number;
|
||||
};
|
||||
/**
|
||||
* Float Range
|
||||
* @description Creates a range
|
||||
@ -1566,7 +1776,7 @@ export type components = {
|
||||
};
|
||||
/**
|
||||
* FloatOutput
|
||||
* @description A float output
|
||||
* @description Base class for nodes that output a single float
|
||||
*/
|
||||
FloatOutput: {
|
||||
/**
|
||||
@ -1579,7 +1789,7 @@ export type components = {
|
||||
* A
|
||||
* @description The output float
|
||||
*/
|
||||
a?: number;
|
||||
a: number;
|
||||
};
|
||||
/** Graph */
|
||||
Graph: {
|
||||
@ -1593,7 +1803,7 @@ export type components = {
|
||||
* @description The nodes in this graph
|
||||
*/
|
||||
nodes?: {
|
||||
[key: string]: (components["schemas"]["ControlNetInvocation"] | components["schemas"]["ImageProcessorInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["SDXLLoraLoaderInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["MetadataAccumulatorInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["LoadImageInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageLuminosityAdjustmentInvocation"] | components["schemas"]["ImageSaturationAdjustmentInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ONNXPromptInvocation"] | components["schemas"]["ONNXTextToLatentsInvocation"] | components["schemas"]["ONNXLatentsToImageInvocation"] | components["schemas"]["OnnxModelLoaderInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["ParamIntInvocation"] | components["schemas"]["ParamFloatInvocation"] | components["schemas"]["ParamStringInvocation"] | components["schemas"]["ParamPromptInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["GraphInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["OpenposeImageProcessorInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"]) | undefined;
|
||||
[key: string]: (components["schemas"]["BooleanInvocation"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["FloatInvocation"] | components["schemas"]["StringInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["ImageProcessorInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["SDXLLoraLoaderInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["MetadataAccumulatorInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ONNXPromptInvocation"] | components["schemas"]["ONNXTextToLatentsInvocation"] | components["schemas"]["ONNXLatentsToImageInvocation"] | components["schemas"]["OnnxModelLoaderInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageLuminosityAdjustmentInvocation"] | components["schemas"]["ImageSaturationAdjustmentInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["GraphInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["OpenposeImageProcessorInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"]) | undefined;
|
||||
};
|
||||
/**
|
||||
* Edges
|
||||
@ -1636,7 +1846,7 @@ export type components = {
|
||||
* @description The results of node executions
|
||||
*/
|
||||
results: {
|
||||
[key: string]: (components["schemas"]["ImageOutput"] | components["schemas"]["MaskOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["LoraLoaderOutput"] | components["schemas"]["SDXLLoraLoaderOutput"] | components["schemas"]["VaeLoaderOutput"] | components["schemas"]["MetadataAccumulatorOutput"] | components["schemas"]["SDXLModelLoaderOutput"] | components["schemas"]["SDXLRefinerModelLoaderOutput"] | components["schemas"]["CompelOutput"] | components["schemas"]["ClipSkipInvocationOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["ONNXModelLoaderOutput"] | components["schemas"]["PromptOutput"] | components["schemas"]["PromptCollectionOutput"] | components["schemas"]["IntOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["StringOutput"] | components["schemas"]["IntCollectionOutput"] | components["schemas"]["FloatCollectionOutput"] | components["schemas"]["StringCollectionOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["NoiseOutput"] | components["schemas"]["GraphInvocationOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["CollectInvocationOutput"]) | undefined;
|
||||
[key: string]: (components["schemas"]["BooleanOutput"] | components["schemas"]["BooleanCollectionOutput"] | components["schemas"]["IntegerOutput"] | components["schemas"]["IntegerCollectionOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["FloatCollectionOutput"] | components["schemas"]["StringOutput"] | components["schemas"]["StringCollectionOutput"] | components["schemas"]["ImageOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["LatentsCollectionOutput"] | components["schemas"]["ColorOutput"] | components["schemas"]["ColorCollectionOutput"] | components["schemas"]["ConditioningOutput"] | components["schemas"]["ConditioningCollectionOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["LoraLoaderOutput"] | components["schemas"]["SDXLLoraLoaderOutput"] | components["schemas"]["VaeLoaderOutput"] | components["schemas"]["MetadataAccumulatorOutput"] | components["schemas"]["SDXLModelLoaderOutput"] | components["schemas"]["SDXLRefinerModelLoaderOutput"] | components["schemas"]["ClipSkipInvocationOutput"] | components["schemas"]["ONNXModelLoaderOutput"] | components["schemas"]["NoiseOutput"] | components["schemas"]["GraphInvocationOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["CollectInvocationOutput"]) | undefined;
|
||||
};
|
||||
/**
|
||||
* Errors
|
||||
@ -1870,7 +2080,7 @@ export type components = {
|
||||
};
|
||||
/**
|
||||
* ImageCollectionOutput
|
||||
* @description A collection of images
|
||||
* @description Base class for nodes that output a collection of images
|
||||
*/
|
||||
ImageCollectionOutput: {
|
||||
/**
|
||||
@ -1881,8 +2091,7 @@ export type components = {
|
||||
type?: "image_collection_output";
|
||||
/**
|
||||
* Collection
|
||||
* @description The output images
|
||||
* @default []
|
||||
* @description The output images
|
||||
*/
|
||||
collection?: (components["schemas"]["ImageField"])[];
|
||||
};
|
||||
@ -2045,7 +2254,7 @@ export type components = {
|
||||
};
|
||||
/**
|
||||
* ImageField
|
||||
* @description An image field used for passing image objects between invocations
|
||||
* @description An image primitive field
|
||||
*/
|
||||
ImageField: {
|
||||
/**
|
||||
@ -2128,6 +2337,34 @@ export type components = {
|
||||
*/
|
||||
max?: number;
|
||||
};
|
||||
/**
|
||||
* Image
|
||||
* @description An image primitive value
|
||||
*/
|
||||
ImageInvocation: {
|
||||
/**
|
||||
* Id
|
||||
* @description The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Is Intermediate
|
||||
* @description Whether or not this node is an intermediate node.
|
||||
* @default false
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
/**
|
||||
* Type
|
||||
* @default image
|
||||
* @enum {string}
|
||||
*/
|
||||
type: "image";
|
||||
/**
|
||||
* Image
|
||||
* @description The image to load
|
||||
*/
|
||||
image?: components["schemas"]["ImageField"];
|
||||
};
|
||||
/**
|
||||
* Lerp Image
|
||||
* @description Linear interpolation of all pixels of an image
|
||||
@ -2286,7 +2523,7 @@ export type components = {
|
||||
};
|
||||
/**
|
||||
* ImageOutput
|
||||
* @description Base class for invocations that output an image
|
||||
* @description Base class for nodes that output a single image
|
||||
*/
|
||||
ImageOutput: {
|
||||
/**
|
||||
@ -2294,7 +2531,7 @@ export type components = {
|
||||
* @default image_output
|
||||
* @enum {string}
|
||||
*/
|
||||
type: "image_output";
|
||||
type?: "image_output";
|
||||
/**
|
||||
* Image
|
||||
* @description The output image
|
||||
@ -2746,10 +2983,10 @@ export type components = {
|
||||
seed?: number;
|
||||
};
|
||||
/**
|
||||
* IntCollectionOutput
|
||||
* @description A collection of integers
|
||||
* IntegerCollectionOutput
|
||||
* @description Base class for nodes that output a collection of integers
|
||||
*/
|
||||
IntCollectionOutput: {
|
||||
IntegerCollectionOutput: {
|
||||
/**
|
||||
* Type
|
||||
* @default int_collection_output
|
||||
@ -2758,16 +2995,44 @@ export type components = {
|
||||
type?: "int_collection_output";
|
||||
/**
|
||||
* Collection
|
||||
* @description The int collection
|
||||
* @default []
|
||||
* @description The int collection
|
||||
*/
|
||||
collection?: (number)[];
|
||||
};
|
||||
/**
|
||||
* IntOutput
|
||||
* @description An integer output
|
||||
* Integer Primitive
|
||||
* @description An integer primitive value
|
||||
*/
|
||||
IntOutput: {
|
||||
IntegerInvocation: {
|
||||
/**
|
||||
* Id
|
||||
* @description The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Is Intermediate
|
||||
* @description Whether or not this node is an intermediate node.
|
||||
* @default false
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
/**
|
||||
* Type
|
||||
* @default int
|
||||
* @enum {string}
|
||||
*/
|
||||
type: "int";
|
||||
/**
|
||||
* A
|
||||
* @description The integer value
|
||||
* @default 0
|
||||
*/
|
||||
a?: number;
|
||||
};
|
||||
/**
|
||||
* IntegerOutput
|
||||
* @description Base class for nodes that output a single integer
|
||||
*/
|
||||
IntegerOutput: {
|
||||
/**
|
||||
* Type
|
||||
* @default int_output
|
||||
@ -2778,7 +3043,7 @@ export type components = {
|
||||
* A
|
||||
* @description The output integer
|
||||
*/
|
||||
a?: number;
|
||||
a: number;
|
||||
};
|
||||
/**
|
||||
* IterateInvocation
|
||||
@ -2831,9 +3096,26 @@ export type components = {
|
||||
*/
|
||||
item?: unknown;
|
||||
};
|
||||
/**
|
||||
* LatentsCollectionOutput
|
||||
* @description Base class for nodes that output a collection of latents tensors
|
||||
*/
|
||||
LatentsCollectionOutput: {
|
||||
/**
|
||||
* Type
|
||||
* @default latents_collection_output
|
||||
* @enum {string}
|
||||
*/
|
||||
type?: "latents_collection_output";
|
||||
/**
|
||||
* Latents
|
||||
* @description Latents tensor
|
||||
*/
|
||||
latents?: (components["schemas"]["LatentsField"])[];
|
||||
};
|
||||
/**
|
||||
* LatentsField
|
||||
* @description A latents field used for passing latents between invocations
|
||||
* @description A latents tensor primitive field
|
||||
*/
|
||||
LatentsField: {
|
||||
/**
|
||||
@ -2847,9 +3129,37 @@ export type components = {
|
||||
*/
|
||||
seed?: number;
|
||||
};
|
||||
/**
|
||||
* Latents
|
||||
* @description A latents tensor primitive value
|
||||
*/
|
||||
LatentsInvocation: {
|
||||
/**
|
||||
* Id
|
||||
* @description The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Is Intermediate
|
||||
* @description Whether or not this node is an intermediate node.
|
||||
* @default false
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
/**
|
||||
* Type
|
||||
* @default latents
|
||||
* @enum {string}
|
||||
*/
|
||||
type: "latents";
|
||||
/**
|
||||
* Latents
|
||||
* @description The latents tensor
|
||||
*/
|
||||
latents?: components["schemas"]["LatentsField"];
|
||||
};
|
||||
/**
|
||||
* LatentsOutput
|
||||
* @description Base class for invocations that output latents
|
||||
* @description Base class for nodes that output a single latents tensor
|
||||
*/
|
||||
LatentsOutput: {
|
||||
/**
|
||||
@ -3120,34 +3430,6 @@ export type components = {
|
||||
* @enum {string}
|
||||
*/
|
||||
LoRAModelFormat: "lycoris" | "diffusers";
|
||||
/**
|
||||
* Load Image
|
||||
* @description Load an image and provide it as output.
|
||||
*/
|
||||
LoadImageInvocation: {
|
||||
/**
|
||||
* Id
|
||||
* @description The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Is Intermediate
|
||||
* @description Whether or not this node is an intermediate node.
|
||||
* @default false
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
/**
|
||||
* Type
|
||||
* @default load_image
|
||||
* @enum {string}
|
||||
*/
|
||||
type: "load_image";
|
||||
/**
|
||||
* Image
|
||||
* @description The image to load
|
||||
*/
|
||||
image?: components["schemas"]["ImageField"];
|
||||
};
|
||||
/**
|
||||
* LogLevel
|
||||
* @description An enumeration.
|
||||
@ -3397,33 +3679,6 @@ export type components = {
|
||||
*/
|
||||
invert?: boolean;
|
||||
};
|
||||
/**
|
||||
* MaskOutput
|
||||
* @description Base class for invocations that output a mask
|
||||
*/
|
||||
MaskOutput: {
|
||||
/**
|
||||
* Type
|
||||
* @default mask
|
||||
* @enum {string}
|
||||
*/
|
||||
type: "mask";
|
||||
/**
|
||||
* Mask
|
||||
* @description The output mask
|
||||
*/
|
||||
mask: components["schemas"]["ImageField"];
|
||||
/**
|
||||
* Width
|
||||
* @description The width of the mask in pixels
|
||||
*/
|
||||
width?: number;
|
||||
/**
|
||||
* Height
|
||||
* @description The height of the mask in pixels
|
||||
*/
|
||||
height?: number;
|
||||
};
|
||||
/**
|
||||
* Mediapipe Face Processor
|
||||
* @description Applies mediapipe face processing to image
|
||||
@ -4342,122 +4597,6 @@ export type components = {
|
||||
*/
|
||||
total: number;
|
||||
};
|
||||
/**
|
||||
* Float Parameter
|
||||
* @description A float parameter
|
||||
*/
|
||||
ParamFloatInvocation: {
|
||||
/**
|
||||
* Id
|
||||
* @description The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Is Intermediate
|
||||
* @description Whether or not this node is an intermediate node.
|
||||
* @default false
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
/**
|
||||
* Type
|
||||
* @default param_float
|
||||
* @enum {string}
|
||||
*/
|
||||
type: "param_float";
|
||||
/**
|
||||
* Param
|
||||
* @description The float value
|
||||
* @default 0
|
||||
*/
|
||||
param?: number;
|
||||
};
|
||||
/**
|
||||
* Integer Parameter
|
||||
* @description An integer parameter
|
||||
*/
|
||||
ParamIntInvocation: {
|
||||
/**
|
||||
* Id
|
||||
* @description The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Is Intermediate
|
||||
* @description Whether or not this node is an intermediate node.
|
||||
* @default false
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
/**
|
||||
* Type
|
||||
* @default param_int
|
||||
* @enum {string}
|
||||
*/
|
||||
type: "param_int";
|
||||
/**
|
||||
* A
|
||||
* @description The integer value
|
||||
* @default 0
|
||||
*/
|
||||
a?: number;
|
||||
};
|
||||
/**
|
||||
* Prompt Parameter
|
||||
* @description A prompt input parameter
|
||||
*/
|
||||
ParamPromptInvocation: {
|
||||
/**
|
||||
* Id
|
||||
* @description The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Is Intermediate
|
||||
* @description Whether or not this node is an intermediate node.
|
||||
* @default false
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
/**
|
||||
* Type
|
||||
* @default param_prompt
|
||||
* @enum {string}
|
||||
*/
|
||||
type: "param_prompt";
|
||||
/**
|
||||
* Prompt
|
||||
* @description The prompt value
|
||||
* @default
|
||||
*/
|
||||
prompt?: string;
|
||||
};
|
||||
/**
|
||||
* String Parameter
|
||||
* @description A string parameter
|
||||
*/
|
||||
ParamStringInvocation: {
|
||||
/**
|
||||
* Id
|
||||
* @description The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Is Intermediate
|
||||
* @description Whether or not this node is an intermediate node.
|
||||
* @default false
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
/**
|
||||
* Type
|
||||
* @default param_string
|
||||
* @enum {string}
|
||||
*/
|
||||
type: "param_string";
|
||||
/**
|
||||
* Text
|
||||
* @description The string value
|
||||
* @default
|
||||
*/
|
||||
text?: string;
|
||||
};
|
||||
/**
|
||||
* PIDI Processor
|
||||
* @description Applies PIDI processing to image
|
||||
@ -4510,45 +4649,6 @@ export type components = {
|
||||
*/
|
||||
scribble?: boolean;
|
||||
};
|
||||
/**
|
||||
* PromptCollectionOutput
|
||||
* @description Base class for invocations that output a collection of prompts
|
||||
*/
|
||||
PromptCollectionOutput: {
|
||||
/**
|
||||
* Type
|
||||
* @default prompt_collection_output
|
||||
* @enum {string}
|
||||
*/
|
||||
type?: "prompt_collection_output";
|
||||
/**
|
||||
* Prompt Collection
|
||||
* @description The output prompt collection
|
||||
*/
|
||||
prompt_collection: (string)[];
|
||||
/**
|
||||
* Count
|
||||
* @description The size of the prompt collection
|
||||
*/
|
||||
count: number;
|
||||
};
|
||||
/**
|
||||
* PromptOutput
|
||||
* @description Base class for invocations that output a prompt
|
||||
*/
|
||||
PromptOutput: {
|
||||
/**
|
||||
* Type
|
||||
* @default prompt
|
||||
* @enum {string}
|
||||
*/
|
||||
type?: "prompt";
|
||||
/**
|
||||
* Prompt
|
||||
* @description The output prompt
|
||||
*/
|
||||
prompt: string;
|
||||
};
|
||||
/**
|
||||
* Prompts from File
|
||||
* @description Loads prompts from a text file
|
||||
@ -5499,7 +5599,7 @@ export type components = {
|
||||
};
|
||||
/**
|
||||
* StringCollectionOutput
|
||||
* @description A collection of strings
|
||||
* @description Base class for nodes that output a collection of strings
|
||||
*/
|
||||
StringCollectionOutput: {
|
||||
/**
|
||||
@ -5510,14 +5610,42 @@ export type components = {
|
||||
type?: "string_collection_output";
|
||||
/**
|
||||
* Collection
|
||||
* @description The output strings
|
||||
* @default []
|
||||
* @description The output strings
|
||||
*/
|
||||
collection?: (string)[];
|
||||
};
|
||||
/**
|
||||
* String Primitive
|
||||
* @description A string primitive value
|
||||
*/
|
||||
StringInvocation: {
|
||||
/**
|
||||
* Id
|
||||
* @description The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Is Intermediate
|
||||
* @description Whether or not this node is an intermediate node.
|
||||
* @default false
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
/**
|
||||
* Type
|
||||
* @default string
|
||||
* @enum {string}
|
||||
*/
|
||||
type: "string";
|
||||
/**
|
||||
* Text
|
||||
* @description The string value
|
||||
* @default
|
||||
*/
|
||||
text?: string;
|
||||
};
|
||||
/**
|
||||
* StringOutput
|
||||
* @description A string output
|
||||
* @description Base class for nodes that output a single string
|
||||
*/
|
||||
StringOutput: {
|
||||
/**
|
||||
@ -5815,7 +5943,7 @@ export type components = {
|
||||
* If a field should be provided a data type that does not exactly match the python type of the field, use this to provide the type that should be used instead. See the node development docs for detail on adding a new field type, which involves client-side changes.
|
||||
* @enum {string}
|
||||
*/
|
||||
UITypeHint: "integer" | "float" | "boolean" | "string" | "enum" | "array" | "ImageField" | "LatentsField" | "ConditioningField" | "ControlField" | "MainModelField" | "SDXLMainModelField" | "SDXLRefinerModelField" | "ONNXModelField" | "VaeModelField" | "LoRAModelField" | "ControlNetModelField" | "UNetField" | "VaeField" | "ClipField" | "ColorField" | "ImageCollection" | "IntegerCollection" | "FloatCollection" | "StringCollection" | "BooleanCollection" | "Collection" | "CollectionItem" | "Seed" | "FilePath";
|
||||
UITypeHint: "integer" | "float" | "boolean" | "string" | "array" | "ImageField" | "LatentsField" | "ConditioningField" | "ControlField" | "ColorField" | "ImageCollection" | "ConditioningCollection" | "ColorCollection" | "LatentsCollection" | "IntegerCollection" | "FloatCollection" | "StringCollection" | "BooleanCollection" | "MainModelField" | "SDXLMainModelField" | "SDXLRefinerModelField" | "ONNXModelField" | "VaeModelField" | "LoRAModelField" | "ControlNetModelField" | "UNetField" | "VaeField" | "ClipField" | "Collection" | "CollectionItem" | "FilePath" | "enum";
|
||||
/**
|
||||
* UIComponent
|
||||
* @description The type of UI component to use for a field, used to override the default components, which are inferred from the field type.
|
||||
@ -5988,7 +6116,7 @@ export type operations = {
|
||||
};
|
||||
requestBody: {
|
||||
content: {
|
||||
"application/json": components["schemas"]["ControlNetInvocation"] | components["schemas"]["ImageProcessorInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["SDXLLoraLoaderInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["MetadataAccumulatorInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["LoadImageInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageLuminosityAdjustmentInvocation"] | components["schemas"]["ImageSaturationAdjustmentInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ONNXPromptInvocation"] | components["schemas"]["ONNXTextToLatentsInvocation"] | components["schemas"]["ONNXLatentsToImageInvocation"] | components["schemas"]["OnnxModelLoaderInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["ParamIntInvocation"] | components["schemas"]["ParamFloatInvocation"] | components["schemas"]["ParamStringInvocation"] | components["schemas"]["ParamPromptInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["GraphInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["OpenposeImageProcessorInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"];
|
||||
"application/json": components["schemas"]["BooleanInvocation"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["FloatInvocation"] | components["schemas"]["StringInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["ImageProcessorInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["SDXLLoraLoaderInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["MetadataAccumulatorInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ONNXPromptInvocation"] | components["schemas"]["ONNXTextToLatentsInvocation"] | components["schemas"]["ONNXLatentsToImageInvocation"] | components["schemas"]["OnnxModelLoaderInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageLuminosityAdjustmentInvocation"] | components["schemas"]["ImageSaturationAdjustmentInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["GraphInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["OpenposeImageProcessorInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"];
|
||||
};
|
||||
};
|
||||
responses: {
|
||||
@ -6025,7 +6153,7 @@ export type operations = {
|
||||
};
|
||||
requestBody: {
|
||||
content: {
|
||||
"application/json": components["schemas"]["ControlNetInvocation"] | components["schemas"]["ImageProcessorInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["SDXLLoraLoaderInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["MetadataAccumulatorInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["LoadImageInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageLuminosityAdjustmentInvocation"] | components["schemas"]["ImageSaturationAdjustmentInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ONNXPromptInvocation"] | components["schemas"]["ONNXTextToLatentsInvocation"] | components["schemas"]["ONNXLatentsToImageInvocation"] | components["schemas"]["OnnxModelLoaderInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["ParamIntInvocation"] | components["schemas"]["ParamFloatInvocation"] | components["schemas"]["ParamStringInvocation"] | components["schemas"]["ParamPromptInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["GraphInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["OpenposeImageProcessorInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"];
|
||||
"application/json": components["schemas"]["BooleanInvocation"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["FloatInvocation"] | components["schemas"]["StringInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["ImageProcessorInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["SDXLLoraLoaderInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["MetadataAccumulatorInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ONNXPromptInvocation"] | components["schemas"]["ONNXTextToLatentsInvocation"] | components["schemas"]["ONNXLatentsToImageInvocation"] | components["schemas"]["OnnxModelLoaderInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageLuminosityAdjustmentInvocation"] | components["schemas"]["ImageSaturationAdjustmentInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["GraphInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["OpenposeImageProcessorInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"];
|
||||
};
|
||||
};
|
||||
responses: {
|
||||
|
@ -155,8 +155,6 @@ export type ZoeDepthImageProcessorInvocation =
|
||||
|
||||
// Node Outputs
|
||||
export type ImageOutput = s['ImageOutput'];
|
||||
export type MaskOutput = s['MaskOutput'];
|
||||
export type PromptOutput = s['PromptOutput'];
|
||||
export type IterateInvocationOutput = s['IterateInvocationOutput'];
|
||||
export type CollectInvocationOutput = s['CollectInvocationOutput'];
|
||||
export type LatentsOutput = s['LatentsOutput'];
|
||||
|
Reference in New Issue
Block a user