diff --git a/invokeai/app/invocations/model.py b/invokeai/app/invocations/model.py index 760fa08a12..12b8c7cdd6 100644 --- a/invokeai/app/invocations/model.py +++ b/invokeai/app/invocations/model.py @@ -1,11 +1,13 @@ -from typing import Literal, Optional, Union, List -from pydantic import BaseModel, Field import copy +from typing import List, Literal, Optional, Union -from .baseinvocation import BaseInvocation, BaseInvocationOutput, InvocationContext, InvocationConfig +from pydantic import BaseModel, Field -from ...backend.util.devices import choose_torch_device, torch_dtype from ...backend.model_management import BaseModelType, ModelType, SubModelType +from ...backend.util.devices import choose_torch_device, torch_dtype +from .baseinvocation import (BaseInvocation, BaseInvocationOutput, + InvocationConfig, InvocationContext) + class ModelInfo(BaseModel): model_name: str = Field(description="Info to load submodel") @@ -43,19 +45,19 @@ class ModelLoaderOutput(BaseInvocationOutput): #fmt: on -class PipelineModelField(BaseModel): - """Pipeline model field""" +class MainModelField(BaseModel): + """Main model field""" model_name: str = Field(description="Name of the model") base_model: BaseModelType = Field(description="Base model") -class PipelineModelLoaderInvocation(BaseInvocation): - """Loads a pipeline model, outputting its submodels.""" +class MainModelLoaderInvocation(BaseInvocation): + """Loads a main model, outputting its submodels.""" - type: Literal["pipeline_model_loader"] = "pipeline_model_loader" + type: Literal["main_model_loader"] = "main_model_loader" - model: PipelineModelField = Field(description="The model to load") + model: MainModelField = Field(description="The model to load") # TODO: precision? # Schema customisation diff --git a/invokeai/frontend/web/src/app/components/App.tsx b/invokeai/frontend/web/src/app/components/App.tsx index 2b0e247d48..f43c8fc5c0 100644 --- a/invokeai/frontend/web/src/app/components/App.tsx +++ b/invokeai/frontend/web/src/app/components/App.tsx @@ -4,6 +4,7 @@ import { useAppDispatch, useAppSelector } from 'app/store/storeHooks'; import { PartialAppConfig } from 'app/types/invokeai'; import ImageUploader from 'common/components/ImageUploader'; import GalleryDrawer from 'features/gallery/components/GalleryPanel'; +import DeleteImageModal from 'features/imageDeletion/components/DeleteImageModal'; import Lightbox from 'features/lightbox/components/Lightbox'; import SiteHeader from 'features/system/components/SiteHeader'; import { useFeatureStatus } from 'features/system/hooks/useFeatureStatus'; @@ -15,11 +16,10 @@ import InvokeTabs from 'features/ui/components/InvokeTabs'; import ParametersDrawer from 'features/ui/components/ParametersDrawer'; import i18n from 'i18n'; import { ReactNode, memo, useEffect } from 'react'; +import DeleteBoardImagesModal from '../../features/gallery/components/Boards/DeleteBoardImagesModal'; +import UpdateImageBoardModal from '../../features/gallery/components/Boards/UpdateImageBoardModal'; import GlobalHotkeys from './GlobalHotkeys'; import Toaster from './Toaster'; -import UpdateImageBoardModal from '../../features/gallery/components/Boards/UpdateImageBoardModal'; -import DeleteBoardImagesModal from '../../features/gallery/components/Boards/DeleteBoardImagesModal'; -import DeleteImageModal from 'features/imageDeletion/components/DeleteImageModal'; const DEFAULT_CONFIG = {}; diff --git a/invokeai/frontend/web/src/features/nodes/components/fields/ModelInputFieldComponent.tsx b/invokeai/frontend/web/src/features/nodes/components/fields/ModelInputFieldComponent.tsx index 741662655f..b5bb9c5b74 100644 --- a/invokeai/frontend/web/src/features/nodes/components/fields/ModelInputFieldComponent.tsx +++ b/invokeai/frontend/web/src/features/nodes/components/fields/ModelInputFieldComponent.tsx @@ -6,13 +6,13 @@ import { ModelInputFieldValue, } from 'features/nodes/types/types'; -import { memo, useCallback, useEffect, useMemo } from 'react'; -import { FieldComponentProps } from './types'; -import { forEach, isString } from 'lodash-es'; -import { MODEL_TYPE_MAP as BASE_MODEL_NAME_MAP } from 'features/system/components/ModelSelect'; import IAIMantineSelect from 'common/components/IAIMantineSelect'; +import { MODEL_TYPE_MAP as BASE_MODEL_NAME_MAP } from 'features/system/components/ModelSelect'; +import { forEach, isString } from 'lodash-es'; +import { memo, useCallback, useEffect, useMemo } from 'react'; import { useTranslation } from 'react-i18next'; import { useListModelsQuery } from 'services/api/endpoints/models'; +import { FieldComponentProps } from './types'; const ModelInputFieldComponent = ( props: FieldComponentProps @@ -22,18 +22,18 @@ const ModelInputFieldComponent = ( const dispatch = useAppDispatch(); const { t } = useTranslation(); - const { data: pipelineModels } = useListModelsQuery({ + const { data: mainModels } = useListModelsQuery({ model_type: 'main', }); const data = useMemo(() => { - if (!pipelineModels) { + if (!mainModels) { return []; } const data: SelectItem[] = []; - forEach(pipelineModels.entities, (model, id) => { + forEach(mainModels.entities, (model, id) => { if (!model) { return; } @@ -46,11 +46,11 @@ const ModelInputFieldComponent = ( }); return data; - }, [pipelineModels]); + }, [mainModels]); const selectedModel = useMemo( - () => pipelineModels?.entities[field.value ?? pipelineModels.ids[0]], - [pipelineModels?.entities, pipelineModels?.ids, field.value] + () => mainModels?.entities[field.value ?? mainModels.ids[0]], + [mainModels?.entities, mainModels?.ids, field.value] ); const handleValueChanged = useCallback( @@ -71,18 +71,18 @@ const ModelInputFieldComponent = ( ); useEffect(() => { - if (field.value && pipelineModels?.ids.includes(field.value)) { + if (field.value && mainModels?.ids.includes(field.value)) { return; } - const firstModel = pipelineModels?.ids[0]; + const firstModel = mainModels?.ids[0]; if (!isString(firstModel)) { return; } handleValueChanged(firstModel); - }, [field.value, handleValueChanged, pipelineModels?.ids]); + }, [field.value, handleValueChanged, mainModels?.ids]); return ( { if (field.type === 'model') { if (field.value) { - return modelIdToPipelineModelField(field.value); + return modelIdToMainModelField(field.value); } } diff --git a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/constants.ts b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/constants.ts index b0b1edde30..afc03fdc60 100644 --- a/invokeai/frontend/web/src/features/nodes/util/graphBuilders/constants.ts +++ b/invokeai/frontend/web/src/features/nodes/util/graphBuilders/constants.ts @@ -7,7 +7,7 @@ export const NOISE = 'noise'; export const RANDOM_INT = 'rand_int'; export const RANGE_OF_SIZE = 'range_of_size'; export const ITERATE = 'iterate'; -export const PIPELINE_MODEL_LOADER = 'pipeline_model_loader'; +export const MAIN_MODEL_LOADER = 'main_model_loader'; export const IMAGE_TO_LATENTS = 'image_to_latents'; export const LATENTS_TO_LATENTS = 'latents_to_latents'; export const RESIZE = 'resize_image'; diff --git a/invokeai/frontend/web/src/features/nodes/util/modelIdToMainModelField.ts b/invokeai/frontend/web/src/features/nodes/util/modelIdToMainModelField.ts new file mode 100644 index 0000000000..6bb0f776b2 --- /dev/null +++ b/invokeai/frontend/web/src/features/nodes/util/modelIdToMainModelField.ts @@ -0,0 +1,16 @@ +import { BaseModelType, MainModelField } from 'services/api/types'; + +/** + * Crudely converts a model id to a main model field + * TODO: Make better + */ +export const modelIdToMainModelField = (modelId: string): MainModelField => { + const [base_model, model_type, model_name] = modelId.split('/'); + + const field: MainModelField = { + base_model: base_model as BaseModelType, + model_name, + }; + + return field; +}; diff --git a/invokeai/frontend/web/src/features/nodes/util/modelIdToPipelineModelField.ts b/invokeai/frontend/web/src/features/nodes/util/modelIdToPipelineModelField.ts deleted file mode 100644 index 0941255181..0000000000 --- a/invokeai/frontend/web/src/features/nodes/util/modelIdToPipelineModelField.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { BaseModelType, PipelineModelField } from 'services/api/types'; - -/** - * Crudely converts a model id to a pipeline model field - * TODO: Make better - */ -export const modelIdToPipelineModelField = ( - modelId: string -): PipelineModelField => { - const [base_model, model_type, model_name] = modelId.split('/'); - - const field: PipelineModelField = { - base_model: base_model as BaseModelType, - model_name, - }; - - return field; -}; diff --git a/invokeai/frontend/web/src/features/system/components/ModelSelect.tsx b/invokeai/frontend/web/src/features/system/components/ModelSelect.tsx index 8b098936b3..4232858621 100644 --- a/invokeai/frontend/web/src/features/system/components/ModelSelect.tsx +++ b/invokeai/frontend/web/src/features/system/components/ModelSelect.tsx @@ -5,9 +5,9 @@ import { useAppDispatch, useAppSelector } from 'app/store/storeHooks'; import IAIMantineSelect from 'common/components/IAIMantineSelect'; import { modelSelected } from 'features/parameters/store/generationSlice'; -import { forEach, isString } from 'lodash-es'; import { SelectItem } from '@mantine/core'; import { RootState } from 'app/store/store'; +import { forEach, isString } from 'lodash-es'; import { useListModelsQuery } from 'services/api/endpoints/models'; export const MODEL_TYPE_MAP = { @@ -23,18 +23,18 @@ const ModelSelect = () => { (state: RootState) => state.generation.model ); - const { data: pipelineModels, isLoading } = useListModelsQuery({ + const { data: mainModels, isLoading } = useListModelsQuery({ model_type: 'main', }); const data = useMemo(() => { - if (!pipelineModels) { + if (!mainModels) { return []; } const data: SelectItem[] = []; - forEach(pipelineModels.entities, (model, id) => { + forEach(mainModels.entities, (model, id) => { if (!model) { return; } @@ -47,11 +47,11 @@ const ModelSelect = () => { }); return data; - }, [pipelineModels]); + }, [mainModels]); const selectedModel = useMemo( - () => pipelineModels?.entities[selectedModelId], - [pipelineModels?.entities, selectedModelId] + () => mainModels?.entities[selectedModelId], + [mainModels?.entities, selectedModelId] ); const handleChangeModel = useCallback( @@ -65,20 +65,18 @@ const ModelSelect = () => { ); useEffect(() => { - // If the selected model is not in the list of models, select the first one - // Handles first-run setting of models, and the user deleting the previously-selected model - if (selectedModelId && pipelineModels?.ids.includes(selectedModelId)) { + if (selectedModelId && mainModels?.ids.includes(selectedModelId)) { return; } - const firstModel = pipelineModels?.ids[0]; + const firstModel = mainModels?.ids[0]; if (!isString(firstModel)) { return; } handleChangeModel(firstModel); - }, [handleChangeModel, pipelineModels?.ids, selectedModelId]); + }, [handleChangeModel, mainModels?.ids, selectedModelId]); return isLoading ? ( { - if (!openModel || !pipelineModels) return; + if (!openModel || !mainModels) return; - if (pipelineModels['entities'][openModel]['model_format'] === 'diffusers') { + if (mainModels['entities'][openModel]['model_format'] === 'diffusers') { return ( ); } else { return ( ); } diff --git a/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/ModelList.tsx b/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/ModelList.tsx index 3099a18325..fac89b7edc 100644 --- a/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/ModelList.tsx +++ b/invokeai/frontend/web/src/features/ui/components/tabs/ModelManager/subpanels/ModelManagerPanel/ModelList.tsx @@ -36,8 +36,8 @@ function ModelFilterButton({ } const ModelList = () => { - const { data: pipelineModels } = useListModelsQuery({ - model_type: 'pipeline', + const { data: mainModels } = useListModelsQuery({ + model_type: 'main', }); const [renderModelList, setRenderModelList] = React.useState(false); @@ -70,9 +70,9 @@ const ModelList = () => { const filteredModelListItemsToRender: ReactNode[] = []; const localFilteredModelListItemsToRender: ReactNode[] = []; - if (!pipelineModels) return; + if (!mainModels) return; - const modelList = pipelineModels.entities; + const modelList = mainModels.entities; Object.keys(modelList).forEach((model, i) => { if ( @@ -179,7 +179,7 @@ const ModelList = () => { )} ); - }, [pipelineModels, searchText, t, isSelectedFilter]); + }, [mainModels, searchText, t, isSelectedFilter]); return ( diff --git a/invokeai/frontend/web/src/services/api/schema.d.ts b/invokeai/frontend/web/src/services/api/schema.d.ts index e542cd4ba2..9d8ac90535 100644 --- a/invokeai/frontend/web/src/services/api/schema.d.ts +++ b/invokeai/frontend/web/src/services/api/schema.d.ts @@ -3,188 +3,187 @@ * Do not make direct changes to the file. */ - export type paths = { - "/api/v1/sessions/": { + '/api/v1/sessions/': { /** - * List Sessions + * List Sessions * @description Gets a list of sessions, optionally searching */ - get: operations["list_sessions"]; + get: operations['list_sessions']; /** - * Create Session + * Create Session * @description Creates a new session, optionally initializing it with an invocation graph */ - post: operations["create_session"]; + post: operations['create_session']; }; - "/api/v1/sessions/{session_id}": { + '/api/v1/sessions/{session_id}': { /** - * Get Session + * Get Session * @description Gets a session */ - get: operations["get_session"]; + get: operations['get_session']; }; - "/api/v1/sessions/{session_id}/nodes": { + '/api/v1/sessions/{session_id}/nodes': { /** - * Add Node + * Add Node * @description Adds a node to the graph */ - post: operations["add_node"]; + post: operations['add_node']; }; - "/api/v1/sessions/{session_id}/nodes/{node_path}": { + '/api/v1/sessions/{session_id}/nodes/{node_path}': { /** - * Update Node + * Update Node * @description Updates a node in the graph and removes all linked edges */ - put: operations["update_node"]; + put: operations['update_node']; /** - * Delete Node + * Delete Node * @description Deletes a node in the graph and removes all linked edges */ - delete: operations["delete_node"]; + delete: operations['delete_node']; }; - "/api/v1/sessions/{session_id}/edges": { + '/api/v1/sessions/{session_id}/edges': { /** - * Add Edge + * Add Edge * @description Adds an edge to the graph */ - post: operations["add_edge"]; + post: operations['add_edge']; }; - "/api/v1/sessions/{session_id}/edges/{from_node_id}/{from_field}/{to_node_id}/{to_field}": { + '/api/v1/sessions/{session_id}/edges/{from_node_id}/{from_field}/{to_node_id}/{to_field}': { /** - * Delete Edge + * Delete Edge * @description Deletes an edge from the graph */ - delete: operations["delete_edge"]; + delete: operations['delete_edge']; }; - "/api/v1/sessions/{session_id}/invoke": { + '/api/v1/sessions/{session_id}/invoke': { /** - * Invoke Session + * Invoke Session * @description Invokes a session */ - put: operations["invoke_session"]; + put: operations['invoke_session']; /** - * Cancel Session Invoke + * Cancel Session Invoke * @description Invokes a session */ - delete: operations["cancel_session_invoke"]; + delete: operations['cancel_session_invoke']; }; - "/api/v1/models/": { + '/api/v1/models/': { /** - * List Models + * List Models * @description Gets a list of models */ - get: operations["list_models"]; + get: operations['list_models']; /** - * Import Model + * Import Model * @description Add Model */ - post: operations["import_model"]; + post: operations['import_model']; }; - "/api/v1/models/{model_name}": { + '/api/v1/models/{model_name}': { /** - * Delete Model + * Delete Model * @description Delete Model */ - delete: operations["del_model"]; + delete: operations['del_model']; }; - "/api/v1/images/": { + '/api/v1/images/': { /** - * List Images With Metadata + * List Images With Metadata * @description Gets a list of images */ - get: operations["list_images_with_metadata"]; + get: operations['list_images_with_metadata']; /** - * Upload Image + * Upload Image * @description Uploads an image */ - post: operations["upload_image"]; + post: operations['upload_image']; }; - "/api/v1/images/{image_name}": { + '/api/v1/images/{image_name}': { /** - * Get Image Full + * Get Image Full * @description Gets a full-resolution image file */ - get: operations["get_image_full"]; + get: operations['get_image_full']; /** - * Delete Image + * Delete Image * @description Deletes an image */ - delete: operations["delete_image"]; + delete: operations['delete_image']; /** - * Update Image + * Update Image * @description Updates an image */ - patch: operations["update_image"]; + patch: operations['update_image']; }; - "/api/v1/images/{image_name}/metadata": { + '/api/v1/images/{image_name}/metadata': { /** - * Get Image Metadata + * Get Image Metadata * @description Gets an image's metadata */ - get: operations["get_image_metadata"]; + get: operations['get_image_metadata']; }; - "/api/v1/images/{image_name}/thumbnail": { + '/api/v1/images/{image_name}/thumbnail': { /** - * Get Image Thumbnail + * Get Image Thumbnail * @description Gets a thumbnail image file */ - get: operations["get_image_thumbnail"]; + get: operations['get_image_thumbnail']; }; - "/api/v1/images/{image_name}/urls": { + '/api/v1/images/{image_name}/urls': { /** - * Get Image Urls + * Get Image Urls * @description Gets an image and thumbnail URL */ - get: operations["get_image_urls"]; + get: operations['get_image_urls']; }; - "/api/v1/boards/": { + '/api/v1/boards/': { /** - * List Boards + * List Boards * @description Gets a list of boards */ - get: operations["list_boards"]; + get: operations['list_boards']; /** - * Create Board + * Create Board * @description Creates a board */ - post: operations["create_board"]; + post: operations['create_board']; }; - "/api/v1/boards/{board_id}": { + '/api/v1/boards/{board_id}': { /** - * Get Board + * Get Board * @description Gets a board */ - get: operations["get_board"]; + get: operations['get_board']; /** - * Delete Board + * Delete Board * @description Deletes a board */ - delete: operations["delete_board"]; + delete: operations['delete_board']; /** - * Update Board + * Update Board * @description Updates a board */ - patch: operations["update_board"]; + patch: operations['update_board']; }; - "/api/v1/board_images/": { + '/api/v1/board_images/': { /** - * Create Board Image + * Create Board Image * @description Creates a board_image */ - post: operations["create_board_image"]; + post: operations['create_board_image']; /** - * Remove Board Image + * Remove Board Image * @description Deletes a board_image */ - delete: operations["remove_board_image"]; + delete: operations['remove_board_image']; }; - "/api/v1/board_images/{board_id}": { + '/api/v1/board_images/{board_id}': { /** - * List Board Images + * List Board Images * @description Gets a list of images for a board */ - get: operations["list_board_images"]; + get: operations['list_board_images']; }; }; @@ -193,96 +192,96 @@ export type webhooks = Record; export type components = { schemas: { /** - * AddInvocation + * AddInvocation * @description Adds two numbers */ AddInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default add + * Type + * @default add * @enum {string} */ - type?: "add"; + type?: 'add'; /** - * A - * @description The first number + * A + * @description The first number * @default 0 */ a?: number; /** - * B - * @description The second number + * B + * @description The second number * @default 0 */ b?: number; }; /** - * BaseModelType - * @description An enumeration. + * BaseModelType + * @description An enumeration. * @enum {string} */ - BaseModelType: "sd-1" | "sd-2"; + BaseModelType: 'sd-1' | 'sd-2'; /** BoardChanges */ BoardChanges: { /** - * Board Name + * Board Name * @description The board's new name. */ board_name?: string; /** - * Cover Image Name + * Cover Image Name * @description The name of the board's new cover image. */ cover_image_name?: string; }; /** - * BoardDTO + * BoardDTO * @description Deserialized board record with cover image URL and image count. */ BoardDTO: { /** - * Board Id + * Board Id * @description The unique ID of the board. */ board_id: string; /** - * Board Name + * Board Name * @description The name of the board. */ board_name: string; /** - * Created At + * Created At * @description The created timestamp of the board. */ created_at: string; /** - * Updated At + * Updated At * @description The updated timestamp of the board. */ updated_at: string; /** - * Deleted At + * Deleted At * @description The deleted timestamp of the board. */ deleted_at?: string; /** - * Cover Image Name + * Cover Image Name * @description The name of the board's cover image. */ cover_image_name?: string; /** - * Image Count + * Image Count * @description The number of images in the board. */ image_count: number; @@ -290,12 +289,12 @@ export type components = { /** Body_create_board_image */ Body_create_board_image: { /** - * Board Id + * Board Id * @description The id of the board to add to */ board_id: string; /** - * Image Name + * Image Name * @description The name of the image to add */ image_name: string; @@ -303,12 +302,12 @@ export type components = { /** Body_remove_board_image */ Body_remove_board_image: { /** - * Board Id + * Board Id * @description The id of the board */ board_id: string; /** - * Image Name + * Image Name * @description The name of the image to remove */ image_name: string; @@ -316,47 +315,47 @@ export type components = { /** Body_upload_image */ Body_upload_image: { /** - * File + * File * Format: binary */ file: string; }; /** - * CannyImageProcessorInvocation + * CannyImageProcessorInvocation * @description Canny edge detection for ControlNet */ CannyImageProcessorInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default canny_image_processor + * Type + * @default canny_image_processor * @enum {string} */ - type?: "canny_image_processor"; + type?: 'canny_image_processor'; /** - * Image + * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Low Threshold - * @description The low threshold of the Canny pixel gradient (0-255) + * Low Threshold + * @description The low threshold of the Canny pixel gradient (0-255) * @default 100 */ low_threshold?: number; /** - * High Threshold - * @description The high threshold of the Canny pixel gradient (0-255) + * High Threshold + * @description The high threshold of the Canny pixel gradient (0-255) * @default 200 */ high_threshold?: number; @@ -364,48 +363,48 @@ export type components = { /** CkptModelInfo */ CkptModelInfo: { /** - * Description + * Description * @description A description of the model */ description?: string; /** - * Model Name + * Model Name * @description The name of the model */ model_name: string; /** - * Model Type + * Model Type * @description The type of the model */ model_type: string; /** - * Format - * @default ckpt + * Format + * @default ckpt * @enum {string} */ - format?: "ckpt"; + format?: 'ckpt'; /** - * Config + * Config * @description The path to the model config */ config: string; /** - * Weights + * Weights * @description The path to the model weights */ weights: string; /** - * Vae + * Vae * @description The path to the model VAE */ vae: string; /** - * Width + * Width * @description The width of the model */ width?: number; /** - * Height + * Height * @description The height of the model */ height?: number; @@ -413,207 +412,207 @@ export type components = { /** ClipField */ ClipField: { /** - * Tokenizer + * Tokenizer * @description Info to load tokenizer submodel */ - tokenizer: components["schemas"]["ModelInfo"]; + tokenizer: components['schemas']['ModelInfo']; /** - * Text Encoder + * Text Encoder * @description Info to load text_encoder submodel */ - text_encoder: components["schemas"]["ModelInfo"]; + text_encoder: components['schemas']['ModelInfo']; /** - * Loras + * Loras * @description Loras to apply on model loading */ - loras: (components["schemas"]["LoraInfo"])[]; + loras: components['schemas']['LoraInfo'][]; }; /** - * CollectInvocation + * CollectInvocation * @description Collects values into a collection */ CollectInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default collect + * Type + * @default collect * @enum {string} */ - type?: "collect"; + type?: 'collect'; /** - * Item + * Item * @description The item to collect (all inputs must be of the same type) */ item?: unknown; /** - * Collection + * Collection * @description The collection, will be provided on execution */ - collection?: (unknown)[]; + collection?: unknown[]; }; /** - * CollectInvocationOutput + * CollectInvocationOutput * @description Base class for all invocation outputs */ CollectInvocationOutput: { /** - * Type - * @default collect_output + * Type + * @default collect_output * @enum {string} */ - type: "collect_output"; + type: 'collect_output'; /** - * Collection + * Collection * @description The collection of input items */ - collection: (unknown)[]; + collection: unknown[]; }; /** ColorField */ ColorField: { /** - * R + * R * @description The red component */ r: number; /** - * G + * G * @description The green component */ g: number; /** - * B + * B * @description The blue component */ b: number; /** - * A + * A * @description The alpha component */ a: number; }; /** - * CompelInvocation + * CompelInvocation * @description Parse prompt using compel package to conditioning. */ CompelInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default compel + * Type + * @default compel * @enum {string} */ - type?: "compel"; + type?: 'compel'; /** - * Prompt - * @description Prompt + * Prompt + * @description Prompt * @default */ prompt?: string; /** - * Clip + * Clip * @description Clip to use */ - clip?: components["schemas"]["ClipField"]; + clip?: components['schemas']['ClipField']; }; /** - * CompelOutput + * CompelOutput * @description Compel parser output */ CompelOutput: { /** - * Type - * @default compel_output + * Type + * @default compel_output * @enum {string} */ - type?: "compel_output"; + type?: 'compel_output'; /** - * Conditioning + * Conditioning * @description Conditioning */ - conditioning?: components["schemas"]["ConditioningField"]; + conditioning?: components['schemas']['ConditioningField']; }; /** ConditioningField */ ConditioningField: { /** - * Conditioning Name + * Conditioning Name * @description The name of conditioning data */ conditioning_name: string; }; /** - * ContentShuffleImageProcessorInvocation + * ContentShuffleImageProcessorInvocation * @description Applies content shuffle processing to image */ ContentShuffleImageProcessorInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default content_shuffle_image_processor + * Type + * @default content_shuffle_image_processor * @enum {string} */ - type?: "content_shuffle_image_processor"; + type?: 'content_shuffle_image_processor'; /** - * Image + * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Detect Resolution - * @description The pixel resolution for detection + * Detect Resolution + * @description The pixel resolution for detection * @default 512 */ detect_resolution?: number; /** - * Image Resolution - * @description The pixel resolution for the output image + * Image Resolution + * @description The pixel resolution for the output image * @default 512 */ image_resolution?: number; /** - * H - * @description Content shuffle `h` parameter + * H + * @description Content shuffle `h` parameter * @default 512 */ h?: number; /** - * W - * @description Content shuffle `w` parameter + * W + * @description Content shuffle `w` parameter * @default 512 */ w?: number; /** - * F - * @description Content shuffle `f` parameter + * F + * @description Content shuffle `f` parameter * @default 256 */ f?: number; @@ -621,297 +620,334 @@ export type components = { /** ControlField */ ControlField: { /** - * Image + * Image * @description The control image */ - image: components["schemas"]["ImageField"]; + image: components['schemas']['ImageField']; /** - * Control Model + * Control Model * @description The ControlNet model to use */ control_model: string; /** - * Control Weight - * @description The weight given to the ControlNet + * Control Weight + * @description The weight given to the ControlNet * @default 1 */ - control_weight: number | (number)[]; + control_weight: number | number[]; /** - * Begin Step Percent - * @description When the ControlNet is first applied (% of total steps) + * Begin Step Percent + * @description When the ControlNet is first applied (% of total steps) * @default 0 */ begin_step_percent: number; /** - * End Step Percent - * @description When the ControlNet is last applied (% of total steps) + * End Step Percent + * @description When the ControlNet is last applied (% of total steps) * @default 1 */ end_step_percent: number; /** - * Control Mode - * @description The control mode to use - * @default balanced + * Control Mode + * @description The control mode to use + * @default balanced * @enum {string} */ - control_mode?: "balanced" | "more_prompt" | "more_control" | "unbalanced"; + control_mode?: 'balanced' | 'more_prompt' | 'more_control' | 'unbalanced'; }; /** - * ControlNetInvocation + * ControlNetInvocation * @description Collects ControlNet info to pass to other nodes */ ControlNetInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default controlnet + * Type + * @default controlnet * @enum {string} */ - type?: "controlnet"; + type?: 'controlnet'; /** - * Image + * Image * @description The control image */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Control Model - * @description control model used - * @default lllyasviel/sd-controlnet-canny + * Control Model + * @description control model used + * @default lllyasviel/sd-controlnet-canny * @enum {string} */ - control_model?: "lllyasviel/sd-controlnet-canny" | "lllyasviel/sd-controlnet-depth" | "lllyasviel/sd-controlnet-hed" | "lllyasviel/sd-controlnet-seg" | "lllyasviel/sd-controlnet-openpose" | "lllyasviel/sd-controlnet-scribble" | "lllyasviel/sd-controlnet-normal" | "lllyasviel/sd-controlnet-mlsd" | "lllyasviel/control_v11p_sd15_canny" | "lllyasviel/control_v11p_sd15_openpose" | "lllyasviel/control_v11p_sd15_seg" | "lllyasviel/control_v11f1p_sd15_depth" | "lllyasviel/control_v11p_sd15_normalbae" | "lllyasviel/control_v11p_sd15_scribble" | "lllyasviel/control_v11p_sd15_mlsd" | "lllyasviel/control_v11p_sd15_softedge" | "lllyasviel/control_v11p_sd15s2_lineart_anime" | "lllyasviel/control_v11p_sd15_lineart" | "lllyasviel/control_v11p_sd15_inpaint" | "lllyasviel/control_v11e_sd15_shuffle" | "lllyasviel/control_v11e_sd15_ip2p" | "lllyasviel/control_v11f1e_sd15_tile" | "thibaud/controlnet-sd21-openpose-diffusers" | "thibaud/controlnet-sd21-canny-diffusers" | "thibaud/controlnet-sd21-depth-diffusers" | "thibaud/controlnet-sd21-scribble-diffusers" | "thibaud/controlnet-sd21-hed-diffusers" | "thibaud/controlnet-sd21-zoedepth-diffusers" | "thibaud/controlnet-sd21-color-diffusers" | "thibaud/controlnet-sd21-openposev2-diffusers" | "thibaud/controlnet-sd21-lineart-diffusers" | "thibaud/controlnet-sd21-normalbae-diffusers" | "thibaud/controlnet-sd21-ade20k-diffusers" | "CrucibleAI/ControlNetMediaPipeFace,diffusion_sd15" | "CrucibleAI/ControlNetMediaPipeFace"; + control_model?: + | 'lllyasviel/sd-controlnet-canny' + | 'lllyasviel/sd-controlnet-depth' + | 'lllyasviel/sd-controlnet-hed' + | 'lllyasviel/sd-controlnet-seg' + | 'lllyasviel/sd-controlnet-openpose' + | 'lllyasviel/sd-controlnet-scribble' + | 'lllyasviel/sd-controlnet-normal' + | 'lllyasviel/sd-controlnet-mlsd' + | 'lllyasviel/control_v11p_sd15_canny' + | 'lllyasviel/control_v11p_sd15_openpose' + | 'lllyasviel/control_v11p_sd15_seg' + | 'lllyasviel/control_v11f1p_sd15_depth' + | 'lllyasviel/control_v11p_sd15_normalbae' + | 'lllyasviel/control_v11p_sd15_scribble' + | 'lllyasviel/control_v11p_sd15_mlsd' + | 'lllyasviel/control_v11p_sd15_softedge' + | 'lllyasviel/control_v11p_sd15s2_lineart_anime' + | 'lllyasviel/control_v11p_sd15_lineart' + | 'lllyasviel/control_v11p_sd15_inpaint' + | 'lllyasviel/control_v11e_sd15_shuffle' + | 'lllyasviel/control_v11e_sd15_ip2p' + | 'lllyasviel/control_v11f1e_sd15_tile' + | 'thibaud/controlnet-sd21-openpose-diffusers' + | 'thibaud/controlnet-sd21-canny-diffusers' + | 'thibaud/controlnet-sd21-depth-diffusers' + | 'thibaud/controlnet-sd21-scribble-diffusers' + | 'thibaud/controlnet-sd21-hed-diffusers' + | 'thibaud/controlnet-sd21-zoedepth-diffusers' + | 'thibaud/controlnet-sd21-color-diffusers' + | 'thibaud/controlnet-sd21-openposev2-diffusers' + | 'thibaud/controlnet-sd21-lineart-diffusers' + | 'thibaud/controlnet-sd21-normalbae-diffusers' + | 'thibaud/controlnet-sd21-ade20k-diffusers' + | 'CrucibleAI/ControlNetMediaPipeFace,diffusion_sd15' + | 'CrucibleAI/ControlNetMediaPipeFace'; /** - * Control Weight - * @description The weight given to the ControlNet + * Control Weight + * @description The weight given to the ControlNet * @default 1 */ - control_weight?: number | (number)[]; + control_weight?: number | number[]; /** - * Begin Step Percent - * @description When the ControlNet is first applied (% of total steps) + * Begin Step Percent + * @description When the ControlNet is first applied (% of total steps) * @default 0 */ begin_step_percent?: number; /** - * End Step Percent - * @description When the ControlNet is last applied (% of total steps) + * End Step Percent + * @description When the ControlNet is last applied (% of total steps) * @default 1 */ end_step_percent?: number; /** - * Control Mode - * @description The control mode used - * @default balanced + * Control Mode + * @description The control mode used + * @default balanced * @enum {string} */ - control_mode?: "balanced" | "more_prompt" | "more_control" | "unbalanced"; + control_mode?: 'balanced' | 'more_prompt' | 'more_control' | 'unbalanced'; }; /** ControlNetModelConfig */ ControlNetModelConfig: { /** Name */ name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** - * Type + * Type * @enum {string} */ - type: "controlnet"; + type: 'controlnet'; /** Path */ path: string; /** Description */ description?: string; - model_format: components["schemas"]["ControlNetModelFormat"]; - error?: components["schemas"]["ModelError"]; + model_format: components['schemas']['ControlNetModelFormat']; + error?: components['schemas']['ModelError']; }; /** - * ControlNetModelFormat - * @description An enumeration. + * ControlNetModelFormat + * @description An enumeration. * @enum {string} */ - ControlNetModelFormat: "checkpoint" | "diffusers"; + ControlNetModelFormat: 'checkpoint' | 'diffusers'; /** - * ControlOutput + * ControlOutput * @description node output for ControlNet info */ ControlOutput: { /** - * Type - * @default control_output + * Type + * @default control_output * @enum {string} */ - type?: "control_output"; + type?: 'control_output'; /** - * Control + * Control * @description The control info */ - control?: components["schemas"]["ControlField"]; + control?: components['schemas']['ControlField']; }; /** CreateModelRequest */ CreateModelRequest: { /** - * Name + * Name * @description The name of the model */ name: string; /** - * Info + * Info * @description The model info */ - info: components["schemas"]["CkptModelInfo"] | components["schemas"]["DiffusersModelInfo"]; + info: + | components['schemas']['CkptModelInfo'] + | components['schemas']['DiffusersModelInfo']; }; /** - * CvInpaintInvocation + * CvInpaintInvocation * @description Simple inpaint using opencv. */ CvInpaintInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default cv_inpaint + * Type + * @default cv_inpaint * @enum {string} */ - type?: "cv_inpaint"; + type?: 'cv_inpaint'; /** - * Image + * Image * @description The image to inpaint */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Mask + * Mask * @description The mask to use when inpainting */ - mask?: components["schemas"]["ImageField"]; + mask?: components['schemas']['ImageField']; }; /** DiffusersModelInfo */ DiffusersModelInfo: { /** - * Description + * Description * @description A description of the model */ description?: string; /** - * Model Name + * Model Name * @description The name of the model */ model_name: string; /** - * Model Type + * Model Type * @description The type of the model */ model_type: string; /** - * Format - * @default folder + * Format + * @default folder * @enum {string} */ - format?: "folder"; + format?: 'folder'; /** - * Vae + * Vae * @description The VAE repo to use for this model */ - vae?: components["schemas"]["VaeRepo"]; + vae?: components['schemas']['VaeRepo']; /** - * Repo Id + * Repo Id * @description The repo ID to use for this model */ repo_id?: string; /** - * Path + * Path * @description The path to the model */ path?: string; }; /** - * DivideInvocation + * DivideInvocation * @description Divides two numbers */ DivideInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default div + * Type + * @default div * @enum {string} */ - type?: "div"; + type?: 'div'; /** - * A - * @description The first number + * A + * @description The first number * @default 0 */ a?: number; /** - * B - * @description The second number + * B + * @description The second number * @default 0 */ b?: number; }; /** - * DynamicPromptInvocation + * DynamicPromptInvocation * @description Parses a prompt using adieyal/dynamicprompts' random or combinatorial generator */ DynamicPromptInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default dynamic_prompt + * Type + * @default dynamic_prompt * @enum {string} */ - type?: "dynamic_prompt"; + type?: 'dynamic_prompt'; /** - * Prompt + * Prompt * @description The prompt to parse with dynamicprompts */ prompt: string; /** - * Max Prompts - * @description The number of prompts to generate + * Max Prompts + * @description The number of prompts to generate * @default 1 */ max_prompts?: number; /** - * Combinatorial - * @description Whether to use the combinatorial generator + * Combinatorial + * @description Whether to use the combinatorial generator * @default false */ combinatorial?: boolean; @@ -919,101 +955,101 @@ export type components = { /** Edge */ Edge: { /** - * Source + * Source * @description The connection for the edge's from node and field */ - source: components["schemas"]["EdgeConnection"]; + source: components['schemas']['EdgeConnection']; /** - * Destination + * Destination * @description The connection for the edge's to node and field */ - destination: components["schemas"]["EdgeConnection"]; + destination: components['schemas']['EdgeConnection']; }; /** EdgeConnection */ EdgeConnection: { /** - * Node Id + * Node Id * @description The id of the node for this edge connection */ node_id: string; /** - * Field + * Field * @description The field for this connection */ field: string; }; /** - * FloatCollectionOutput + * FloatCollectionOutput * @description A collection of floats */ FloatCollectionOutput: { /** - * Type - * @default float_collection + * Type + * @default float_collection * @enum {string} */ - type?: "float_collection"; + type?: 'float_collection'; /** - * Collection - * @description The float collection + * Collection + * @description The float collection * @default [] */ - collection?: (number)[]; + collection?: number[]; }; /** - * FloatLinearRangeInvocation + * FloatLinearRangeInvocation * @description Creates a range */ FloatLinearRangeInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default float_range + * Type + * @default float_range * @enum {string} */ - type?: "float_range"; + type?: 'float_range'; /** - * Start - * @description The first value of the range + * Start + * @description The first value of the range * @default 5 */ start?: number; /** - * Stop - * @description The last value of the range + * Stop + * @description The last value of the range * @default 10 */ stop?: number; /** - * Steps - * @description number of values to interpolate over (including start and stop) + * Steps + * @description number of values to interpolate over (including start and stop) * @default 30 */ steps?: number; }; /** - * FloatOutput + * FloatOutput * @description A float output */ FloatOutput: { /** - * Type - * @default float_output + * Type + * @default float_output * @enum {string} */ - type?: "float_output"; + type?: 'float_output'; /** - * Param + * Param * @description The output float */ param?: number; @@ -1021,796 +1057,891 @@ export type components = { /** Graph */ Graph: { /** - * Id + * Id * @description The id of this graph */ id?: string; /** - * Nodes + * Nodes * @description The nodes in this graph */ nodes?: { - [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"]["PipelineModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["CompelInvocation"] | 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; + [key: string]: + | ( + | components['schemas']['RangeInvocation'] + | components['schemas']['RangeOfSizeInvocation'] + | components['schemas']['RandomRangeInvocation'] + | components['schemas']['MainModelLoaderInvocation'] + | components['schemas']['LoraLoaderInvocation'] + | components['schemas']['CompelInvocation'] + | 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; }; /** - * Edges + * Edges * @description The connections between nodes and their fields in this graph */ - edges?: (components["schemas"]["Edge"])[]; + edges?: components['schemas']['Edge'][]; }; /** - * GraphExecutionState + * GraphExecutionState * @description Tracks the state of a graph execution */ GraphExecutionState: { /** - * Id + * Id * @description The id of the execution state */ id: string; /** - * Graph + * Graph * @description The graph being executed */ - graph: components["schemas"]["Graph"]; + graph: components['schemas']['Graph']; /** - * Execution Graph + * Execution Graph * @description The expanded graph of activated and executed nodes */ - execution_graph: components["schemas"]["Graph"]; + execution_graph: components['schemas']['Graph']; /** - * Executed + * Executed * @description The set of node ids that have been executed */ - executed: (string)[]; + executed: string[]; /** - * Executed History + * Executed History * @description The list of node ids that have been executed, in order of execution */ - executed_history: (string)[]; + executed_history: string[]; /** - * Results + * Results * @description The results of node executions */ results: { - [key: string]: (components["schemas"]["ImageOutput"] | components["schemas"]["MaskOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["LoraLoaderOutput"] | components["schemas"]["PromptOutput"] | components["schemas"]["PromptCollectionOutput"] | components["schemas"]["CompelOutput"] | 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; + [key: string]: + | ( + | components['schemas']['IntCollectionOutput'] + | components['schemas']['FloatCollectionOutput'] + | components['schemas']['ModelLoaderOutput'] + | components['schemas']['LoraLoaderOutput'] + | components['schemas']['CompelOutput'] + | 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; }; /** - * Errors + * Errors * @description Errors raised when executing nodes */ errors: { [key: string]: string | undefined; }; /** - * Prepared Source Mapping + * Prepared Source Mapping * @description The map of prepared nodes to original graph nodes */ prepared_source_mapping: { [key: string]: string | undefined; }; /** - * Source Prepared Mapping + * Source Prepared Mapping * @description The map of original graph nodes to prepared nodes */ source_prepared_mapping: { - [key: string]: (string)[] | undefined; + [key: string]: string[] | undefined; }; }; /** - * GraphInvocation + * GraphInvocation * @description Execute a graph */ GraphInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default graph + * Type + * @default graph * @enum {string} */ - type?: "graph"; + type?: 'graph'; /** - * Graph + * Graph * @description The graph to run */ - graph?: components["schemas"]["Graph"]; + graph?: components['schemas']['Graph']; }; /** - * GraphInvocationOutput + * GraphInvocationOutput * @description Base class for all invocation outputs */ GraphInvocationOutput: { /** - * Type - * @default graph_output + * Type + * @default graph_output * @enum {string} */ - type: "graph_output"; + type: 'graph_output'; }; /** HTTPValidationError */ HTTPValidationError: { /** Detail */ - detail?: (components["schemas"]["ValidationError"])[]; + detail?: components['schemas']['ValidationError'][]; }; /** - * HedImageProcessorInvocation + * HedImageProcessorInvocation * @description Applies HED edge detection to image */ HedImageProcessorInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default hed_image_processor + * Type + * @default hed_image_processor * @enum {string} */ - type?: "hed_image_processor"; + type?: 'hed_image_processor'; /** - * Image + * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Detect Resolution - * @description The pixel resolution for detection + * Detect Resolution + * @description The pixel resolution for detection * @default 512 */ detect_resolution?: number; /** - * Image Resolution - * @description The pixel resolution for the output image + * Image Resolution + * @description The pixel resolution for the output image * @default 512 */ image_resolution?: number; /** - * Scribble - * @description Whether to use scribble mode + * Scribble + * @description Whether to use scribble mode * @default false */ scribble?: boolean; }; /** - * ImageBlurInvocation + * ImageBlurInvocation * @description Blurs an image */ ImageBlurInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default img_blur + * Type + * @default img_blur * @enum {string} */ - type?: "img_blur"; + type?: 'img_blur'; /** - * Image + * Image * @description The image to blur */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Radius - * @description The blur radius + * Radius + * @description The blur radius * @default 8 */ radius?: number; /** - * Blur Type - * @description The type of blur - * @default gaussian + * Blur Type + * @description The type of blur + * @default gaussian * @enum {string} */ - blur_type?: "gaussian" | "box"; + blur_type?: 'gaussian' | 'box'; }; /** - * ImageCategory + * ImageCategory * @description The category of an image. - * + * * - GENERAL: The image is an output, init image, or otherwise an image without a specialized purpose. * - MASK: The image is a mask image. * - CONTROL: The image is a ControlNet control image. * - USER: The image is a user-provide image. - * - OTHER: The image is some other type of image with a specialized purpose. To be used by external nodes. + * - OTHER: The image is some other type of image with a specialized purpose. To be used by external nodes. * @enum {string} */ - ImageCategory: "general" | "mask" | "control" | "user" | "other"; + ImageCategory: 'general' | 'mask' | 'control' | 'user' | 'other'; /** - * ImageChannelInvocation + * ImageChannelInvocation * @description Gets a channel from an image. */ ImageChannelInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default img_chan + * Type + * @default img_chan * @enum {string} */ - type?: "img_chan"; + type?: 'img_chan'; /** - * Image + * Image * @description The image to get the channel from */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Channel - * @description The channel to get - * @default A + * Channel + * @description The channel to get + * @default A * @enum {string} */ - channel?: "A" | "R" | "G" | "B"; + channel?: 'A' | 'R' | 'G' | 'B'; }; /** - * ImageCollectionInvocation + * ImageCollectionInvocation * @description Load a collection of images and provide it as output. */ ImageCollectionInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default image_collection + * Type + * @default image_collection * @enum {string} */ - type?: "image_collection"; + type?: 'image_collection'; /** - * Images - * @description The image collection to load + * Images + * @description The image collection to load * @default [] */ - images?: (components["schemas"]["ImageField"])[]; + images?: components['schemas']['ImageField'][]; }; /** - * ImageCollectionOutput + * ImageCollectionOutput * @description A collection of images */ ImageCollectionOutput: { /** - * Type - * @default image_collection + * Type + * @default image_collection * @enum {string} */ - type: "image_collection"; + type: 'image_collection'; /** - * Collection - * @description The output images + * Collection + * @description The output images * @default [] */ - collection: (components["schemas"]["ImageField"])[]; + collection: components['schemas']['ImageField'][]; }; /** - * ImageConvertInvocation + * ImageConvertInvocation * @description Converts an image to a different mode. */ ImageConvertInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default img_conv + * Type + * @default img_conv * @enum {string} */ - type?: "img_conv"; + type?: 'img_conv'; /** - * Image + * Image * @description The image to convert */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Mode - * @description The mode to convert to - * @default L + * Mode + * @description The mode to convert to + * @default L * @enum {string} */ - mode?: "L" | "RGB" | "RGBA" | "CMYK" | "YCbCr" | "LAB" | "HSV" | "I" | "F"; + mode?: + | 'L' + | 'RGB' + | 'RGBA' + | 'CMYK' + | 'YCbCr' + | 'LAB' + | 'HSV' + | 'I' + | 'F'; }; /** - * ImageCropInvocation + * ImageCropInvocation * @description Crops an image to a specified box. The box can be outside of the image. */ ImageCropInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default img_crop + * Type + * @default img_crop * @enum {string} */ - type?: "img_crop"; + type?: 'img_crop'; /** - * Image + * Image * @description The image to crop */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * X - * @description The left x coordinate of the crop rectangle + * X + * @description The left x coordinate of the crop rectangle * @default 0 */ x?: number; /** - * Y - * @description The top y coordinate of the crop rectangle + * Y + * @description The top y coordinate of the crop rectangle * @default 0 */ y?: number; /** - * Width - * @description The width of the crop rectangle + * Width + * @description The width of the crop rectangle * @default 512 */ width?: number; /** - * Height - * @description The height of the crop rectangle + * Height + * @description The height of the crop rectangle * @default 512 */ height?: number; }; /** - * ImageDTO + * ImageDTO * @description Deserialized image record, enriched for the frontend. */ ImageDTO: { /** - * Image Name + * Image Name * @description The unique name of the image. */ image_name: string; /** - * Image Url + * Image Url * @description The URL of the image. */ image_url: string; /** - * Thumbnail Url + * Thumbnail Url * @description The URL of the image's thumbnail. */ thumbnail_url: string; /** @description The type of the image. */ - image_origin: components["schemas"]["ResourceOrigin"]; + image_origin: components['schemas']['ResourceOrigin']; /** @description The category of the image. */ - image_category: components["schemas"]["ImageCategory"]; + image_category: components['schemas']['ImageCategory']; /** - * Width + * Width * @description The width of the image in px. */ width: number; /** - * Height + * Height * @description The height of the image in px. */ height: number; /** - * Created At + * Created At * @description The created timestamp of the image. */ created_at: string; /** - * Updated At + * Updated At * @description The updated timestamp of the image. */ updated_at: string; /** - * Deleted At + * Deleted At * @description The deleted timestamp of the image. */ deleted_at?: string; /** - * Is Intermediate + * Is Intermediate * @description Whether this is an intermediate image. */ is_intermediate: boolean; /** - * Session Id + * Session Id * @description The session ID that generated this image, if it is a generated image. */ session_id?: string; /** - * Node Id + * Node Id * @description The node ID that generated this image, if it is a generated image. */ node_id?: string; /** - * Metadata + * Metadata * @description A limited subset of the image's generation metadata. Retrieve the image's session for full metadata. */ - metadata?: components["schemas"]["ImageMetadata"]; + metadata?: components['schemas']['ImageMetadata']; /** - * Board Id + * Board Id * @description The id of the board the image belongs to, if one exists. */ board_id?: string; }; /** - * ImageField + * ImageField * @description An image field used for passing image objects between invocations */ ImageField: { /** - * Image Name + * Image Name * @description The name of the image */ image_name: string; }; /** - * ImageInverseLerpInvocation + * ImageInverseLerpInvocation * @description Inverse linear interpolation of all pixels of an image */ ImageInverseLerpInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default img_ilerp + * Type + * @default img_ilerp * @enum {string} */ - type?: "img_ilerp"; + type?: 'img_ilerp'; /** - * Image + * Image * @description The image to lerp */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Min - * @description The minimum input value + * Min + * @description The minimum input value * @default 0 */ min?: number; /** - * Max - * @description The maximum input value + * Max + * @description The maximum input value * @default 255 */ max?: number; }; /** - * ImageLerpInvocation + * ImageLerpInvocation * @description Linear interpolation of all pixels of an image */ ImageLerpInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default img_lerp + * Type + * @default img_lerp * @enum {string} */ - type?: "img_lerp"; + type?: 'img_lerp'; /** - * Image + * Image * @description The image to lerp */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Min - * @description The minimum output value + * Min + * @description The minimum output value * @default 0 */ min?: number; /** - * Max - * @description The maximum output value + * Max + * @description The maximum output value * @default 255 */ max?: number; }; /** - * ImageMetadata + * 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. */ ImageMetadata: { /** - * Type + * Type * @description The type of the ancestor node of the image output node. */ type?: string; /** - * Positive Conditioning + * Positive Conditioning * @description The positive conditioning. */ positive_conditioning?: string; /** - * Negative Conditioning + * Negative Conditioning * @description The negative conditioning. */ negative_conditioning?: string; /** - * Width + * Width * @description Width of the image/latents in pixels. */ width?: number; /** - * Height + * Height * @description Height of the image/latents in pixels. */ height?: number; /** - * Seed + * Seed * @description The seed used for noise generation. */ seed?: number; /** - * Cfg Scale + * Cfg Scale * @description The classifier-free guidance scale. */ - cfg_scale?: number | (number)[]; + cfg_scale?: number | number[]; /** - * Steps + * Steps * @description The number of steps used for inference. */ steps?: number; /** - * Scheduler + * Scheduler * @description The scheduler used for inference. */ scheduler?: string; /** - * Model + * Model * @description The model used for inference. */ model?: string; /** - * Strength + * Strength * @description The strength used for image-to-image/latents-to-latents. */ strength?: number; /** - * Latents + * Latents * @description The ID of the initial latents. */ latents?: string; /** - * Vae + * Vae * @description The VAE used for decoding. */ vae?: string; /** - * Unet + * Unet * @description The UNet used dor inference. */ unet?: string; /** - * Clip + * Clip * @description The CLIP Encoder used for conditioning. */ clip?: string; /** - * Extra + * Extra * @description Uploaded image metadata, extracted from the PNG tEXt chunk. */ extra?: string; }; /** - * ImageMultiplyInvocation + * ImageMultiplyInvocation * @description Multiplies two images together using `PIL.ImageChops.multiply()`. */ ImageMultiplyInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default img_mul + * Type + * @default img_mul * @enum {string} */ - type?: "img_mul"; + type?: 'img_mul'; /** - * Image1 + * Image1 * @description The first image to multiply */ - image1?: components["schemas"]["ImageField"]; + image1?: components['schemas']['ImageField']; /** - * Image2 + * Image2 * @description The second image to multiply */ - image2?: components["schemas"]["ImageField"]; + image2?: components['schemas']['ImageField']; }; /** - * ImageOutput + * ImageOutput * @description Base class for invocations that output an image */ ImageOutput: { /** - * Type - * @default image_output + * Type + * @default image_output * @enum {string} */ - type: "image_output"; + type: 'image_output'; /** - * Image + * Image * @description The output image */ - image: components["schemas"]["ImageField"]; + image: components['schemas']['ImageField']; /** - * Width + * Width * @description The width of the image in pixels */ width: number; /** - * Height + * Height * @description The height of the image in pixels */ height: number; }; /** - * ImagePasteInvocation + * ImagePasteInvocation * @description Pastes an image into another image. */ ImagePasteInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default img_paste + * Type + * @default img_paste * @enum {string} */ - type?: "img_paste"; + type?: 'img_paste'; /** - * Base Image + * Base Image * @description The base image */ - base_image?: components["schemas"]["ImageField"]; + base_image?: components['schemas']['ImageField']; /** - * Image + * Image * @description The image to paste */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Mask + * Mask * @description The mask to use when pasting */ - mask?: components["schemas"]["ImageField"]; + mask?: components['schemas']['ImageField']; /** - * X - * @description The left x coordinate at which to paste the image + * X + * @description The left x coordinate at which to paste the image * @default 0 */ x?: number; /** - * Y - * @description The top y coordinate at which to paste the image + * Y + * @description The top y coordinate at which to paste the image * @default 0 */ y?: number; }; /** - * ImageProcessorInvocation + * ImageProcessorInvocation * @description Base class for invocations that preprocess images for ControlNet */ ImageProcessorInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default image_processor + * Type + * @default image_processor * @enum {string} */ - type?: "image_processor"; + type?: 'image_processor'; /** - * Image + * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; }; /** - * ImageRecordChanges + * ImageRecordChanges * @description A set of changes to apply to an image record. - * + * * Only limited changes are valid: * - `image_category`: change the category of an image * - `session_id`: change the session associated with an image @@ -1818,159 +1949,171 @@ export type components = { */ ImageRecordChanges: { /** @description The image's new category. */ - image_category?: components["schemas"]["ImageCategory"]; + image_category?: components['schemas']['ImageCategory']; /** - * Session Id + * Session Id * @description The image's new session ID. */ session_id?: string; /** - * Is Intermediate + * Is Intermediate * @description The image's new `is_intermediate` flag. */ is_intermediate?: boolean; }; /** - * ImageResizeInvocation + * ImageResizeInvocation * @description Resizes an image to specific dimensions */ ImageResizeInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default img_resize + * Type + * @default img_resize * @enum {string} */ - type?: "img_resize"; + type?: 'img_resize'; /** - * Image + * Image * @description The image to resize */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Width + * Width * @description The width to resize to (px) */ width: number; /** - * Height + * Height * @description The height to resize to (px) */ height: number; /** - * Resample Mode - * @description The resampling mode - * @default bicubic + * Resample Mode + * @description The resampling mode + * @default bicubic * @enum {string} */ - resample_mode?: "nearest" | "box" | "bilinear" | "hamming" | "bicubic" | "lanczos"; + resample_mode?: + | 'nearest' + | 'box' + | 'bilinear' + | 'hamming' + | 'bicubic' + | 'lanczos'; }; /** - * ImageScaleInvocation + * ImageScaleInvocation * @description Scales an image by a factor */ ImageScaleInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default img_scale + * Type + * @default img_scale * @enum {string} */ - type?: "img_scale"; + type?: 'img_scale'; /** - * Image + * Image * @description The image to scale */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Scale Factor + * Scale Factor * @description The factor by which to scale the image */ scale_factor: number; /** - * Resample Mode - * @description The resampling mode - * @default bicubic + * Resample Mode + * @description The resampling mode + * @default bicubic * @enum {string} */ - resample_mode?: "nearest" | "box" | "bilinear" | "hamming" | "bicubic" | "lanczos"; + resample_mode?: + | 'nearest' + | 'box' + | 'bilinear' + | 'hamming' + | 'bicubic' + | 'lanczos'; }; /** - * ImageToLatentsInvocation + * ImageToLatentsInvocation * @description Encodes an image into latents. */ ImageToLatentsInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default i2l + * Type + * @default i2l * @enum {string} */ - type?: "i2l"; + type?: 'i2l'; /** - * Image + * Image * @description The image to encode */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Vae + * Vae * @description Vae submodel */ - vae?: components["schemas"]["VaeField"]; + vae?: components['schemas']['VaeField']; /** - * Tiled - * @description Encode latents by overlaping tiles(less memory consumption) + * Tiled + * @description Encode latents by overlaping tiles(less memory consumption) * @default false */ tiled?: boolean; }; /** - * ImageUrlsDTO + * ImageUrlsDTO * @description The URLs for an image and its thumbnail. */ ImageUrlsDTO: { /** - * Image Name + * Image Name * @description The unique name of the image. */ image_name: string; /** - * Image Url + * Image Url * @description The URL of the image. */ image_url: string; /** - * Thumbnail Url + * Thumbnail Url * @description The URL of the image's thumbnail. */ thumbnail_url: string; @@ -1978,47 +2121,47 @@ export type components = { /** ImportModelRequest */ ImportModelRequest: { /** - * Name + * Name * @description A model path, repo_id or URL to import */ name: string; /** - * Prediction Type - * @description Prediction type for SDv2 checkpoint files + * Prediction Type + * @description Prediction type for SDv2 checkpoint files * @enum {string} */ - prediction_type?: "epsilon" | "v_prediction" | "sample"; + prediction_type?: 'epsilon' | 'v_prediction' | 'sample'; }; /** - * InfillColorInvocation + * InfillColorInvocation * @description Infills transparent areas of an image with a solid color */ InfillColorInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default infill_rgba + * Type + * @default infill_rgba * @enum {string} */ - type?: "infill_rgba"; + type?: 'infill_rgba'; /** - * Image + * Image * @description The image to infill */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Color - * @description The color to use to infill + * Color + * @description The color to use to infill * @default { * "r": 127, * "g": 127, @@ -2026,225 +2169,247 @@ export type components = { * "a": 255 * } */ - color?: components["schemas"]["ColorField"]; + color?: components['schemas']['ColorField']; }; /** - * InfillPatchMatchInvocation + * InfillPatchMatchInvocation * @description Infills transparent areas of an image using the PatchMatch algorithm */ InfillPatchMatchInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default infill_patchmatch + * Type + * @default infill_patchmatch * @enum {string} */ - type?: "infill_patchmatch"; + type?: 'infill_patchmatch'; /** - * Image + * Image * @description The image to infill */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; }; /** - * InfillTileInvocation + * InfillTileInvocation * @description Infills transparent areas of an image with tiles of the image */ InfillTileInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default infill_tile + * Type + * @default infill_tile * @enum {string} */ - type?: "infill_tile"; + type?: 'infill_tile'; /** - * Image + * Image * @description The image to infill */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Tile Size - * @description The tile size (px) + * Tile Size + * @description The tile size (px) * @default 32 */ tile_size?: number; /** - * Seed + * Seed * @description The seed to use for tile generation (omit for random) */ seed?: number; }; /** - * InpaintInvocation + * InpaintInvocation * @description Generates an image using inpaint. */ InpaintInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default inpaint + * Type + * @default inpaint * @enum {string} */ - type?: "inpaint"; + type?: 'inpaint'; /** - * Positive Conditioning + * Positive Conditioning * @description Positive conditioning for generation */ - positive_conditioning?: components["schemas"]["ConditioningField"]; + positive_conditioning?: components['schemas']['ConditioningField']; /** - * Negative Conditioning + * Negative Conditioning * @description Negative conditioning for generation */ - negative_conditioning?: components["schemas"]["ConditioningField"]; + negative_conditioning?: components['schemas']['ConditioningField']; /** - * Seed + * Seed * @description The seed to use (omit for random) */ seed?: number; /** - * Steps - * @description The number of steps to use to generate the image + * Steps + * @description The number of steps to use to generate the image * @default 30 */ steps?: number; /** - * Width - * @description The width of the resulting image + * Width + * @description The width of the resulting image * @default 512 */ width?: number; /** - * Height - * @description The height of the resulting image + * Height + * @description The height of the resulting image * @default 512 */ height?: number; /** - * Cfg Scale - * @description The Classifier-Free Guidance, higher values may result in a result closer to the prompt + * Cfg Scale + * @description The Classifier-Free Guidance, higher values may result in a result closer to the prompt * @default 7.5 */ cfg_scale?: number; /** - * Scheduler - * @description The scheduler to use - * @default euler + * Scheduler + * @description The scheduler to use + * @default euler * @enum {string} */ - 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"; + 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 + * Unet * @description UNet model */ - unet?: components["schemas"]["UNetField"]; + unet?: components['schemas']['UNetField']; /** - * Vae + * Vae * @description Vae model */ - vae?: components["schemas"]["VaeField"]; + vae?: components['schemas']['VaeField']; /** - * Image + * Image * @description The input image */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Strength - * @description The strength of the original image + * Strength + * @description The strength of the original image * @default 0.75 */ strength?: number; /** - * Fit - * @description Whether or not the result should be fit to the aspect ratio of the input image + * Fit + * @description Whether or not the result should be fit to the aspect ratio of the input image * @default true */ fit?: boolean; /** - * Mask + * Mask * @description The mask */ - mask?: components["schemas"]["ImageField"]; + mask?: components['schemas']['ImageField']; /** - * Seam Size - * @description The seam inpaint size (px) + * Seam Size + * @description The seam inpaint size (px) * @default 96 */ seam_size?: number; /** - * Seam Blur - * @description The seam inpaint blur radius (px) + * Seam Blur + * @description The seam inpaint blur radius (px) * @default 16 */ seam_blur?: number; /** - * Seam Strength - * @description The seam inpaint strength + * Seam Strength + * @description The seam inpaint strength * @default 0.75 */ seam_strength?: number; /** - * Seam Steps - * @description The number of steps to use for seam inpaint + * Seam Steps + * @description The number of steps to use for seam inpaint * @default 30 */ seam_steps?: number; /** - * Tile Size - * @description The tile infill method size (px) + * Tile Size + * @description The tile infill method size (px) * @default 32 */ tile_size?: number; /** - * Infill Method - * @description The method used to infill empty regions (px) - * @default patchmatch + * Infill Method + * @description The method used to infill empty regions (px) + * @default patchmatch * @enum {string} */ - infill_method?: "patchmatch" | "tile" | "solid"; + infill_method?: 'patchmatch' | 'tile' | 'solid'; /** - * Inpaint Width + * Inpaint Width * @description The width of the inpaint region (px) */ inpaint_width?: number; /** - * Inpaint Height + * Inpaint Height * @description The height of the inpaint region (px) */ inpaint_height?: number; /** - * Inpaint Fill - * @description The solid infill method color + * Inpaint Fill + * @description The solid infill method color * @default { * "r": 127, * "g": 127, @@ -2252,395 +2417,419 @@ export type components = { * "a": 255 * } */ - inpaint_fill?: components["schemas"]["ColorField"]; + inpaint_fill?: components['schemas']['ColorField']; /** - * Inpaint Replace - * @description The amount by which to replace masked areas with latent noise + * Inpaint Replace + * @description The amount by which to replace masked areas with latent noise * @default 0 */ inpaint_replace?: number; }; /** - * IntCollectionOutput + * IntCollectionOutput * @description A collection of integers */ IntCollectionOutput: { /** - * Type - * @default int_collection + * Type + * @default int_collection * @enum {string} */ - type?: "int_collection"; + type?: 'int_collection'; /** - * Collection - * @description The int collection + * Collection + * @description The int collection * @default [] */ - collection?: (number)[]; + collection?: number[]; }; /** - * IntOutput + * IntOutput * @description An integer output */ IntOutput: { /** - * Type - * @default int_output + * Type + * @default int_output * @enum {string} */ - type?: "int_output"; + type?: 'int_output'; /** - * A + * A * @description The output integer */ a?: number; }; /** - * IterateInvocation + * IterateInvocation * @description Iterates over a list of items */ IterateInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default iterate + * Type + * @default iterate * @enum {string} */ - type?: "iterate"; + type?: 'iterate'; /** - * Collection + * Collection * @description The list of items to iterate over */ - collection?: (unknown)[]; + collection?: unknown[]; /** - * Index - * @description The index, will be provided on executed iterators + * Index + * @description The index, will be provided on executed iterators * @default 0 */ index?: number; }; /** - * IterateInvocationOutput + * IterateInvocationOutput * @description Used to connect iteration outputs. Will be expanded to a specific output. */ IterateInvocationOutput: { /** - * Type - * @default iterate_output + * Type + * @default iterate_output * @enum {string} */ - type: "iterate_output"; + type: 'iterate_output'; /** - * Item + * Item * @description The item being iterated over */ item: unknown; }; /** - * LatentsField + * LatentsField * @description A latents field used for passing latents between invocations */ LatentsField: { /** - * Latents Name + * Latents Name * @description The name of the latents */ latents_name: string; }; /** - * LatentsOutput + * LatentsOutput * @description Base class for invocations that output latents */ LatentsOutput: { /** - * Type - * @default latents_output + * Type + * @default latents_output * @enum {string} */ - type?: "latents_output"; + type?: 'latents_output'; /** - * Latents + * Latents * @description The output latents */ - latents?: components["schemas"]["LatentsField"]; + latents?: components['schemas']['LatentsField']; /** - * Width + * Width * @description The width of the latents in pixels */ width: number; /** - * Height + * Height * @description The height of the latents in pixels */ height: number; }; /** - * LatentsToImageInvocation + * LatentsToImageInvocation * @description Generates an image from latents. */ LatentsToImageInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default l2i + * Type + * @default l2i * @enum {string} */ - type?: "l2i"; + type?: 'l2i'; /** - * Latents + * Latents * @description The latents to generate an image from */ - latents?: components["schemas"]["LatentsField"]; + latents?: components['schemas']['LatentsField']; /** - * Vae + * Vae * @description Vae submodel */ - vae?: components["schemas"]["VaeField"]; + vae?: components['schemas']['VaeField']; /** - * Tiled - * @description Decode latents by overlaping tiles(less memory consumption) + * Tiled + * @description Decode latents by overlaping tiles(less memory consumption) * @default false */ tiled?: boolean; }; /** - * LatentsToLatentsInvocation + * LatentsToLatentsInvocation * @description Generates latents using latents as base image. */ LatentsToLatentsInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default l2l + * Type + * @default l2l * @enum {string} */ - type?: "l2l"; + type?: 'l2l'; /** - * Positive Conditioning + * Positive Conditioning * @description Positive conditioning for generation */ - positive_conditioning?: components["schemas"]["ConditioningField"]; + positive_conditioning?: components['schemas']['ConditioningField']; /** - * Negative Conditioning + * Negative Conditioning * @description Negative conditioning for generation */ - negative_conditioning?: components["schemas"]["ConditioningField"]; + negative_conditioning?: components['schemas']['ConditioningField']; /** - * Noise + * Noise * @description The noise to use */ - noise?: components["schemas"]["LatentsField"]; + noise?: components['schemas']['LatentsField']; /** - * Steps - * @description The number of steps to use to generate the image + * Steps + * @description The number of steps to use to generate the image * @default 10 */ steps?: number; /** - * Cfg Scale - * @description The Classifier-Free Guidance, higher values may result in a result closer to the prompt + * Cfg Scale + * @description The Classifier-Free Guidance, higher values may result in a result closer to the prompt * @default 7.5 */ - cfg_scale?: number | (number)[]; + cfg_scale?: number | number[]; /** - * Scheduler - * @description The scheduler to use - * @default euler + * Scheduler + * @description The scheduler to use + * @default euler * @enum {string} */ - 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"; + 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 + * Unet * @description UNet submodel */ - unet?: components["schemas"]["UNetField"]; + unet?: components['schemas']['UNetField']; /** - * Control + * Control * @description The control to use */ - control?: components["schemas"]["ControlField"] | (components["schemas"]["ControlField"])[]; + control?: + | components['schemas']['ControlField'] + | components['schemas']['ControlField'][]; /** - * Latents + * Latents * @description The latents to use as a base image */ - latents?: components["schemas"]["LatentsField"]; + latents?: components['schemas']['LatentsField']; /** - * Strength - * @description The strength of the latents to use + * Strength + * @description The strength of the latents to use * @default 0.7 */ strength?: number; }; /** - * LeresImageProcessorInvocation + * LeresImageProcessorInvocation * @description Applies leres processing to image */ LeresImageProcessorInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default leres_image_processor + * Type + * @default leres_image_processor * @enum {string} */ - type?: "leres_image_processor"; + type?: 'leres_image_processor'; /** - * Image + * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Thr A - * @description Leres parameter `thr_a` + * Thr A + * @description Leres parameter `thr_a` * @default 0 */ thr_a?: number; /** - * Thr B - * @description Leres parameter `thr_b` + * Thr B + * @description Leres parameter `thr_b` * @default 0 */ thr_b?: number; /** - * Boost - * @description Whether to use boost mode + * Boost + * @description Whether to use boost mode * @default false */ boost?: boolean; /** - * Detect Resolution - * @description The pixel resolution for detection + * Detect Resolution + * @description The pixel resolution for detection * @default 512 */ detect_resolution?: number; /** - * Image Resolution - * @description The pixel resolution for the output image + * Image Resolution + * @description The pixel resolution for the output image * @default 512 */ image_resolution?: number; }; /** - * LineartAnimeImageProcessorInvocation + * LineartAnimeImageProcessorInvocation * @description Applies line art anime processing to image */ LineartAnimeImageProcessorInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default lineart_anime_image_processor + * Type + * @default lineart_anime_image_processor * @enum {string} */ - type?: "lineart_anime_image_processor"; + type?: 'lineart_anime_image_processor'; /** - * Image + * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Detect Resolution - * @description The pixel resolution for detection + * Detect Resolution + * @description The pixel resolution for detection * @default 512 */ detect_resolution?: number; /** - * Image Resolution - * @description The pixel resolution for the output image + * Image Resolution + * @description The pixel resolution for the output image * @default 512 */ image_resolution?: number; }; /** - * LineartImageProcessorInvocation + * LineartImageProcessorInvocation * @description Applies line art processing to image */ LineartImageProcessorInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default lineart_image_processor + * Type + * @default lineart_image_processor * @enum {string} */ - type?: "lineart_image_processor"; + type?: 'lineart_image_processor'; /** - * Image + * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Detect Resolution - * @description The pixel resolution for detection + * Detect Resolution + * @description The pixel resolution for detection * @default 512 */ detect_resolution?: number; /** - * Image Resolution - * @description The pixel resolution for the output image + * Image Resolution + * @description The pixel resolution for the output image * @default 512 */ image_resolution?: number; /** - * Coarse - * @description Whether to use coarse mode + * Coarse + * @description Whether to use coarse mode * @default false */ coarse?: boolean; @@ -2649,1560 +2838,1644 @@ export type components = { LoRAModelConfig: { /** Name */ name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** - * Type + * Type * @enum {string} */ - type: "lora"; + type: 'lora'; /** Path */ path: string; /** Description */ description?: string; - model_format: components["schemas"]["LoRAModelFormat"]; - error?: components["schemas"]["ModelError"]; + model_format: components['schemas']['LoRAModelFormat']; + error?: components['schemas']['ModelError']; }; /** - * LoRAModelFormat - * @description An enumeration. + * LoRAModelFormat + * @description An enumeration. * @enum {string} */ - LoRAModelFormat: "lycoris" | "diffusers"; + LoRAModelFormat: 'lycoris' | 'diffusers'; /** - * LoadImageInvocation + * LoadImageInvocation * @description Load an image and provide it as output. */ LoadImageInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default load_image + * Type + * @default load_image * @enum {string} */ - type?: "load_image"; + type?: 'load_image'; /** - * Image + * Image * @description The image to load */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; }; /** LoraInfo */ LoraInfo: { /** - * Model Name + * Model Name * @description Info to load submodel */ model_name: string; /** @description Base model */ - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** @description Info to load submodel */ - model_type: components["schemas"]["ModelType"]; + model_type: components['schemas']['ModelType']; /** @description Info to load submodel */ - submodel?: components["schemas"]["SubModelType"]; + submodel?: components['schemas']['SubModelType']; /** - * Weight + * Weight * @description Lora's weight which to use when apply to model */ weight: number; }; /** - * LoraLoaderInvocation + * LoraLoaderInvocation * @description Apply selected lora to unet and text_encoder. */ LoraLoaderInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default lora_loader + * Type + * @default lora_loader * @enum {string} */ - type?: "lora_loader"; + type?: 'lora_loader'; /** - * Lora Name + * Lora Name * @description Lora model name */ lora_name: string; /** - * Weight - * @description With what weight to apply lora + * Weight + * @description With what weight to apply lora * @default 0.75 */ weight?: number; /** - * Unet + * Unet * @description UNet model for applying lora */ - unet?: components["schemas"]["UNetField"]; + unet?: components['schemas']['UNetField']; /** - * Clip + * Clip * @description Clip model for applying lora */ - clip?: components["schemas"]["ClipField"]; + clip?: components['schemas']['ClipField']; }; /** - * LoraLoaderOutput + * LoraLoaderOutput * @description Model loader output */ LoraLoaderOutput: { /** - * Type - * @default lora_loader_output + * Type + * @default lora_loader_output * @enum {string} */ - type?: "lora_loader_output"; + type?: 'lora_loader_output'; /** - * Unet + * Unet * @description UNet submodel */ - unet?: components["schemas"]["UNetField"]; + unet?: components['schemas']['UNetField']; /** - * Clip + * Clip * @description Tokenizer and text_encoder submodels */ - clip?: components["schemas"]["ClipField"]; + clip?: components['schemas']['ClipField']; }; /** - * MaskFromAlphaInvocation - * @description Extracts the alpha channel of an image as a mask. + * MainModelField + * @description Main model field */ - MaskFromAlphaInvocation: { + MainModelField: { /** - * Id + * Model Name + * @description Name of the model + */ + model_name: string; + /** @description Base model */ + base_model: components['schemas']['BaseModelType']; + }; + /** + * MainModelLoaderInvocation + * @description Loads a main model, outputting its submodels. + */ + MainModelLoaderInvocation: { + /** + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default tomask + * Type + * @default main_model_loader * @enum {string} */ - type?: "tomask"; + type?: 'main_model_loader'; /** - * Image + * Model + * @description The model to load + */ + model: components['schemas']['MainModelField']; + }; + /** + * MaskFromAlphaInvocation + * @description Extracts the alpha channel of an image as a mask. + */ + MaskFromAlphaInvocation: { + /** + * 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 tomask + * @enum {string} + */ + type?: 'tomask'; + /** + * Image * @description The image to create the mask from */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Invert - * @description Whether or not to invert the mask + * Invert + * @description Whether or not to invert the mask * @default false */ invert?: boolean; }; /** - * MaskOutput + * MaskOutput * @description Base class for invocations that output a mask */ MaskOutput: { /** - * Type - * @default mask + * Type + * @default mask * @enum {string} */ - type: "mask"; + type: 'mask'; /** - * Mask + * Mask * @description The output mask */ - mask: components["schemas"]["ImageField"]; + mask: components['schemas']['ImageField']; /** - * Width + * Width * @description The width of the mask in pixels */ width?: number; /** - * Height + * Height * @description The height of the mask in pixels */ height?: number; }; /** - * MediapipeFaceProcessorInvocation + * MediapipeFaceProcessorInvocation * @description Applies mediapipe face processing to image */ MediapipeFaceProcessorInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default mediapipe_face_processor + * Type + * @default mediapipe_face_processor * @enum {string} */ - type?: "mediapipe_face_processor"; + type?: 'mediapipe_face_processor'; /** - * Image + * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Max Faces - * @description Maximum number of faces to detect + * Max Faces + * @description Maximum number of faces to detect * @default 1 */ max_faces?: number; /** - * Min Confidence - * @description Minimum confidence for face detection + * Min Confidence + * @description Minimum confidence for face detection * @default 0.5 */ min_confidence?: number; }; /** - * MidasDepthImageProcessorInvocation + * MidasDepthImageProcessorInvocation * @description Applies Midas depth processing to image */ MidasDepthImageProcessorInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default midas_depth_image_processor + * Type + * @default midas_depth_image_processor * @enum {string} */ - type?: "midas_depth_image_processor"; + type?: 'midas_depth_image_processor'; /** - * Image + * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * A Mult - * @description Midas parameter `a_mult` (a = a_mult * PI) + * A Mult + * @description Midas parameter `a_mult` (a = a_mult * PI) * @default 2 */ a_mult?: number; /** - * Bg Th - * @description Midas parameter `bg_th` + * Bg Th + * @description Midas parameter `bg_th` * @default 0.1 */ bg_th?: number; }; /** - * MlsdImageProcessorInvocation + * MlsdImageProcessorInvocation * @description Applies MLSD processing to image */ MlsdImageProcessorInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default mlsd_image_processor + * Type + * @default mlsd_image_processor * @enum {string} */ - type?: "mlsd_image_processor"; + type?: 'mlsd_image_processor'; /** - * Image + * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Detect Resolution - * @description The pixel resolution for detection + * Detect Resolution + * @description The pixel resolution for detection * @default 512 */ detect_resolution?: number; /** - * Image Resolution - * @description The pixel resolution for the output image + * Image Resolution + * @description The pixel resolution for the output image * @default 512 */ image_resolution?: number; /** - * Thr V - * @description MLSD parameter `thr_v` + * Thr V + * @description MLSD parameter `thr_v` * @default 0.1 */ thr_v?: number; /** - * Thr D - * @description MLSD parameter `thr_d` + * Thr D + * @description MLSD parameter `thr_d` * @default 0.1 */ thr_d?: number; }; /** - * ModelError - * @description An enumeration. + * ModelError + * @description An enumeration. * @enum {string} */ - ModelError: "not_found"; + ModelError: 'not_found'; /** ModelInfo */ ModelInfo: { /** - * Model Name + * Model Name * @description Info to load submodel */ model_name: string; /** @description Base model */ - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** @description Info to load submodel */ - model_type: components["schemas"]["ModelType"]; + model_type: components['schemas']['ModelType']; /** @description Info to load submodel */ - submodel?: components["schemas"]["SubModelType"]; + submodel?: components['schemas']['SubModelType']; }; /** - * ModelLoaderOutput + * ModelLoaderOutput * @description Model loader output */ ModelLoaderOutput: { /** - * Type - * @default model_loader_output + * Type + * @default model_loader_output * @enum {string} */ - type?: "model_loader_output"; + type?: 'model_loader_output'; /** - * Unet + * Unet * @description UNet submodel */ - unet?: components["schemas"]["UNetField"]; + unet?: components['schemas']['UNetField']; /** - * Clip + * Clip * @description Tokenizer and text_encoder submodels */ - clip?: components["schemas"]["ClipField"]; + clip?: components['schemas']['ClipField']; /** - * Vae + * Vae * @description Vae submodel */ - vae?: components["schemas"]["VaeField"]; + vae?: components['schemas']['VaeField']; }; /** - * ModelType - * @description An enumeration. + * ModelType + * @description An enumeration. * @enum {string} */ - ModelType: "main" | "vae" | "lora" | "controlnet" | "embedding"; + ModelType: 'main' | 'vae' | 'lora' | 'controlnet' | 'embedding'; /** - * ModelVariantType - * @description An enumeration. + * ModelVariantType + * @description An enumeration. * @enum {string} */ - ModelVariantType: "normal" | "inpaint" | "depth"; + ModelVariantType: 'normal' | 'inpaint' | 'depth'; /** ModelsList */ ModelsList: { /** Models */ - models: (components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"])[]; + 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'] + )[]; }; /** - * MultiplyInvocation + * MultiplyInvocation * @description Multiplies two numbers */ MultiplyInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default mul + * Type + * @default mul * @enum {string} */ - type?: "mul"; + type?: 'mul'; /** - * A - * @description The first number + * A + * @description The first number * @default 0 */ a?: number; /** - * B - * @description The second number + * B + * @description The second number * @default 0 */ b?: number; }; /** - * NoiseInvocation + * NoiseInvocation * @description Generates latent noise. */ NoiseInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default noise + * Type + * @default noise * @enum {string} */ - type?: "noise"; + type?: 'noise'; /** - * Seed + * Seed * @description The seed to use */ seed?: number; /** - * Width - * @description The width of the resulting noise + * Width + * @description The width of the resulting noise * @default 512 */ width?: number; /** - * Height - * @description The height of the resulting noise + * Height + * @description The height of the resulting noise * @default 512 */ height?: number; /** - * Use Cpu - * @description Use CPU for noise generation (for reproducible results across platforms) + * Use Cpu + * @description Use CPU for noise generation (for reproducible results across platforms) * @default true */ use_cpu?: boolean; }; /** - * NoiseOutput + * NoiseOutput * @description Invocation noise output */ NoiseOutput: { /** - * Type - * @default noise_output + * Type + * @default noise_output * @enum {string} */ - type?: "noise_output"; + type?: 'noise_output'; /** - * Noise + * Noise * @description The output noise */ - noise?: components["schemas"]["LatentsField"]; + noise?: components['schemas']['LatentsField']; /** - * Width + * Width * @description The width of the noise in pixels */ width: number; /** - * Height + * Height * @description The height of the noise in pixels */ height: number; }; /** - * NormalbaeImageProcessorInvocation + * NormalbaeImageProcessorInvocation * @description Applies NormalBae processing to image */ NormalbaeImageProcessorInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default normalbae_image_processor + * Type + * @default normalbae_image_processor * @enum {string} */ - type?: "normalbae_image_processor"; + type?: 'normalbae_image_processor'; /** - * Image + * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Detect Resolution - * @description The pixel resolution for detection + * Detect Resolution + * @description The pixel resolution for detection * @default 512 */ detect_resolution?: number; /** - * Image Resolution - * @description The pixel resolution for the output image + * Image Resolution + * @description The pixel resolution for the output image * @default 512 */ image_resolution?: number; }; /** - * OffsetPaginatedResults[BoardDTO] + * OffsetPaginatedResults[BoardDTO] * @description Offset-paginated results */ OffsetPaginatedResults_BoardDTO_: { /** - * Items + * Items * @description Items */ - items: (components["schemas"]["BoardDTO"])[]; + items: components['schemas']['BoardDTO'][]; /** - * Offset + * Offset * @description Offset from which to retrieve items */ offset: number; /** - * Limit + * Limit * @description Limit of items to get */ limit: number; /** - * Total + * Total * @description Total number of items in result */ total: number; }; /** - * OffsetPaginatedResults[ImageDTO] + * OffsetPaginatedResults[ImageDTO] * @description Offset-paginated results */ OffsetPaginatedResults_ImageDTO_: { /** - * Items + * Items * @description Items */ - items: (components["schemas"]["ImageDTO"])[]; + items: components['schemas']['ImageDTO'][]; /** - * Offset + * Offset * @description Offset from which to retrieve items */ offset: number; /** - * Limit + * Limit * @description Limit of items to get */ limit: number; /** - * Total + * Total * @description Total number of items in result */ total: number; }; /** - * OpenposeImageProcessorInvocation + * OpenposeImageProcessorInvocation * @description Applies Openpose processing to image */ OpenposeImageProcessorInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default openpose_image_processor + * Type + * @default openpose_image_processor * @enum {string} */ - type?: "openpose_image_processor"; + type?: 'openpose_image_processor'; /** - * Image + * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Hand And Face - * @description Whether to use hands and face mode + * Hand And Face + * @description Whether to use hands and face mode * @default false */ hand_and_face?: boolean; /** - * Detect Resolution - * @description The pixel resolution for detection + * Detect Resolution + * @description The pixel resolution for detection * @default 512 */ detect_resolution?: number; /** - * Image Resolution - * @description The pixel resolution for the output image + * Image Resolution + * @description The pixel resolution for the output image * @default 512 */ image_resolution?: number; }; /** - * PaginatedResults[GraphExecutionState] + * PaginatedResults[GraphExecutionState] * @description Paginated results */ PaginatedResults_GraphExecutionState_: { /** - * Items + * Items * @description Items */ - items: (components["schemas"]["GraphExecutionState"])[]; + items: components['schemas']['GraphExecutionState'][]; /** - * Page + * Page * @description Current Page */ page: number; /** - * Pages + * Pages * @description Total number of pages */ pages: number; /** - * Per Page + * Per Page * @description Number of items per page */ per_page: number; /** - * Total + * Total * @description Total number of items in result */ total: number; }; /** - * ParamFloatInvocation + * ParamFloatInvocation * @description A float parameter */ ParamFloatInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default param_float + * Type + * @default param_float * @enum {string} */ - type?: "param_float"; + type?: 'param_float'; /** - * Param - * @description The float value + * Param + * @description The float value * @default 0 */ param?: number; }; /** - * ParamIntInvocation + * ParamIntInvocation * @description An integer parameter */ ParamIntInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default param_int + * Type + * @default param_int * @enum {string} */ - type?: "param_int"; + type?: 'param_int'; /** - * A - * @description The integer value + * A + * @description The integer value * @default 0 */ a?: number; }; /** - * PidiImageProcessorInvocation + * PidiImageProcessorInvocation * @description Applies PIDI processing to image */ PidiImageProcessorInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default pidi_image_processor + * Type + * @default pidi_image_processor * @enum {string} */ - type?: "pidi_image_processor"; + type?: 'pidi_image_processor'; /** - * Image + * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Detect Resolution - * @description The pixel resolution for detection + * Detect Resolution + * @description The pixel resolution for detection * @default 512 */ detect_resolution?: number; /** - * Image Resolution - * @description The pixel resolution for the output image + * Image Resolution + * @description The pixel resolution for the output image * @default 512 */ image_resolution?: number; /** - * Safe - * @description Whether to use safe mode + * Safe + * @description Whether to use safe mode * @default false */ safe?: boolean; /** - * Scribble - * @description Whether to use scribble mode + * Scribble + * @description Whether to use scribble mode * @default false */ scribble?: boolean; }; /** - * PipelineModelField - * @description Pipeline model field - */ - PipelineModelField: { - /** - * Model Name - * @description Name of the model - */ - model_name: string; - /** @description Base model */ - base_model: components["schemas"]["BaseModelType"]; - }; - /** - * PipelineModelLoaderInvocation - * @description Loads a pipeline model, outputting its submodels. - */ - PipelineModelLoaderInvocation: { - /** - * 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 pipeline_model_loader - * @enum {string} - */ - type?: "pipeline_model_loader"; - /** - * Model - * @description The model to load - */ - model: components["schemas"]["PipelineModelField"]; - }; - /** - * PromptCollectionOutput + * PromptCollectionOutput * @description Base class for invocations that output a collection of prompts */ PromptCollectionOutput: { /** - * Type - * @default prompt_collection_output + * Type + * @default prompt_collection_output * @enum {string} */ - type: "prompt_collection_output"; + type: 'prompt_collection_output'; /** - * Prompt Collection + * Prompt Collection * @description The output prompt collection */ - prompt_collection: (string)[]; + prompt_collection: string[]; /** - * Count + * Count * @description The size of the prompt collection */ count: number; }; /** - * PromptOutput + * PromptOutput * @description Base class for invocations that output a prompt */ PromptOutput: { /** - * Type - * @default prompt + * Type + * @default prompt * @enum {string} */ - type: "prompt"; + type: 'prompt'; /** - * Prompt + * Prompt * @description The output prompt */ prompt: string; }; /** - * RandomIntInvocation + * RandomIntInvocation * @description Outputs a single random integer. */ RandomIntInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default rand_int + * Type + * @default rand_int * @enum {string} */ - type?: "rand_int"; + type?: 'rand_int'; /** - * Low - * @description The inclusive low value + * Low + * @description The inclusive low value * @default 0 */ low?: number; /** - * High - * @description The exclusive high value + * High + * @description The exclusive high value * @default 2147483647 */ high?: number; }; /** - * RandomRangeInvocation + * RandomRangeInvocation * @description Creates a collection of random numbers */ RandomRangeInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default random_range + * Type + * @default random_range * @enum {string} */ - type?: "random_range"; + type?: 'random_range'; /** - * Low - * @description The inclusive low value + * Low + * @description The inclusive low value * @default 0 */ low?: number; /** - * High - * @description The exclusive high value + * High + * @description The exclusive high value * @default 2147483647 */ high?: number; /** - * Size - * @description The number of values to generate + * Size + * @description The number of values to generate * @default 1 */ size?: number; /** - * Seed + * Seed * @description The seed for the RNG (omit for random) */ seed?: number; }; /** - * RangeInvocation + * RangeInvocation * @description Creates a range of numbers from start to stop with step */ RangeInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default range + * Type + * @default range * @enum {string} */ - type?: "range"; + type?: 'range'; /** - * Start - * @description The start of the range + * Start + * @description The start of the range * @default 0 */ start?: number; /** - * Stop - * @description The stop of the range + * Stop + * @description The stop of the range * @default 10 */ stop?: number; /** - * Step - * @description The step of the range + * Step + * @description The step of the range * @default 1 */ step?: number; }; /** - * RangeOfSizeInvocation + * RangeOfSizeInvocation * @description Creates a range from start to start + size with step */ RangeOfSizeInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default range_of_size + * Type + * @default range_of_size * @enum {string} */ - type?: "range_of_size"; + type?: 'range_of_size'; /** - * Start - * @description The start of the range + * Start + * @description The start of the range * @default 0 */ start?: number; /** - * Size - * @description The number of values + * Size + * @description The number of values * @default 1 */ size?: number; /** - * Step - * @description The step of the range + * Step + * @description The step of the range * @default 1 */ step?: number; }; /** - * ResizeLatentsInvocation + * ResizeLatentsInvocation * @description Resizes latents to explicit width/height (in pixels). Provided dimensions are floor-divided by 8. */ ResizeLatentsInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default lresize + * Type + * @default lresize * @enum {string} */ - type?: "lresize"; + type?: 'lresize'; /** - * Latents + * Latents * @description The latents to resize */ - latents?: components["schemas"]["LatentsField"]; + latents?: components['schemas']['LatentsField']; /** - * Width + * Width * @description The width to resize to (px) */ width: number; /** - * Height + * Height * @description The height to resize to (px) */ height: number; /** - * Mode - * @description The interpolation mode - * @default bilinear + * Mode + * @description The interpolation mode + * @default bilinear * @enum {string} */ - mode?: "nearest" | "linear" | "bilinear" | "bicubic" | "trilinear" | "area" | "nearest-exact"; + mode?: + | 'nearest' + | 'linear' + | 'bilinear' + | 'bicubic' + | 'trilinear' + | 'area' + | 'nearest-exact'; /** - * Antialias - * @description Whether or not to antialias (applied in bilinear and bicubic modes only) + * Antialias + * @description Whether or not to antialias (applied in bilinear and bicubic modes only) * @default false */ antialias?: boolean; }; /** - * ResourceOrigin + * ResourceOrigin * @description The origin of a resource (eg image). - * + * * - INTERNAL: The resource was created by the application. * - EXTERNAL: The resource was not created by the application. - * This may be a user-initiated upload, or an internal application upload (eg Canvas init image). + * This may be a user-initiated upload, or an internal application upload (eg Canvas init image). * @enum {string} */ - ResourceOrigin: "internal" | "external"; + ResourceOrigin: 'internal' | 'external'; /** - * RestoreFaceInvocation + * RestoreFaceInvocation * @description Restores faces in an image. */ RestoreFaceInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default restore_face + * Type + * @default restore_face * @enum {string} */ - type?: "restore_face"; + type?: 'restore_face'; /** - * Image + * Image * @description The input image */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Strength - * @description The strength of the restoration + * Strength + * @description The strength of the restoration * @default 0.75 */ strength?: number; }; /** - * ScaleLatentsInvocation + * ScaleLatentsInvocation * @description Scales latents by a given factor. */ ScaleLatentsInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default lscale + * Type + * @default lscale * @enum {string} */ - type?: "lscale"; + type?: 'lscale'; /** - * Latents + * Latents * @description The latents to scale */ - latents?: components["schemas"]["LatentsField"]; + latents?: components['schemas']['LatentsField']; /** - * Scale Factor + * Scale Factor * @description The factor by which to scale the latents */ scale_factor: number; /** - * Mode - * @description The interpolation mode - * @default bilinear + * Mode + * @description The interpolation mode + * @default bilinear * @enum {string} */ - mode?: "nearest" | "linear" | "bilinear" | "bicubic" | "trilinear" | "area" | "nearest-exact"; + mode?: + | 'nearest' + | 'linear' + | 'bilinear' + | 'bicubic' + | 'trilinear' + | 'area' + | 'nearest-exact'; /** - * Antialias - * @description Whether or not to antialias (applied in bilinear and bicubic modes only) + * Antialias + * @description Whether or not to antialias (applied in bilinear and bicubic modes only) * @default false */ antialias?: boolean; }; /** - * SegmentAnythingProcessorInvocation + * SegmentAnythingProcessorInvocation * @description Applies segment anything processing to image */ SegmentAnythingProcessorInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default segment_anything_processor + * Type + * @default segment_anything_processor * @enum {string} */ - type?: "segment_anything_processor"; + type?: 'segment_anything_processor'; /** - * Image + * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; }; /** - * ShowImageInvocation + * ShowImageInvocation * @description Displays a provided image, and passes it forward in the pipeline. */ ShowImageInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default show_image + * Type + * @default show_image * @enum {string} */ - type?: "show_image"; + type?: 'show_image'; /** - * Image + * Image * @description The image to show */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; }; /** StableDiffusion1ModelCheckpointConfig */ StableDiffusion1ModelCheckpointConfig: { /** Name */ name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** - * Type + * Type * @enum {string} */ - type: "main"; + type: 'main'; /** Path */ path: string; /** Description */ description?: string; /** - * Model Format + * Model Format * @enum {string} */ - model_format: "checkpoint"; - error?: components["schemas"]["ModelError"]; + model_format: 'checkpoint'; + error?: components['schemas']['ModelError']; /** Vae */ vae?: string; /** Config */ config: string; - variant: components["schemas"]["ModelVariantType"]; + variant: components['schemas']['ModelVariantType']; }; /** StableDiffusion1ModelDiffusersConfig */ StableDiffusion1ModelDiffusersConfig: { /** Name */ name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** - * Type + * Type * @enum {string} */ - type: "main"; + type: 'main'; /** Path */ path: string; /** Description */ description?: string; /** - * Model Format + * Model Format * @enum {string} */ - model_format: "diffusers"; - error?: components["schemas"]["ModelError"]; + model_format: 'diffusers'; + error?: components['schemas']['ModelError']; /** Vae */ vae?: string; - variant: components["schemas"]["ModelVariantType"]; + variant: components['schemas']['ModelVariantType']; }; /** StableDiffusion2ModelCheckpointConfig */ StableDiffusion2ModelCheckpointConfig: { /** Name */ name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** - * Type + * Type * @enum {string} */ - type: "main"; + type: 'main'; /** Path */ path: string; /** Description */ description?: string; /** - * Model Format + * Model Format * @enum {string} */ - model_format: "checkpoint"; - error?: components["schemas"]["ModelError"]; + model_format: 'checkpoint'; + error?: components['schemas']['ModelError']; /** Vae */ vae?: string; /** Config */ config: string; - variant: components["schemas"]["ModelVariantType"]; + variant: components['schemas']['ModelVariantType']; }; /** StableDiffusion2ModelDiffusersConfig */ StableDiffusion2ModelDiffusersConfig: { /** Name */ name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** - * Type + * Type * @enum {string} */ - type: "main"; + type: 'main'; /** Path */ path: string; /** Description */ description?: string; /** - * Model Format + * Model Format * @enum {string} */ - model_format: "diffusers"; - error?: components["schemas"]["ModelError"]; + model_format: 'diffusers'; + error?: components['schemas']['ModelError']; /** Vae */ vae?: string; - variant: components["schemas"]["ModelVariantType"]; + variant: components['schemas']['ModelVariantType']; }; /** - * StepParamEasingInvocation + * StepParamEasingInvocation * @description Experimental per-step parameter easing for denoising steps */ StepParamEasingInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default step_param_easing + * Type + * @default step_param_easing * @enum {string} */ - type?: "step_param_easing"; + type?: 'step_param_easing'; /** - * Easing - * @description The easing function to use - * @default Linear + * Easing + * @description The easing function to use + * @default Linear * @enum {string} */ - easing?: "Linear" | "QuadIn" | "QuadOut" | "QuadInOut" | "CubicIn" | "CubicOut" | "CubicInOut" | "QuarticIn" | "QuarticOut" | "QuarticInOut" | "QuinticIn" | "QuinticOut" | "QuinticInOut" | "SineIn" | "SineOut" | "SineInOut" | "CircularIn" | "CircularOut" | "CircularInOut" | "ExponentialIn" | "ExponentialOut" | "ExponentialInOut" | "ElasticIn" | "ElasticOut" | "ElasticInOut" | "BackIn" | "BackOut" | "BackInOut" | "BounceIn" | "BounceOut" | "BounceInOut"; + easing?: + | 'Linear' + | 'QuadIn' + | 'QuadOut' + | 'QuadInOut' + | 'CubicIn' + | 'CubicOut' + | 'CubicInOut' + | 'QuarticIn' + | 'QuarticOut' + | 'QuarticInOut' + | 'QuinticIn' + | 'QuinticOut' + | 'QuinticInOut' + | 'SineIn' + | 'SineOut' + | 'SineInOut' + | 'CircularIn' + | 'CircularOut' + | 'CircularInOut' + | 'ExponentialIn' + | 'ExponentialOut' + | 'ExponentialInOut' + | 'ElasticIn' + | 'ElasticOut' + | 'ElasticInOut' + | 'BackIn' + | 'BackOut' + | 'BackInOut' + | 'BounceIn' + | 'BounceOut' + | 'BounceInOut'; /** - * Num Steps - * @description number of denoising steps + * Num Steps + * @description number of denoising steps * @default 20 */ num_steps?: number; /** - * Start Value - * @description easing starting value + * Start Value + * @description easing starting value * @default 0 */ start_value?: number; /** - * End Value - * @description easing ending value + * End Value + * @description easing ending value * @default 1 */ end_value?: number; /** - * Start Step Percent - * @description fraction of steps at which to start easing + * Start Step Percent + * @description fraction of steps at which to start easing * @default 0 */ start_step_percent?: number; /** - * End Step Percent - * @description fraction of steps after which to end easing + * End Step Percent + * @description fraction of steps after which to end easing * @default 1 */ end_step_percent?: number; /** - * Pre Start Value + * Pre Start Value * @description value before easing start */ pre_start_value?: number; /** - * Post End Value + * Post End Value * @description value after easing end */ post_end_value?: number; /** - * Mirror - * @description include mirror of easing function + * Mirror + * @description include mirror of easing function * @default false */ mirror?: boolean; /** - * Show Easing Plot - * @description show easing plot + * Show Easing Plot + * @description show easing plot * @default false */ show_easing_plot?: boolean; }; /** - * SubModelType - * @description An enumeration. + * SubModelType + * @description An enumeration. * @enum {string} */ - SubModelType: "unet" | "text_encoder" | "tokenizer" | "vae" | "scheduler" | "safety_checker"; + SubModelType: + | 'unet' + | 'text_encoder' + | 'tokenizer' + | 'vae' + | 'scheduler' + | 'safety_checker'; /** - * SubtractInvocation + * SubtractInvocation * @description Subtracts two numbers */ SubtractInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default sub + * Type + * @default sub * @enum {string} */ - type?: "sub"; + type?: 'sub'; /** - * A - * @description The first number + * A + * @description The first number * @default 0 */ a?: number; /** - * B - * @description The second number + * B + * @description The second number * @default 0 */ b?: number; }; /** - * TextToLatentsInvocation + * TextToLatentsInvocation * @description Generates latents from conditionings. */ TextToLatentsInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default t2l + * Type + * @default t2l * @enum {string} */ - type?: "t2l"; + type?: 't2l'; /** - * Positive Conditioning + * Positive Conditioning * @description Positive conditioning for generation */ - positive_conditioning?: components["schemas"]["ConditioningField"]; + positive_conditioning?: components['schemas']['ConditioningField']; /** - * Negative Conditioning + * Negative Conditioning * @description Negative conditioning for generation */ - negative_conditioning?: components["schemas"]["ConditioningField"]; + negative_conditioning?: components['schemas']['ConditioningField']; /** - * Noise + * Noise * @description The noise to use */ - noise?: components["schemas"]["LatentsField"]; + noise?: components['schemas']['LatentsField']; /** - * Steps - * @description The number of steps to use to generate the image + * Steps + * @description The number of steps to use to generate the image * @default 10 */ steps?: number; /** - * Cfg Scale - * @description The Classifier-Free Guidance, higher values may result in a result closer to the prompt + * Cfg Scale + * @description The Classifier-Free Guidance, higher values may result in a result closer to the prompt * @default 7.5 */ - cfg_scale?: number | (number)[]; + cfg_scale?: number | number[]; /** - * Scheduler - * @description The scheduler to use - * @default euler + * Scheduler + * @description The scheduler to use + * @default euler * @enum {string} */ - 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"; + 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 + * Unet * @description UNet submodel */ - unet?: components["schemas"]["UNetField"]; + unet?: components['schemas']['UNetField']; /** - * Control + * Control * @description The control to use */ - control?: components["schemas"]["ControlField"] | (components["schemas"]["ControlField"])[]; + control?: + | components['schemas']['ControlField'] + | components['schemas']['ControlField'][]; }; /** TextualInversionModelConfig */ TextualInversionModelConfig: { /** Name */ name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** - * Type + * Type * @enum {string} */ - type: "embedding"; + type: 'embedding'; /** Path */ path: string; /** Description */ description?: string; /** Model Format */ model_format: null; - error?: components["schemas"]["ModelError"]; + error?: components['schemas']['ModelError']; }; /** - * TileResamplerProcessorInvocation + * TileResamplerProcessorInvocation * @description Base class for invocations that preprocess images for ControlNet */ TileResamplerProcessorInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default tile_image_processor + * Type + * @default tile_image_processor * @enum {string} */ - type?: "tile_image_processor"; + type?: 'tile_image_processor'; /** - * Image + * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Down Sampling Rate - * @description Down sampling rate + * Down Sampling Rate + * @description Down sampling rate * @default 1 */ down_sampling_rate?: number; @@ -4210,58 +4483,58 @@ export type components = { /** UNetField */ UNetField: { /** - * Unet + * Unet * @description Info to load unet submodel */ - unet: components["schemas"]["ModelInfo"]; + unet: components['schemas']['ModelInfo']; /** - * Scheduler + * Scheduler * @description Info to load scheduler submodel */ - scheduler: components["schemas"]["ModelInfo"]; + scheduler: components['schemas']['ModelInfo']; /** - * Loras + * Loras * @description Loras to apply on model loading */ - loras: (components["schemas"]["LoraInfo"])[]; + loras: components['schemas']['LoraInfo'][]; }; /** - * UpscaleInvocation + * UpscaleInvocation * @description Upscales an image. */ UpscaleInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default upscale + * Type + * @default upscale * @enum {string} */ - type?: "upscale"; + type?: 'upscale'; /** - * Image + * Image * @description The input image */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** - * Strength - * @description The strength + * Strength + * @description The strength * @default 0.75 */ strength?: number; /** - * Level - * @description The upscale level - * @default 2 + * Level + * @description The upscale level + * @default 2 * @enum {integer} */ level?: 2 | 4; @@ -4269,48 +4542,48 @@ export type components = { /** VaeField */ VaeField: { /** - * Vae + * Vae * @description Info to load vae submodel */ - vae: components["schemas"]["ModelInfo"]; + vae: components['schemas']['ModelInfo']; }; /** VaeModelConfig */ VaeModelConfig: { /** Name */ name: string; - base_model: components["schemas"]["BaseModelType"]; + base_model: components['schemas']['BaseModelType']; /** - * Type + * Type * @enum {string} */ - type: "vae"; + type: 'vae'; /** Path */ path: string; /** Description */ description?: string; - model_format: components["schemas"]["VaeModelFormat"]; - error?: components["schemas"]["ModelError"]; + model_format: components['schemas']['VaeModelFormat']; + error?: components['schemas']['ModelError']; }; /** - * VaeModelFormat - * @description An enumeration. + * VaeModelFormat + * @description An enumeration. * @enum {string} */ - VaeModelFormat: "checkpoint" | "diffusers"; + VaeModelFormat: 'checkpoint' | 'diffusers'; /** VaeRepo */ VaeRepo: { /** - * Repo Id + * Repo Id * @description The repo ID to use for this VAE */ repo_id: string; /** - * Path + * Path * @description The path to the VAE */ path?: string; /** - * Subfolder + * Subfolder * @description The subfolder to use for this VAE */ subfolder?: string; @@ -4325,45 +4598,45 @@ export type components = { type: string; }; /** - * ZoeDepthImageProcessorInvocation + * ZoeDepthImageProcessorInvocation * @description Applies Zoe depth processing to image */ ZoeDepthImageProcessorInvocation: { /** - * Id + * 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. + * Is Intermediate + * @description Whether or not this node is an intermediate node. * @default false */ is_intermediate?: boolean; /** - * Type - * @default zoe_depth_image_processor + * Type + * @default zoe_depth_image_processor * @enum {string} */ - type?: "zoe_depth_image_processor"; + type?: 'zoe_depth_image_processor'; /** - * Image + * Image * @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; }; /** - * StableDiffusion2ModelFormat - * @description An enumeration. + * StableDiffusion1ModelFormat + * @description An enumeration. * @enum {string} */ - StableDiffusion2ModelFormat: "checkpoint" | "diffusers"; + StableDiffusion1ModelFormat: 'checkpoint' | 'diffusers'; /** - * StableDiffusion1ModelFormat - * @description An enumeration. + * StableDiffusion2ModelFormat + * @description An enumeration. * @enum {string} */ - StableDiffusion1ModelFormat: "checkpoint" | "diffusers"; + StableDiffusion2ModelFormat: 'checkpoint' | 'diffusers'; }; responses: never; parameters: never; @@ -4375,9 +4648,8 @@ export type components = { export type external = Record; export type operations = { - /** - * List Sessions + * List Sessions * @description Gets a list of sessions, optionally searching */ list_sessions: { @@ -4395,32 +4667,32 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["PaginatedResults_GraphExecutionState_"]; + 'application/json': components['schemas']['PaginatedResults_GraphExecutionState_']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Create Session + * Create Session * @description Creates a new session, optionally initializing it with an invocation graph */ create_session: { requestBody?: { content: { - "application/json": components["schemas"]["Graph"]; + 'application/json': components['schemas']['Graph']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["GraphExecutionState"]; + 'application/json': components['schemas']['GraphExecutionState']; }; }; /** @description Invalid json */ @@ -4428,13 +4700,13 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Get Session + * Get Session * @description Gets a session */ get_session: { @@ -4448,7 +4720,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["GraphExecutionState"]; + 'application/json': components['schemas']['GraphExecutionState']; }; }; /** @description Session not found */ @@ -4456,13 +4728,13 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Add Node + * Add Node * @description Adds a node to the graph */ add_node: { @@ -4474,14 +4746,77 @@ export type operations = { }; requestBody: { content: { - "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"]["PipelineModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["CompelInvocation"] | 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"]; + 'application/json': + | components['schemas']['RangeInvocation'] + | components['schemas']['RangeOfSizeInvocation'] + | components['schemas']['RandomRangeInvocation'] + | components['schemas']['MainModelLoaderInvocation'] + | components['schemas']['LoraLoaderInvocation'] + | components['schemas']['CompelInvocation'] + | 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']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": string; + 'application/json': string; }; }; /** @description Invalid node or link */ @@ -4491,13 +4826,13 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Update Node + * Update Node * @description Updates a node in the graph and removes all linked edges */ update_node: { @@ -4511,14 +4846,77 @@ export type operations = { }; requestBody: { content: { - "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"]["PipelineModelLoaderInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["CompelInvocation"] | 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"]; + 'application/json': + | components['schemas']['RangeInvocation'] + | components['schemas']['RangeOfSizeInvocation'] + | components['schemas']['RandomRangeInvocation'] + | components['schemas']['MainModelLoaderInvocation'] + | components['schemas']['LoraLoaderInvocation'] + | components['schemas']['CompelInvocation'] + | 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']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["GraphExecutionState"]; + 'application/json': components['schemas']['GraphExecutionState']; }; }; /** @description Invalid node or link */ @@ -4528,13 +4926,13 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Delete Node + * Delete Node * @description Deletes a node in the graph and removes all linked edges */ delete_node: { @@ -4550,7 +4948,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["GraphExecutionState"]; + 'application/json': components['schemas']['GraphExecutionState']; }; }; /** @description Invalid node or link */ @@ -4560,13 +4958,13 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Add Edge + * Add Edge * @description Adds an edge to the graph */ add_edge: { @@ -4578,14 +4976,14 @@ export type operations = { }; requestBody: { content: { - "application/json": components["schemas"]["Edge"]; + 'application/json': components['schemas']['Edge']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["GraphExecutionState"]; + 'application/json': components['schemas']['GraphExecutionState']; }; }; /** @description Invalid node or link */ @@ -4595,13 +4993,13 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Delete Edge + * Delete Edge * @description Deletes an edge from the graph */ delete_edge: { @@ -4623,7 +5021,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["GraphExecutionState"]; + 'application/json': components['schemas']['GraphExecutionState']; }; }; /** @description Invalid node or link */ @@ -4633,13 +5031,13 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Invoke Session + * Invoke Session * @description Invokes a session */ invoke_session: { @@ -4657,7 +5055,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description The invocation is queued */ @@ -4669,13 +5067,13 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Cancel Session Invoke + * Cancel Session Invoke * @description Invokes a session */ cancel_session_invoke: { @@ -4689,7 +5087,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description The invocation is canceled */ @@ -4697,66 +5095,66 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * List Models + * List Models * @description Gets a list of models */ list_models: { parameters: { query?: { /** @description Base model */ - base_model?: components["schemas"]["BaseModelType"]; + base_model?: components['schemas']['BaseModelType']; /** @description The type of model to get */ - model_type?: components["schemas"]["ModelType"]; + model_type?: components['schemas']['ModelType']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["ModelsList"]; + 'application/json': components['schemas']['ModelsList']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Import Model + * Import Model * @description Add Model */ import_model: { requestBody: { content: { - "application/json": components["schemas"]["ImportModelRequest"]; + 'application/json': components['schemas']['ImportModelRequest']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Delete Model + * Delete Model * @description Delete Model */ del_model: { @@ -4769,7 +5167,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description Model deleted successfully */ @@ -4779,22 +5177,22 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * List Images With Metadata + * List Images With Metadata * @description Gets a list of images */ list_images_with_metadata: { parameters: { query?: { /** @description The origin of images to list */ - image_origin?: components["schemas"]["ResourceOrigin"]; + image_origin?: components['schemas']['ResourceOrigin']; /** @description The categories of image to include */ - categories?: (components["schemas"]["ImageCategory"])[]; + categories?: components['schemas']['ImageCategory'][]; /** @description Whether to list intermediate images */ is_intermediate?: boolean; /** @description The board id to filter by */ @@ -4809,26 +5207,26 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["OffsetPaginatedResults_ImageDTO_"]; + 'application/json': components['schemas']['OffsetPaginatedResults_ImageDTO_']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Upload Image + * Upload Image * @description Uploads an image */ upload_image: { parameters: { query: { /** @description The category of the image */ - image_category: components["schemas"]["ImageCategory"]; + image_category: components['schemas']['ImageCategory']; /** @description Whether this is an intermediate image */ is_intermediate: boolean; /** @description The session ID associated with this upload, if any */ @@ -4837,14 +5235,14 @@ export type operations = { }; requestBody: { content: { - "multipart/form-data": components["schemas"]["Body_upload_image"]; + 'multipart/form-data': components['schemas']['Body_upload_image']; }; }; responses: { /** @description The image was uploaded successfully */ 201: { content: { - "application/json": components["schemas"]["ImageDTO"]; + 'application/json': components['schemas']['ImageDTO']; }; }; /** @description Image upload failed */ @@ -4852,13 +5250,13 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Get Image Full + * Get Image Full * @description Gets a full-resolution image file */ get_image_full: { @@ -4872,7 +5270,7 @@ export type operations = { /** @description Return the full-resolution image */ 200: { content: { - "image/png": unknown; + 'image/png': unknown; }; }; /** @description Image not found */ @@ -4880,13 +5278,13 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Delete Image + * Delete Image * @description Deletes an image */ delete_image: { @@ -4900,19 +5298,19 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Update Image + * Update Image * @description Updates an image */ update_image: { @@ -4924,26 +5322,26 @@ export type operations = { }; requestBody: { content: { - "application/json": components["schemas"]["ImageRecordChanges"]; + 'application/json': components['schemas']['ImageRecordChanges']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["ImageDTO"]; + 'application/json': components['schemas']['ImageDTO']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Get Image Metadata + * Get Image Metadata * @description Gets an image's metadata */ get_image_metadata: { @@ -4957,19 +5355,19 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["ImageDTO"]; + 'application/json': components['schemas']['ImageDTO']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Get Image Thumbnail + * Get Image Thumbnail * @description Gets a thumbnail image file */ get_image_thumbnail: { @@ -4983,7 +5381,7 @@ export type operations = { /** @description Return the image thumbnail */ 200: { content: { - "image/webp": unknown; + 'image/webp': unknown; }; }; /** @description Image not found */ @@ -4991,13 +5389,13 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Get Image Urls + * Get Image Urls * @description Gets an image and thumbnail URL */ get_image_urls: { @@ -5011,19 +5409,19 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["ImageUrlsDTO"]; + 'application/json': components['schemas']['ImageUrlsDTO']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * List Boards + * List Boards * @description Gets a list of boards */ list_boards: { @@ -5041,19 +5439,21 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["OffsetPaginatedResults_BoardDTO_"] | (components["schemas"]["BoardDTO"])[]; + 'application/json': + | components['schemas']['OffsetPaginatedResults_BoardDTO_'] + | components['schemas']['BoardDTO'][]; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Create Board + * Create Board * @description Creates a board */ create_board: { @@ -5067,19 +5467,19 @@ export type operations = { /** @description The board was created successfully */ 201: { content: { - "application/json": components["schemas"]["BoardDTO"]; + 'application/json': components['schemas']['BoardDTO']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Get Board + * Get Board * @description Gets a board */ get_board: { @@ -5093,19 +5493,19 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["BoardDTO"]; + 'application/json': components['schemas']['BoardDTO']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Delete Board + * Delete Board * @description Deletes a board */ delete_board: { @@ -5123,19 +5523,19 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Update Board + * Update Board * @description Updates a board */ update_board: { @@ -5147,76 +5547,76 @@ export type operations = { }; requestBody: { content: { - "application/json": components["schemas"]["BoardChanges"]; + 'application/json': components['schemas']['BoardChanges']; }; }; responses: { /** @description The board was updated successfully */ 201: { content: { - "application/json": components["schemas"]["BoardDTO"]; + 'application/json': components['schemas']['BoardDTO']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Create Board Image + * Create Board Image * @description Creates a board_image */ create_board_image: { requestBody: { content: { - "application/json": components["schemas"]["Body_create_board_image"]; + 'application/json': components['schemas']['Body_create_board_image']; }; }; responses: { /** @description The image was added to a board successfully */ 201: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * Remove Board Image + * Remove Board Image * @description Deletes a board_image */ remove_board_image: { requestBody: { content: { - "application/json": components["schemas"]["Body_remove_board_image"]; + 'application/json': components['schemas']['Body_remove_board_image']; }; }; responses: { /** @description The image was removed from the board successfully */ 201: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; }; /** - * List Board Images + * List Board Images * @description Gets a list of images for a board */ list_board_images: { @@ -5236,13 +5636,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["OffsetPaginatedResults_ImageDTO_"]; + 'application/json': components['schemas']['OffsetPaginatedResults_ImageDTO_']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; diff --git a/invokeai/frontend/web/src/services/api/types.d.ts b/invokeai/frontend/web/src/services/api/types.d.ts index 12c072509b..3da844d764 100644 --- a/invokeai/frontend/web/src/services/api/types.d.ts +++ b/invokeai/frontend/web/src/services/api/types.d.ts @@ -33,7 +33,7 @@ export type OffsetPaginatedResults_ImageDTO_ = // Models export type ModelType = S<'ModelType'>; export type BaseModelType = S<'BaseModelType'>; -export type PipelineModelField = S<'PipelineModelField'>; +export type MainModelField = S<'MainModelField'>; export type ModelsList = S<'ModelsList'>; // Graphs @@ -57,8 +57,8 @@ export type TextToLatentsInvocation = N<'TextToLatentsInvocation'>; export type LatentsToLatentsInvocation = N<'LatentsToLatentsInvocation'>; export type ImageToLatentsInvocation = N<'ImageToLatentsInvocation'>; export type LatentsToImageInvocation = N<'LatentsToImageInvocation'>; -export type PipelineModelLoaderInvocation = N<'PipelineModelLoaderInvocation'>; export type ImageCollectionInvocation = N<'ImageCollectionInvocation'>; +export type MainModelLoaderInvocation = N<'MainModelLoaderInvocation'>; // ControlNet Nodes export type ControlNetInvocation = N<'ControlNetInvocation'>;