chore: Rebuild API

This commit is contained in:
blessedcoolant 2023-06-17 21:29:32 +12:00 committed by psychedelicious
parent 9838dda1b7
commit 663f4935f5
120 changed files with 576 additions and 262 deletions

View File

@ -8,10 +8,13 @@ export type { OpenAPIConfig } from './core/OpenAPI';
export type { AddInvocation } from './models/AddInvocation'; export type { AddInvocation } from './models/AddInvocation';
export type { BaseModelType } from './models/BaseModelType'; export type { BaseModelType } from './models/BaseModelType';
<<<<<<< HEAD
export type { BoardChanges } from './models/BoardChanges'; export type { BoardChanges } from './models/BoardChanges';
export type { BoardDTO } from './models/BoardDTO'; export type { BoardDTO } from './models/BoardDTO';
export type { Body_create_board_image } from './models/Body_create_board_image'; export type { Body_create_board_image } from './models/Body_create_board_image';
export type { Body_remove_board_image } from './models/Body_remove_board_image'; export type { Body_remove_board_image } from './models/Body_remove_board_image';
=======
>>>>>>> 76dd749b1 (chore: Rebuild API)
export type { Body_upload_image } from './models/Body_upload_image'; export type { Body_upload_image } from './models/Body_upload_image';
export type { CannyImageProcessorInvocation } from './models/CannyImageProcessorInvocation'; export type { CannyImageProcessorInvocation } from './models/CannyImageProcessorInvocation';
export type { CkptModelInfo } from './models/CkptModelInfo'; export type { CkptModelInfo } from './models/CkptModelInfo';
@ -25,6 +28,7 @@ export type { ConditioningField } from './models/ConditioningField';
export type { ContentShuffleImageProcessorInvocation } from './models/ContentShuffleImageProcessorInvocation'; export type { ContentShuffleImageProcessorInvocation } from './models/ContentShuffleImageProcessorInvocation';
export type { ControlField } from './models/ControlField'; export type { ControlField } from './models/ControlField';
export type { ControlNetInvocation } from './models/ControlNetInvocation'; export type { ControlNetInvocation } from './models/ControlNetInvocation';
export type { ControlNetModelConfig } from './models/ControlNetModelConfig';
export type { ControlOutput } from './models/ControlOutput'; export type { ControlOutput } from './models/ControlOutput';
export type { CreateModelRequest } from './models/CreateModelRequest'; export type { CreateModelRequest } from './models/CreateModelRequest';
export type { CvInpaintInvocation } from './models/CvInpaintInvocation'; export type { CvInpaintInvocation } from './models/CvInpaintInvocation';
@ -87,6 +91,10 @@ export type { LoadImageInvocation } from './models/LoadImageInvocation';
export type { LoraInfo } from './models/LoraInfo'; export type { LoraInfo } from './models/LoraInfo';
export type { LoraLoaderInvocation } from './models/LoraLoaderInvocation'; export type { LoraLoaderInvocation } from './models/LoraLoaderInvocation';
export type { LoraLoaderOutput } from './models/LoraLoaderOutput'; export type { LoraLoaderOutput } from './models/LoraLoaderOutput';
<<<<<<< HEAD
=======
export type { LoraModelConfig } from './models/LoraModelConfig';
>>>>>>> 76dd749b1 (chore: Rebuild API)
export type { MaskFromAlphaInvocation } from './models/MaskFromAlphaInvocation'; export type { MaskFromAlphaInvocation } from './models/MaskFromAlphaInvocation';
export type { MaskOutput } from './models/MaskOutput'; export type { MaskOutput } from './models/MaskOutput';
export type { MediapipeFaceProcessorInvocation } from './models/MediapipeFaceProcessorInvocation'; export type { MediapipeFaceProcessorInvocation } from './models/MediapipeFaceProcessorInvocation';
@ -123,13 +131,25 @@ export type { SchedulerPredictionType } from './models/SchedulerPredictionType';
export type { SD1ModelLoaderInvocation } from './models/SD1ModelLoaderInvocation'; export type { SD1ModelLoaderInvocation } from './models/SD1ModelLoaderInvocation';
export type { SD2ModelLoaderInvocation } from './models/SD2ModelLoaderInvocation'; export type { SD2ModelLoaderInvocation } from './models/SD2ModelLoaderInvocation';
export type { ShowImageInvocation } from './models/ShowImageInvocation'; export type { ShowImageInvocation } from './models/ShowImageInvocation';
export type { StableDiffusion1CheckpointModelConfig } from './models/StableDiffusion1CheckpointModelConfig';
export type { StableDiffusion1DiffusersModelConfig } from './models/StableDiffusion1DiffusersModelConfig';
export type { StableDiffusion2CheckpointModelConfig } from './models/StableDiffusion2CheckpointModelConfig';
export type { StableDiffusion2DiffusersModelConfig } from './models/StableDiffusion2DiffusersModelConfig';
export type { StepParamEasingInvocation } from './models/StepParamEasingInvocation'; export type { StepParamEasingInvocation } from './models/StepParamEasingInvocation';
export type { SubModelType } from './models/SubModelType'; export type { SubModelType } from './models/SubModelType';
export type { SubtractInvocation } from './models/SubtractInvocation'; export type { SubtractInvocation } from './models/SubtractInvocation';
export type { TextToLatentsInvocation } from './models/TextToLatentsInvocation'; export type { TextToLatentsInvocation } from './models/TextToLatentsInvocation';
<<<<<<< HEAD
export type { UNetField } from './models/UNetField'; export type { UNetField } from './models/UNetField';
export type { UpscaleInvocation } from './models/UpscaleInvocation'; export type { UpscaleInvocation } from './models/UpscaleInvocation';
export type { VaeField } from './models/VaeField'; export type { VaeField } from './models/VaeField';
=======
export type { TextualInversionModelConfig } from './models/TextualInversionModelConfig';
export type { UNetField } from './models/UNetField';
export type { UpscaleInvocation } from './models/UpscaleInvocation';
export type { VaeField } from './models/VaeField';
export type { VAEModelConfig } from './models/VAEModelConfig';
>>>>>>> 76dd749b1 (chore: Rebuild API)
export type { VaeRepo } from './models/VaeRepo'; export type { VaeRepo } from './models/VaeRepo';
export type { ValidationError } from './models/ValidationError'; export type { ValidationError } from './models/ValidationError';
export type { ZoeDepthImageProcessorInvocation } from './models/ZoeDepthImageProcessorInvocation'; export type { ZoeDepthImageProcessorInvocation } from './models/ZoeDepthImageProcessorInvocation';

View File

@ -24,4 +24,3 @@ export type AddInvocation = {
*/ */
'b'?: number; 'b'?: number;
}; };

View File

@ -5,4 +5,3 @@
export type Body_upload_image = { export type Body_upload_image = {
file: Blob; file: Blob;
}; };

View File

@ -30,4 +30,3 @@ export type CannyImageProcessorInvocation = {
*/ */
high_threshold?: number; high_threshold?: number;
}; };

View File

@ -37,4 +37,3 @@ export type CkptModelInfo = {
*/ */
height?: number; height?: number;
}; };

View File

@ -19,4 +19,7 @@ export type ClipField = {
*/ */
loras: Array<LoraInfo>; loras: Array<LoraInfo>;
}; };
<<<<<<< HEAD
=======
>>>>>>> 76dd749b1 (chore: Rebuild API)

View File

@ -24,4 +24,3 @@ export type CollectInvocation = {
*/ */
collection?: Array<any>; collection?: Array<any>;
}; };

View File

@ -12,4 +12,3 @@ export type CollectInvocationOutput = {
*/ */
collection: Array<any>; collection: Array<any>;
}; };

View File

@ -20,4 +20,3 @@ export type ColorField = {
*/ */
'a': number; 'a': number;
}; };

View File

@ -26,4 +26,3 @@ export type CompelInvocation = {
*/ */
clip?: ClipField; clip?: ClipField;
}; };

View File

@ -14,4 +14,3 @@ export type CompelOutput = {
*/ */
conditioning?: ConditioningField; conditioning?: ConditioningField;
}; };

View File

@ -8,4 +8,3 @@ export type ConditioningField = {
*/ */
conditioning_name: string; conditioning_name: string;
}; };

View File

@ -42,4 +42,3 @@ export type ContentShuffleImageProcessorInvocation = {
*/ */
'f'?: number; 'f'?: number;
}; };

View File

@ -26,4 +26,3 @@ export type ControlField = {
*/ */
end_step_percent: number; end_step_percent: number;
}; };

View File

@ -38,4 +38,3 @@ export type ControlNetInvocation = {
*/ */
end_step_percent?: number; end_step_percent?: number;
}; };

View File

@ -0,0 +1,13 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ModelError } from './ModelError';
export type ControlNetModelConfig = {
path: string;
description?: string;
format: ('checkpoint' | 'diffusers');
default?: boolean;
error?: ModelError;
};

View File

@ -14,4 +14,3 @@ export type ControlOutput = {
*/ */
control?: ControlField; control?: ControlField;
}; };

View File

@ -15,4 +15,3 @@ export type CreateModelRequest = {
*/ */
info: (CkptModelInfo | DiffusersModelInfo); info: (CkptModelInfo | DiffusersModelInfo);
}; };

View File

@ -26,4 +26,3 @@ export type CvInpaintInvocation = {
*/ */
mask?: ImageField; mask?: ImageField;
}; };

View File

@ -31,4 +31,3 @@ export type DiffusersModelInfo = {
*/ */
path?: string; path?: string;
}; };

View File

@ -24,4 +24,3 @@ export type DivideInvocation = {
*/ */
'b'?: number; 'b'?: number;
}; };

View File

@ -28,4 +28,3 @@ export type DynamicPromptInvocation = {
*/ */
combinatorial?: boolean; combinatorial?: boolean;
}; };

View File

@ -14,4 +14,3 @@ export type Edge = {
*/ */
destination: EdgeConnection; destination: EdgeConnection;
}; };

View File

@ -12,4 +12,3 @@ export type EdgeConnection = {
*/ */
field: string; field: string;
}; };

View File

@ -12,4 +12,3 @@ export type FloatCollectionOutput = {
*/ */
collection?: Array<number>; collection?: Array<number>;
}; };

View File

@ -28,4 +28,3 @@ export type FloatLinearRangeInvocation = {
*/ */
steps?: number; steps?: number;
}; };

View File

@ -12,4 +12,3 @@ export type FloatOutput = {
*/ */
param?: number; param?: number;
}; };

View File

@ -73,10 +73,13 @@ export type Graph = {
/** /**
* The nodes in this graph * The nodes in this graph
*/ */
<<<<<<< HEAD
nodes?: Record<string, (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | SD1ModelLoaderInvocation | SD2ModelLoaderInvocation | LoraLoaderInvocation | DynamicPromptInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | ParamFloatInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | FloatLinearRangeInvocation | StepParamEasingInvocation | UpscaleInvocation | RestoreFaceInvocation | InpaintInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | LatentsToLatentsInvocation)>; nodes?: Record<string, (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | SD1ModelLoaderInvocation | SD2ModelLoaderInvocation | LoraLoaderInvocation | DynamicPromptInvocation | CompelInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ParamIntInvocation | ParamFloatInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | CvInpaintInvocation | RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | FloatLinearRangeInvocation | StepParamEasingInvocation | UpscaleInvocation | RestoreFaceInvocation | InpaintInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | LatentsToLatentsInvocation)>;
=======
nodes?: Record<string, (RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | SD1ModelLoaderInvocation | SD2ModelLoaderInvocation | LoraLoaderInvocation | 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 | DynamicPromptInvocation | RestoreFaceInvocation | UpscaleInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | ImageToImageInvocation | LatentsToLatentsInvocation | InpaintInvocation)>;
>>>>>>> 76dd749b1 (chore: Rebuild API)
/** /**
* The connections between nodes and their fields in this graph * The connections between nodes and their fields in this graph
*/ */
edges?: Array<Edge>; edges?: Array<Edge>;
}; };

View File

@ -48,7 +48,11 @@ export type GraphExecutionState = {
/** /**
* The results of node executions * The results of node executions
*/ */
<<<<<<< HEAD
results: Record<string, (ImageOutput | MaskOutput | ControlOutput | ModelLoaderOutput | LoraLoaderOutput | PromptOutput | PromptCollectionOutput | CompelOutput | IntOutput | FloatOutput | LatentsOutput | NoiseOutput | IntCollectionOutput | FloatCollectionOutput | GraphInvocationOutput | IterateInvocationOutput | CollectInvocationOutput)>; results: Record<string, (ImageOutput | MaskOutput | ControlOutput | ModelLoaderOutput | LoraLoaderOutput | PromptOutput | PromptCollectionOutput | CompelOutput | IntOutput | FloatOutput | LatentsOutput | NoiseOutput | IntCollectionOutput | FloatCollectionOutput | GraphInvocationOutput | IterateInvocationOutput | CollectInvocationOutput)>;
=======
results: Record<string, (IntCollectionOutput | FloatCollectionOutput | ModelLoaderOutput | LoraLoaderOutput | CompelOutput | ImageOutput | MaskOutput | ControlOutput | LatentsOutput | NoiseOutput | IntOutput | FloatOutput | PromptOutput | PromptCollectionOutput | GraphInvocationOutput | IterateInvocationOutput | CollectInvocationOutput)>;
>>>>>>> 76dd749b1 (chore: Rebuild API)
/** /**
* Errors raised when executing nodes * Errors raised when executing nodes
*/ */
@ -62,4 +66,3 @@ export type GraphExecutionState = {
*/ */
source_prepared_mapping: Record<string, Array<string>>; source_prepared_mapping: Record<string, Array<string>>;
}; };

View File

@ -22,4 +22,3 @@ export type GraphInvocation = {
*/ */
graph?: Graph; graph?: Graph;
}; };

View File

@ -8,4 +8,3 @@
export type GraphInvocationOutput = { export type GraphInvocationOutput = {
type: 'graph_output'; type: 'graph_output';
}; };

View File

@ -7,4 +7,3 @@ import type { ValidationError } from './ValidationError';
export type HTTPValidationError = { export type HTTPValidationError = {
detail?: Array<ValidationError>; detail?: Array<ValidationError>;
}; };

View File

@ -34,4 +34,3 @@ export type HedImageProcessorInvocation = {
*/ */
scribble?: boolean; scribble?: boolean;
}; };

View File

@ -30,4 +30,3 @@ export type ImageBlurInvocation = {
*/ */
blur_type?: 'gaussian' | 'box'; blur_type?: 'gaussian' | 'box';
}; };

View File

@ -26,4 +26,3 @@ export type ImageChannelInvocation = {
*/ */
channel?: 'A' | 'R' | 'G' | 'B'; channel?: 'A' | 'R' | 'G' | 'B';
}; };

View File

@ -26,4 +26,3 @@ export type ImageConvertInvocation = {
*/ */
mode?: 'L' | 'RGB' | 'RGBA' | 'CMYK' | 'YCbCr' | 'LAB' | 'HSV' | 'I' | 'F'; mode?: 'L' | 'RGB' | 'RGBA' | 'CMYK' | 'YCbCr' | 'LAB' | 'HSV' | 'I' | 'F';
}; };

View File

@ -38,4 +38,3 @@ export type ImageCropInvocation = {
*/ */
height?: number; height?: number;
}; };

View File

@ -71,4 +71,3 @@ export type ImageDTO = {
*/ */
board_id?: string; board_id?: string;
}; };

View File

@ -11,4 +11,3 @@ export type ImageField = {
*/ */
image_name: string; image_name: string;
}; };

View File

@ -30,4 +30,3 @@ export type ImageInverseLerpInvocation = {
*/ */
max?: number; max?: number;
}; };

View File

@ -30,4 +30,3 @@ export type ImageLerpInvocation = {
*/ */
max?: number; max?: number;
}; };

View File

@ -78,4 +78,3 @@ export type ImageMetadata = {
*/ */
extra?: string; extra?: string;
}; };

View File

@ -26,4 +26,3 @@ export type ImageMultiplyInvocation = {
*/ */
image2?: ImageField; image2?: ImageField;
}; };

View File

@ -22,4 +22,3 @@ export type ImageOutput = {
*/ */
height: number; height: number;
}; };

View File

@ -38,4 +38,3 @@ export type ImagePasteInvocation = {
*/ */
'y'?: number; 'y'?: number;
}; };

View File

@ -22,4 +22,3 @@ export type ImageProcessorInvocation = {
*/ */
image?: ImageField; image?: ImageField;
}; };

View File

@ -26,4 +26,3 @@ export type ImageRecordChanges = {
*/ */
is_intermediate?: boolean; is_intermediate?: boolean;
}; };

View File

@ -34,4 +34,3 @@ export type ImageResizeInvocation = {
*/ */
resample_mode?: 'nearest' | 'box' | 'bilinear' | 'hamming' | 'bicubic' | 'lanczos'; resample_mode?: 'nearest' | 'box' | 'bilinear' | 'hamming' | 'bicubic' | 'lanczos';
}; };

View File

@ -30,4 +30,3 @@ export type ImageScaleInvocation = {
*/ */
resample_mode?: 'nearest' | 'box' | 'bilinear' | 'hamming' | 'bicubic' | 'lanczos'; resample_mode?: 'nearest' | 'box' | 'bilinear' | 'hamming' | 'bicubic' | 'lanczos';
}; };

View File

@ -0,0 +1,76 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ImageField } from './ImageField';
/**
* Generates an image using img2img.
*/
export type ImageToImageInvocation = {
/**
* 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?: 'img2img';
/**
* The prompt to generate an image from
*/
prompt?: string;
/**
* The seed to use (omit for random)
*/
seed?: number;
/**
* The number of steps to use to generate the image
*/
steps?: number;
/**
* The width of the resulting image
*/
width?: number;
/**
* The height of the resulting image
*/
height?: number;
/**
* The Classifier-Free Guidance, higher values may result in a result closer to the prompt
*/
cfg_scale?: number;
/**
* The scheduler to use
*/
scheduler?: 'ddim' | 'ddpm' | 'deis' | 'lms' | 'pndm' | 'heun' | 'heun_k' | 'euler' | 'euler_k' | 'euler_a' | 'kdpm_2' | 'kdpm_2_a' | 'dpmpp_2s' | 'dpmpp_2m' | 'dpmpp_2m_k' | 'unipc';
/**
* The model to use (currently ignored)
*/
model?: string;
/**
* Whether or not to produce progress images during generation
*/
progress_images?: boolean;
/**
* The control model to use
*/
control_model?: string;
/**
* The processed control image
*/
control_image?: ImageField;
/**
* The input image
*/
image?: ImageField;
/**
* The strength of the original image
*/
strength?: number;
/**
* Whether or not the result should be fit to the aspect ratio of the input image
*/
fit?: boolean;
};

View File

@ -31,4 +31,3 @@ export type ImageToLatentsInvocation = {
*/ */
tiled?: boolean; tiled?: boolean;
}; };

View File

@ -19,4 +19,3 @@ export type ImageUrlsDTO = {
*/ */
thumbnail_url: string; thumbnail_url: string;
}; };

View File

@ -27,4 +27,3 @@ export type InfillColorInvocation = {
*/ */
color?: ColorField; color?: ColorField;
}; };

View File

@ -22,4 +22,3 @@ export type InfillPatchMatchInvocation = {
*/ */
image?: ImageField; image?: ImageField;
}; };

View File

@ -30,4 +30,3 @@ export type InfillTileInvocation = {
*/ */
seed?: number; seed?: number;
}; };

View File

@ -118,4 +118,3 @@ export type InpaintInvocation = {
*/ */
inpaint_replace?: number; inpaint_replace?: number;
}; };

View File

@ -12,4 +12,3 @@ export type IntCollectionOutput = {
*/ */
collection?: Array<number>; collection?: Array<number>;
}; };

View File

@ -12,4 +12,3 @@ export type IntOutput = {
*/ */
'a'?: number; 'a'?: number;
}; };

View File

@ -24,4 +24,3 @@ export type IterateInvocation = {
*/ */
index?: number; index?: number;
}; };

View File

@ -12,4 +12,3 @@ export type IterateInvocationOutput = {
*/ */
item: any; item: any;
}; };

View File

@ -11,4 +11,3 @@ export type LatentsField = {
*/ */
latents_name: string; latents_name: string;
}; };

View File

@ -22,4 +22,3 @@ export type LatentsOutput = {
*/ */
height: number; height: number;
}; };

View File

@ -31,4 +31,3 @@ export type LatentsToImageInvocation = {
*/ */
tiled?: boolean; tiled?: boolean;
}; };

View File

@ -61,4 +61,3 @@ export type LatentsToLatentsInvocation = {
*/ */
strength?: number; strength?: number;
}; };

View File

@ -30,4 +30,3 @@ export type LineartAnimeImageProcessorInvocation = {
*/ */
image_resolution?: number; image_resolution?: number;
}; };

View File

@ -34,4 +34,3 @@ export type LineartImageProcessorInvocation = {
*/ */
coarse?: boolean; coarse?: boolean;
}; };

View File

@ -22,4 +22,3 @@ export type LoadImageInvocation = {
*/ */
image?: ImageField; image?: ImageField;
}; };

View File

@ -28,4 +28,7 @@ export type LoraInfo = {
*/ */
weight: number; weight: number;
}; };
<<<<<<< HEAD
=======
>>>>>>> 76dd749b1 (chore: Rebuild API)

View File

@ -35,4 +35,7 @@ export type LoraLoaderInvocation = {
*/ */
clip?: ClipField; clip?: ClipField;
}; };
<<<<<<< HEAD
=======
>>>>>>> 76dd749b1 (chore: Rebuild API)

View File

@ -19,4 +19,7 @@ export type LoraLoaderOutput = {
*/ */
clip?: ClipField; clip?: ClipField;
}; };
<<<<<<< HEAD
=======
>>>>>>> 76dd749b1 (chore: Rebuild API)

View File

@ -0,0 +1,13 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ModelError } from './ModelError';
export type LoraModelConfig = {
path: string;
description?: string;
format: ('lycoris' | 'diffusers');
default?: boolean;
error?: ModelError;
};

View File

@ -26,4 +26,3 @@ export type MaskFromAlphaInvocation = {
*/ */
invert?: boolean; invert?: boolean;
}; };

View File

@ -22,4 +22,3 @@ export type MaskOutput = {
*/ */
height?: number; height?: number;
}; };

View File

@ -30,4 +30,3 @@ export type MediapipeFaceProcessorInvocation = {
*/ */
min_confidence?: number; min_confidence?: number;
}; };

View File

@ -30,4 +30,3 @@ export type MidasDepthImageProcessorInvocation = {
*/ */
bg_th?: number; bg_th?: number;
}; };

View File

@ -38,4 +38,3 @@ export type MlsdImageProcessorInvocation = {
*/ */
thr_d?: number; thr_d?: number;
}; };

View File

@ -24,4 +24,7 @@ export type ModelInfo = {
*/ */
submodel?: SubModelType; submodel?: SubModelType;
}; };
<<<<<<< HEAD
=======
>>>>>>> 76dd749b1 (chore: Rebuild API)

View File

@ -24,4 +24,7 @@ export type ModelLoaderOutput = {
*/ */
vae?: VaeField; vae?: VaeField;
}; };
<<<<<<< HEAD
=======
>>>>>>> 76dd749b1 (chore: Rebuild API)

View File

@ -2,6 +2,7 @@
/* tslint:disable */ /* tslint:disable */
/* eslint-disable */ /* eslint-disable */
<<<<<<< HEAD
import type { invokeai__backend__model_management__models__controlnet__ControlNetModel__Config } from './invokeai__backend__model_management__models__controlnet__ControlNetModel__Config'; import type { invokeai__backend__model_management__models__controlnet__ControlNetModel__Config } from './invokeai__backend__model_management__models__controlnet__ControlNetModel__Config';
import type { invokeai__backend__model_management__models__lora__LoRAModel__Config } from './invokeai__backend__model_management__models__lora__LoRAModel__Config'; import type { invokeai__backend__model_management__models__lora__LoRAModel__Config } from './invokeai__backend__model_management__models__lora__LoRAModel__Config';
import type { invokeai__backend__model_management__models__stable_diffusion__StableDiffusion1Model__CheckpointConfig } from './invokeai__backend__model_management__models__stable_diffusion__StableDiffusion1Model__CheckpointConfig'; import type { invokeai__backend__model_management__models__stable_diffusion__StableDiffusion1Model__CheckpointConfig } from './invokeai__backend__model_management__models__stable_diffusion__StableDiffusion1Model__CheckpointConfig';
@ -13,5 +14,17 @@ import type { invokeai__backend__model_management__models__vae__VaeModel__Config
export type ModelsList = { export type ModelsList = {
models: Record<string, Record<string, Record<string, (invokeai__backend__model_management__models__stable_diffusion__StableDiffusion1Model__DiffusersConfig | invokeai__backend__model_management__models__controlnet__ControlNetModel__Config | invokeai__backend__model_management__models__lora__LoRAModel__Config | invokeai__backend__model_management__models__stable_diffusion__StableDiffusion2Model__DiffusersConfig | invokeai__backend__model_management__models__textual_inversion__TextualInversionModel__Config | invokeai__backend__model_management__models__vae__VaeModel__Config | invokeai__backend__model_management__models__stable_diffusion__StableDiffusion2Model__CheckpointConfig | invokeai__backend__model_management__models__stable_diffusion__StableDiffusion1Model__CheckpointConfig)>>>; models: Record<string, Record<string, Record<string, (invokeai__backend__model_management__models__stable_diffusion__StableDiffusion1Model__DiffusersConfig | invokeai__backend__model_management__models__controlnet__ControlNetModel__Config | invokeai__backend__model_management__models__lora__LoRAModel__Config | invokeai__backend__model_management__models__stable_diffusion__StableDiffusion2Model__DiffusersConfig | invokeai__backend__model_management__models__textual_inversion__TextualInversionModel__Config | invokeai__backend__model_management__models__vae__VaeModel__Config | invokeai__backend__model_management__models__stable_diffusion__StableDiffusion2Model__CheckpointConfig | invokeai__backend__model_management__models__stable_diffusion__StableDiffusion1Model__CheckpointConfig)>>>;
}; =======
import type { ControlNetModelConfig } from './ControlNetModelConfig';
import type { LoraModelConfig } from './LoraModelConfig';
import type { StableDiffusion1CheckpointModelConfig } from './StableDiffusion1CheckpointModelConfig';
import type { StableDiffusion1DiffusersModelConfig } from './StableDiffusion1DiffusersModelConfig';
import type { StableDiffusion2CheckpointModelConfig } from './StableDiffusion2CheckpointModelConfig';
import type { StableDiffusion2DiffusersModelConfig } from './StableDiffusion2DiffusersModelConfig';
import type { TextualInversionModelConfig } from './TextualInversionModelConfig';
import type { VAEModelConfig } from './VAEModelConfig';
export type ModelsList = {
models: Record<string, Record<string, Record<string, (StableDiffusion2DiffusersModelConfig | ControlNetModelConfig | LoraModelConfig | StableDiffusion1CheckpointModelConfig | TextualInversionModelConfig | StableDiffusion1DiffusersModelConfig | StableDiffusion2CheckpointModelConfig | VAEModelConfig)>>>;
>>>>>>> 76dd749b1 (chore: Rebuild API)
};

View File

@ -24,4 +24,3 @@ export type MultiplyInvocation = {
*/ */
'b'?: number; 'b'?: number;
}; };

View File

@ -28,4 +28,3 @@ export type NoiseInvocation = {
*/ */
height?: number; height?: number;
}; };

View File

@ -22,4 +22,3 @@ export type NoiseOutput = {
*/ */
height: number; height: number;
}; };

View File

@ -30,4 +30,3 @@ export type NormalbaeImageProcessorInvocation = {
*/ */
image_resolution?: number; image_resolution?: number;
}; };

View File

@ -25,4 +25,3 @@ export type OffsetPaginatedResults_ImageDTO_ = {
*/ */
total: number; total: number;
}; };

View File

@ -34,4 +34,3 @@ export type OpenposeImageProcessorInvocation = {
*/ */
image_resolution?: number; image_resolution?: number;
}; };

View File

@ -29,4 +29,3 @@ export type PaginatedResults_GraphExecutionState_ = {
*/ */
total: number; total: number;
}; };

View File

@ -20,4 +20,3 @@ export type ParamFloatInvocation = {
*/ */
param?: number; param?: number;
}; };

View File

@ -20,4 +20,3 @@ export type ParamIntInvocation = {
*/ */
'a'?: number; 'a'?: number;
}; };

View File

@ -38,4 +38,3 @@ export type PidiImageProcessorInvocation = {
*/ */
scribble?: boolean; scribble?: boolean;
}; };

View File

@ -16,4 +16,3 @@ export type PromptCollectionOutput = {
*/ */
count: number; count: number;
}; };

View File

@ -12,4 +12,3 @@ export type PromptOutput = {
*/ */
prompt: string; prompt: string;
}; };

View File

@ -24,4 +24,3 @@ export type RandomIntInvocation = {
*/ */
high?: number; high?: number;
}; };

View File

@ -32,4 +32,3 @@ export type RandomRangeInvocation = {
*/ */
seed?: number; seed?: number;
}; };

View File

@ -28,4 +28,3 @@ export type RangeInvocation = {
*/ */
step?: number; step?: number;
}; };

View File

@ -28,4 +28,3 @@ export type RangeOfSizeInvocation = {
*/ */
step?: number; step?: number;
}; };

View File

@ -38,4 +38,3 @@ export type ResizeLatentsInvocation = {
*/ */
antialias?: boolean; antialias?: boolean;
}; };

View File

@ -26,4 +26,3 @@ export type RestoreFaceInvocation = {
*/ */
strength?: number; strength?: number;
}; };

View File

@ -20,4 +20,7 @@ export type SD1ModelLoaderInvocation = {
*/ */
model_name?: string; model_name?: string;
}; };
<<<<<<< HEAD
=======
>>>>>>> 76dd749b1 (chore: Rebuild API)

View File

@ -20,4 +20,7 @@ export type SD2ModelLoaderInvocation = {
*/ */
model_name?: string; model_name?: string;
}; };
<<<<<<< HEAD
=======
>>>>>>> 76dd749b1 (chore: Rebuild API)

View File

@ -34,4 +34,3 @@ export type ScaleLatentsInvocation = {
*/ */
antialias?: boolean; antialias?: boolean;
}; };

Some files were not shown because too many files have changed in this diff Show More