mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore: Regen API
This commit is contained in:
parent
bb85608890
commit
0327eae509
@ -100,6 +100,13 @@ export type { NoiseOutput } from './models/NoiseOutput';
|
||||
export type { NormalbaeImageProcessorInvocation } from './models/NormalbaeImageProcessorInvocation';
|
||||
export type { OffsetPaginatedResults_BoardDTO_ } from './models/OffsetPaginatedResults_BoardDTO_';
|
||||
export type { OffsetPaginatedResults_ImageDTO_ } from './models/OffsetPaginatedResults_ImageDTO_';
|
||||
export type { ONNXLatentsToImageInvocation } from './models/ONNXLatentsToImageInvocation';
|
||||
export type { ONNXModelLoaderOutput } from './models/ONNXModelLoaderOutput';
|
||||
export type { ONNXPromptInvocation } from './models/ONNXPromptInvocation';
|
||||
export type { ONNXSD1ModelLoaderInvocation } from './models/ONNXSD1ModelLoaderInvocation';
|
||||
export type { ONNXStableDiffusion1ModelConfig } from './models/ONNXStableDiffusion1ModelConfig';
|
||||
export type { ONNXStableDiffusion2ModelConfig } from './models/ONNXStableDiffusion2ModelConfig';
|
||||
export type { ONNXTextToLatentsInvocation } from './models/ONNXTextToLatentsInvocation';
|
||||
export type { OpenposeImageProcessorInvocation } from './models/OpenposeImageProcessorInvocation';
|
||||
export type { PaginatedResults_GraphExecutionState_ } from './models/PaginatedResults_GraphExecutionState_';
|
||||
export type { ParamFloatInvocation } from './models/ParamFloatInvocation';
|
||||
|
@ -12,4 +12,3 @@ export type BoardChanges = {
|
||||
*/
|
||||
cover_image_name?: string;
|
||||
};
|
||||
|
||||
|
@ -35,4 +35,3 @@ export type BoardDTO = {
|
||||
*/
|
||||
image_count: number;
|
||||
};
|
||||
|
||||
|
@ -12,4 +12,3 @@ export type Body_create_board_image = {
|
||||
*/
|
||||
image_name: string;
|
||||
};
|
||||
|
||||
|
@ -12,4 +12,3 @@ export type Body_remove_board_image = {
|
||||
*/
|
||||
image_name: string;
|
||||
};
|
||||
|
||||
|
@ -19,4 +19,3 @@ export type ClipField = {
|
||||
*/
|
||||
loras: Array<LoraInfo>;
|
||||
};
|
||||
|
||||
|
@ -15,4 +15,3 @@ export type ControlNetModelConfig = {
|
||||
model_format: ControlNetModelFormat;
|
||||
error?: ModelError;
|
||||
};
|
||||
|
||||
|
@ -45,6 +45,10 @@ import type { MlsdImageProcessorInvocation } from './MlsdImageProcessorInvocatio
|
||||
import type { MultiplyInvocation } from './MultiplyInvocation';
|
||||
import type { NoiseInvocation } from './NoiseInvocation';
|
||||
import type { NormalbaeImageProcessorInvocation } from './NormalbaeImageProcessorInvocation';
|
||||
import type { ONNXLatentsToImageInvocation } from './ONNXLatentsToImageInvocation';
|
||||
import type { ONNXPromptInvocation } from './ONNXPromptInvocation';
|
||||
import type { ONNXSD1ModelLoaderInvocation } from './ONNXSD1ModelLoaderInvocation';
|
||||
import type { ONNXTextToLatentsInvocation } from './ONNXTextToLatentsInvocation';
|
||||
import type { OpenposeImageProcessorInvocation } from './OpenposeImageProcessorInvocation';
|
||||
import type { ParamFloatInvocation } from './ParamFloatInvocation';
|
||||
import type { ParamIntInvocation } from './ParamIntInvocation';
|
||||
@ -72,10 +76,9 @@ export type Graph = {
|
||||
/**
|
||||
* The nodes in this graph
|
||||
*/
|
||||
nodes?: Record<string, (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | PipelineModelLoaderInvocation | 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 | PipelineModelLoaderInvocation | LoraLoaderInvocation | CompelInvocation | LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CvInpaintInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | InpaintInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ONNXPromptInvocation | ONNXTextToLatentsInvocation | ONNXLatentsToImageInvocation | ONNXSD1ModelLoaderInvocation | ParamIntInvocation | ParamFloatInvocation | FloatLinearRangeInvocation | StepParamEasingInvocation | DynamicPromptInvocation | RestoreFaceInvocation | UpscaleInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | LatentsToLatentsInvocation)>;
|
||||
/**
|
||||
* The connections between nodes and their fields in this graph
|
||||
*/
|
||||
edges?: Array<Edge>;
|
||||
};
|
||||
|
||||
|
@ -18,6 +18,7 @@ import type { LoraLoaderOutput } from './LoraLoaderOutput';
|
||||
import type { MaskOutput } from './MaskOutput';
|
||||
import type { ModelLoaderOutput } from './ModelLoaderOutput';
|
||||
import type { NoiseOutput } from './NoiseOutput';
|
||||
import type { ONNXModelLoaderOutput } from './ONNXModelLoaderOutput';
|
||||
import type { PromptCollectionOutput } from './PromptCollectionOutput';
|
||||
import type { PromptOutput } from './PromptOutput';
|
||||
|
||||
@ -48,7 +49,7 @@ export type GraphExecutionState = {
|
||||
/**
|
||||
* The results of node executions
|
||||
*/
|
||||
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 | ONNXModelLoaderOutput | PromptOutput | PromptCollectionOutput | GraphInvocationOutput | IterateInvocationOutput | CollectInvocationOutput)>;
|
||||
/**
|
||||
* Errors raised when executing nodes
|
||||
*/
|
||||
@ -62,4 +63,3 @@ export type GraphExecutionState = {
|
||||
*/
|
||||
source_prepared_mapping: Record<string, Array<string>>;
|
||||
};
|
||||
|
||||
|
@ -15,4 +15,3 @@ export type LoRAModelConfig = {
|
||||
model_format: LoRAModelFormat;
|
||||
error?: ModelError;
|
||||
};
|
||||
|
||||
|
@ -28,4 +28,3 @@ export type LoraInfo = {
|
||||
*/
|
||||
weight: number;
|
||||
};
|
||||
|
||||
|
@ -35,4 +35,3 @@ export type LoraLoaderInvocation = {
|
||||
*/
|
||||
clip?: ClipField;
|
||||
};
|
||||
|
||||
|
@ -19,4 +19,3 @@ export type LoraLoaderOutput = {
|
||||
*/
|
||||
clip?: ClipField;
|
||||
};
|
||||
|
||||
|
@ -3,16 +3,15 @@
|
||||
/* eslint-disable */
|
||||
|
||||
import type { BaseModelType } from './BaseModelType';
|
||||
import type { LoRAModelFormat } from './LoRAModelFormat';
|
||||
import type { ModelError } from './ModelError';
|
||||
import type { ModelType } from './ModelType';
|
||||
|
||||
export type LoRAModelConfig = {
|
||||
name: string;
|
||||
base_model: BaseModelType;
|
||||
type: ModelType;
|
||||
type: 'lora';
|
||||
path: string;
|
||||
description?: string;
|
||||
format: ('lycoris' | 'diffusers');
|
||||
default?: boolean;
|
||||
model_format: LoRAModelFormat;
|
||||
error?: ModelError;
|
||||
};
|
||||
|
@ -24,4 +24,3 @@ export type ModelInfo = {
|
||||
*/
|
||||
submodel?: SubModelType;
|
||||
};
|
||||
|
||||
|
@ -24,4 +24,3 @@ export type ModelLoaderOutput = {
|
||||
*/
|
||||
vae?: VaeField;
|
||||
};
|
||||
|
||||
|
@ -5,4 +5,4 @@
|
||||
/**
|
||||
* An enumeration.
|
||||
*/
|
||||
export type ModelType = 'pipeline' | 'vae' | 'lora' | 'controlnet' | 'embedding';
|
||||
export type ModelType = 'onnx' | 'pipeline' | 'vae' | 'lora' | 'controlnet' | 'embedding';
|
||||
|
@ -4,6 +4,8 @@
|
||||
|
||||
import type { ControlNetModelConfig } from './ControlNetModelConfig';
|
||||
import type { LoRAModelConfig } from './LoRAModelConfig';
|
||||
import type { ONNXStableDiffusion1ModelConfig } from './ONNXStableDiffusion1ModelConfig';
|
||||
import type { ONNXStableDiffusion2ModelConfig } from './ONNXStableDiffusion2ModelConfig';
|
||||
import type { StableDiffusion1ModelCheckpointConfig } from './StableDiffusion1ModelCheckpointConfig';
|
||||
import type { StableDiffusion1ModelDiffusersConfig } from './StableDiffusion1ModelDiffusersConfig';
|
||||
import type { StableDiffusion2ModelCheckpointConfig } from './StableDiffusion2ModelCheckpointConfig';
|
||||
@ -12,6 +14,5 @@ import type { TextualInversionModelConfig } from './TextualInversionModelConfig'
|
||||
import type { VaeModelConfig } from './VaeModelConfig';
|
||||
|
||||
export type ModelsList = {
|
||||
models: Array<(StableDiffusion1ModelCheckpointConfig | StableDiffusion1ModelDiffusersConfig | VaeModelConfig | LoRAModelConfig | ControlNetModelConfig | TextualInversionModelConfig | StableDiffusion2ModelCheckpointConfig | StableDiffusion2ModelDiffusersConfig)>;
|
||||
models: Array<(StableDiffusion1ModelCheckpointConfig | StableDiffusion1ModelDiffusersConfig | ONNXStableDiffusion1ModelConfig | VaeModelConfig | LoRAModelConfig | ControlNetModelConfig | TextualInversionModelConfig | StableDiffusion2ModelCheckpointConfig | StableDiffusion2ModelDiffusersConfig | ONNXStableDiffusion2ModelConfig)>;
|
||||
};
|
||||
|
||||
|
@ -0,0 +1,29 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { LatentsField } from './LatentsField';
|
||||
import type { VaeField } from './VaeField';
|
||||
|
||||
/**
|
||||
* Generates an image from latents.
|
||||
*/
|
||||
export type ONNXLatentsToImageInvocation = {
|
||||
/**
|
||||
* 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?: 'l2i_onnx';
|
||||
/**
|
||||
* The latents to generate an image from
|
||||
*/
|
||||
latents?: LatentsField;
|
||||
/**
|
||||
* Vae submodel
|
||||
*/
|
||||
vae?: VaeField;
|
||||
};
|
@ -0,0 +1,30 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ClipField } from './ClipField';
|
||||
import type { UNetField } from './UNetField';
|
||||
import type { VaeField } from './VaeField';
|
||||
|
||||
/**
|
||||
* Model loader output
|
||||
*/
|
||||
export type ONNXModelLoaderOutput = {
|
||||
type?: 'model_loader_output_onnx';
|
||||
/**
|
||||
* UNet submodel
|
||||
*/
|
||||
unet?: UNetField;
|
||||
/**
|
||||
* Tokenizer and text_encoder submodels
|
||||
*/
|
||||
clip?: ClipField;
|
||||
/**
|
||||
* Vae submodel
|
||||
*/
|
||||
vae_decoder?: VaeField;
|
||||
/**
|
||||
* Vae submodel
|
||||
*/
|
||||
vae_encoder?: VaeField;
|
||||
};
|
@ -0,0 +1,29 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ClipField } from './ClipField';
|
||||
|
||||
/**
|
||||
* A node to process inputs and produce outputs.
|
||||
* May use dependency injection in __init__ to receive providers.
|
||||
*/
|
||||
export type ONNXPromptInvocation = {
|
||||
/**
|
||||
* 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?: 'prompt_onnx';
|
||||
/**
|
||||
* Prompt
|
||||
*/
|
||||
prompt?: string;
|
||||
/**
|
||||
* Clip to use
|
||||
*/
|
||||
clip?: ClipField;
|
||||
};
|
@ -0,0 +1,22 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
/**
|
||||
* Loading submodels of selected model.
|
||||
*/
|
||||
export type ONNXSD1ModelLoaderInvocation = {
|
||||
/**
|
||||
* 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?: 'sd1_model_loader_onnx';
|
||||
/**
|
||||
* Model to load
|
||||
*/
|
||||
model_name?: string;
|
||||
};
|
@ -0,0 +1,18 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { BaseModelType } from './BaseModelType';
|
||||
import type { ModelError } from './ModelError';
|
||||
import type { ModelVariantType } from './ModelVariantType';
|
||||
|
||||
export type ONNXStableDiffusion1ModelConfig = {
|
||||
name: string;
|
||||
base_model: BaseModelType;
|
||||
type: 'onnx';
|
||||
path: string;
|
||||
description?: string;
|
||||
model_format: null;
|
||||
error?: ModelError;
|
||||
variant: ModelVariantType;
|
||||
};
|
@ -0,0 +1,21 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { BaseModelType } from './BaseModelType';
|
||||
import type { ModelError } from './ModelError';
|
||||
import type { ModelVariantType } from './ModelVariantType';
|
||||
import type { SchedulerPredictionType } from './SchedulerPredictionType';
|
||||
|
||||
export type ONNXStableDiffusion2ModelConfig = {
|
||||
name: string;
|
||||
base_model: BaseModelType;
|
||||
type: 'onnx';
|
||||
path: string;
|
||||
description?: string;
|
||||
model_format: null;
|
||||
error?: ModelError;
|
||||
variant: ModelVariantType;
|
||||
prediction_type: SchedulerPredictionType;
|
||||
upcast_attention: boolean;
|
||||
};
|
@ -0,0 +1,50 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { ConditioningField } from './ConditioningField';
|
||||
import type { LatentsField } from './LatentsField';
|
||||
import type { UNetField } from './UNetField';
|
||||
|
||||
/**
|
||||
* Generates latents from conditionings.
|
||||
*/
|
||||
export type ONNXTextToLatentsInvocation = {
|
||||
/**
|
||||
* 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?: 't2l_onnx';
|
||||
/**
|
||||
* Positive conditioning for generation
|
||||
*/
|
||||
positive_conditioning?: ConditioningField;
|
||||
/**
|
||||
* Negative conditioning for generation
|
||||
*/
|
||||
negative_conditioning?: ConditioningField;
|
||||
/**
|
||||
* The noise to use
|
||||
*/
|
||||
noise?: LatentsField;
|
||||
/**
|
||||
* The number of steps to use to generate the image
|
||||
*/
|
||||
steps?: number;
|
||||
/**
|
||||
* The Classifier-Free Guidance, higher values may result in a result closer to the prompt
|
||||
*/
|
||||
cfg_scale?: (number | Array<number>);
|
||||
/**
|
||||
* The scheduler to use
|
||||
*/
|
||||
scheduler?: 'ddim' | 'ddpm' | 'deis' | 'lms' | 'lms_k' | 'pndm' | 'heun' | 'heun_k' | 'euler' | 'euler_k' | 'euler_a' | 'kdpm_2' | 'kdpm_2_a' | 'dpmpp_2s' | 'dpmpp_2s_k' | 'dpmpp_2m' | 'dpmpp_2m_k' | 'dpmpp_2m_sde' | 'dpmpp_2m_sde_k' | 'dpmpp_sde' | 'dpmpp_sde_k' | 'unipc';
|
||||
/**
|
||||
* UNet submodel
|
||||
*/
|
||||
unet?: UNetField;
|
||||
};
|
@ -25,4 +25,3 @@ export type OffsetPaginatedResults_BoardDTO_ = {
|
||||
*/
|
||||
total: number;
|
||||
};
|
||||
|
||||
|
@ -17,4 +17,3 @@ export type PipelineModelField = {
|
||||
*/
|
||||
base_model: BaseModelType;
|
||||
};
|
||||
|
||||
|
@ -22,4 +22,3 @@ export type PipelineModelLoaderInvocation = {
|
||||
*/
|
||||
model: PipelineModelField;
|
||||
};
|
||||
|
||||
|
@ -18,4 +18,3 @@ export type StableDiffusion1ModelCheckpointConfig = {
|
||||
config?: string;
|
||||
variant: ModelVariantType;
|
||||
};
|
||||
|
||||
|
@ -17,4 +17,3 @@ export type StableDiffusion1ModelDiffusersConfig = {
|
||||
vae?: string;
|
||||
variant: ModelVariantType;
|
||||
};
|
||||
|
||||
|
@ -21,4 +21,3 @@ export type StableDiffusion2ModelCheckpointConfig = {
|
||||
prediction_type: SchedulerPredictionType;
|
||||
upcast_attention: boolean;
|
||||
};
|
||||
|
||||
|
@ -20,4 +20,3 @@ export type StableDiffusion2ModelDiffusersConfig = {
|
||||
prediction_type: SchedulerPredictionType;
|
||||
upcast_attention: boolean;
|
||||
};
|
||||
|
||||
|
@ -5,4 +5,4 @@
|
||||
/**
|
||||
* An enumeration.
|
||||
*/
|
||||
export type SubModelType = 'unet' | 'text_encoder' | 'tokenizer' | 'vae' | 'scheduler' | 'safety_checker';
|
||||
export type SubModelType = 'unet' | 'text_encoder' | 'tokenizer' | 'vae' | 'vae_decoder' | 'vae_encoder' | 'scheduler' | 'safety_checker';
|
||||
|
@ -14,4 +14,3 @@ export type TextualInversionModelConfig = {
|
||||
model_format: null;
|
||||
error?: ModelError;
|
||||
};
|
||||
|
||||
|
@ -19,4 +19,3 @@ export type UNetField = {
|
||||
*/
|
||||
loras: Array<LoraInfo>;
|
||||
};
|
||||
|
||||
|
@ -4,15 +4,14 @@
|
||||
|
||||
import type { BaseModelType } from './BaseModelType';
|
||||
import type { ModelError } from './ModelError';
|
||||
import type { ModelType } from './ModelType';
|
||||
import type { VaeModelFormat } from './VaeModelFormat';
|
||||
|
||||
export type VaeModelConfig = {
|
||||
name: string;
|
||||
base_model: BaseModelType;
|
||||
type: ModelType;
|
||||
type: 'vae';
|
||||
path: string;
|
||||
description?: string;
|
||||
format: ('checkpoint' | 'diffusers');
|
||||
default?: boolean;
|
||||
model_format: VaeModelFormat;
|
||||
error?: ModelError;
|
||||
};
|
||||
|
@ -10,4 +10,3 @@ export type VaeField = {
|
||||
*/
|
||||
vae: ModelInfo;
|
||||
};
|
||||
|
||||
|
@ -15,4 +15,3 @@ export type VaeModelConfig = {
|
||||
model_format: VaeModelFormat;
|
||||
error?: ModelError;
|
||||
};
|
||||
|
||||
|
@ -46,6 +46,10 @@ import type { MlsdImageProcessorInvocation } from '../models/MlsdImageProcessorI
|
||||
import type { MultiplyInvocation } from '../models/MultiplyInvocation';
|
||||
import type { NoiseInvocation } from '../models/NoiseInvocation';
|
||||
import type { NormalbaeImageProcessorInvocation } from '../models/NormalbaeImageProcessorInvocation';
|
||||
import type { ONNXLatentsToImageInvocation } from '../models/ONNXLatentsToImageInvocation';
|
||||
import type { ONNXPromptInvocation } from '../models/ONNXPromptInvocation';
|
||||
import type { ONNXSD1ModelLoaderInvocation } from '../models/ONNXSD1ModelLoaderInvocation';
|
||||
import type { ONNXTextToLatentsInvocation } from '../models/ONNXTextToLatentsInvocation';
|
||||
import type { OpenposeImageProcessorInvocation } from '../models/OpenposeImageProcessorInvocation';
|
||||
import type { PaginatedResults_GraphExecutionState_ } from '../models/PaginatedResults_GraphExecutionState_';
|
||||
import type { ParamFloatInvocation } from '../models/ParamFloatInvocation';
|
||||
@ -174,7 +178,7 @@ export class SessionsService {
|
||||
* The id of the session
|
||||
*/
|
||||
sessionId: string,
|
||||
requestBody: (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | PipelineModelLoaderInvocation | 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),
|
||||
requestBody: (RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | PipelineModelLoaderInvocation | LoraLoaderInvocation | CompelInvocation | LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CvInpaintInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | InpaintInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ONNXPromptInvocation | ONNXTextToLatentsInvocation | ONNXLatentsToImageInvocation | ONNXSD1ModelLoaderInvocation | ParamIntInvocation | ParamFloatInvocation | FloatLinearRangeInvocation | StepParamEasingInvocation | DynamicPromptInvocation | RestoreFaceInvocation | UpscaleInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | LatentsToLatentsInvocation),
|
||||
}): CancelablePromise<string> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'POST',
|
||||
@ -211,7 +215,7 @@ export class SessionsService {
|
||||
* The path to the node in the graph
|
||||
*/
|
||||
nodePath: string,
|
||||
requestBody: (LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | PipelineModelLoaderInvocation | 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),
|
||||
requestBody: (RangeInvocation | RangeOfSizeInvocation | RandomRangeInvocation | PipelineModelLoaderInvocation | LoraLoaderInvocation | CompelInvocation | LoadImageInvocation | ShowImageInvocation | ImageCropInvocation | ImagePasteInvocation | MaskFromAlphaInvocation | ImageMultiplyInvocation | ImageChannelInvocation | ImageConvertInvocation | ImageBlurInvocation | ImageResizeInvocation | ImageScaleInvocation | ImageLerpInvocation | ImageInverseLerpInvocation | ControlNetInvocation | ImageProcessorInvocation | CvInpaintInvocation | NoiseInvocation | TextToLatentsInvocation | LatentsToImageInvocation | ResizeLatentsInvocation | ScaleLatentsInvocation | ImageToLatentsInvocation | InpaintInvocation | InfillColorInvocation | InfillTileInvocation | InfillPatchMatchInvocation | AddInvocation | SubtractInvocation | MultiplyInvocation | DivideInvocation | RandomIntInvocation | ONNXPromptInvocation | ONNXTextToLatentsInvocation | ONNXLatentsToImageInvocation | ONNXSD1ModelLoaderInvocation | ParamIntInvocation | ParamFloatInvocation | FloatLinearRangeInvocation | StepParamEasingInvocation | DynamicPromptInvocation | RestoreFaceInvocation | UpscaleInvocation | GraphInvocation | IterateInvocation | CollectInvocation | CannyImageProcessorInvocation | HedImageProcessorInvocation | LineartImageProcessorInvocation | LineartAnimeImageProcessorInvocation | OpenposeImageProcessorInvocation | MidasDepthImageProcessorInvocation | NormalbaeImageProcessorInvocation | MlsdImageProcessorInvocation | PidiImageProcessorInvocation | ContentShuffleImageProcessorInvocation | ZoeDepthImageProcessorInvocation | MediapipeFaceProcessorInvocation | LatentsToLatentsInvocation),
|
||||
}): CancelablePromise<GraphExecutionState> {
|
||||
return __request(OpenAPI, {
|
||||
method: 'PUT',
|
||||
|
Loading…
Reference in New Issue
Block a user