chore(ui): regen api client

This commit is contained in:
psychedelicious 2023-06-22 17:36:20 +10:00
parent 42a59aa147
commit 3722cdf5d6
135 changed files with 387 additions and 636 deletions

View File

@ -8,13 +8,10 @@ export type { OpenAPIConfig } from './core/OpenAPI';
export type { AddInvocation } from './models/AddInvocation';
export type { BaseModelType } from './models/BaseModelType';
<<<<<<< HEAD
export type { BoardChanges } from './models/BoardChanges';
export type { BoardDTO } from './models/BoardDTO';
export type { Body_create_board_image } from './models/Body_create_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 { CannyImageProcessorInvocation } from './models/CannyImageProcessorInvocation';
export type { CkptModelInfo } from './models/CkptModelInfo';
@ -29,6 +26,7 @@ export type { ContentShuffleImageProcessorInvocation } from './models/ContentShu
export type { ControlField } from './models/ControlField';
export type { ControlNetInvocation } from './models/ControlNetInvocation';
export type { ControlNetModelConfig } from './models/ControlNetModelConfig';
export type { ControlNetModelFormat } from './models/ControlNetModelFormat';
export type { ControlOutput } from './models/ControlOutput';
export type { CreateModelRequest } from './models/CreateModelRequest';
export type { CvInpaintInvocation } from './models/CvInpaintInvocation';
@ -71,14 +69,6 @@ export type { InfillTileInvocation } from './models/InfillTileInvocation';
export type { InpaintInvocation } from './models/InpaintInvocation';
export type { IntCollectionOutput } from './models/IntCollectionOutput';
export type { IntOutput } from './models/IntOutput';
export type { invokeai__backend__model_management__models__controlnet__ControlNetModel__Config } from './models/invokeai__backend__model_management__models__controlnet__ControlNetModel__Config';
export type { invokeai__backend__model_management__models__lora__LoRAModel__Config } from './models/invokeai__backend__model_management__models__lora__LoRAModel__Config';
export type { invokeai__backend__model_management__models__stable_diffusion__StableDiffusion1Model__CheckpointConfig } from './models/invokeai__backend__model_management__models__stable_diffusion__StableDiffusion1Model__CheckpointConfig';
export type { invokeai__backend__model_management__models__stable_diffusion__StableDiffusion1Model__DiffusersConfig } from './models/invokeai__backend__model_management__models__stable_diffusion__StableDiffusion1Model__DiffusersConfig';
export type { invokeai__backend__model_management__models__stable_diffusion__StableDiffusion2Model__CheckpointConfig } from './models/invokeai__backend__model_management__models__stable_diffusion__StableDiffusion2Model__CheckpointConfig';
export type { invokeai__backend__model_management__models__stable_diffusion__StableDiffusion2Model__DiffusersConfig } from './models/invokeai__backend__model_management__models__stable_diffusion__StableDiffusion2Model__DiffusersConfig';
export type { invokeai__backend__model_management__models__textual_inversion__TextualInversionModel__Config } from './models/invokeai__backend__model_management__models__textual_inversion__TextualInversionModel__Config';
export type { invokeai__backend__model_management__models__vae__VaeModel__Config } from './models/invokeai__backend__model_management__models__vae__VaeModel__Config';
export type { IterateInvocation } from './models/IterateInvocation';
export type { IterateInvocationOutput } from './models/IterateInvocationOutput';
export type { LatentsField } from './models/LatentsField';
@ -91,14 +81,8 @@ export type { LoadImageInvocation } from './models/LoadImageInvocation';
export type { LoraInfo } from './models/LoraInfo';
export type { LoraLoaderInvocation } from './models/LoraLoaderInvocation';
export type { LoraLoaderOutput } from './models/LoraLoaderOutput';
<<<<<<< HEAD
<<<<<<< HEAD
=======
export type { LoraModelConfig } from './models/LoraModelConfig';
>>>>>>> 76dd749b1 (chore: Rebuild API)
=======
export type { LoRAModelConfig } from './models/LoRAModelConfig';
>>>>>>> 0f3b7d2b3 (chore: Rebuild API with new Model API names)
export type { LoRAModelFormat } from './models/LoRAModelFormat';
export type { MaskFromAlphaInvocation } from './models/MaskFromAlphaInvocation';
export type { MaskOutput } from './models/MaskOutput';
export type { MediapipeFaceProcessorInvocation } from './models/MediapipeFaceProcessorInvocation';
@ -121,6 +105,7 @@ export type { PaginatedResults_GraphExecutionState_ } from './models/PaginatedRe
export type { ParamFloatInvocation } from './models/ParamFloatInvocation';
export type { ParamIntInvocation } from './models/ParamIntInvocation';
export type { PidiImageProcessorInvocation } from './models/PidiImageProcessorInvocation';
export type { PipelineModelField } from './models/PipelineModelField';
export type { PromptCollectionOutput } from './models/PromptCollectionOutput';
export type { PromptOutput } from './models/PromptOutput';
export type { RandomIntInvocation } from './models/RandomIntInvocation';
@ -134,30 +119,24 @@ export type { ScaleLatentsInvocation } from './models/ScaleLatentsInvocation';
export type { SchedulerPredictionType } from './models/SchedulerPredictionType';
export type { SD1ModelLoaderInvocation } from './models/SD1ModelLoaderInvocation';
export type { SD2ModelLoaderInvocation } from './models/SD2ModelLoaderInvocation';
export type { SDModelLoaderInvocation } from './models/SDModelLoaderInvocation';
export type { ShowImageInvocation } from './models/ShowImageInvocation';
export type { StableDiffusion1ModelCheckpointConfig } from './models/StableDiffusion1ModelCheckpointConfig';
export type { StableDiffusion1ModelDiffusersConfig } from './models/StableDiffusion1ModelDiffusersConfig';
export type { StableDiffusion1ModelFormat } from './models/StableDiffusion1ModelFormat';
export type { StableDiffusion2ModelCheckpointConfig } from './models/StableDiffusion2ModelCheckpointConfig';
export type { StableDiffusion2ModelDiffusersConfig } from './models/StableDiffusion2ModelDiffusersConfig';
export type { StableDiffusion2ModelFormat } from './models/StableDiffusion2ModelFormat';
export type { StepParamEasingInvocation } from './models/StepParamEasingInvocation';
export type { SubModelType } from './models/SubModelType';
export type { SubtractInvocation } from './models/SubtractInvocation';
export type { TextToLatentsInvocation } from './models/TextToLatentsInvocation';
<<<<<<< HEAD
export type { UNetField } from './models/UNetField';
export type { UpscaleInvocation } from './models/UpscaleInvocation';
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';
<<<<<<< HEAD
export type { VAEModelConfig } from './models/VAEModelConfig';
>>>>>>> 76dd749b1 (chore: Rebuild API)
=======
export type { VaeModelConfig } from './models/VaeModelConfig';
>>>>>>> 0f3b7d2b3 (chore: Rebuild API with new Model API names)
export type { VaeModelFormat } from './models/VaeModelFormat';
export type { VaeRepo } from './models/VaeRepo';
export type { ValidationError } from './models/ValidationError';
export type { ZoeDepthImageProcessorInvocation } from './models/ZoeDepthImageProcessorInvocation';

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -3,16 +3,16 @@
/* eslint-disable */
import type { BaseModelType } from './BaseModelType';
import type { ControlNetModelFormat } from './ControlNetModelFormat';
import type { ModelError } from './ModelError';
import type { ModelType } from './ModelType';
export type ControlNetModelConfig = {
name: string;
base_model: BaseModelType;
type: ModelType;
type: 'controlnet';
path: string;
description?: string;
format: ('checkpoint' | 'diffusers');
default?: boolean;
model_format: ControlNetModelFormat;
error?: ModelError;
};

View File

@ -0,0 +1,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* An enumeration.
*/
export type ControlNetModelFormat = 'checkpoint' | 'diffusers';

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -58,6 +58,7 @@ import type { RestoreFaceInvocation } from './RestoreFaceInvocation';
import type { ScaleLatentsInvocation } from './ScaleLatentsInvocation';
import type { SD1ModelLoaderInvocation } from './SD1ModelLoaderInvocation';
import type { SD2ModelLoaderInvocation } from './SD2ModelLoaderInvocation';
import type { SDModelLoaderInvocation } from './SDModelLoaderInvocation';
import type { ShowImageInvocation } from './ShowImageInvocation';
import type { StepParamEasingInvocation } from './StepParamEasingInvocation';
import type { SubtractInvocation } from './SubtractInvocation';
@ -73,13 +74,10 @@ export type 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, (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)
nodes?: Record<string, (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | SDModelLoaderInvocation | 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)>;
/**
* The connections between nodes and their fields in this graph
*/
edges?: Array<Edge>;
};

View File

@ -48,11 +48,7 @@ export type GraphExecutionState = {
/**
* 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, (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
*/
@ -66,3 +62,4 @@ export type GraphExecutionState = {
*/
source_prepared_mapping: Record<string, Array<string>>;
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,76 +0,0 @@
/* 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,3 +31,4 @@ export type ImageToLatentsInvocation = {
*/
tiled?: boolean;
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -3,16 +3,16 @@
/* eslint-disable */
import type { BaseModelType } from './BaseModelType';
import type { LoRAModelFormat } from './LoRAModelFormat';
import type { ModelError } from './ModelError';
import type { ModelType } from './ModelType';
export type LoRAModelConfig = {
name: string;
base_model: BaseModelType;
type: ModelType;
type: 'lora';
path: string;
description?: string;
format: ('lycoris' | 'diffusers');
default?: boolean;
model_format: LoRAModelFormat;
error?: ModelError;
};

View File

@ -0,0 +1,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
/**
* An enumeration.
*/
export type LoRAModelFormat = 'lycoris' | 'diffusers';

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -2,19 +2,6 @@
/* tslint: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__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__DiffusersConfig } from './invokeai__backend__model_management__models__stable_diffusion__StableDiffusion1Model__DiffusersConfig';
import type { invokeai__backend__model_management__models__stable_diffusion__StableDiffusion2Model__CheckpointConfig } from './invokeai__backend__model_management__models__stable_diffusion__StableDiffusion2Model__CheckpointConfig';
import type { invokeai__backend__model_management__models__stable_diffusion__StableDiffusion2Model__DiffusersConfig } from './invokeai__backend__model_management__models__stable_diffusion__StableDiffusion2Model__DiffusersConfig';
import type { invokeai__backend__model_management__models__textual_inversion__TextualInversionModel__Config } from './invokeai__backend__model_management__models__textual_inversion__TextualInversionModel__Config';
import type { invokeai__backend__model_management__models__vae__VaeModel__Config } from './invokeai__backend__model_management__models__vae__VaeModel__Config';
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)>>>;
=======
import type { ControlNetModelConfig } from './ControlNetModelConfig';
import type { LoRAModelConfig } from './LoRAModelConfig';
import type { StableDiffusion1ModelCheckpointConfig } from './StableDiffusion1ModelCheckpointConfig';
@ -25,14 +12,6 @@ import type { TextualInversionModelConfig } from './TextualInversionModelConfig'
import type { VaeModelConfig } from './VaeModelConfig';
export type ModelsList = {
<<<<<<< HEAD
<<<<<<< HEAD
models: Record<string, Record<string, Record<string, (StableDiffusion2DiffusersModelConfig | ControlNetModelConfig | LoraModelConfig | StableDiffusion1CheckpointModelConfig | TextualInversionModelConfig | StableDiffusion1DiffusersModelConfig | StableDiffusion2CheckpointModelConfig | VAEModelConfig)>>>;
>>>>>>> 76dd749b1 (chore: Rebuild API)
=======
models: Record<string, Record<string, Record<string, (StableDiffusion1ModelDiffusersConfig | StableDiffusion2ModelCheckpointConfig | TextualInversionModelConfig | ControlNetModelConfig | VaeModelConfig | StableDiffusion2ModelDiffusersConfig | LoRAModelConfig | StableDiffusion1ModelCheckpointConfig)>>>;
>>>>>>> 0f3b7d2b3 (chore: Rebuild API with new Model API names)
=======
models: Record<string, Record<string, Record<string, (TextualInversionModelConfig | StableDiffusion2ModelDiffusersConfig | ControlNetModelConfig | StableDiffusion2ModelCheckpointConfig | StableDiffusion1ModelCheckpointConfig | VaeModelConfig | StableDiffusion1ModelDiffusersConfig | LoRAModelConfig)>>>;
>>>>>>> 24673fd85 (chore: Rebuild API - base_model and type added)
models: Array<(StableDiffusion1ModelDiffusersConfig | StableDiffusion1ModelCheckpointConfig | VaeModelConfig | LoRAModelConfig | ControlNetModelConfig | TextualInversionModelConfig | StableDiffusion2ModelDiffusersConfig | StableDiffusion2ModelCheckpointConfig)>;
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -0,0 +1,20 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { BaseModelType } from './BaseModelType';
/**
* Pipeline model field
*/
export type PipelineModelField = {
/**
* Name of the model
*/
model_name: string;
/**
* Base model
*/
base_model: BaseModelType;
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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