mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore: Rebuild WebAPI
This commit is contained in:
parent
43419ac761
commit
eb7047b21d
@ -27,6 +27,7 @@ export type { DivideInvocation } from './models/DivideInvocation';
|
||||
export type { Edge } from './models/Edge';
|
||||
export type { EdgeConnection } from './models/EdgeConnection';
|
||||
export type { FloatCollectionOutput } from './models/FloatCollectionOutput';
|
||||
export type { FloatLinearRangeInvocation } from './models/FloatLinearRangeInvocation';
|
||||
export type { FloatOutput } from './models/FloatOutput';
|
||||
export type { Graph } from './models/Graph';
|
||||
export type { GraphExecutionState } from './models/GraphExecutionState';
|
||||
@ -95,6 +96,7 @@ export type { ResourceOrigin } from './models/ResourceOrigin';
|
||||
export type { RestoreFaceInvocation } from './models/RestoreFaceInvocation';
|
||||
export type { ScaleLatentsInvocation } from './models/ScaleLatentsInvocation';
|
||||
export type { ShowImageInvocation } from './models/ShowImageInvocation';
|
||||
export type { StepParamEasingInvocation } from './models/StepParamEasingInvocation';
|
||||
export type { SubtractInvocation } from './models/SubtractInvocation';
|
||||
export type { TextToImageInvocation } from './models/TextToImageInvocation';
|
||||
export type { TextToLatentsInvocation } from './models/TextToLatentsInvocation';
|
||||
|
@ -24,4 +24,3 @@ export type AddInvocation = {
|
||||
*/
|
||||
'b'?: number;
|
||||
};
|
||||
|
||||
|
@ -5,4 +5,3 @@
|
||||
export type Body_upload_image = {
|
||||
file: Blob;
|
||||
};
|
||||
|
||||
|
@ -30,4 +30,3 @@ export type CannyImageProcessorInvocation = {
|
||||
*/
|
||||
high_threshold?: number;
|
||||
};
|
||||
|
||||
|
@ -29,4 +29,3 @@ export type CkptModelInfo = {
|
||||
*/
|
||||
height?: number;
|
||||
};
|
||||
|
||||
|
@ -24,4 +24,3 @@ export type CollectInvocation = {
|
||||
*/
|
||||
collection?: Array<any>;
|
||||
};
|
||||
|
||||
|
@ -12,4 +12,3 @@ export type CollectInvocationOutput = {
|
||||
*/
|
||||
collection: Array<any>;
|
||||
};
|
||||
|
||||
|
@ -20,4 +20,3 @@ export type ColorField = {
|
||||
*/
|
||||
'a': number;
|
||||
};
|
||||
|
||||
|
@ -24,4 +24,3 @@ export type CompelInvocation = {
|
||||
*/
|
||||
model?: string;
|
||||
};
|
||||
|
||||
|
@ -14,4 +14,3 @@ export type CompelOutput = {
|
||||
*/
|
||||
conditioning?: ConditioningField;
|
||||
};
|
||||
|
||||
|
@ -8,4 +8,3 @@ export type ConditioningField = {
|
||||
*/
|
||||
conditioning_name: string;
|
||||
};
|
||||
|
||||
|
@ -42,4 +42,3 @@ export type ContentShuffleImageProcessorInvocation = {
|
||||
*/
|
||||
'f'?: number;
|
||||
};
|
||||
|
||||
|
@ -16,7 +16,7 @@ export type ControlField = {
|
||||
/**
|
||||
* The weight given to the ControlNet
|
||||
*/
|
||||
control_weight: number;
|
||||
control_weight: (number | Array<number>);
|
||||
/**
|
||||
* When the ControlNet is first applied (% of total steps)
|
||||
*/
|
||||
@ -25,5 +25,8 @@ export type ControlField = {
|
||||
* When the ControlNet is last applied (% of total steps)
|
||||
*/
|
||||
end_step_percent: number;
|
||||
/**
|
||||
* The contorl mode to use
|
||||
*/
|
||||
control_mode?: 'balanced' | 'more_prompt' | 'more_control' | 'unbalanced';
|
||||
};
|
||||
|
||||
|
@ -22,13 +22,13 @@ export type ControlNetInvocation = {
|
||||
*/
|
||||
image?: ImageField;
|
||||
/**
|
||||
* The ControlNet model to use
|
||||
* control model used
|
||||
*/
|
||||
control_model?: 'lllyasviel/sd-controlnet-canny' | 'lllyasviel/sd-controlnet-depth' | 'lllyasviel/sd-controlnet-hed' | 'lllyasviel/sd-controlnet-seg' | 'lllyasviel/sd-controlnet-openpose' | 'lllyasviel/sd-controlnet-scribble' | 'lllyasviel/sd-controlnet-normal' | 'lllyasviel/sd-controlnet-mlsd' | 'lllyasviel/control_v11p_sd15_canny' | 'lllyasviel/control_v11p_sd15_openpose' | 'lllyasviel/control_v11p_sd15_seg' | 'lllyasviel/control_v11f1p_sd15_depth' | 'lllyasviel/control_v11p_sd15_normalbae' | 'lllyasviel/control_v11p_sd15_scribble' | 'lllyasviel/control_v11p_sd15_mlsd' | 'lllyasviel/control_v11p_sd15_softedge' | 'lllyasviel/control_v11p_sd15s2_lineart_anime' | 'lllyasviel/control_v11p_sd15_lineart' | 'lllyasviel/control_v11p_sd15_inpaint' | 'lllyasviel/control_v11e_sd15_shuffle' | 'lllyasviel/control_v11e_sd15_ip2p' | 'lllyasviel/control_v11f1e_sd15_tile' | 'thibaud/controlnet-sd21-openpose-diffusers' | 'thibaud/controlnet-sd21-canny-diffusers' | 'thibaud/controlnet-sd21-depth-diffusers' | 'thibaud/controlnet-sd21-scribble-diffusers' | 'thibaud/controlnet-sd21-hed-diffusers' | 'thibaud/controlnet-sd21-zoedepth-diffusers' | 'thibaud/controlnet-sd21-color-diffusers' | 'thibaud/controlnet-sd21-openposev2-diffusers' | 'thibaud/controlnet-sd21-lineart-diffusers' | 'thibaud/controlnet-sd21-normalbae-diffusers' | 'thibaud/controlnet-sd21-ade20k-diffusers' | 'CrucibleAI/ControlNetMediaPipeFace,diffusion_sd15' | 'CrucibleAI/ControlNetMediaPipeFace';
|
||||
/**
|
||||
* The weight given to the ControlNet
|
||||
*/
|
||||
control_weight?: number;
|
||||
control_weight?: (number | Array<number>);
|
||||
/**
|
||||
* When the ControlNet is first applied (% of total steps)
|
||||
*/
|
||||
@ -37,5 +37,8 @@ export type ControlNetInvocation = {
|
||||
* When the ControlNet is last applied (% of total steps)
|
||||
*/
|
||||
end_step_percent?: number;
|
||||
/**
|
||||
* The control mode used
|
||||
*/
|
||||
control_mode?: 'balanced' | 'more_prompt' | 'more_control' | 'unbalanced';
|
||||
};
|
||||
|
||||
|
@ -10,8 +10,7 @@ import type { ControlField } from './ControlField';
|
||||
export type ControlOutput = {
|
||||
type?: 'control_output';
|
||||
/**
|
||||
* The output control image
|
||||
* The control info
|
||||
*/
|
||||
control?: ControlField;
|
||||
};
|
||||
|
||||
|
@ -15,4 +15,3 @@ export type CreateModelRequest = {
|
||||
*/
|
||||
info: (CkptModelInfo | DiffusersModelInfo);
|
||||
};
|
||||
|
||||
|
@ -26,4 +26,3 @@ export type CvInpaintInvocation = {
|
||||
*/
|
||||
mask?: ImageField;
|
||||
};
|
||||
|
||||
|
@ -23,4 +23,3 @@ export type DiffusersModelInfo = {
|
||||
*/
|
||||
path?: string;
|
||||
};
|
||||
|
||||
|
@ -24,4 +24,3 @@ export type DivideInvocation = {
|
||||
*/
|
||||
'b'?: number;
|
||||
};
|
||||
|
||||
|
@ -14,4 +14,3 @@ export type Edge = {
|
||||
*/
|
||||
destination: EdgeConnection;
|
||||
};
|
||||
|
||||
|
@ -12,4 +12,3 @@ export type EdgeConnection = {
|
||||
*/
|
||||
field: string;
|
||||
};
|
||||
|
||||
|
@ -12,4 +12,3 @@ export type FloatCollectionOutput = {
|
||||
*/
|
||||
collection?: Array<number>;
|
||||
};
|
||||
|
||||
|
@ -0,0 +1,30 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
/**
|
||||
* Creates a range
|
||||
*/
|
||||
export type FloatLinearRangeInvocation = {
|
||||
/**
|
||||
* The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Whether or not this node is an intermediate node.
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
type?: 'float_range';
|
||||
/**
|
||||
* The first value of the range
|
||||
*/
|
||||
start?: number;
|
||||
/**
|
||||
* The last value of the range
|
||||
*/
|
||||
stop?: number;
|
||||
/**
|
||||
* number of values to interpolate over (including start and stop)
|
||||
*/
|
||||
steps?: number;
|
||||
};
|
@ -12,4 +12,3 @@ export type FloatOutput = {
|
||||
*/
|
||||
param?: number;
|
||||
};
|
||||
|
||||
|
@ -11,6 +11,7 @@ import type { ControlNetInvocation } from './ControlNetInvocation';
|
||||
import type { CvInpaintInvocation } from './CvInpaintInvocation';
|
||||
import type { DivideInvocation } from './DivideInvocation';
|
||||
import type { Edge } from './Edge';
|
||||
import type { FloatLinearRangeInvocation } from './FloatLinearRangeInvocation';
|
||||
import type { GraphInvocation } from './GraphInvocation';
|
||||
import type { HedImageProcessorInvocation } from './HedImageProcessorInvocation';
|
||||
import type { ImageBlurInvocation } from './ImageBlurInvocation';
|
||||
@ -55,6 +56,7 @@ import type { ResizeLatentsInvocation } from './ResizeLatentsInvocation';
|
||||
import type { RestoreFaceInvocation } from './RestoreFaceInvocation';
|
||||
import type { ScaleLatentsInvocation } from './ScaleLatentsInvocation';
|
||||
import type { ShowImageInvocation } from './ShowImageInvocation';
|
||||
import type { StepParamEasingInvocation } from './StepParamEasingInvocation';
|
||||
import type { SubtractInvocation } from './SubtractInvocation';
|
||||
import type { TextToImageInvocation } from './TextToImageInvocation';
|
||||
import type { TextToLatentsInvocation } from './TextToLatentsInvocation';
|
||||
@ -69,10 +71,9 @@ export type Graph = {
|
||||
/**
|
||||
* The nodes in this graph
|
||||
*/
|
||||
nodes?: Record<string, (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | ParamFloatInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation)>;
|
||||
nodes?: Record<string, (RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | CompelInvocation | LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CvInpaintInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | ParamFloatInvocation | FloatLinearRangeInvocation | StepParamEasingInvocation | RestoreFaceInvocation | UpscaleInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | ImageToImageInvocation | LatentsToLatentsInvocation | InpaintInvocation)>;
|
||||
/**
|
||||
* The connections between nodes and their fields in this graph
|
||||
*/
|
||||
edges?: Array<Edge>;
|
||||
};
|
||||
|
||||
|
@ -45,7 +45,7 @@ export type GraphExecutionState = {
|
||||
/**
|
||||
* The results of node executions
|
||||
*/
|
||||
results: Record<string, (ImageOutput | MaskOutput | ControlOutput | PromptOutput | CompelOutput | IntOutput | FloatOutput | LatentsOutput | NoiseOutput | IntCollectionOutput | FloatCollectionOutput | GraphInvocationOutput | IterateInvocationOutput | CollectInvocationOutput)>;
|
||||
results: Record<string, (IntCollectionOutput | FloatCollectionOutput | CompelOutput | ImageOutput | MaskOutput | ControlOutput | LatentsOutput | NoiseOutput | IntOutput | FloatOutput | PromptOutput | GraphInvocationOutput | IterateInvocationOutput | CollectInvocationOutput)>;
|
||||
/**
|
||||
* Errors raised when executing nodes
|
||||
*/
|
||||
@ -59,4 +59,3 @@ export type GraphExecutionState = {
|
||||
*/
|
||||
source_prepared_mapping: Record<string, Array<string>>;
|
||||
};
|
||||
|
||||
|
@ -22,4 +22,3 @@ export type GraphInvocation = {
|
||||
*/
|
||||
graph?: Graph;
|
||||
};
|
||||
|
||||
|
@ -8,4 +8,3 @@
|
||||
export type GraphInvocationOutput = {
|
||||
type: 'graph_output';
|
||||
};
|
||||
|
||||
|
@ -7,4 +7,3 @@ import type { ValidationError } from './ValidationError';
|
||||
export type HTTPValidationError = {
|
||||
detail?: Array<ValidationError>;
|
||||
};
|
||||
|
||||
|
@ -7,27 +7,30 @@ import type { ImageField } from './ImageField';
|
||||
/**
|
||||
* Applies HED edge detection to image
|
||||
*/
|
||||
export type HedImageprocessorInvocation = {
|
||||
export type HedImageProcessorInvocation = {
|
||||
/**
|
||||
* The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Whether or not this node is an intermediate node.
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
type?: 'hed_image_processor';
|
||||
/**
|
||||
* image to process
|
||||
* The image to process
|
||||
*/
|
||||
image?: ImageField;
|
||||
/**
|
||||
* pixel resolution for edge detection
|
||||
* The pixel resolution for detection
|
||||
*/
|
||||
detect_resolution?: number;
|
||||
/**
|
||||
* pixel resolution for output image
|
||||
* The pixel resolution for the output image
|
||||
*/
|
||||
image_resolution?: number;
|
||||
/**
|
||||
* whether to use scribble mode
|
||||
* Whether to use scribble mode
|
||||
*/
|
||||
scribble?: boolean;
|
||||
};
|
||||
|
||||
|
@ -7,27 +7,30 @@ import type { ImageField } from './ImageField';
|
||||
/**
|
||||
* Applies HED edge detection to image
|
||||
*/
|
||||
export type HedImageprocessorInvocation = {
|
||||
export type HedImageProcessorInvocation = {
|
||||
/**
|
||||
* The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Whether or not this node is an intermediate node.
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
type?: 'hed_image_processor';
|
||||
/**
|
||||
* image to process
|
||||
* The image to process
|
||||
*/
|
||||
image?: ImageField;
|
||||
/**
|
||||
* pixel resolution for edge detection
|
||||
* The pixel resolution for detection
|
||||
*/
|
||||
detect_resolution?: number;
|
||||
/**
|
||||
* pixel resolution for output image
|
||||
* The pixel resolution for the output image
|
||||
*/
|
||||
image_resolution?: number;
|
||||
/**
|
||||
* whether to use scribble mode
|
||||
* Whether to use scribble mode
|
||||
*/
|
||||
scribble?: boolean;
|
||||
};
|
||||
|
||||
|
@ -30,4 +30,3 @@ export type ImageBlurInvocation = {
|
||||
*/
|
||||
blur_type?: 'gaussian' | 'box';
|
||||
};
|
||||
|
||||
|
@ -26,4 +26,3 @@ export type ImageChannelInvocation = {
|
||||
*/
|
||||
channel?: 'A' | 'R' | 'G' | 'B';
|
||||
};
|
||||
|
||||
|
@ -26,4 +26,3 @@ export type ImageConvertInvocation = {
|
||||
*/
|
||||
mode?: 'L' | 'RGB' | 'RGBA' | 'CMYK' | 'YCbCr' | 'LAB' | 'HSV' | 'I' | 'F';
|
||||
};
|
||||
|
||||
|
@ -38,4 +38,3 @@ export type ImageCropInvocation = {
|
||||
*/
|
||||
height?: number;
|
||||
};
|
||||
|
||||
|
@ -67,4 +67,3 @@ export type ImageDTO = {
|
||||
*/
|
||||
metadata?: ImageMetadata;
|
||||
};
|
||||
|
||||
|
@ -17,4 +17,3 @@ export type ImageField = {
|
||||
*/
|
||||
image_name: string;
|
||||
};
|
||||
|
||||
|
@ -30,4 +30,3 @@ export type ImageInverseLerpInvocation = {
|
||||
*/
|
||||
max?: number;
|
||||
};
|
||||
|
||||
|
@ -30,4 +30,3 @@ export type ImageLerpInvocation = {
|
||||
*/
|
||||
max?: number;
|
||||
};
|
||||
|
||||
|
@ -40,7 +40,7 @@ export type ImageMetadata = {
|
||||
/**
|
||||
* The classifier-free guidance scale.
|
||||
*/
|
||||
cfg_scale?: number;
|
||||
cfg_scale?: (number | Array<number>);
|
||||
/**
|
||||
* The number of steps used for inference.
|
||||
*/
|
||||
@ -78,4 +78,3 @@ export type ImageMetadata = {
|
||||
*/
|
||||
extra?: string;
|
||||
};
|
||||
|
||||
|
@ -26,4 +26,3 @@ export type ImageMultiplyInvocation = {
|
||||
*/
|
||||
image2?: ImageField;
|
||||
};
|
||||
|
||||
|
@ -22,4 +22,3 @@ export type ImageOutput = {
|
||||
*/
|
||||
height: number;
|
||||
};
|
||||
|
||||
|
@ -38,4 +38,3 @@ export type ImagePasteInvocation = {
|
||||
*/
|
||||
'y'?: number;
|
||||
};
|
||||
|
||||
|
@ -22,4 +22,3 @@ export type ImageProcessorInvocation = {
|
||||
*/
|
||||
image?: ImageField;
|
||||
};
|
||||
|
||||
|
@ -26,4 +26,3 @@ export type ImageRecordChanges = {
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
};
|
||||
|
||||
|
@ -34,4 +34,3 @@ export type ImageResizeInvocation = {
|
||||
*/
|
||||
resample_mode?: 'nearest' | 'box' | 'bilinear' | 'hamming' | 'bicubic' | 'lanczos';
|
||||
};
|
||||
|
||||
|
@ -30,4 +30,3 @@ export type ImageScaleInvocation = {
|
||||
*/
|
||||
resample_mode?: 'nearest' | 'box' | 'bilinear' | 'hamming' | 'bicubic' | 'lanczos';
|
||||
};
|
||||
|
||||
|
@ -74,4 +74,3 @@ export type ImageToImageInvocation = {
|
||||
*/
|
||||
fit?: boolean;
|
||||
};
|
||||
|
||||
|
@ -26,4 +26,3 @@ export type ImageToLatentsInvocation = {
|
||||
*/
|
||||
model?: string;
|
||||
};
|
||||
|
||||
|
@ -25,4 +25,3 @@ export type ImageUrlsDTO = {
|
||||
*/
|
||||
thumbnail_url: string;
|
||||
};
|
||||
|
||||
|
@ -27,4 +27,3 @@ export type InfillColorInvocation = {
|
||||
*/
|
||||
color?: ColorField;
|
||||
};
|
||||
|
||||
|
@ -22,4 +22,3 @@ export type InfillPatchMatchInvocation = {
|
||||
*/
|
||||
image?: ImageField;
|
||||
};
|
||||
|
||||
|
@ -30,4 +30,3 @@ export type InfillTileInvocation = {
|
||||
*/
|
||||
seed?: number;
|
||||
};
|
||||
|
||||
|
@ -119,4 +119,3 @@ export type InpaintInvocation = {
|
||||
*/
|
||||
inpaint_replace?: number;
|
||||
};
|
||||
|
||||
|
@ -12,4 +12,3 @@ export type IntCollectionOutput = {
|
||||
*/
|
||||
collection?: Array<number>;
|
||||
};
|
||||
|
||||
|
@ -12,4 +12,3 @@ export type IntOutput = {
|
||||
*/
|
||||
'a'?: number;
|
||||
};
|
||||
|
||||
|
@ -24,4 +24,3 @@ export type IterateInvocation = {
|
||||
*/
|
||||
index?: number;
|
||||
};
|
||||
|
||||
|
@ -12,4 +12,3 @@ export type IterateInvocationOutput = {
|
||||
*/
|
||||
item: any;
|
||||
};
|
||||
|
||||
|
@ -11,4 +11,3 @@ export type LatentsField = {
|
||||
*/
|
||||
latents_name: string;
|
||||
};
|
||||
|
||||
|
@ -22,4 +22,3 @@ export type LatentsOutput = {
|
||||
*/
|
||||
height: number;
|
||||
};
|
||||
|
||||
|
@ -26,4 +26,3 @@ export type LatentsToImageInvocation = {
|
||||
*/
|
||||
model?: string;
|
||||
};
|
||||
|
||||
|
@ -38,7 +38,7 @@ export type LatentsToLatentsInvocation = {
|
||||
/**
|
||||
* The Classifier-Free Guidance, higher values may result in a result closer to the prompt
|
||||
*/
|
||||
cfg_scale?: number;
|
||||
cfg_scale?: (number | Array<number>);
|
||||
/**
|
||||
* The scheduler to use
|
||||
*/
|
||||
@ -60,4 +60,3 @@ export type LatentsToLatentsInvocation = {
|
||||
*/
|
||||
strength?: number;
|
||||
};
|
||||
|
||||
|
@ -30,4 +30,3 @@ export type LineartAnimeImageProcessorInvocation = {
|
||||
*/
|
||||
image_resolution?: number;
|
||||
};
|
||||
|
||||
|
@ -34,4 +34,3 @@ export type LineartImageProcessorInvocation = {
|
||||
*/
|
||||
coarse?: boolean;
|
||||
};
|
||||
|
||||
|
@ -22,4 +22,3 @@ export type LoadImageInvocation = {
|
||||
*/
|
||||
image?: ImageField;
|
||||
};
|
||||
|
||||
|
@ -26,4 +26,3 @@ export type MaskFromAlphaInvocation = {
|
||||
*/
|
||||
invert?: boolean;
|
||||
};
|
||||
|
||||
|
@ -22,4 +22,3 @@ export type MaskOutput = {
|
||||
*/
|
||||
height?: number;
|
||||
};
|
||||
|
||||
|
@ -30,4 +30,3 @@ export type MediapipeFaceProcessorInvocation = {
|
||||
*/
|
||||
min_confidence?: number;
|
||||
};
|
||||
|
||||
|
@ -30,4 +30,3 @@ export type MidasDepthImageProcessorInvocation = {
|
||||
*/
|
||||
bg_th?: number;
|
||||
};
|
||||
|
||||
|
@ -38,4 +38,3 @@ export type MlsdImageProcessorInvocation = {
|
||||
*/
|
||||
thr_d?: number;
|
||||
};
|
||||
|
||||
|
@ -8,4 +8,3 @@ import type { DiffusersModelInfo } from './DiffusersModelInfo';
|
||||
export type ModelsList = {
|
||||
models: Record<string, (CkptModelInfo | DiffusersModelInfo)>;
|
||||
};
|
||||
|
||||
|
@ -24,4 +24,3 @@ export type MultiplyInvocation = {
|
||||
*/
|
||||
'b'?: number;
|
||||
};
|
||||
|
||||
|
@ -28,4 +28,3 @@ export type NoiseInvocation = {
|
||||
*/
|
||||
height?: number;
|
||||
};
|
||||
|
||||
|
@ -22,4 +22,3 @@ export type NoiseOutput = {
|
||||
*/
|
||||
height: number;
|
||||
};
|
||||
|
||||
|
@ -30,4 +30,3 @@ export type NormalbaeImageProcessorInvocation = {
|
||||
*/
|
||||
image_resolution?: number;
|
||||
};
|
||||
|
||||
|
@ -25,4 +25,3 @@ export type OffsetPaginatedResults_ImageDTO_ = {
|
||||
*/
|
||||
total: number;
|
||||
};
|
||||
|
||||
|
@ -34,4 +34,3 @@ export type OpenposeImageProcessorInvocation = {
|
||||
*/
|
||||
image_resolution?: number;
|
||||
};
|
||||
|
||||
|
@ -29,4 +29,3 @@ export type PaginatedResults_GraphExecutionState_ = {
|
||||
*/
|
||||
total: number;
|
||||
};
|
||||
|
||||
|
@ -20,4 +20,3 @@ export type ParamFloatInvocation = {
|
||||
*/
|
||||
param?: number;
|
||||
};
|
||||
|
||||
|
@ -20,4 +20,3 @@ export type ParamIntInvocation = {
|
||||
*/
|
||||
'a'?: number;
|
||||
};
|
||||
|
||||
|
@ -38,4 +38,3 @@ export type PidiImageProcessorInvocation = {
|
||||
*/
|
||||
scribble?: boolean;
|
||||
};
|
||||
|
||||
|
@ -12,4 +12,3 @@ export type PromptOutput = {
|
||||
*/
|
||||
prompt: string;
|
||||
};
|
||||
|
||||
|
@ -24,4 +24,3 @@ export type RandomIntInvocation = {
|
||||
*/
|
||||
high?: number;
|
||||
};
|
||||
|
||||
|
@ -32,4 +32,3 @@ export type RandomRangeInvocation = {
|
||||
*/
|
||||
seed?: number;
|
||||
};
|
||||
|
||||
|
@ -28,4 +28,3 @@ export type RangeInvocation = {
|
||||
*/
|
||||
step?: number;
|
||||
};
|
||||
|
||||
|
@ -28,4 +28,3 @@ export type RangeOfSizeInvocation = {
|
||||
*/
|
||||
step?: number;
|
||||
};
|
||||
|
||||
|
@ -38,4 +38,3 @@ export type ResizeLatentsInvocation = {
|
||||
*/
|
||||
antialias?: boolean;
|
||||
};
|
||||
|
||||
|
@ -26,4 +26,3 @@ export type RestoreFaceInvocation = {
|
||||
*/
|
||||
strength?: number;
|
||||
};
|
||||
|
||||
|
@ -34,4 +34,3 @@ export type ScaleLatentsInvocation = {
|
||||
*/
|
||||
antialias?: boolean;
|
||||
};
|
||||
|
||||
|
@ -22,4 +22,3 @@ export type ShowImageInvocation = {
|
||||
*/
|
||||
image?: ImageField;
|
||||
};
|
||||
|
||||
|
@ -0,0 +1,58 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
/**
|
||||
* Experimental per-step parameter easing for denoising steps
|
||||
*/
|
||||
export type StepParamEasingInvocation = {
|
||||
/**
|
||||
* The id of this node. Must be unique among all nodes.
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Whether or not this node is an intermediate node.
|
||||
*/
|
||||
is_intermediate?: boolean;
|
||||
type?: 'step_param_easing';
|
||||
/**
|
||||
* The easing function to use
|
||||
*/
|
||||
easing?: 'Linear' | 'QuadIn' | 'QuadOut' | 'QuadInOut' | 'CubicIn' | 'CubicOut' | 'CubicInOut' | 'QuarticIn' | 'QuarticOut' | 'QuarticInOut' | 'QuinticIn' | 'QuinticOut' | 'QuinticInOut' | 'SineIn' | 'SineOut' | 'SineInOut' | 'CircularIn' | 'CircularOut' | 'CircularInOut' | 'ExponentialIn' | 'ExponentialOut' | 'ExponentialInOut' | 'ElasticIn' | 'ElasticOut' | 'ElasticInOut' | 'BackIn' | 'BackOut' | 'BackInOut' | 'BounceIn' | 'BounceOut' | 'BounceInOut';
|
||||
/**
|
||||
* number of denoising steps
|
||||
*/
|
||||
num_steps?: number;
|
||||
/**
|
||||
* easing starting value
|
||||
*/
|
||||
start_value?: number;
|
||||
/**
|
||||
* easing ending value
|
||||
*/
|
||||
end_value?: number;
|
||||
/**
|
||||
* fraction of steps at which to start easing
|
||||
*/
|
||||
start_step_percent?: number;
|
||||
/**
|
||||
* fraction of steps after which to end easing
|
||||
*/
|
||||
end_step_percent?: number;
|
||||
/**
|
||||
* value before easing start
|
||||
*/
|
||||
pre_start_value?: number;
|
||||
/**
|
||||
* value after easing end
|
||||
*/
|
||||
post_end_value?: number;
|
||||
/**
|
||||
* include mirror of easing function
|
||||
*/
|
||||
mirror?: boolean;
|
||||
/**
|
||||
* show easing plot
|
||||
*/
|
||||
show_easing_plot?: boolean;
|
||||
};
|
@ -24,4 +24,3 @@ export type SubtractInvocation = {
|
||||
*/
|
||||
'b'?: number;
|
||||
};
|
||||
|
||||
|
@ -62,4 +62,3 @@ export type TextToImageInvocation = {
|
||||
*/
|
||||
control_image?: ImageField;
|
||||
};
|
||||
|
||||
|
@ -38,7 +38,7 @@ export type TextToLatentsInvocation = {
|
||||
/**
|
||||
* The Classifier-Free Guidance, higher values may result in a result closer to the prompt
|
||||
*/
|
||||
cfg_scale?: number;
|
||||
cfg_scale?: (number | Array<number>);
|
||||
/**
|
||||
* The scheduler to use
|
||||
*/
|
||||
@ -52,4 +52,3 @@ export type TextToLatentsInvocation = {
|
||||
*/
|
||||
control?: (ControlField | Array<ControlField>);
|
||||
};
|
||||
|
||||
|
@ -30,4 +30,3 @@ export type UpscaleInvocation = {
|
||||
*/
|
||||
level?: 2 | 4;
|
||||
};
|
||||
|
||||
|
@ -16,4 +16,3 @@ export type VaeRepo = {
|
||||
*/
|
||||
subfolder?: string;
|
||||
};
|
||||
|
||||
|
@ -7,4 +7,3 @@ export type ValidationError = {
|
||||
msg: string;
|
||||
type: string;
|
||||
};
|
||||
|
||||
|
@ -22,4 +22,3 @@ export type ZoeDepthImageProcessorInvocation = {
|
||||
*/
|
||||
image?: ImageField;
|
||||
};
|
||||
|
||||
|
@ -10,6 +10,7 @@ import type { ControlNetInvocation } from '../models/ControlNetInvocation';
|
||||
import type { CvInpaintInvocation } from '../models/CvInpaintInvocation';
|
||||
import type { DivideInvocation } from '../models/DivideInvocation';
|
||||
import type { Edge } from '../models/Edge';
|
||||
import type { FloatLinearRangeInvocation } from '../models/FloatLinearRangeInvocation';
|
||||
import type { Graph } from '../models/Graph';
|
||||
import type { GraphExecutionState } from '../models/GraphExecutionState';
|
||||
import type { GraphInvocation } from '../models/GraphInvocation';
|
||||
@ -57,6 +58,7 @@ import type { ResizeLatentsInvocation } from '../models/ResizeLatentsInvocation'
|
||||
import type { RestoreFaceInvocation } from '../models/RestoreFaceInvocation';
|
||||
import type { ScaleLatentsInvocation } from '../models/ScaleLatentsInvocation';
|
||||
import type { ShowImageInvocation } from '../models/ShowImageInvocation';
|
||||
import type { StepParamEasingInvocation } from '../models/StepParamEasingInvocation';
|
||||
import type { SubtractInvocation } from '../models/SubtractInvocation';
|
||||
import type { TextToImageInvocation } from '../models/TextToImageInvocation';
|
||||
import type { TextToLatentsInvocation } from '../models/TextToLatentsInvocation';
|
||||
@ -171,7 +173,7 @@ export class SessionsService {
|
||||
* The id of the session
|
||||
*/
|
||||
sessionId: string,
|
||||
requestBody: (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | ParamFloatInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation),
|
||||
requestBody: (RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | CompelInvocation | LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CvInpaintInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | ParamFloatInvocation | FloatLinearRangeInvocation | StepParamEasingInvocation | RestoreFaceInvocation | UpscaleInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | ImageToImageInvocation | LatentsToLatentsInvocation | InpaintInvocation),
|
||||
}): CancelablePromise<string> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'POST',
|
||||
@ -208,7 +210,7 @@ export class SessionsService {
|
||||
* The path to the node in the graph
|
||||
*/
|
||||
nodePath: string,
|
||||
requestBody: (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | ParamFloatInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation),
|
||||
requestBody: (RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | CompelInvocation | LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CvInpaintInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | ParamFloatInvocation | FloatLinearRangeInvocation | StepParamEasingInvocation | RestoreFaceInvocation | UpscaleInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | ImageToImageInvocation | LatentsToLatentsInvocation | InpaintInvocation),
|
||||
}): CancelablePromise<GraphExecutionState> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'PUT',
|
||||
|
Loading…
Reference in New Issue
Block a user