|
|
|
|
@@ -109,10 +109,10 @@ export type paths = {
|
|
|
|
|
};
|
|
|
|
|
"/api/v1/images/": {
|
|
|
|
|
/**
|
|
|
|
|
* List Images With Metadata
|
|
|
|
|
* @description Gets a list of images
|
|
|
|
|
* List Image Dtos
|
|
|
|
|
* @description Gets a list of image DTOs
|
|
|
|
|
*/
|
|
|
|
|
get: operations["list_images_with_metadata"];
|
|
|
|
|
get: operations["list_image_dtos"];
|
|
|
|
|
/**
|
|
|
|
|
* Upload Image
|
|
|
|
|
* @description Uploads an image
|
|
|
|
|
@@ -121,10 +121,10 @@ export type paths = {
|
|
|
|
|
};
|
|
|
|
|
"/api/v1/images/{image_name}": {
|
|
|
|
|
/**
|
|
|
|
|
* Get Image Full
|
|
|
|
|
* @description Gets a full-resolution image file
|
|
|
|
|
* Get Image Dto
|
|
|
|
|
* @description Gets an image's DTO
|
|
|
|
|
*/
|
|
|
|
|
get: operations["get_image_full"];
|
|
|
|
|
get: operations["get_image_dto"];
|
|
|
|
|
/**
|
|
|
|
|
* Delete Image
|
|
|
|
|
* @description Deletes an image
|
|
|
|
|
@@ -143,6 +143,13 @@ export type paths = {
|
|
|
|
|
*/
|
|
|
|
|
get: operations["get_image_metadata"];
|
|
|
|
|
};
|
|
|
|
|
"/api/v1/images/{image_name}/full": {
|
|
|
|
|
/**
|
|
|
|
|
* Get Image Full
|
|
|
|
|
* @description Gets a full-resolution image file
|
|
|
|
|
*/
|
|
|
|
|
get: operations["get_image_full"];
|
|
|
|
|
};
|
|
|
|
|
"/api/v1/images/{image_name}/thumbnail": {
|
|
|
|
|
/**
|
|
|
|
|
* Get Image Thumbnail
|
|
|
|
|
@@ -209,6 +216,10 @@ export type paths = {
|
|
|
|
|
/** Get Version */
|
|
|
|
|
get: operations["app_version"];
|
|
|
|
|
};
|
|
|
|
|
"/api/v1/app/config": {
|
|
|
|
|
/** Get Config */
|
|
|
|
|
get: operations["get_config"];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export type webhooks = Record<string, never>;
|
|
|
|
|
@@ -250,12 +261,26 @@ export type components = {
|
|
|
|
|
*/
|
|
|
|
|
b?: number;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* AppConfig
|
|
|
|
|
* @description App Config Response
|
|
|
|
|
*/
|
|
|
|
|
AppConfig: {
|
|
|
|
|
/**
|
|
|
|
|
* Infill Methods
|
|
|
|
|
* @description List of available infill methods
|
|
|
|
|
*/
|
|
|
|
|
infill_methods: (string)[];
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* AppVersion
|
|
|
|
|
* @description App Version Response
|
|
|
|
|
*/
|
|
|
|
|
AppVersion: {
|
|
|
|
|
/** Version */
|
|
|
|
|
/**
|
|
|
|
|
* Version
|
|
|
|
|
* @description App version
|
|
|
|
|
*/
|
|
|
|
|
version: string;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
@@ -798,14 +823,14 @@ export type components = {
|
|
|
|
|
};
|
|
|
|
|
/** ControlNetModelConfig */
|
|
|
|
|
ControlNetModelConfig: {
|
|
|
|
|
/** Name */
|
|
|
|
|
name: string;
|
|
|
|
|
/** Model Name */
|
|
|
|
|
model_name: string;
|
|
|
|
|
base_model: components["schemas"]["BaseModelType"];
|
|
|
|
|
/**
|
|
|
|
|
* Type
|
|
|
|
|
* Model Type
|
|
|
|
|
* @enum {string}
|
|
|
|
|
*/
|
|
|
|
|
type: "controlnet";
|
|
|
|
|
model_type: "controlnet";
|
|
|
|
|
/** Path */
|
|
|
|
|
path: string;
|
|
|
|
|
/** Description */
|
|
|
|
|
@@ -836,6 +861,97 @@ export type components = {
|
|
|
|
|
*/
|
|
|
|
|
control?: components["schemas"]["ControlField"];
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* CoreMetadata
|
|
|
|
|
* @description Core generation metadata for an image generated in InvokeAI.
|
|
|
|
|
*/
|
|
|
|
|
CoreMetadata: {
|
|
|
|
|
/**
|
|
|
|
|
* Generation Mode
|
|
|
|
|
* @description The generation mode that output this image
|
|
|
|
|
*/
|
|
|
|
|
generation_mode: string;
|
|
|
|
|
/**
|
|
|
|
|
* Positive Prompt
|
|
|
|
|
* @description The positive prompt parameter
|
|
|
|
|
*/
|
|
|
|
|
positive_prompt: string;
|
|
|
|
|
/**
|
|
|
|
|
* Negative Prompt
|
|
|
|
|
* @description The negative prompt parameter
|
|
|
|
|
*/
|
|
|
|
|
negative_prompt: string;
|
|
|
|
|
/**
|
|
|
|
|
* Width
|
|
|
|
|
* @description The width parameter
|
|
|
|
|
*/
|
|
|
|
|
width: number;
|
|
|
|
|
/**
|
|
|
|
|
* Height
|
|
|
|
|
* @description The height parameter
|
|
|
|
|
*/
|
|
|
|
|
height: number;
|
|
|
|
|
/**
|
|
|
|
|
* Seed
|
|
|
|
|
* @description The seed used for noise generation
|
|
|
|
|
*/
|
|
|
|
|
seed: number;
|
|
|
|
|
/**
|
|
|
|
|
* Rand Device
|
|
|
|
|
* @description The device used for random number generation
|
|
|
|
|
*/
|
|
|
|
|
rand_device: string;
|
|
|
|
|
/**
|
|
|
|
|
* Cfg Scale
|
|
|
|
|
* @description The classifier-free guidance scale parameter
|
|
|
|
|
*/
|
|
|
|
|
cfg_scale: number;
|
|
|
|
|
/**
|
|
|
|
|
* Steps
|
|
|
|
|
* @description The number of steps used for inference
|
|
|
|
|
*/
|
|
|
|
|
steps: number;
|
|
|
|
|
/**
|
|
|
|
|
* Scheduler
|
|
|
|
|
* @description The scheduler used for inference
|
|
|
|
|
*/
|
|
|
|
|
scheduler: string;
|
|
|
|
|
/**
|
|
|
|
|
* Clip Skip
|
|
|
|
|
* @description The number of skipped CLIP layers
|
|
|
|
|
*/
|
|
|
|
|
clip_skip: number;
|
|
|
|
|
/**
|
|
|
|
|
* Model
|
|
|
|
|
* @description The main model used for inference
|
|
|
|
|
*/
|
|
|
|
|
model: components["schemas"]["MainModelField"];
|
|
|
|
|
/**
|
|
|
|
|
* Controlnets
|
|
|
|
|
* @description The ControlNets used for inference
|
|
|
|
|
*/
|
|
|
|
|
controlnets: (components["schemas"]["ControlField"])[];
|
|
|
|
|
/**
|
|
|
|
|
* Loras
|
|
|
|
|
* @description The LoRAs used for inference
|
|
|
|
|
*/
|
|
|
|
|
loras: (components["schemas"]["LoRAMetadataField"])[];
|
|
|
|
|
/**
|
|
|
|
|
* Strength
|
|
|
|
|
* @description The strength used for latents-to-latents
|
|
|
|
|
*/
|
|
|
|
|
strength?: number;
|
|
|
|
|
/**
|
|
|
|
|
* Init Image
|
|
|
|
|
* @description The name of the initial image
|
|
|
|
|
*/
|
|
|
|
|
init_image?: string;
|
|
|
|
|
/**
|
|
|
|
|
* Vae
|
|
|
|
|
* @description The VAE used for decoding, if the main model's default was not used
|
|
|
|
|
*/
|
|
|
|
|
vae?: components["schemas"]["VAEModelField"];
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* CvInpaintInvocation
|
|
|
|
|
* @description Simple inpaint using opencv.
|
|
|
|
|
@@ -1058,7 +1174,7 @@ export type components = {
|
|
|
|
|
* @description The nodes in this graph
|
|
|
|
|
*/
|
|
|
|
|
nodes?: {
|
|
|
|
|
[key: string]: (components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["LoadImageInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["ImageProcessorInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["TextToLatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["InpaintInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["ParamIntInvocation"] | components["schemas"]["ParamFloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["RestoreFaceInvocation"] | components["schemas"]["UpscaleInvocation"] | components["schemas"]["GraphInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["OpenposeImageProcessorInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"] | components["schemas"]["LatentsToLatentsInvocation"]) | undefined;
|
|
|
|
|
[key: string]: (components["schemas"]["LoadImageInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["ImageProcessorInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["MetadataAccumulatorInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["ParamIntInvocation"] | components["schemas"]["ParamFloatInvocation"] | components["schemas"]["TextToLatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["UpscaleInvocation"] | components["schemas"]["RestoreFaceInvocation"] | components["schemas"]["InpaintInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["GraphInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["OpenposeImageProcessorInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"] | components["schemas"]["LatentsToLatentsInvocation"]) | undefined;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* Edges
|
|
|
|
|
@@ -1101,7 +1217,7 @@ export type components = {
|
|
|
|
|
* @description The results of node executions
|
|
|
|
|
*/
|
|
|
|
|
results: {
|
|
|
|
|
[key: string]: (components["schemas"]["IntCollectionOutput"] | components["schemas"]["FloatCollectionOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["LoraLoaderOutput"] | components["schemas"]["VaeLoaderOutput"] | components["schemas"]["CompelOutput"] | components["schemas"]["ClipSkipInvocationOutput"] | components["schemas"]["ImageOutput"] | components["schemas"]["MaskOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["IntOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["NoiseOutput"] | components["schemas"]["PromptOutput"] | components["schemas"]["PromptCollectionOutput"] | components["schemas"]["GraphInvocationOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["CollectInvocationOutput"]) | undefined;
|
|
|
|
|
[key: string]: (components["schemas"]["ImageOutput"] | components["schemas"]["MaskOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["LoraLoaderOutput"] | components["schemas"]["VaeLoaderOutput"] | components["schemas"]["MetadataAccumulatorOutput"] | components["schemas"]["PromptOutput"] | components["schemas"]["PromptCollectionOutput"] | components["schemas"]["CompelOutput"] | components["schemas"]["ClipSkipInvocationOutput"] | components["schemas"]["IntOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["IntCollectionOutput"] | components["schemas"]["FloatCollectionOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["NoiseOutput"] | components["schemas"]["GraphInvocationOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["CollectInvocationOutput"]) | undefined;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* Errors
|
|
|
|
|
@@ -1502,11 +1618,6 @@ export type components = {
|
|
|
|
|
* @description The node ID that generated this image, if it is a generated image.
|
|
|
|
|
*/
|
|
|
|
|
node_id?: string;
|
|
|
|
|
/**
|
|
|
|
|
* Metadata
|
|
|
|
|
* @description A limited subset of the image's generation metadata. Retrieve the image's session for full metadata.
|
|
|
|
|
*/
|
|
|
|
|
metadata?: components["schemas"]["ImageMetadata"];
|
|
|
|
|
/**
|
|
|
|
|
* Board Id
|
|
|
|
|
* @description The id of the board the image belongs to, if one exists.
|
|
|
|
|
@@ -1606,96 +1717,19 @@ export type components = {
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* ImageMetadata
|
|
|
|
|
* @description Core generation metadata for an image/tensor generated in InvokeAI.
|
|
|
|
|
*
|
|
|
|
|
* Also includes any metadata from the image's PNG tEXt chunks.
|
|
|
|
|
*
|
|
|
|
|
* Generated by traversing the execution graph, collecting the parameters of the nearest ancestors
|
|
|
|
|
* of a given node.
|
|
|
|
|
*
|
|
|
|
|
* Full metadata may be accessed by querying for the session in the `graph_executions` table.
|
|
|
|
|
* @description An image's generation metadata
|
|
|
|
|
*/
|
|
|
|
|
ImageMetadata: {
|
|
|
|
|
/**
|
|
|
|
|
* Type
|
|
|
|
|
* @description The type of the ancestor node of the image output node.
|
|
|
|
|
* Metadata
|
|
|
|
|
* @description The image's core metadata, if it was created in the Linear or Canvas UI
|
|
|
|
|
*/
|
|
|
|
|
type?: string;
|
|
|
|
|
metadata?: Record<string, never>;
|
|
|
|
|
/**
|
|
|
|
|
* Positive Conditioning
|
|
|
|
|
* @description The positive conditioning.
|
|
|
|
|
* Graph
|
|
|
|
|
* @description The graph that created the image
|
|
|
|
|
*/
|
|
|
|
|
positive_conditioning?: string;
|
|
|
|
|
/**
|
|
|
|
|
* Negative Conditioning
|
|
|
|
|
* @description The negative conditioning.
|
|
|
|
|
*/
|
|
|
|
|
negative_conditioning?: string;
|
|
|
|
|
/**
|
|
|
|
|
* Width
|
|
|
|
|
* @description Width of the image/latents in pixels.
|
|
|
|
|
*/
|
|
|
|
|
width?: number;
|
|
|
|
|
/**
|
|
|
|
|
* Height
|
|
|
|
|
* @description Height of the image/latents in pixels.
|
|
|
|
|
*/
|
|
|
|
|
height?: number;
|
|
|
|
|
/**
|
|
|
|
|
* Seed
|
|
|
|
|
* @description The seed used for noise generation.
|
|
|
|
|
*/
|
|
|
|
|
seed?: number;
|
|
|
|
|
/**
|
|
|
|
|
* Cfg Scale
|
|
|
|
|
* @description The classifier-free guidance scale.
|
|
|
|
|
*/
|
|
|
|
|
cfg_scale?: number | (number)[];
|
|
|
|
|
/**
|
|
|
|
|
* Steps
|
|
|
|
|
* @description The number of steps used for inference.
|
|
|
|
|
*/
|
|
|
|
|
steps?: number;
|
|
|
|
|
/**
|
|
|
|
|
* Scheduler
|
|
|
|
|
* @description The scheduler used for inference.
|
|
|
|
|
*/
|
|
|
|
|
scheduler?: string;
|
|
|
|
|
/**
|
|
|
|
|
* Model
|
|
|
|
|
* @description The model used for inference.
|
|
|
|
|
*/
|
|
|
|
|
model?: string;
|
|
|
|
|
/**
|
|
|
|
|
* Strength
|
|
|
|
|
* @description The strength used for image-to-image/latents-to-latents.
|
|
|
|
|
*/
|
|
|
|
|
strength?: number;
|
|
|
|
|
/**
|
|
|
|
|
* Latents
|
|
|
|
|
* @description The ID of the initial latents.
|
|
|
|
|
*/
|
|
|
|
|
latents?: string;
|
|
|
|
|
/**
|
|
|
|
|
* Vae
|
|
|
|
|
* @description The VAE used for decoding.
|
|
|
|
|
*/
|
|
|
|
|
vae?: string;
|
|
|
|
|
/**
|
|
|
|
|
* Unet
|
|
|
|
|
* @description The UNet used dor inference.
|
|
|
|
|
*/
|
|
|
|
|
unet?: string;
|
|
|
|
|
/**
|
|
|
|
|
* Clip
|
|
|
|
|
* @description The CLIP Encoder used for conditioning.
|
|
|
|
|
*/
|
|
|
|
|
clip?: string;
|
|
|
|
|
/**
|
|
|
|
|
* Extra
|
|
|
|
|
* @description Uploaded image metadata, extracted from the PNG tEXt chunk.
|
|
|
|
|
*/
|
|
|
|
|
extra?: string;
|
|
|
|
|
graph?: Record<string, never>;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* ImageMultiplyInvocation
|
|
|
|
|
@@ -2436,6 +2470,11 @@ export type components = {
|
|
|
|
|
* @default false
|
|
|
|
|
*/
|
|
|
|
|
tiled?: boolean;
|
|
|
|
|
/**
|
|
|
|
|
* Metadata
|
|
|
|
|
* @description Optional core metadata to be written to the image
|
|
|
|
|
*/
|
|
|
|
|
metadata?: components["schemas"]["CoreMetadata"];
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* LatentsToLatentsInvocation
|
|
|
|
|
@@ -2659,16 +2698,32 @@ export type components = {
|
|
|
|
|
*/
|
|
|
|
|
coarse?: boolean;
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* LoRAMetadataField
|
|
|
|
|
* @description LoRA metadata for an image generated in InvokeAI.
|
|
|
|
|
*/
|
|
|
|
|
LoRAMetadataField: {
|
|
|
|
|
/**
|
|
|
|
|
* Lora
|
|
|
|
|
* @description The LoRA model
|
|
|
|
|
*/
|
|
|
|
|
lora: components["schemas"]["LoRAModelField"];
|
|
|
|
|
/**
|
|
|
|
|
* Weight
|
|
|
|
|
* @description The weight of the LoRA model
|
|
|
|
|
*/
|
|
|
|
|
weight: number;
|
|
|
|
|
};
|
|
|
|
|
/** LoRAModelConfig */
|
|
|
|
|
LoRAModelConfig: {
|
|
|
|
|
/** Name */
|
|
|
|
|
name: string;
|
|
|
|
|
/** Model Name */
|
|
|
|
|
model_name: string;
|
|
|
|
|
base_model: components["schemas"]["BaseModelType"];
|
|
|
|
|
/**
|
|
|
|
|
* Type
|
|
|
|
|
* Model Type
|
|
|
|
|
* @enum {string}
|
|
|
|
|
*/
|
|
|
|
|
type: "lora";
|
|
|
|
|
model_type: "lora";
|
|
|
|
|
/** Path */
|
|
|
|
|
path: string;
|
|
|
|
|
/** Description */
|
|
|
|
|
@@ -2956,6 +3011,131 @@ export type components = {
|
|
|
|
|
* @enum {string}
|
|
|
|
|
*/
|
|
|
|
|
MergeInterpolationMethod: "weighted_sum" | "sigmoid" | "inv_sigmoid" | "add_difference";
|
|
|
|
|
/**
|
|
|
|
|
* MetadataAccumulatorInvocation
|
|
|
|
|
* @description Outputs a Core Metadata Object
|
|
|
|
|
*/
|
|
|
|
|
MetadataAccumulatorInvocation: {
|
|
|
|
|
/**
|
|
|
|
|
* Id
|
|
|
|
|
* @description The id of this node. Must be unique among all nodes.
|
|
|
|
|
*/
|
|
|
|
|
id: string;
|
|
|
|
|
/**
|
|
|
|
|
* Is Intermediate
|
|
|
|
|
* @description Whether or not this node is an intermediate node.
|
|
|
|
|
* @default false
|
|
|
|
|
*/
|
|
|
|
|
is_intermediate?: boolean;
|
|
|
|
|
/**
|
|
|
|
|
* Type
|
|
|
|
|
* @default metadata_accumulator
|
|
|
|
|
* @enum {string}
|
|
|
|
|
*/
|
|
|
|
|
type?: "metadata_accumulator";
|
|
|
|
|
/**
|
|
|
|
|
* Generation Mode
|
|
|
|
|
* @description The generation mode that output this image
|
|
|
|
|
*/
|
|
|
|
|
generation_mode: string;
|
|
|
|
|
/**
|
|
|
|
|
* Positive Prompt
|
|
|
|
|
* @description The positive prompt parameter
|
|
|
|
|
*/
|
|
|
|
|
positive_prompt: string;
|
|
|
|
|
/**
|
|
|
|
|
* Negative Prompt
|
|
|
|
|
* @description The negative prompt parameter
|
|
|
|
|
*/
|
|
|
|
|
negative_prompt: string;
|
|
|
|
|
/**
|
|
|
|
|
* Width
|
|
|
|
|
* @description The width parameter
|
|
|
|
|
*/
|
|
|
|
|
width: number;
|
|
|
|
|
/**
|
|
|
|
|
* Height
|
|
|
|
|
* @description The height parameter
|
|
|
|
|
*/
|
|
|
|
|
height: number;
|
|
|
|
|
/**
|
|
|
|
|
* Seed
|
|
|
|
|
* @description The seed used for noise generation
|
|
|
|
|
*/
|
|
|
|
|
seed: number;
|
|
|
|
|
/**
|
|
|
|
|
* Rand Device
|
|
|
|
|
* @description The device used for random number generation
|
|
|
|
|
*/
|
|
|
|
|
rand_device: string;
|
|
|
|
|
/**
|
|
|
|
|
* Cfg Scale
|
|
|
|
|
* @description The classifier-free guidance scale parameter
|
|
|
|
|
*/
|
|
|
|
|
cfg_scale: number;
|
|
|
|
|
/**
|
|
|
|
|
* Steps
|
|
|
|
|
* @description The number of steps used for inference
|
|
|
|
|
*/
|
|
|
|
|
steps: number;
|
|
|
|
|
/**
|
|
|
|
|
* Scheduler
|
|
|
|
|
* @description The scheduler used for inference
|
|
|
|
|
*/
|
|
|
|
|
scheduler: string;
|
|
|
|
|
/**
|
|
|
|
|
* Clip Skip
|
|
|
|
|
* @description The number of skipped CLIP layers
|
|
|
|
|
*/
|
|
|
|
|
clip_skip: number;
|
|
|
|
|
/**
|
|
|
|
|
* Model
|
|
|
|
|
* @description The main model used for inference
|
|
|
|
|
*/
|
|
|
|
|
model: components["schemas"]["MainModelField"];
|
|
|
|
|
/**
|
|
|
|
|
* Controlnets
|
|
|
|
|
* @description The ControlNets used for inference
|
|
|
|
|
*/
|
|
|
|
|
controlnets: (components["schemas"]["ControlField"])[];
|
|
|
|
|
/**
|
|
|
|
|
* Loras
|
|
|
|
|
* @description The LoRAs used for inference
|
|
|
|
|
*/
|
|
|
|
|
loras: (components["schemas"]["LoRAMetadataField"])[];
|
|
|
|
|
/**
|
|
|
|
|
* Strength
|
|
|
|
|
* @description The strength used for latents-to-latents
|
|
|
|
|
*/
|
|
|
|
|
strength?: number;
|
|
|
|
|
/**
|
|
|
|
|
* Init Image
|
|
|
|
|
* @description The name of the initial image
|
|
|
|
|
*/
|
|
|
|
|
init_image?: string;
|
|
|
|
|
/**
|
|
|
|
|
* Vae
|
|
|
|
|
* @description The VAE used for decoding, if the main model's default was not used
|
|
|
|
|
*/
|
|
|
|
|
vae?: components["schemas"]["VAEModelField"];
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* MetadataAccumulatorOutput
|
|
|
|
|
* @description The output of the MetadataAccumulator node
|
|
|
|
|
*/
|
|
|
|
|
MetadataAccumulatorOutput: {
|
|
|
|
|
/**
|
|
|
|
|
* Type
|
|
|
|
|
* @default metadata_accumulator_output
|
|
|
|
|
* @enum {string}
|
|
|
|
|
*/
|
|
|
|
|
type?: "metadata_accumulator_output";
|
|
|
|
|
/**
|
|
|
|
|
* Metadata
|
|
|
|
|
* @description The core metadata for the image
|
|
|
|
|
*/
|
|
|
|
|
metadata: components["schemas"]["CoreMetadata"];
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* MidasDepthImageProcessorInvocation
|
|
|
|
|
* @description Applies Midas depth processing to image
|
|
|
|
|
@@ -3110,7 +3290,7 @@ export type components = {
|
|
|
|
|
/** ModelsList */
|
|
|
|
|
ModelsList: {
|
|
|
|
|
/** Models */
|
|
|
|
|
models: (components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"])[];
|
|
|
|
|
models: (components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"])[];
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* MultiplyInvocation
|
|
|
|
|
@@ -3900,14 +4080,14 @@ export type components = {
|
|
|
|
|
};
|
|
|
|
|
/** StableDiffusion1ModelCheckpointConfig */
|
|
|
|
|
StableDiffusion1ModelCheckpointConfig: {
|
|
|
|
|
/** Name */
|
|
|
|
|
name: string;
|
|
|
|
|
/** Model Name */
|
|
|
|
|
model_name: string;
|
|
|
|
|
base_model: components["schemas"]["BaseModelType"];
|
|
|
|
|
/**
|
|
|
|
|
* Type
|
|
|
|
|
* Model Type
|
|
|
|
|
* @enum {string}
|
|
|
|
|
*/
|
|
|
|
|
type: "main";
|
|
|
|
|
model_type: "main";
|
|
|
|
|
/** Path */
|
|
|
|
|
path: string;
|
|
|
|
|
/** Description */
|
|
|
|
|
@@ -3926,14 +4106,14 @@ export type components = {
|
|
|
|
|
};
|
|
|
|
|
/** StableDiffusion1ModelDiffusersConfig */
|
|
|
|
|
StableDiffusion1ModelDiffusersConfig: {
|
|
|
|
|
/** Name */
|
|
|
|
|
name: string;
|
|
|
|
|
/** Model Name */
|
|
|
|
|
model_name: string;
|
|
|
|
|
base_model: components["schemas"]["BaseModelType"];
|
|
|
|
|
/**
|
|
|
|
|
* Type
|
|
|
|
|
* Model Type
|
|
|
|
|
* @enum {string}
|
|
|
|
|
*/
|
|
|
|
|
type: "main";
|
|
|
|
|
model_type: "main";
|
|
|
|
|
/** Path */
|
|
|
|
|
path: string;
|
|
|
|
|
/** Description */
|
|
|
|
|
@@ -3950,14 +4130,14 @@ export type components = {
|
|
|
|
|
};
|
|
|
|
|
/** StableDiffusion2ModelCheckpointConfig */
|
|
|
|
|
StableDiffusion2ModelCheckpointConfig: {
|
|
|
|
|
/** Name */
|
|
|
|
|
name: string;
|
|
|
|
|
/** Model Name */
|
|
|
|
|
model_name: string;
|
|
|
|
|
base_model: components["schemas"]["BaseModelType"];
|
|
|
|
|
/**
|
|
|
|
|
* Type
|
|
|
|
|
* Model Type
|
|
|
|
|
* @enum {string}
|
|
|
|
|
*/
|
|
|
|
|
type: "main";
|
|
|
|
|
model_type: "main";
|
|
|
|
|
/** Path */
|
|
|
|
|
path: string;
|
|
|
|
|
/** Description */
|
|
|
|
|
@@ -3976,14 +4156,14 @@ export type components = {
|
|
|
|
|
};
|
|
|
|
|
/** StableDiffusion2ModelDiffusersConfig */
|
|
|
|
|
StableDiffusion2ModelDiffusersConfig: {
|
|
|
|
|
/** Name */
|
|
|
|
|
name: string;
|
|
|
|
|
/** Model Name */
|
|
|
|
|
model_name: string;
|
|
|
|
|
base_model: components["schemas"]["BaseModelType"];
|
|
|
|
|
/**
|
|
|
|
|
* Type
|
|
|
|
|
* Model Type
|
|
|
|
|
* @enum {string}
|
|
|
|
|
*/
|
|
|
|
|
type: "main";
|
|
|
|
|
model_type: "main";
|
|
|
|
|
/** Path */
|
|
|
|
|
path: string;
|
|
|
|
|
/** Description */
|
|
|
|
|
@@ -4190,14 +4370,14 @@ export type components = {
|
|
|
|
|
};
|
|
|
|
|
/** TextualInversionModelConfig */
|
|
|
|
|
TextualInversionModelConfig: {
|
|
|
|
|
/** Name */
|
|
|
|
|
name: string;
|
|
|
|
|
/** Model Name */
|
|
|
|
|
model_name: string;
|
|
|
|
|
base_model: components["schemas"]["BaseModelType"];
|
|
|
|
|
/**
|
|
|
|
|
* Type
|
|
|
|
|
* Model Type
|
|
|
|
|
* @enum {string}
|
|
|
|
|
*/
|
|
|
|
|
type: "embedding";
|
|
|
|
|
model_type: "embedding";
|
|
|
|
|
/** Path */
|
|
|
|
|
path: string;
|
|
|
|
|
/** Description */
|
|
|
|
|
@@ -4367,14 +4547,14 @@ export type components = {
|
|
|
|
|
};
|
|
|
|
|
/** VaeModelConfig */
|
|
|
|
|
VaeModelConfig: {
|
|
|
|
|
/** Name */
|
|
|
|
|
name: string;
|
|
|
|
|
/** Model Name */
|
|
|
|
|
model_name: string;
|
|
|
|
|
base_model: components["schemas"]["BaseModelType"];
|
|
|
|
|
/**
|
|
|
|
|
* Type
|
|
|
|
|
* Model Type
|
|
|
|
|
* @enum {string}
|
|
|
|
|
*/
|
|
|
|
|
type: "vae";
|
|
|
|
|
model_type: "vae";
|
|
|
|
|
/** Path */
|
|
|
|
|
path: string;
|
|
|
|
|
/** Description */
|
|
|
|
|
@@ -4425,18 +4605,18 @@ export type components = {
|
|
|
|
|
*/
|
|
|
|
|
image?: components["schemas"]["ImageField"];
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* StableDiffusion2ModelFormat
|
|
|
|
|
* @description An enumeration.
|
|
|
|
|
* @enum {string}
|
|
|
|
|
*/
|
|
|
|
|
StableDiffusion2ModelFormat: "checkpoint" | "diffusers";
|
|
|
|
|
/**
|
|
|
|
|
* StableDiffusion1ModelFormat
|
|
|
|
|
* @description An enumeration.
|
|
|
|
|
* @enum {string}
|
|
|
|
|
*/
|
|
|
|
|
StableDiffusion1ModelFormat: "checkpoint" | "diffusers";
|
|
|
|
|
/**
|
|
|
|
|
* StableDiffusion2ModelFormat
|
|
|
|
|
* @description An enumeration.
|
|
|
|
|
* @enum {string}
|
|
|
|
|
*/
|
|
|
|
|
StableDiffusion2ModelFormat: "checkpoint" | "diffusers";
|
|
|
|
|
};
|
|
|
|
|
responses: never;
|
|
|
|
|
parameters: never;
|
|
|
|
|
@@ -4547,7 +4727,7 @@ export type operations = {
|
|
|
|
|
};
|
|
|
|
|
requestBody: {
|
|
|
|
|
content: {
|
|
|
|
|
"application/json": components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["LoadImageInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["ImageProcessorInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["TextToLatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["InpaintInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["ParamIntInvocation"] | components["schemas"]["ParamFloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["RestoreFaceInvocation"] | components["schemas"]["UpscaleInvocation"] | components["schemas"]["GraphInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["OpenposeImageProcessorInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"] | components["schemas"]["LatentsToLatentsInvocation"];
|
|
|
|
|
"application/json": components["schemas"]["LoadImageInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["ImageProcessorInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["MetadataAccumulatorInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["ParamIntInvocation"] | components["schemas"]["ParamFloatInvocation"] | components["schemas"]["TextToLatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["UpscaleInvocation"] | components["schemas"]["RestoreFaceInvocation"] | components["schemas"]["InpaintInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["GraphInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["OpenposeImageProcessorInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"] | components["schemas"]["LatentsToLatentsInvocation"];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
responses: {
|
|
|
|
|
@@ -4584,7 +4764,7 @@ export type operations = {
|
|
|
|
|
};
|
|
|
|
|
requestBody: {
|
|
|
|
|
content: {
|
|
|
|
|
"application/json": components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["LoadImageInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["ImageProcessorInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["TextToLatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["InpaintInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["ParamIntInvocation"] | components["schemas"]["ParamFloatInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["RestoreFaceInvocation"] | components["schemas"]["UpscaleInvocation"] | components["schemas"]["GraphInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["OpenposeImageProcessorInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"] | components["schemas"]["LatentsToLatentsInvocation"];
|
|
|
|
|
"application/json": components["schemas"]["LoadImageInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["ImageProcessorInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["MetadataAccumulatorInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["ParamIntInvocation"] | components["schemas"]["ParamFloatInvocation"] | components["schemas"]["TextToLatentsInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["UpscaleInvocation"] | components["schemas"]["RestoreFaceInvocation"] | components["schemas"]["InpaintInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["GraphInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["OpenposeImageProcessorInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"] | components["schemas"]["LatentsToLatentsInvocation"];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
responses: {
|
|
|
|
|
@@ -4817,7 +4997,7 @@ export type operations = {
|
|
|
|
|
/** @description The model imported successfully */
|
|
|
|
|
201: {
|
|
|
|
|
content: {
|
|
|
|
|
"application/json": components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"];
|
|
|
|
|
"application/json": components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/** @description The model could not be found */
|
|
|
|
|
@@ -4885,14 +5065,14 @@ export type operations = {
|
|
|
|
|
};
|
|
|
|
|
requestBody: {
|
|
|
|
|
content: {
|
|
|
|
|
"application/json": components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"];
|
|
|
|
|
"application/json": components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
responses: {
|
|
|
|
|
/** @description The model was updated successfully */
|
|
|
|
|
200: {
|
|
|
|
|
content: {
|
|
|
|
|
"application/json": components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"];
|
|
|
|
|
"application/json": components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/** @description Bad request */
|
|
|
|
|
@@ -4926,7 +5106,7 @@ export type operations = {
|
|
|
|
|
/** @description Model converted successfully */
|
|
|
|
|
200: {
|
|
|
|
|
content: {
|
|
|
|
|
"application/json": components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"];
|
|
|
|
|
"application/json": components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/** @description Bad request */
|
|
|
|
|
@@ -4961,7 +5141,7 @@ export type operations = {
|
|
|
|
|
/** @description Model converted successfully */
|
|
|
|
|
200: {
|
|
|
|
|
content: {
|
|
|
|
|
"application/json": components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"];
|
|
|
|
|
"application/json": components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/** @description Incompatible models */
|
|
|
|
|
@@ -4977,10 +5157,10 @@ export type operations = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* List Images With Metadata
|
|
|
|
|
* @description Gets a list of images
|
|
|
|
|
* List Image Dtos
|
|
|
|
|
* @description Gets a list of image DTOs
|
|
|
|
|
*/
|
|
|
|
|
list_images_with_metadata: {
|
|
|
|
|
list_image_dtos: {
|
|
|
|
|
parameters: {
|
|
|
|
|
query?: {
|
|
|
|
|
/** @description The origin of images to list */
|
|
|
|
|
@@ -5050,25 +5230,23 @@ export type operations = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* Get Image Full
|
|
|
|
|
* @description Gets a full-resolution image file
|
|
|
|
|
* Get Image Dto
|
|
|
|
|
* @description Gets an image's DTO
|
|
|
|
|
*/
|
|
|
|
|
get_image_full: {
|
|
|
|
|
get_image_dto: {
|
|
|
|
|
parameters: {
|
|
|
|
|
path: {
|
|
|
|
|
/** @description The name of full-resolution image file to get */
|
|
|
|
|
/** @description The name of image to get */
|
|
|
|
|
image_name: string;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
responses: {
|
|
|
|
|
/** @description Return the full-resolution image */
|
|
|
|
|
/** @description Successful Response */
|
|
|
|
|
200: {
|
|
|
|
|
content: {
|
|
|
|
|
"image/png": unknown;
|
|
|
|
|
"application/json": components["schemas"]["ImageDTO"];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/** @description Image not found */
|
|
|
|
|
404: never;
|
|
|
|
|
/** @description Validation Error */
|
|
|
|
|
422: {
|
|
|
|
|
content: {
|
|
|
|
|
@@ -5149,7 +5327,7 @@ export type operations = {
|
|
|
|
|
/** @description Successful Response */
|
|
|
|
|
200: {
|
|
|
|
|
content: {
|
|
|
|
|
"application/json": components["schemas"]["ImageDTO"];
|
|
|
|
|
"application/json": components["schemas"]["ImageMetadata"];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/** @description Validation Error */
|
|
|
|
|
@@ -5160,6 +5338,34 @@ export type operations = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* Get Image Full
|
|
|
|
|
* @description Gets a full-resolution image file
|
|
|
|
|
*/
|
|
|
|
|
get_image_full: {
|
|
|
|
|
parameters: {
|
|
|
|
|
path: {
|
|
|
|
|
/** @description The name of full-resolution image file to get */
|
|
|
|
|
image_name: string;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
responses: {
|
|
|
|
|
/** @description Return the full-resolution image */
|
|
|
|
|
200: {
|
|
|
|
|
content: {
|
|
|
|
|
"image/png": unknown;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/** @description Image not found */
|
|
|
|
|
404: never;
|
|
|
|
|
/** @description Validation Error */
|
|
|
|
|
422: {
|
|
|
|
|
content: {
|
|
|
|
|
"application/json": components["schemas"]["HTTPValidationError"];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/**
|
|
|
|
|
* Get Image Thumbnail
|
|
|
|
|
* @description Gets a thumbnail image file
|
|
|
|
|
@@ -5450,4 +5656,15 @@ export type operations = {
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
/** Get Config */
|
|
|
|
|
get_config: {
|
|
|
|
|
responses: {
|
|
|
|
|
/** @description Successful Response */
|
|
|
|
|
200: {
|
|
|
|
|
content: {
|
|
|
|
|
"application/json": components["schemas"]["AppConfig"];
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|