mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore(ui): regen api client
This commit is contained in:
parent
6bbb5f061a
commit
707ed39300
@ -32,7 +32,7 @@ export type { Graph } from './models/Graph';
|
|||||||
export type { GraphExecutionState } from './models/GraphExecutionState';
|
export type { GraphExecutionState } from './models/GraphExecutionState';
|
||||||
export type { GraphInvocation } from './models/GraphInvocation';
|
export type { GraphInvocation } from './models/GraphInvocation';
|
||||||
export type { GraphInvocationOutput } from './models/GraphInvocationOutput';
|
export type { GraphInvocationOutput } from './models/GraphInvocationOutput';
|
||||||
export type { HedImageprocessorInvocation } from './models/HedImageprocessorInvocation';
|
export type { HedImageProcessorInvocation } from './models/HedImageProcessorInvocation';
|
||||||
export type { HTTPValidationError } from './models/HTTPValidationError';
|
export type { HTTPValidationError } from './models/HTTPValidationError';
|
||||||
export type { ImageBlurInvocation } from './models/ImageBlurInvocation';
|
export type { ImageBlurInvocation } from './models/ImageBlurInvocation';
|
||||||
export type { ImageCategory } from './models/ImageCategory';
|
export type { ImageCategory } from './models/ImageCategory';
|
||||||
|
@ -18,15 +18,15 @@ export type CannyImageProcessorInvocation = {
|
|||||||
is_intermediate?: boolean;
|
is_intermediate?: boolean;
|
||||||
type?: 'canny_image_processor';
|
type?: 'canny_image_processor';
|
||||||
/**
|
/**
|
||||||
* image to process
|
* The image to process
|
||||||
*/
|
*/
|
||||||
image?: ImageField;
|
image?: ImageField;
|
||||||
/**
|
/**
|
||||||
* low threshold of Canny pixel gradient
|
* The low threshold of the Canny pixel gradient (0-255)
|
||||||
*/
|
*/
|
||||||
low_threshold?: number;
|
low_threshold?: number;
|
||||||
/**
|
/**
|
||||||
* high threshold of Canny pixel gradient
|
* The high threshold of the Canny pixel gradient (0-255)
|
||||||
*/
|
*/
|
||||||
high_threshold?: number;
|
high_threshold?: number;
|
||||||
};
|
};
|
||||||
|
@ -18,27 +18,27 @@ export type ContentShuffleImageProcessorInvocation = {
|
|||||||
is_intermediate?: boolean;
|
is_intermediate?: boolean;
|
||||||
type?: 'content_shuffle_image_processor';
|
type?: 'content_shuffle_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;
|
||||||
/**
|
/**
|
||||||
* content shuffle h parameter
|
* Content shuffle `h` parameter
|
||||||
*/
|
*/
|
||||||
'h'?: number;
|
'h'?: number;
|
||||||
/**
|
/**
|
||||||
* content shuffle w parameter
|
* Content shuffle `w` parameter
|
||||||
*/
|
*/
|
||||||
'w'?: number;
|
'w'?: number;
|
||||||
/**
|
/**
|
||||||
* cont
|
* Content shuffle `f` parameter
|
||||||
*/
|
*/
|
||||||
'f'?: number;
|
'f'?: number;
|
||||||
};
|
};
|
||||||
|
@ -6,23 +6,23 @@ import type { ImageField } from './ImageField';
|
|||||||
|
|
||||||
export type ControlField = {
|
export type ControlField = {
|
||||||
/**
|
/**
|
||||||
* processed image
|
* The control image
|
||||||
*/
|
*/
|
||||||
image: ImageField;
|
image: ImageField;
|
||||||
/**
|
/**
|
||||||
* control model used
|
* The ControlNet model to use
|
||||||
*/
|
*/
|
||||||
control_model: string;
|
control_model: string;
|
||||||
/**
|
/**
|
||||||
* weight given to controlnet
|
* The weight given to the ControlNet
|
||||||
*/
|
*/
|
||||||
control_weight: number;
|
control_weight: number;
|
||||||
/**
|
/**
|
||||||
* % of total steps at which controlnet is first applied
|
* When the ControlNet is first applied (% of total steps)
|
||||||
*/
|
*/
|
||||||
begin_step_percent: number;
|
begin_step_percent: number;
|
||||||
/**
|
/**
|
||||||
* % of total steps at which controlnet is last applied
|
* When the ControlNet is last applied (% of total steps)
|
||||||
*/
|
*/
|
||||||
end_step_percent: number;
|
end_step_percent: number;
|
||||||
};
|
};
|
||||||
|
@ -18,23 +18,23 @@ export type ControlNetInvocation = {
|
|||||||
is_intermediate?: boolean;
|
is_intermediate?: boolean;
|
||||||
type?: 'controlnet';
|
type?: 'controlnet';
|
||||||
/**
|
/**
|
||||||
* image to process
|
* The control image
|
||||||
*/
|
*/
|
||||||
image?: ImageField;
|
image?: ImageField;
|
||||||
/**
|
/**
|
||||||
* control model used
|
* The ControlNet model to use
|
||||||
*/
|
*/
|
||||||
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';
|
||||||
/**
|
/**
|
||||||
* weight given to controlnet
|
* The weight given to the ControlNet
|
||||||
*/
|
*/
|
||||||
control_weight?: number;
|
control_weight?: number;
|
||||||
/**
|
/**
|
||||||
* % of total steps at which controlnet is first applied
|
* When the ControlNet is first applied (% of total steps)
|
||||||
*/
|
*/
|
||||||
begin_step_percent?: number;
|
begin_step_percent?: number;
|
||||||
/**
|
/**
|
||||||
* % of total steps at which controlnet is last applied
|
* When the ControlNet is last applied (% of total steps)
|
||||||
*/
|
*/
|
||||||
end_step_percent?: number;
|
end_step_percent?: number;
|
||||||
};
|
};
|
||||||
|
@ -10,7 +10,7 @@ import type { ControlField } from './ControlField';
|
|||||||
export type ControlOutput = {
|
export type ControlOutput = {
|
||||||
type?: 'control_output';
|
type?: 'control_output';
|
||||||
/**
|
/**
|
||||||
* The control info dict
|
* The output control image
|
||||||
*/
|
*/
|
||||||
control?: ControlField;
|
control?: ControlField;
|
||||||
};
|
};
|
||||||
|
@ -12,7 +12,7 @@ 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 { 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';
|
||||||
import type { ImageChannelInvocation } from './ImageChannelInvocation';
|
import type { ImageChannelInvocation } from './ImageChannelInvocation';
|
||||||
import type { ImageConvertInvocation } from './ImageConvertInvocation';
|
import type { ImageConvertInvocation } from './ImageConvertInvocation';
|
||||||
@ -69,7 +69,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 | 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,7 +7,7 @@ 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.
|
||||||
*/
|
*/
|
||||||
@ -18,19 +18,19 @@ export type HedImageprocessorInvocation = {
|
|||||||
is_intermediate?: boolean;
|
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;
|
||||||
};
|
};
|
@ -18,7 +18,7 @@ export type ImageProcessorInvocation = {
|
|||||||
is_intermediate?: boolean;
|
is_intermediate?: boolean;
|
||||||
type?: 'image_processor';
|
type?: 'image_processor';
|
||||||
/**
|
/**
|
||||||
* image to process
|
* The image to process
|
||||||
*/
|
*/
|
||||||
image?: ImageField;
|
image?: ImageField;
|
||||||
};
|
};
|
||||||
|
@ -18,15 +18,15 @@ export type LineartAnimeImageProcessorInvocation = {
|
|||||||
is_intermediate?: boolean;
|
is_intermediate?: boolean;
|
||||||
type?: 'lineart_anime_image_processor';
|
type?: 'lineart_anime_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;
|
||||||
};
|
};
|
||||||
|
@ -18,19 +18,19 @@ export type LineartImageProcessorInvocation = {
|
|||||||
is_intermediate?: boolean;
|
is_intermediate?: boolean;
|
||||||
type?: 'lineart_image_processor';
|
type?: 'lineart_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 coarse mode
|
* Whether to use coarse mode
|
||||||
*/
|
*/
|
||||||
coarse?: boolean;
|
coarse?: boolean;
|
||||||
};
|
};
|
||||||
|
@ -18,15 +18,15 @@ export type MediapipeFaceProcessorInvocation = {
|
|||||||
is_intermediate?: boolean;
|
is_intermediate?: boolean;
|
||||||
type?: 'mediapipe_face_processor';
|
type?: 'mediapipe_face_processor';
|
||||||
/**
|
/**
|
||||||
* image to process
|
* The image to process
|
||||||
*/
|
*/
|
||||||
image?: ImageField;
|
image?: ImageField;
|
||||||
/**
|
/**
|
||||||
* maximum number of faces to detect
|
* Maximum number of faces to detect
|
||||||
*/
|
*/
|
||||||
max_faces?: number;
|
max_faces?: number;
|
||||||
/**
|
/**
|
||||||
* minimum confidence for face detection
|
* Minimum confidence for face detection
|
||||||
*/
|
*/
|
||||||
min_confidence?: number;
|
min_confidence?: number;
|
||||||
};
|
};
|
||||||
|
@ -18,15 +18,15 @@ export type MidasDepthImageProcessorInvocation = {
|
|||||||
is_intermediate?: boolean;
|
is_intermediate?: boolean;
|
||||||
type?: 'midas_depth_image_processor';
|
type?: 'midas_depth_image_processor';
|
||||||
/**
|
/**
|
||||||
* image to process
|
* The image to process
|
||||||
*/
|
*/
|
||||||
image?: ImageField;
|
image?: ImageField;
|
||||||
/**
|
/**
|
||||||
* Midas parameter a = amult * PI
|
* Midas parameter `a_mult` (a = a_mult * PI)
|
||||||
*/
|
*/
|
||||||
a_mult?: number;
|
a_mult?: number;
|
||||||
/**
|
/**
|
||||||
* Midas parameter bg_th
|
* Midas parameter `bg_th`
|
||||||
*/
|
*/
|
||||||
bg_th?: number;
|
bg_th?: number;
|
||||||
};
|
};
|
||||||
|
@ -18,23 +18,23 @@ export type MlsdImageProcessorInvocation = {
|
|||||||
is_intermediate?: boolean;
|
is_intermediate?: boolean;
|
||||||
type?: 'mlsd_image_processor';
|
type?: 'mlsd_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;
|
||||||
/**
|
/**
|
||||||
* MLSD parameter thr_v
|
* MLSD parameter `thr_v`
|
||||||
*/
|
*/
|
||||||
thr_v?: number;
|
thr_v?: number;
|
||||||
/**
|
/**
|
||||||
* MLSD parameter thr_d
|
* MLSD parameter `thr_d`
|
||||||
*/
|
*/
|
||||||
thr_d?: number;
|
thr_d?: number;
|
||||||
};
|
};
|
||||||
|
@ -18,15 +18,15 @@ export type NormalbaeImageProcessorInvocation = {
|
|||||||
is_intermediate?: boolean;
|
is_intermediate?: boolean;
|
||||||
type?: 'normalbae_image_processor';
|
type?: 'normalbae_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;
|
||||||
};
|
};
|
||||||
|
@ -18,19 +18,19 @@ export type OpenposeImageProcessorInvocation = {
|
|||||||
is_intermediate?: boolean;
|
is_intermediate?: boolean;
|
||||||
type?: 'openpose_image_processor';
|
type?: 'openpose_image_processor';
|
||||||
/**
|
/**
|
||||||
* image to process
|
* The image to process
|
||||||
*/
|
*/
|
||||||
image?: ImageField;
|
image?: ImageField;
|
||||||
/**
|
/**
|
||||||
* whether to use hands and face mode
|
* Whether to use hands and face mode
|
||||||
*/
|
*/
|
||||||
hand_and_face?: boolean;
|
hand_and_face?: boolean;
|
||||||
/**
|
/**
|
||||||
* 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;
|
||||||
};
|
};
|
||||||
|
@ -18,23 +18,23 @@ export type PidiImageProcessorInvocation = {
|
|||||||
is_intermediate?: boolean;
|
is_intermediate?: boolean;
|
||||||
type?: 'pidi_image_processor';
|
type?: 'pidi_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 safe mode
|
* Whether to use safe mode
|
||||||
*/
|
*/
|
||||||
safe?: boolean;
|
safe?: boolean;
|
||||||
/**
|
/**
|
||||||
* whether to use scribble mode
|
* Whether to use scribble mode
|
||||||
*/
|
*/
|
||||||
scribble?: boolean;
|
scribble?: boolean;
|
||||||
};
|
};
|
||||||
|
@ -18,7 +18,7 @@ export type ZoeDepthImageProcessorInvocation = {
|
|||||||
is_intermediate?: boolean;
|
is_intermediate?: boolean;
|
||||||
type?: 'zoe_depth_image_processor';
|
type?: 'zoe_depth_image_processor';
|
||||||
/**
|
/**
|
||||||
* image to process
|
* The image to process
|
||||||
*/
|
*/
|
||||||
image?: ImageField;
|
image?: ImageField;
|
||||||
};
|
};
|
||||||
|
@ -13,7 +13,7 @@ import type { Edge } from '../models/Edge';
|
|||||||
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';
|
||||||
import type { HedImageprocessorInvocation } from '../models/HedImageprocessorInvocation';
|
import type { HedImageProcessorInvocation } from '../models/HedImageProcessorInvocation';
|
||||||
import type { ImageBlurInvocation } from '../models/ImageBlurInvocation';
|
import type { ImageBlurInvocation } from '../models/ImageBlurInvocation';
|
||||||
import type { ImageChannelInvocation } from '../models/ImageChannelInvocation';
|
import type { ImageChannelInvocation } from '../models/ImageChannelInvocation';
|
||||||
import type { ImageConvertInvocation } from '../models/ImageConvertInvocation';
|
import type { ImageConvertInvocation } from '../models/ImageConvertInvocation';
|
||||||
@ -171,7 +171,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 | 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 +208,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 | 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