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
42a59aa147
commit
3722cdf5d6
@ -8,13 +8,10 @@ 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';
|
||||||
@ -29,6 +26,7 @@ export type { ContentShuffleImageProcessorInvocation } from './models/ContentShu
|
|||||||
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 { ControlNetModelConfig } from './models/ControlNetModelConfig';
|
||||||
|
export type { ControlNetModelFormat } from './models/ControlNetModelFormat';
|
||||||
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';
|
||||||
@ -71,14 +69,6 @@ export type { InfillTileInvocation } from './models/InfillTileInvocation';
|
|||||||
export type { InpaintInvocation } from './models/InpaintInvocation';
|
export type { InpaintInvocation } from './models/InpaintInvocation';
|
||||||
export type { IntCollectionOutput } from './models/IntCollectionOutput';
|
export type { IntCollectionOutput } from './models/IntCollectionOutput';
|
||||||
export type { IntOutput } from './models/IntOutput';
|
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 { IterateInvocation } from './models/IterateInvocation';
|
||||||
export type { IterateInvocationOutput } from './models/IterateInvocationOutput';
|
export type { IterateInvocationOutput } from './models/IterateInvocationOutput';
|
||||||
export type { LatentsField } from './models/LatentsField';
|
export type { LatentsField } from './models/LatentsField';
|
||||||
@ -91,14 +81,8 @@ 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
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
export type { LoraModelConfig } from './models/LoraModelConfig';
|
|
||||||
>>>>>>> 76dd749b1 (chore: Rebuild API)
|
|
||||||
=======
|
|
||||||
export type { LoRAModelConfig } from './models/LoRAModelConfig';
|
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 { 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';
|
||||||
@ -121,6 +105,7 @@ export type { PaginatedResults_GraphExecutionState_ } from './models/PaginatedRe
|
|||||||
export type { ParamFloatInvocation } from './models/ParamFloatInvocation';
|
export type { ParamFloatInvocation } from './models/ParamFloatInvocation';
|
||||||
export type { ParamIntInvocation } from './models/ParamIntInvocation';
|
export type { ParamIntInvocation } from './models/ParamIntInvocation';
|
||||||
export type { PidiImageProcessorInvocation } from './models/PidiImageProcessorInvocation';
|
export type { PidiImageProcessorInvocation } from './models/PidiImageProcessorInvocation';
|
||||||
|
export type { PipelineModelField } from './models/PipelineModelField';
|
||||||
export type { PromptCollectionOutput } from './models/PromptCollectionOutput';
|
export type { PromptCollectionOutput } from './models/PromptCollectionOutput';
|
||||||
export type { PromptOutput } from './models/PromptOutput';
|
export type { PromptOutput } from './models/PromptOutput';
|
||||||
export type { RandomIntInvocation } from './models/RandomIntInvocation';
|
export type { RandomIntInvocation } from './models/RandomIntInvocation';
|
||||||
@ -134,30 +119,24 @@ export type { ScaleLatentsInvocation } from './models/ScaleLatentsInvocation';
|
|||||||
export type { SchedulerPredictionType } from './models/SchedulerPredictionType';
|
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 { SDModelLoaderInvocation } from './models/SDModelLoaderInvocation';
|
||||||
export type { ShowImageInvocation } from './models/ShowImageInvocation';
|
export type { ShowImageInvocation } from './models/ShowImageInvocation';
|
||||||
export type { StableDiffusion1ModelCheckpointConfig } from './models/StableDiffusion1ModelCheckpointConfig';
|
export type { StableDiffusion1ModelCheckpointConfig } from './models/StableDiffusion1ModelCheckpointConfig';
|
||||||
export type { StableDiffusion1ModelDiffusersConfig } from './models/StableDiffusion1ModelDiffusersConfig';
|
export type { StableDiffusion1ModelDiffusersConfig } from './models/StableDiffusion1ModelDiffusersConfig';
|
||||||
|
export type { StableDiffusion1ModelFormat } from './models/StableDiffusion1ModelFormat';
|
||||||
export type { StableDiffusion2ModelCheckpointConfig } from './models/StableDiffusion2ModelCheckpointConfig';
|
export type { StableDiffusion2ModelCheckpointConfig } from './models/StableDiffusion2ModelCheckpointConfig';
|
||||||
export type { StableDiffusion2ModelDiffusersConfig } from './models/StableDiffusion2ModelDiffusersConfig';
|
export type { StableDiffusion2ModelDiffusersConfig } from './models/StableDiffusion2ModelDiffusersConfig';
|
||||||
|
export type { StableDiffusion2ModelFormat } from './models/StableDiffusion2ModelFormat';
|
||||||
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 { UpscaleInvocation } from './models/UpscaleInvocation';
|
|
||||||
export type { VaeField } from './models/VaeField';
|
|
||||||
=======
|
|
||||||
export type { TextualInversionModelConfig } from './models/TextualInversionModelConfig';
|
export type { TextualInversionModelConfig } from './models/TextualInversionModelConfig';
|
||||||
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';
|
||||||
<<<<<<< HEAD
|
|
||||||
export type { VAEModelConfig } from './models/VAEModelConfig';
|
|
||||||
>>>>>>> 76dd749b1 (chore: Rebuild API)
|
|
||||||
=======
|
|
||||||
export type { VaeModelConfig } from './models/VaeModelConfig';
|
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 { 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';
|
||||||
|
@ -24,3 +24,4 @@ export type AddInvocation = {
|
|||||||
*/
|
*/
|
||||||
'b'?: number;
|
'b'?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -5,3 +5,4 @@
|
|||||||
export type Body_upload_image = {
|
export type Body_upload_image = {
|
||||||
file: Blob;
|
file: Blob;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -30,3 +30,4 @@ export type CannyImageProcessorInvocation = {
|
|||||||
*/
|
*/
|
||||||
high_threshold?: number;
|
high_threshold?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -37,3 +37,4 @@ export type CkptModelInfo = {
|
|||||||
*/
|
*/
|
||||||
height?: number;
|
height?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -19,7 +19,4 @@ export type ClipField = {
|
|||||||
*/
|
*/
|
||||||
loras: Array<LoraInfo>;
|
loras: Array<LoraInfo>;
|
||||||
};
|
};
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
=======
|
|
||||||
>>>>>>> 76dd749b1 (chore: Rebuild API)
|
|
||||||
|
@ -24,3 +24,4 @@ export type CollectInvocation = {
|
|||||||
*/
|
*/
|
||||||
collection?: Array<any>;
|
collection?: Array<any>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -12,3 +12,4 @@ export type CollectInvocationOutput = {
|
|||||||
*/
|
*/
|
||||||
collection: Array<any>;
|
collection: Array<any>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -20,3 +20,4 @@ export type ColorField = {
|
|||||||
*/
|
*/
|
||||||
'a': number;
|
'a': number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -26,3 +26,4 @@ export type CompelInvocation = {
|
|||||||
*/
|
*/
|
||||||
clip?: ClipField;
|
clip?: ClipField;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -14,3 +14,4 @@ export type CompelOutput = {
|
|||||||
*/
|
*/
|
||||||
conditioning?: ConditioningField;
|
conditioning?: ConditioningField;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -8,3 +8,4 @@ export type ConditioningField = {
|
|||||||
*/
|
*/
|
||||||
conditioning_name: string;
|
conditioning_name: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -42,3 +42,4 @@ export type ContentShuffleImageProcessorInvocation = {
|
|||||||
*/
|
*/
|
||||||
'f'?: number;
|
'f'?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -26,3 +26,4 @@ export type ControlField = {
|
|||||||
*/
|
*/
|
||||||
end_step_percent: number;
|
end_step_percent: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -38,3 +38,4 @@ export type ControlNetInvocation = {
|
|||||||
*/
|
*/
|
||||||
end_step_percent?: number;
|
end_step_percent?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -3,16 +3,16 @@
|
|||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { BaseModelType } from './BaseModelType';
|
import type { BaseModelType } from './BaseModelType';
|
||||||
|
import type { ControlNetModelFormat } from './ControlNetModelFormat';
|
||||||
import type { ModelError } from './ModelError';
|
import type { ModelError } from './ModelError';
|
||||||
import type { ModelType } from './ModelType';
|
|
||||||
|
|
||||||
export type ControlNetModelConfig = {
|
export type ControlNetModelConfig = {
|
||||||
name: string;
|
name: string;
|
||||||
base_model: BaseModelType;
|
base_model: BaseModelType;
|
||||||
type: ModelType;
|
type: 'controlnet';
|
||||||
path: string;
|
path: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
format: ('checkpoint' | 'diffusers');
|
model_format: ControlNetModelFormat;
|
||||||
default?: boolean;
|
|
||||||
error?: ModelError;
|
error?: ModelError;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
/* istanbul ignore file */
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An enumeration.
|
||||||
|
*/
|
||||||
|
export type ControlNetModelFormat = 'checkpoint' | 'diffusers';
|
@ -14,3 +14,4 @@ export type ControlOutput = {
|
|||||||
*/
|
*/
|
||||||
control?: ControlField;
|
control?: ControlField;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -15,3 +15,4 @@ export type CreateModelRequest = {
|
|||||||
*/
|
*/
|
||||||
info: (CkptModelInfo | DiffusersModelInfo);
|
info: (CkptModelInfo | DiffusersModelInfo);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -26,3 +26,4 @@ export type CvInpaintInvocation = {
|
|||||||
*/
|
*/
|
||||||
mask?: ImageField;
|
mask?: ImageField;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -31,3 +31,4 @@ export type DiffusersModelInfo = {
|
|||||||
*/
|
*/
|
||||||
path?: string;
|
path?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -24,3 +24,4 @@ export type DivideInvocation = {
|
|||||||
*/
|
*/
|
||||||
'b'?: number;
|
'b'?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -28,3 +28,4 @@ export type DynamicPromptInvocation = {
|
|||||||
*/
|
*/
|
||||||
combinatorial?: boolean;
|
combinatorial?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -14,3 +14,4 @@ export type Edge = {
|
|||||||
*/
|
*/
|
||||||
destination: EdgeConnection;
|
destination: EdgeConnection;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -12,3 +12,4 @@ export type EdgeConnection = {
|
|||||||
*/
|
*/
|
||||||
field: string;
|
field: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -12,3 +12,4 @@ export type FloatCollectionOutput = {
|
|||||||
*/
|
*/
|
||||||
collection?: Array<number>;
|
collection?: Array<number>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -28,3 +28,4 @@ export type FloatLinearRangeInvocation = {
|
|||||||
*/
|
*/
|
||||||
steps?: number;
|
steps?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -12,3 +12,4 @@ export type FloatOutput = {
|
|||||||
*/
|
*/
|
||||||
param?: number;
|
param?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -58,6 +58,7 @@ import type { RestoreFaceInvocation } from './RestoreFaceInvocation';
|
|||||||
import type { ScaleLatentsInvocation } from './ScaleLatentsInvocation';
|
import type { ScaleLatentsInvocation } from './ScaleLatentsInvocation';
|
||||||
import type { SD1ModelLoaderInvocation } from './SD1ModelLoaderInvocation';
|
import type { SD1ModelLoaderInvocation } from './SD1ModelLoaderInvocation';
|
||||||
import type { SD2ModelLoaderInvocation } from './SD2ModelLoaderInvocation';
|
import type { SD2ModelLoaderInvocation } from './SD2ModelLoaderInvocation';
|
||||||
|
import type { SDModelLoaderInvocation } from './SDModelLoaderInvocation';
|
||||||
import type { ShowImageInvocation } from './ShowImageInvocation';
|
import type { ShowImageInvocation } from './ShowImageInvocation';
|
||||||
import type { StepParamEasingInvocation } from './StepParamEasingInvocation';
|
import type { StepParamEasingInvocation } from './StepParamEasingInvocation';
|
||||||
import type { SubtractInvocation } from './SubtractInvocation';
|
import type { SubtractInvocation } from './SubtractInvocation';
|
||||||
@ -73,13 +74,10 @@ 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 | 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)>;
|
||||||
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>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -48,11 +48,7 @@ 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
|
||||||
*/
|
*/
|
||||||
@ -66,3 +62,4 @@ export type GraphExecutionState = {
|
|||||||
*/
|
*/
|
||||||
source_prepared_mapping: Record<string, Array<string>>;
|
source_prepared_mapping: Record<string, Array<string>>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -22,3 +22,4 @@ export type GraphInvocation = {
|
|||||||
*/
|
*/
|
||||||
graph?: Graph;
|
graph?: Graph;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -8,3 +8,4 @@
|
|||||||
export type GraphInvocationOutput = {
|
export type GraphInvocationOutput = {
|
||||||
type: 'graph_output';
|
type: 'graph_output';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -7,3 +7,4 @@ import type { ValidationError } from './ValidationError';
|
|||||||
export type HTTPValidationError = {
|
export type HTTPValidationError = {
|
||||||
detail?: Array<ValidationError>;
|
detail?: Array<ValidationError>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -34,3 +34,4 @@ export type HedImageProcessorInvocation = {
|
|||||||
*/
|
*/
|
||||||
scribble?: boolean;
|
scribble?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -30,3 +30,4 @@ export type ImageBlurInvocation = {
|
|||||||
*/
|
*/
|
||||||
blur_type?: 'gaussian' | 'box';
|
blur_type?: 'gaussian' | 'box';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -26,3 +26,4 @@ export type ImageChannelInvocation = {
|
|||||||
*/
|
*/
|
||||||
channel?: 'A' | 'R' | 'G' | 'B';
|
channel?: 'A' | 'R' | 'G' | 'B';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -26,3 +26,4 @@ export type ImageConvertInvocation = {
|
|||||||
*/
|
*/
|
||||||
mode?: 'L' | 'RGB' | 'RGBA' | 'CMYK' | 'YCbCr' | 'LAB' | 'HSV' | 'I' | 'F';
|
mode?: 'L' | 'RGB' | 'RGBA' | 'CMYK' | 'YCbCr' | 'LAB' | 'HSV' | 'I' | 'F';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -38,3 +38,4 @@ export type ImageCropInvocation = {
|
|||||||
*/
|
*/
|
||||||
height?: number;
|
height?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -71,3 +71,4 @@ export type ImageDTO = {
|
|||||||
*/
|
*/
|
||||||
board_id?: string;
|
board_id?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -11,3 +11,4 @@ export type ImageField = {
|
|||||||
*/
|
*/
|
||||||
image_name: string;
|
image_name: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -30,3 +30,4 @@ export type ImageInverseLerpInvocation = {
|
|||||||
*/
|
*/
|
||||||
max?: number;
|
max?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -30,3 +30,4 @@ export type ImageLerpInvocation = {
|
|||||||
*/
|
*/
|
||||||
max?: number;
|
max?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -78,3 +78,4 @@ export type ImageMetadata = {
|
|||||||
*/
|
*/
|
||||||
extra?: string;
|
extra?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -26,3 +26,4 @@ export type ImageMultiplyInvocation = {
|
|||||||
*/
|
*/
|
||||||
image2?: ImageField;
|
image2?: ImageField;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -22,3 +22,4 @@ export type ImageOutput = {
|
|||||||
*/
|
*/
|
||||||
height: number;
|
height: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -38,3 +38,4 @@ export type ImagePasteInvocation = {
|
|||||||
*/
|
*/
|
||||||
'y'?: number;
|
'y'?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -22,3 +22,4 @@ export type ImageProcessorInvocation = {
|
|||||||
*/
|
*/
|
||||||
image?: ImageField;
|
image?: ImageField;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -26,3 +26,4 @@ export type ImageRecordChanges = {
|
|||||||
*/
|
*/
|
||||||
is_intermediate?: boolean;
|
is_intermediate?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -34,3 +34,4 @@ export type ImageResizeInvocation = {
|
|||||||
*/
|
*/
|
||||||
resample_mode?: 'nearest' | 'box' | 'bilinear' | 'hamming' | 'bicubic' | 'lanczos';
|
resample_mode?: 'nearest' | 'box' | 'bilinear' | 'hamming' | 'bicubic' | 'lanczos';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -30,3 +30,4 @@ export type ImageScaleInvocation = {
|
|||||||
*/
|
*/
|
||||||
resample_mode?: 'nearest' | 'box' | 'bilinear' | 'hamming' | 'bicubic' | 'lanczos';
|
resample_mode?: 'nearest' | 'box' | 'bilinear' | 'hamming' | 'bicubic' | 'lanczos';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -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;
|
|
||||||
};
|
|
@ -31,3 +31,4 @@ export type ImageToLatentsInvocation = {
|
|||||||
*/
|
*/
|
||||||
tiled?: boolean;
|
tiled?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -19,3 +19,4 @@ export type ImageUrlsDTO = {
|
|||||||
*/
|
*/
|
||||||
thumbnail_url: string;
|
thumbnail_url: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -27,3 +27,4 @@ export type InfillColorInvocation = {
|
|||||||
*/
|
*/
|
||||||
color?: ColorField;
|
color?: ColorField;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -22,3 +22,4 @@ export type InfillPatchMatchInvocation = {
|
|||||||
*/
|
*/
|
||||||
image?: ImageField;
|
image?: ImageField;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -30,3 +30,4 @@ export type InfillTileInvocation = {
|
|||||||
*/
|
*/
|
||||||
seed?: number;
|
seed?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -118,3 +118,4 @@ export type InpaintInvocation = {
|
|||||||
*/
|
*/
|
||||||
inpaint_replace?: number;
|
inpaint_replace?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -12,3 +12,4 @@ export type IntCollectionOutput = {
|
|||||||
*/
|
*/
|
||||||
collection?: Array<number>;
|
collection?: Array<number>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -12,3 +12,4 @@ export type IntOutput = {
|
|||||||
*/
|
*/
|
||||||
'a'?: number;
|
'a'?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -24,3 +24,4 @@ export type IterateInvocation = {
|
|||||||
*/
|
*/
|
||||||
index?: number;
|
index?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -12,3 +12,4 @@ export type IterateInvocationOutput = {
|
|||||||
*/
|
*/
|
||||||
item: any;
|
item: any;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -11,3 +11,4 @@ export type LatentsField = {
|
|||||||
*/
|
*/
|
||||||
latents_name: string;
|
latents_name: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -22,3 +22,4 @@ export type LatentsOutput = {
|
|||||||
*/
|
*/
|
||||||
height: number;
|
height: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -31,3 +31,4 @@ export type LatentsToImageInvocation = {
|
|||||||
*/
|
*/
|
||||||
tiled?: boolean;
|
tiled?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -61,3 +61,4 @@ export type LatentsToLatentsInvocation = {
|
|||||||
*/
|
*/
|
||||||
strength?: number;
|
strength?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -30,3 +30,4 @@ export type LineartAnimeImageProcessorInvocation = {
|
|||||||
*/
|
*/
|
||||||
image_resolution?: number;
|
image_resolution?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -34,3 +34,4 @@ export type LineartImageProcessorInvocation = {
|
|||||||
*/
|
*/
|
||||||
coarse?: boolean;
|
coarse?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -3,16 +3,16 @@
|
|||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
import type { BaseModelType } from './BaseModelType';
|
import type { BaseModelType } from './BaseModelType';
|
||||||
|
import type { LoRAModelFormat } from './LoRAModelFormat';
|
||||||
import type { ModelError } from './ModelError';
|
import type { ModelError } from './ModelError';
|
||||||
import type { ModelType } from './ModelType';
|
|
||||||
|
|
||||||
export type LoRAModelConfig = {
|
export type LoRAModelConfig = {
|
||||||
name: string;
|
name: string;
|
||||||
base_model: BaseModelType;
|
base_model: BaseModelType;
|
||||||
type: ModelType;
|
type: 'lora';
|
||||||
path: string;
|
path: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
format: ('lycoris' | 'diffusers');
|
model_format: LoRAModelFormat;
|
||||||
default?: boolean;
|
|
||||||
error?: ModelError;
|
error?: ModelError;
|
||||||
};
|
};
|
||||||
|
|
@ -0,0 +1,8 @@
|
|||||||
|
/* istanbul ignore file */
|
||||||
|
/* tslint:disable */
|
||||||
|
/* eslint-disable */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* An enumeration.
|
||||||
|
*/
|
||||||
|
export type LoRAModelFormat = 'lycoris' | 'diffusers';
|
@ -22,3 +22,4 @@ export type LoadImageInvocation = {
|
|||||||
*/
|
*/
|
||||||
image?: ImageField;
|
image?: ImageField;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -28,7 +28,4 @@ export type LoraInfo = {
|
|||||||
*/
|
*/
|
||||||
weight: number;
|
weight: number;
|
||||||
};
|
};
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
=======
|
|
||||||
>>>>>>> 76dd749b1 (chore: Rebuild API)
|
|
||||||
|
@ -35,7 +35,4 @@ export type LoraLoaderInvocation = {
|
|||||||
*/
|
*/
|
||||||
clip?: ClipField;
|
clip?: ClipField;
|
||||||
};
|
};
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
=======
|
|
||||||
>>>>>>> 76dd749b1 (chore: Rebuild API)
|
|
||||||
|
@ -19,7 +19,4 @@ export type LoraLoaderOutput = {
|
|||||||
*/
|
*/
|
||||||
clip?: ClipField;
|
clip?: ClipField;
|
||||||
};
|
};
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
=======
|
|
||||||
>>>>>>> 76dd749b1 (chore: Rebuild API)
|
|
||||||
|
@ -26,3 +26,4 @@ export type MaskFromAlphaInvocation = {
|
|||||||
*/
|
*/
|
||||||
invert?: boolean;
|
invert?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -22,3 +22,4 @@ export type MaskOutput = {
|
|||||||
*/
|
*/
|
||||||
height?: number;
|
height?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -30,3 +30,4 @@ export type MediapipeFaceProcessorInvocation = {
|
|||||||
*/
|
*/
|
||||||
min_confidence?: number;
|
min_confidence?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -30,3 +30,4 @@ export type MidasDepthImageProcessorInvocation = {
|
|||||||
*/
|
*/
|
||||||
bg_th?: number;
|
bg_th?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -38,3 +38,4 @@ export type MlsdImageProcessorInvocation = {
|
|||||||
*/
|
*/
|
||||||
thr_d?: number;
|
thr_d?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -24,7 +24,4 @@ export type ModelInfo = {
|
|||||||
*/
|
*/
|
||||||
submodel?: SubModelType;
|
submodel?: SubModelType;
|
||||||
};
|
};
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
=======
|
|
||||||
>>>>>>> 76dd749b1 (chore: Rebuild API)
|
|
||||||
|
@ -24,7 +24,4 @@ export type ModelLoaderOutput = {
|
|||||||
*/
|
*/
|
||||||
vae?: VaeField;
|
vae?: VaeField;
|
||||||
};
|
};
|
||||||
<<<<<<< HEAD
|
|
||||||
|
|
||||||
=======
|
|
||||||
>>>>>>> 76dd749b1 (chore: Rebuild API)
|
|
||||||
|
@ -2,19 +2,6 @@
|
|||||||
/* 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__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 { ControlNetModelConfig } from './ControlNetModelConfig';
|
||||||
import type { LoRAModelConfig } from './LoRAModelConfig';
|
import type { LoRAModelConfig } from './LoRAModelConfig';
|
||||||
import type { StableDiffusion1ModelCheckpointConfig } from './StableDiffusion1ModelCheckpointConfig';
|
import type { StableDiffusion1ModelCheckpointConfig } from './StableDiffusion1ModelCheckpointConfig';
|
||||||
@ -25,14 +12,6 @@ import type { TextualInversionModelConfig } from './TextualInversionModelConfig'
|
|||||||
import type { VaeModelConfig } from './VaeModelConfig';
|
import type { VaeModelConfig } from './VaeModelConfig';
|
||||||
|
|
||||||
export type ModelsList = {
|
export type ModelsList = {
|
||||||
<<<<<<< HEAD
|
models: Array<(StableDiffusion1ModelDiffusersConfig | StableDiffusion1ModelCheckpointConfig | VaeModelConfig | LoRAModelConfig | ControlNetModelConfig | TextualInversionModelConfig | StableDiffusion2ModelDiffusersConfig | StableDiffusion2ModelCheckpointConfig)>;
|
||||||
<<<<<<< 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)
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -24,3 +24,4 @@ export type MultiplyInvocation = {
|
|||||||
*/
|
*/
|
||||||
'b'?: number;
|
'b'?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -28,3 +28,4 @@ export type NoiseInvocation = {
|
|||||||
*/
|
*/
|
||||||
height?: number;
|
height?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -22,3 +22,4 @@ export type NoiseOutput = {
|
|||||||
*/
|
*/
|
||||||
height: number;
|
height: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -30,3 +30,4 @@ export type NormalbaeImageProcessorInvocation = {
|
|||||||
*/
|
*/
|
||||||
image_resolution?: number;
|
image_resolution?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -25,3 +25,4 @@ export type OffsetPaginatedResults_ImageDTO_ = {
|
|||||||
*/
|
*/
|
||||||
total: number;
|
total: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -34,3 +34,4 @@ export type OpenposeImageProcessorInvocation = {
|
|||||||
*/
|
*/
|
||||||
image_resolution?: number;
|
image_resolution?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -29,3 +29,4 @@ export type PaginatedResults_GraphExecutionState_ = {
|
|||||||
*/
|
*/
|
||||||
total: number;
|
total: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -20,3 +20,4 @@ export type ParamFloatInvocation = {
|
|||||||
*/
|
*/
|
||||||
param?: number;
|
param?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -20,3 +20,4 @@ export type ParamIntInvocation = {
|
|||||||
*/
|
*/
|
||||||
'a'?: number;
|
'a'?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -38,3 +38,4 @@ export type PidiImageProcessorInvocation = {
|
|||||||
*/
|
*/
|
||||||
scribble?: boolean;
|
scribble?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
};
|
||||||
|
|
@ -16,3 +16,4 @@ export type PromptCollectionOutput = {
|
|||||||
*/
|
*/
|
||||||
count: number;
|
count: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -12,3 +12,4 @@ export type PromptOutput = {
|
|||||||
*/
|
*/
|
||||||
prompt: string;
|
prompt: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -24,3 +24,4 @@ export type RandomIntInvocation = {
|
|||||||
*/
|
*/
|
||||||
high?: number;
|
high?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -32,3 +32,4 @@ export type RandomRangeInvocation = {
|
|||||||
*/
|
*/
|
||||||
seed?: number;
|
seed?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -28,3 +28,4 @@ export type RangeInvocation = {
|
|||||||
*/
|
*/
|
||||||
step?: number;
|
step?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -28,3 +28,4 @@ export type RangeOfSizeInvocation = {
|
|||||||
*/
|
*/
|
||||||
step?: number;
|
step?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -38,3 +38,4 @@ export type ResizeLatentsInvocation = {
|
|||||||
*/
|
*/
|
||||||
antialias?: boolean;
|
antialias?: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -26,3 +26,4 @@ export type RestoreFaceInvocation = {
|
|||||||
*/
|
*/
|
||||||
strength?: number;
|
strength?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user