mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore(ui): regen api client & types
This commit is contained in:
parent
a1773197e9
commit
24b86cffe9
@ -27,6 +27,7 @@ export type { DivideInvocation } from './models/DivideInvocation';
|
|||||||
export type { Edge } from './models/Edge';
|
export type { Edge } from './models/Edge';
|
||||||
export type { EdgeConnection } from './models/EdgeConnection';
|
export type { EdgeConnection } from './models/EdgeConnection';
|
||||||
export type { FloatCollectionOutput } from './models/FloatCollectionOutput';
|
export type { FloatCollectionOutput } from './models/FloatCollectionOutput';
|
||||||
|
export type { FloatLinearRangeInvocation } from './models/FloatLinearRangeInvocation';
|
||||||
export type { FloatOutput } from './models/FloatOutput';
|
export type { FloatOutput } from './models/FloatOutput';
|
||||||
export type { Graph } from './models/Graph';
|
export type { Graph } from './models/Graph';
|
||||||
export type { GraphExecutionState } from './models/GraphExecutionState';
|
export type { GraphExecutionState } from './models/GraphExecutionState';
|
||||||
@ -95,6 +96,7 @@ export type { ResourceOrigin } from './models/ResourceOrigin';
|
|||||||
export type { RestoreFaceInvocation } from './models/RestoreFaceInvocation';
|
export type { RestoreFaceInvocation } from './models/RestoreFaceInvocation';
|
||||||
export type { ScaleLatentsInvocation } from './models/ScaleLatentsInvocation';
|
export type { ScaleLatentsInvocation } from './models/ScaleLatentsInvocation';
|
||||||
export type { ShowImageInvocation } from './models/ShowImageInvocation';
|
export type { ShowImageInvocation } from './models/ShowImageInvocation';
|
||||||
|
export type { StepParamEasingInvocation } from './models/StepParamEasingInvocation';
|
||||||
export type { SubtractInvocation } from './models/SubtractInvocation';
|
export type { SubtractInvocation } from './models/SubtractInvocation';
|
||||||
export type { TextToImageInvocation } from './models/TextToImageInvocation';
|
export type { TextToImageInvocation } from './models/TextToImageInvocation';
|
||||||
export type { TextToLatentsInvocation } from './models/TextToLatentsInvocation';
|
export type { TextToLatentsInvocation } from './models/TextToLatentsInvocation';
|
||||||
|
@ -16,7 +16,7 @@ export type ControlField = {
|
|||||||
/**
|
/**
|
||||||
* The weight given to the ControlNet
|
* The weight given to the ControlNet
|
||||||
*/
|
*/
|
||||||
control_weight: number;
|
control_weight: (number | Array<number>);
|
||||||
/**
|
/**
|
||||||
* When the ControlNet is first applied (% of total steps)
|
* When the ControlNet is first applied (% of total steps)
|
||||||
*/
|
*/
|
||||||
|
@ -22,13 +22,13 @@ export type ControlNetInvocation = {
|
|||||||
*/
|
*/
|
||||||
image?: ImageField;
|
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';
|
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
|
* The weight given to the ControlNet
|
||||||
*/
|
*/
|
||||||
control_weight?: number;
|
control_weight?: (number | Array<number>);
|
||||||
/**
|
/**
|
||||||
* When the ControlNet is first applied (% of total steps)
|
* When the ControlNet is first applied (% of total steps)
|
||||||
*/
|
*/
|
||||||
|
@ -10,7 +10,7 @@ import type { ControlField } from './ControlField';
|
|||||||
export type ControlOutput = {
|
export type ControlOutput = {
|
||||||
type?: 'control_output';
|
type?: 'control_output';
|
||||||
/**
|
/**
|
||||||
* The output control image
|
* The control info
|
||||||
*/
|
*/
|
||||||
control?: ControlField;
|
control?: ControlField;
|
||||||
};
|
};
|
||||||
|
@ -0,0 +1,31 @@
|
|||||||
|
/* istanbul ignore file */
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Creates a range
|
||||||
|
*/
|
||||||
|
export type FloatLinearRangeInvocation = {
|
||||||
|
/**
|
||||||
|
* The id of this node. Must be unique among all nodes.
|
||||||
|
*/
|
||||||
|
id: string;
|
||||||
|
/**
|
||||||
|
* Whether or not this node is an intermediate node.
|
||||||
|
*/
|
||||||
|
is_intermediate?: boolean;
|
||||||
|
type?: 'float_range';
|
||||||
|
/**
|
||||||
|
* The first value of the range
|
||||||
|
*/
|
||||||
|
start?: number;
|
||||||
|
/**
|
||||||
|
* The last value of the range
|
||||||
|
*/
|
||||||
|
stop?: number;
|
||||||
|
/**
|
||||||
|
* number of values to interpolate over (including start and stop)
|
||||||
|
*/
|
||||||
|
steps?: number;
|
||||||
|
};
|
||||||
|
|
@ -11,6 +11,7 @@ import type { ControlNetInvocation } from './ControlNetInvocation';
|
|||||||
import type { CvInpaintInvocation } from './CvInpaintInvocation';
|
import type { CvInpaintInvocation } from './CvInpaintInvocation';
|
||||||
import type { DivideInvocation } from './DivideInvocation';
|
import type { DivideInvocation } from './DivideInvocation';
|
||||||
import type { Edge } from './Edge';
|
import type { Edge } from './Edge';
|
||||||
|
import type { FloatLinearRangeInvocation } from './FloatLinearRangeInvocation';
|
||||||
import type { GraphInvocation } from './GraphInvocation';
|
import type { GraphInvocation } from './GraphInvocation';
|
||||||
import type { HedImageProcessorInvocation } from './HedImageProcessorInvocation';
|
import type { HedImageProcessorInvocation } from './HedImageProcessorInvocation';
|
||||||
import type { ImageBlurInvocation } from './ImageBlurInvocation';
|
import type { ImageBlurInvocation } from './ImageBlurInvocation';
|
||||||
@ -55,6 +56,7 @@ import type { ResizeLatentsInvocation } from './ResizeLatentsInvocation';
|
|||||||
import type { RestoreFaceInvocation } from './RestoreFaceInvocation';
|
import type { RestoreFaceInvocation } from './RestoreFaceInvocation';
|
||||||
import type { ScaleLatentsInvocation } from './ScaleLatentsInvocation';
|
import type { ScaleLatentsInvocation } from './ScaleLatentsInvocation';
|
||||||
import type { ShowImageInvocation } from './ShowImageInvocation';
|
import type { ShowImageInvocation } from './ShowImageInvocation';
|
||||||
|
import type { StepParamEasingInvocation } from './StepParamEasingInvocation';
|
||||||
import type { SubtractInvocation } from './SubtractInvocation';
|
import type { SubtractInvocation } from './SubtractInvocation';
|
||||||
import type { TextToImageInvocation } from './TextToImageInvocation';
|
import type { TextToImageInvocation } from './TextToImageInvocation';
|
||||||
import type { TextToLatentsInvocation } from './TextToLatentsInvocation';
|
import type { TextToLatentsInvocation } from './TextToLatentsInvocation';
|
||||||
@ -69,7 +71,7 @@ export type Graph = {
|
|||||||
/**
|
/**
|
||||||
* The nodes in this 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, (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | ParamFloatInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | FloatLinearRangeInvocation | StepParamEasingInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation)>;
|
||||||
/**
|
/**
|
||||||
* The connections between nodes and their fields in this graph
|
* The connections between nodes and their fields in this graph
|
||||||
*/
|
*/
|
||||||
|
@ -7,26 +7,30 @@ import type { ImageField } from './ImageField';
|
|||||||
/**
|
/**
|
||||||
* Applies HED edge detection to image
|
* Applies HED edge detection to image
|
||||||
*/
|
*/
|
||||||
export type HedImageprocessorInvocation = {
|
export type HedImageProcessorInvocation = {
|
||||||
/**
|
/**
|
||||||
* The id of this node. Must be unique among all nodes.
|
* The id of this node. Must be unique among all nodes.
|
||||||
*/
|
*/
|
||||||
id: string;
|
id: string;
|
||||||
|
/**
|
||||||
|
* Whether or not this node is an intermediate node.
|
||||||
|
*/
|
||||||
|
is_intermediate?: boolean;
|
||||||
type?: 'hed_image_processor';
|
type?: 'hed_image_processor';
|
||||||
/**
|
/**
|
||||||
* image to process
|
* The image to process
|
||||||
*/
|
*/
|
||||||
image?: ImageField;
|
image?: ImageField;
|
||||||
/**
|
/**
|
||||||
* pixel resolution for edge detection
|
* The pixel resolution for detection
|
||||||
*/
|
*/
|
||||||
detect_resolution?: number;
|
detect_resolution?: number;
|
||||||
/**
|
/**
|
||||||
* pixel resolution for output image
|
* The pixel resolution for the output image
|
||||||
*/
|
*/
|
||||||
image_resolution?: number;
|
image_resolution?: number;
|
||||||
/**
|
/**
|
||||||
* whether to use scribble mode
|
* Whether to use scribble mode
|
||||||
*/
|
*/
|
||||||
scribble?: boolean;
|
scribble?: boolean;
|
||||||
};
|
};
|
||||||
|
@ -1,33 +0,0 @@
|
|||||||
/* istanbul ignore file */
|
|
||||||
/* tslint:disable */
|
|
||||||
/* eslint-disable */
|
|
||||||
|
|
||||||
import type { ImageField } from './ImageField';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Applies HED edge detection to image
|
|
||||||
*/
|
|
||||||
export type HedImageprocessorInvocation = {
|
|
||||||
/**
|
|
||||||
* The id of this node. Must be unique among all nodes.
|
|
||||||
*/
|
|
||||||
id: string;
|
|
||||||
type?: 'hed_image_processor';
|
|
||||||
/**
|
|
||||||
* image to process
|
|
||||||
*/
|
|
||||||
image?: ImageField;
|
|
||||||
/**
|
|
||||||
* pixel resolution for edge detection
|
|
||||||
*/
|
|
||||||
detect_resolution?: number;
|
|
||||||
/**
|
|
||||||
* pixel resolution for output image
|
|
||||||
*/
|
|
||||||
image_resolution?: number;
|
|
||||||
/**
|
|
||||||
* whether to use scribble mode
|
|
||||||
*/
|
|
||||||
scribble?: boolean;
|
|
||||||
};
|
|
||||||
|
|
@ -14,10 +14,6 @@ export type ImageDTO = {
|
|||||||
* The unique name of the image.
|
* The unique name of the image.
|
||||||
*/
|
*/
|
||||||
image_name: string;
|
image_name: string;
|
||||||
/**
|
|
||||||
* The type of the image.
|
|
||||||
*/
|
|
||||||
image_origin: ResourceOrigin;
|
|
||||||
/**
|
/**
|
||||||
* The URL of the image.
|
* The URL of the image.
|
||||||
*/
|
*/
|
||||||
@ -26,6 +22,10 @@ export type ImageDTO = {
|
|||||||
* The URL of the image's thumbnail.
|
* The URL of the image's thumbnail.
|
||||||
*/
|
*/
|
||||||
thumbnail_url: string;
|
thumbnail_url: string;
|
||||||
|
/**
|
||||||
|
* The type of the image.
|
||||||
|
*/
|
||||||
|
image_origin: ResourceOrigin;
|
||||||
/**
|
/**
|
||||||
* The category of the image.
|
* The category of the image.
|
||||||
*/
|
*/
|
||||||
|
@ -2,16 +2,10 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { ResourceOrigin } from './ResourceOrigin';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An image field used for passing image objects between invocations
|
* An image field used for passing image objects between invocations
|
||||||
*/
|
*/
|
||||||
export type ImageField = {
|
export type ImageField = {
|
||||||
/**
|
|
||||||
* The type of the image
|
|
||||||
*/
|
|
||||||
image_origin: ResourceOrigin;
|
|
||||||
/**
|
/**
|
||||||
* The name of the image
|
* The name of the image
|
||||||
*/
|
*/
|
||||||
|
@ -40,7 +40,7 @@ export type ImageMetadata = {
|
|||||||
/**
|
/**
|
||||||
* The classifier-free guidance scale.
|
* The classifier-free guidance scale.
|
||||||
*/
|
*/
|
||||||
cfg_scale?: number;
|
cfg_scale?: (number | Array<number>);
|
||||||
/**
|
/**
|
||||||
* The number of steps used for inference.
|
* The number of steps used for inference.
|
||||||
*/
|
*/
|
||||||
|
@ -2,8 +2,6 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { ResourceOrigin } from './ResourceOrigin';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The URLs for an image and its thumbnail.
|
* The URLs for an image and its thumbnail.
|
||||||
*/
|
*/
|
||||||
@ -12,10 +10,6 @@ export type ImageUrlsDTO = {
|
|||||||
* The unique name of the image.
|
* The unique name of the image.
|
||||||
*/
|
*/
|
||||||
image_name: string;
|
image_name: string;
|
||||||
/**
|
|
||||||
* The type of the image.
|
|
||||||
*/
|
|
||||||
image_origin: ResourceOrigin;
|
|
||||||
/**
|
/**
|
||||||
* The URL of the image.
|
* The URL of the image.
|
||||||
*/
|
*/
|
||||||
|
@ -38,7 +38,7 @@ export type LatentsToLatentsInvocation = {
|
|||||||
/**
|
/**
|
||||||
* The Classifier-Free Guidance, higher values may result in a result closer to the prompt
|
* 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
|
* The scheduler to use
|
||||||
*/
|
*/
|
||||||
|
@ -0,0 +1,59 @@
|
|||||||
|
/* istanbul ignore file */
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Experimental per-step parameter easing for denoising steps
|
||||||
|
*/
|
||||||
|
export type StepParamEasingInvocation = {
|
||||||
|
/**
|
||||||
|
* The id of this node. Must be unique among all nodes.
|
||||||
|
*/
|
||||||
|
id: string;
|
||||||
|
/**
|
||||||
|
* Whether or not this node is an intermediate node.
|
||||||
|
*/
|
||||||
|
is_intermediate?: boolean;
|
||||||
|
type?: 'step_param_easing';
|
||||||
|
/**
|
||||||
|
* The easing function to use
|
||||||
|
*/
|
||||||
|
easing?: 'Linear' | 'QuadIn' | 'QuadOut' | 'QuadInOut' | 'CubicIn' | 'CubicOut' | 'CubicInOut' | 'QuarticIn' | 'QuarticOut' | 'QuarticInOut' | 'QuinticIn' | 'QuinticOut' | 'QuinticInOut' | 'SineIn' | 'SineOut' | 'SineInOut' | 'CircularIn' | 'CircularOut' | 'CircularInOut' | 'ExponentialIn' | 'ExponentialOut' | 'ExponentialInOut' | 'ElasticIn' | 'ElasticOut' | 'ElasticInOut' | 'BackIn' | 'BackOut' | 'BackInOut' | 'BounceIn' | 'BounceOut' | 'BounceInOut';
|
||||||
|
/**
|
||||||
|
* number of denoising steps
|
||||||
|
*/
|
||||||
|
num_steps?: number;
|
||||||
|
/**
|
||||||
|
* easing starting value
|
||||||
|
*/
|
||||||
|
start_value?: number;
|
||||||
|
/**
|
||||||
|
* easing ending value
|
||||||
|
*/
|
||||||
|
end_value?: number;
|
||||||
|
/**
|
||||||
|
* fraction of steps at which to start easing
|
||||||
|
*/
|
||||||
|
start_step_percent?: number;
|
||||||
|
/**
|
||||||
|
* fraction of steps after which to end easing
|
||||||
|
*/
|
||||||
|
end_step_percent?: number;
|
||||||
|
/**
|
||||||
|
* value before easing start
|
||||||
|
*/
|
||||||
|
pre_start_value?: number;
|
||||||
|
/**
|
||||||
|
* value after easing end
|
||||||
|
*/
|
||||||
|
post_end_value?: number;
|
||||||
|
/**
|
||||||
|
* include mirror of easing function
|
||||||
|
*/
|
||||||
|
mirror?: boolean;
|
||||||
|
/**
|
||||||
|
* show easing plot
|
||||||
|
*/
|
||||||
|
show_easing_plot?: boolean;
|
||||||
|
};
|
||||||
|
|
@ -38,7 +38,7 @@ export type TextToLatentsInvocation = {
|
|||||||
/**
|
/**
|
||||||
* The Classifier-Free Guidance, higher values may result in a result closer to the prompt
|
* 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
|
* The scheduler to use
|
||||||
*/
|
*/
|
||||||
|
@ -115,13 +115,8 @@ export class ImagesService {
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static getImageFull({
|
public static getImageFull({
|
||||||
imageOrigin,
|
|
||||||
imageName,
|
imageName,
|
||||||
}: {
|
}: {
|
||||||
/**
|
|
||||||
* The type of full-resolution image file to get
|
|
||||||
*/
|
|
||||||
imageOrigin: ResourceOrigin,
|
|
||||||
/**
|
/**
|
||||||
* The name of full-resolution image file to get
|
* The name of full-resolution image file to get
|
||||||
*/
|
*/
|
||||||
@ -129,9 +124,8 @@ export class ImagesService {
|
|||||||
}): CancelablePromise<any> {
|
}): CancelablePromise<any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/api/v1/images/{image_origin}/{image_name}',
|
url: '/api/v1/images/{image_name}',
|
||||||
path: {
|
path: {
|
||||||
'image_origin': imageOrigin,
|
|
||||||
'image_name': imageName,
|
'image_name': imageName,
|
||||||
},
|
},
|
||||||
errors: {
|
errors: {
|
||||||
@ -148,13 +142,8 @@ export class ImagesService {
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static deleteImage({
|
public static deleteImage({
|
||||||
imageOrigin,
|
|
||||||
imageName,
|
imageName,
|
||||||
}: {
|
}: {
|
||||||
/**
|
|
||||||
* The origin of image to delete
|
|
||||||
*/
|
|
||||||
imageOrigin: ResourceOrigin,
|
|
||||||
/**
|
/**
|
||||||
* The name of the image to delete
|
* The name of the image to delete
|
||||||
*/
|
*/
|
||||||
@ -162,9 +151,8 @@ export class ImagesService {
|
|||||||
}): CancelablePromise<any> {
|
}): CancelablePromise<any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'DELETE',
|
method: 'DELETE',
|
||||||
url: '/api/v1/images/{image_origin}/{image_name}',
|
url: '/api/v1/images/{image_name}',
|
||||||
path: {
|
path: {
|
||||||
'image_origin': imageOrigin,
|
|
||||||
'image_name': imageName,
|
'image_name': imageName,
|
||||||
},
|
},
|
||||||
errors: {
|
errors: {
|
||||||
@ -180,14 +168,9 @@ export class ImagesService {
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static updateImage({
|
public static updateImage({
|
||||||
imageOrigin,
|
|
||||||
imageName,
|
imageName,
|
||||||
requestBody,
|
requestBody,
|
||||||
}: {
|
}: {
|
||||||
/**
|
|
||||||
* The origin of image to update
|
|
||||||
*/
|
|
||||||
imageOrigin: ResourceOrigin,
|
|
||||||
/**
|
/**
|
||||||
* The name of the image to update
|
* The name of the image to update
|
||||||
*/
|
*/
|
||||||
@ -196,9 +179,8 @@ export class ImagesService {
|
|||||||
}): CancelablePromise<ImageDTO> {
|
}): CancelablePromise<ImageDTO> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'PATCH',
|
method: 'PATCH',
|
||||||
url: '/api/v1/images/{image_origin}/{image_name}',
|
url: '/api/v1/images/{image_name}',
|
||||||
path: {
|
path: {
|
||||||
'image_origin': imageOrigin,
|
|
||||||
'image_name': imageName,
|
'image_name': imageName,
|
||||||
},
|
},
|
||||||
body: requestBody,
|
body: requestBody,
|
||||||
@ -216,13 +198,8 @@ export class ImagesService {
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static getImageMetadata({
|
public static getImageMetadata({
|
||||||
imageOrigin,
|
|
||||||
imageName,
|
imageName,
|
||||||
}: {
|
}: {
|
||||||
/**
|
|
||||||
* The origin of image to get
|
|
||||||
*/
|
|
||||||
imageOrigin: ResourceOrigin,
|
|
||||||
/**
|
/**
|
||||||
* The name of image to get
|
* The name of image to get
|
||||||
*/
|
*/
|
||||||
@ -230,9 +207,8 @@ export class ImagesService {
|
|||||||
}): CancelablePromise<ImageDTO> {
|
}): CancelablePromise<ImageDTO> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/api/v1/images/{image_origin}/{image_name}/metadata',
|
url: '/api/v1/images/{image_name}/metadata',
|
||||||
path: {
|
path: {
|
||||||
'image_origin': imageOrigin,
|
|
||||||
'image_name': imageName,
|
'image_name': imageName,
|
||||||
},
|
},
|
||||||
errors: {
|
errors: {
|
||||||
@ -248,13 +224,8 @@ export class ImagesService {
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static getImageThumbnail({
|
public static getImageThumbnail({
|
||||||
imageOrigin,
|
|
||||||
imageName,
|
imageName,
|
||||||
}: {
|
}: {
|
||||||
/**
|
|
||||||
* The origin of thumbnail image file to get
|
|
||||||
*/
|
|
||||||
imageOrigin: ResourceOrigin,
|
|
||||||
/**
|
/**
|
||||||
* The name of thumbnail image file to get
|
* The name of thumbnail image file to get
|
||||||
*/
|
*/
|
||||||
@ -262,9 +233,8 @@ export class ImagesService {
|
|||||||
}): CancelablePromise<any> {
|
}): CancelablePromise<any> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/api/v1/images/{image_origin}/{image_name}/thumbnail',
|
url: '/api/v1/images/{image_name}/thumbnail',
|
||||||
path: {
|
path: {
|
||||||
'image_origin': imageOrigin,
|
|
||||||
'image_name': imageName,
|
'image_name': imageName,
|
||||||
},
|
},
|
||||||
errors: {
|
errors: {
|
||||||
@ -281,13 +251,8 @@ export class ImagesService {
|
|||||||
* @throws ApiError
|
* @throws ApiError
|
||||||
*/
|
*/
|
||||||
public static getImageUrls({
|
public static getImageUrls({
|
||||||
imageOrigin,
|
|
||||||
imageName,
|
imageName,
|
||||||
}: {
|
}: {
|
||||||
/**
|
|
||||||
* The origin of the image whose URL to get
|
|
||||||
*/
|
|
||||||
imageOrigin: ResourceOrigin,
|
|
||||||
/**
|
/**
|
||||||
* The name of the image whose URL to get
|
* The name of the image whose URL to get
|
||||||
*/
|
*/
|
||||||
@ -295,9 +260,8 @@ export class ImagesService {
|
|||||||
}): CancelablePromise<ImageUrlsDTO> {
|
}): CancelablePromise<ImageUrlsDTO> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'GET',
|
method: 'GET',
|
||||||
url: '/api/v1/images/{image_origin}/{image_name}/urls',
|
url: '/api/v1/images/{image_name}/urls',
|
||||||
path: {
|
path: {
|
||||||
'image_origin': imageOrigin,
|
|
||||||
'image_name': imageName,
|
'image_name': imageName,
|
||||||
},
|
},
|
||||||
errors: {
|
errors: {
|
||||||
|
@ -10,6 +10,7 @@ import type { ControlNetInvocation } from '../models/ControlNetInvocation';
|
|||||||
import type { CvInpaintInvocation } from '../models/CvInpaintInvocation';
|
import type { CvInpaintInvocation } from '../models/CvInpaintInvocation';
|
||||||
import type { DivideInvocation } from '../models/DivideInvocation';
|
import type { DivideInvocation } from '../models/DivideInvocation';
|
||||||
import type { Edge } from '../models/Edge';
|
import type { Edge } from '../models/Edge';
|
||||||
|
import type { FloatLinearRangeInvocation } from '../models/FloatLinearRangeInvocation';
|
||||||
import type { Graph } from '../models/Graph';
|
import type { Graph } from '../models/Graph';
|
||||||
import type { GraphExecutionState } from '../models/GraphExecutionState';
|
import type { GraphExecutionState } from '../models/GraphExecutionState';
|
||||||
import type { GraphInvocation } from '../models/GraphInvocation';
|
import type { GraphInvocation } from '../models/GraphInvocation';
|
||||||
@ -57,6 +58,7 @@ import type { ResizeLatentsInvocation } from '../models/ResizeLatentsInvocation'
|
|||||||
import type { RestoreFaceInvocation } from '../models/RestoreFaceInvocation';
|
import type { RestoreFaceInvocation } from '../models/RestoreFaceInvocation';
|
||||||
import type { ScaleLatentsInvocation } from '../models/ScaleLatentsInvocation';
|
import type { ScaleLatentsInvocation } from '../models/ScaleLatentsInvocation';
|
||||||
import type { ShowImageInvocation } from '../models/ShowImageInvocation';
|
import type { ShowImageInvocation } from '../models/ShowImageInvocation';
|
||||||
|
import type { StepParamEasingInvocation } from '../models/StepParamEasingInvocation';
|
||||||
import type { SubtractInvocation } from '../models/SubtractInvocation';
|
import type { SubtractInvocation } from '../models/SubtractInvocation';
|
||||||
import type { TextToImageInvocation } from '../models/TextToImageInvocation';
|
import type { TextToImageInvocation } from '../models/TextToImageInvocation';
|
||||||
import type { TextToLatentsInvocation } from '../models/TextToLatentsInvocation';
|
import type { TextToLatentsInvocation } from '../models/TextToLatentsInvocation';
|
||||||
@ -171,7 +173,7 @@ export class SessionsService {
|
|||||||
* The id of the session
|
* The id of the session
|
||||||
*/
|
*/
|
||||||
sessionId: string,
|
sessionId: string,
|
||||||
requestBody: (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | ParamFloatInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation),
|
requestBody: (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | ParamFloatInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | FloatLinearRangeInvocation | StepParamEasingInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation),
|
||||||
}): CancelablePromise<string> {
|
}): CancelablePromise<string> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
@ -208,7 +210,7 @@ export class SessionsService {
|
|||||||
* The path to the node in the graph
|
* The path to the node in the graph
|
||||||
*/
|
*/
|
||||||
nodePath: string,
|
nodePath: string,
|
||||||
requestBody: (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | ParamFloatInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation),
|
requestBody: (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | ParamFloatInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | FloatLinearRangeInvocation | StepParamEasingInvocation | UpscaleInvocation | RestoreFaceInvocation | TextToImageInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | LatentsToLatentsInvocation | ImageToImageInvocation | InpaintInvocation),
|
||||||
}): CancelablePromise<GraphExecutionState> {
|
}): CancelablePromise<GraphExecutionState> {
|
||||||
return __request(OpenAPI, {
|
return __request(OpenAPI, {
|
||||||
method: 'PUT',
|
method: 'PUT',
|
||||||
|
Loading…
Reference in New Issue
Block a user