diff --git a/invokeai/frontend/web/.eslintignore b/invokeai/frontend/web/.eslintignore
index 235ace8f29..1cb448ea80 100644
--- a/invokeai/frontend/web/.eslintignore
+++ b/invokeai/frontend/web/.eslintignore
@@ -7,4 +7,4 @@ stats.html
index.html
.yarn/
*.scss
-src/services/api/schema.d.ts
+src/services/api/schema.ts
diff --git a/invokeai/frontend/web/.prettierignore b/invokeai/frontend/web/.prettierignore
index 5317daea68..0f53a0b0a8 100644
--- a/invokeai/frontend/web/.prettierignore
+++ b/invokeai/frontend/web/.prettierignore
@@ -9,7 +9,7 @@ index.html
.yarn/
.yalc/
*.scss
-src/services/api/schema.d.ts
+src/services/api/schema.ts
static/
src/theme/css/overlayscrollbars.css
src/theme_/css/overlayscrollbars.css
diff --git a/invokeai/frontend/web/src/common/components/IAIColorPicker.tsx b/invokeai/frontend/web/src/common/components/IAIColorPicker.tsx
index adb11ba181..5072b3442a 100644
--- a/invokeai/frontend/web/src/common/components/IAIColorPicker.tsx
+++ b/invokeai/frontend/web/src/common/components/IAIColorPicker.tsx
@@ -70,7 +70,7 @@ const IAIColorPicker = (props: IAIColorPickerProps) => {
step={1}
w={numberInputWidth}
defaultValue={90}
- />
+ />
{
step={1}
w={numberInputWidth}
defaultValue={90}
- />
+ />
{
step={1}
w={numberInputWidth}
defaultValue={255}
- />
+ />
void;
};
-type ModelFormat = 'all' | 'checkpoint' | 'diffusers' | 'olive' | 'onnx';
+type ModelFormat = 'all' | 'checkpoint' | 'diffusers';
-type ModelType = 'main' | 'lora' | 'onnx';
+type ModelType = 'main' | 'lora';
type CombinedModelFormat = ModelFormat | 'lora';
@@ -77,26 +75,6 @@ const ModelList = (props: ModelListProps) => {
}
);
- const { filteredOnnxModels, isLoadingOnnxModels } = useGetOnnxModelsQuery(
- ALL_BASE_MODELS,
- {
- selectFromResult: ({ data, isLoading }) => ({
- filteredOnnxModels: modelsFilter(data, 'onnx', 'onnx', nameFilter),
- isLoadingOnnxModels: isLoading,
- }),
- }
- );
-
- const { filteredOliveModels, isLoadingOliveModels } = useGetOnnxModelsQuery(
- ALL_BASE_MODELS,
- {
- selectFromResult: ({ data, isLoading }) => ({
- filteredOliveModels: modelsFilter(data, 'onnx', 'olive', nameFilter),
- isLoadingOliveModels: isLoading,
- }),
- }
- );
-
const handleSearchFilter = useCallback((e: ChangeEvent) => {
setNameFilter(e.target.value);
}, []);
@@ -126,20 +104,6 @@ const ModelList = (props: ModelListProps) => {
>
{t('modelManager.checkpointModels')}
-
- {t('modelManager.onnxModels')}
-
-
- {t('modelManager.oliveModels')}
-
{
key="loras"
/>
)}
- {/* Olive List */}
- {isLoadingOliveModels && (
-
- )}
- {['all', 'olive'].includes(modelFormatFilter) &&
- !isLoadingOliveModels &&
- filteredOliveModels.length > 0 && (
-
- )}
- {/* Onnx List */}
- {isLoadingOnnxModels && (
-
- )}
- {['all', 'onnx'].includes(modelFormatFilter) &&
- !isLoadingOnnxModels &&
- filteredOnnxModels.length > 0 && (
-
- )}
@@ -238,12 +174,7 @@ const ModelList = (props: ModelListProps) => {
export default memo(ModelList);
-const modelsFilter = <
- T extends
- | MainModelConfigEntity
- | LoRAModelConfigEntity
- | OnnxModelConfigEntity,
->(
+const modelsFilter = (
data: EntityState | undefined,
model_type: ModelType,
model_format: ModelFormat | undefined,
@@ -282,10 +213,7 @@ StyledModelContainer.displayName = 'StyledModelContainer';
type ModelListWrapperProps = {
title: string;
- modelList:
- | MainModelConfigEntity[]
- | LoRAModelConfigEntity[]
- | OnnxModelConfigEntity[];
+ modelList: MainModelConfigEntity[] | LoRAModelConfigEntity[];
selected: ModelListProps;
};
diff --git a/invokeai/frontend/web/src/features/modelManager/subpanels/ModelManagerPanel/ModelListItem.tsx b/invokeai/frontend/web/src/features/modelManager/subpanels/ModelManagerPanel/ModelListItem.tsx
index d281817bae..0e5ef5b35a 100644
--- a/invokeai/frontend/web/src/features/modelManager/subpanels/ModelManagerPanel/ModelListItem.tsx
+++ b/invokeai/frontend/web/src/features/modelManager/subpanels/ModelManagerPanel/ModelListItem.tsx
@@ -14,7 +14,6 @@ import { useTranslation } from 'react-i18next';
import type {
LoRAModelConfigEntity,
MainModelConfigEntity,
- OnnxModelConfigEntity,
} from 'services/api/endpoints/models';
import {
useDeleteLoRAModelsMutation,
@@ -22,7 +21,7 @@ import {
} from 'services/api/endpoints/models';
type ModelListItemProps = {
- model: MainModelConfigEntity | OnnxModelConfigEntity | LoRAModelConfigEntity;
+ model: MainModelConfigEntity | LoRAModelConfigEntity;
isSelected: boolean;
setSelectedModelId: (v: string | undefined) => void;
};
@@ -44,7 +43,6 @@ const ModelListItem = (props: ModelListItemProps) => {
const method = {
main: deleteMainModel,
lora: deleteLoRAModel,
- onnx: deleteMainModel,
}[model.model_type];
method(model)
diff --git a/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/MainModelFieldInputComponent.tsx b/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/MainModelFieldInputComponent.tsx
index a8bc974bee..7c6b11c2ee 100644
--- a/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/MainModelFieldInputComponent.tsx
+++ b/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/MainModelFieldInputComponent.tsx
@@ -45,6 +45,7 @@ const MainModelFieldInputComponent = (props: Props) => {
modelEntities: data,
onChange: _onChange,
isLoading,
+ selectedModel: field.value,
});
return (
diff --git a/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/RefinerModelFieldInputComponent.tsx b/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/RefinerModelFieldInputComponent.tsx
index e7e403e81b..af065d8005 100644
--- a/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/RefinerModelFieldInputComponent.tsx
+++ b/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/RefinerModelFieldInputComponent.tsx
@@ -45,6 +45,7 @@ const RefinerModelFieldInputComponent = (props: Props) => {
modelEntities: data,
onChange: _onChange,
isLoading,
+ selectedModel: field.value,
});
return (
diff --git a/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/SDXLMainModelFieldInputComponent.tsx b/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/SDXLMainModelFieldInputComponent.tsx
index 253eba03e9..b402317555 100644
--- a/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/SDXLMainModelFieldInputComponent.tsx
+++ b/invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/SDXLMainModelFieldInputComponent.tsx
@@ -45,6 +45,7 @@ const SDXLMainModelFieldInputComponent = (props: Props) => {
modelEntities: data,
onChange: _onChange,
isLoading,
+ selectedModel: field.value,
});
return (
diff --git a/invokeai/frontend/web/src/features/nodes/store/nodesSlice.ts b/invokeai/frontend/web/src/features/nodes/store/nodesSlice.ts
index 30c8ac5691..dbe2135dbd 100644
--- a/invokeai/frontend/web/src/features/nodes/store/nodesSlice.ts
+++ b/invokeai/frontend/web/src/features/nodes/store/nodesSlice.ts
@@ -137,10 +137,11 @@ const fieldValueReducer = (
return;
}
const input = node.data?.inputs[fieldName];
- if (!input || nodeIndex < 0 || !schema.safeParse(value).success) {
+ const result = schema.safeParse(value);
+ if (!input || nodeIndex < 0 || !result.success) {
return;
}
- input.value = value;
+ input.value = result.data;
};
const nodesSlice = createSlice({
diff --git a/invokeai/frontend/web/src/features/nodes/types/common.ts b/invokeai/frontend/web/src/features/nodes/types/common.ts
index 4dcebf0fe4..81334078fd 100644
--- a/invokeai/frontend/web/src/features/nodes/types/common.ts
+++ b/invokeai/frontend/web/src/features/nodes/types/common.ts
@@ -59,7 +59,6 @@ export const zBaseModel = z.enum([
'sdxl-refiner',
]);
export const zModelType = z.enum([
- 'onnx',
'main',
'vae',
'lora',
@@ -80,23 +79,12 @@ export const zMainModelField = z.object({
base_model: zBaseModel,
model_type: z.literal('main'),
});
-export const zONNXModelField = z.object({
- model_name: zModelName,
- base_model: zBaseModel,
- model_type: z.literal('onnx'),
-});
-export const zMainOrONNXModelField = z.union([
- zMainModelField,
- zONNXModelField,
-]);
export const zSDXLRefinerModelField = z.object({
model_name: z.string().min(1),
base_model: z.literal('sdxl-refiner'),
model_type: z.literal('main'),
});
export type MainModelField = z.infer;
-export type ONNXModelField = z.infer;
-export type MainOrONNXModelField = z.infer;
export type SDXLRefinerModelField = z.infer;
export const zSubModelType = z.enum([
diff --git a/invokeai/frontend/web/src/features/nodes/types/constants.ts b/invokeai/frontend/web/src/features/nodes/types/constants.ts
index a3d88940fd..35ef9e9fd2 100644
--- a/invokeai/frontend/web/src/features/nodes/types/constants.ts
+++ b/invokeai/frontend/web/src/features/nodes/types/constants.ts
@@ -39,7 +39,6 @@ export const MODEL_TYPES = [
'ControlNetModelField',
'LoRAModelField',
'MainModelField',
- 'ONNXModelField',
'SDXLMainModelField',
'SDXLRefinerModelField',
'VaeModelField',
@@ -70,7 +69,6 @@ export const FIELD_COLORS: { [key: string]: string } = {
LatentsField: 'pink.500',
LoRAModelField: 'teal.500',
MainModelField: 'teal.500',
- ONNXModelField: 'teal.500',
SDXLMainModelField: 'teal.500',
SDXLRefinerModelField: 'teal.500',
StringField: 'yellow.500',
diff --git a/invokeai/frontend/web/src/features/nodes/types/field.ts b/invokeai/frontend/web/src/features/nodes/types/field.ts
index 410c7ba530..027817badf 100644
--- a/invokeai/frontend/web/src/features/nodes/types/field.ts
+++ b/invokeai/frontend/web/src/features/nodes/types/field.ts
@@ -7,7 +7,7 @@ import {
zImageField,
zIPAdapterModelField,
zLoRAModelField,
- zMainOrONNXModelField,
+ zMainModelField,
zSchedulerField,
zT2IAdapterModelField,
zVAEModelField,
@@ -430,7 +430,7 @@ export const isColorFieldInputTemplate = (
export const zMainModelFieldType = zFieldTypeBase.extend({
name: z.literal('MainModelField'),
});
-export const zMainModelFieldValue = zMainOrONNXModelField.optional();
+export const zMainModelFieldValue = zMainModelField.optional();
export const zMainModelFieldInputInstance = zFieldInputInstanceBase.extend({
type: zMainModelFieldType,
value: zMainModelFieldValue,
diff --git a/invokeai/frontend/web/src/features/nodes/types/metadata.ts b/invokeai/frontend/web/src/features/nodes/types/metadata.ts
index f825b1f5bd..6155c263d0 100644
--- a/invokeai/frontend/web/src/features/nodes/types/metadata.ts
+++ b/invokeai/frontend/web/src/features/nodes/types/metadata.ts
@@ -5,7 +5,6 @@ import {
zIPAdapterField,
zLoRAModelField,
zMainModelField,
- zONNXModelField,
zSDXLRefinerModelField,
zT2IAdapterField,
zVAEModelField,
@@ -23,10 +22,7 @@ const zControlNetMetadataItem = zControlField.deepPartial();
const zIPAdapterMetadataItem = zIPAdapterField.deepPartial();
const zT2IAdapterMetadataItem = zT2IAdapterField.deepPartial();
const zSDXLRefinerModelMetadataItem = zSDXLRefinerModelField.deepPartial();
-const zModelMetadataItem = z.union([
- zMainModelField.deepPartial(),
- zONNXModelField.deepPartial(),
-]);
+const zModelMetadataItem = zMainModelField.deepPartial();
const zVAEModelMetadataItem = zVAEModelField.deepPartial();
export type LoRAMetadataItem = z.infer;
export type ControlNetMetadataItem = z.infer;
diff --git a/invokeai/frontend/web/src/features/nodes/types/v1/fieldTypeMap.ts b/invokeai/frontend/web/src/features/nodes/types/v1/fieldTypeMap.ts
index c28a4b5821..79946cd8d5 100644
--- a/invokeai/frontend/web/src/features/nodes/types/v1/fieldTypeMap.ts
+++ b/invokeai/frontend/web/src/features/nodes/types/v1/fieldTypeMap.ts
@@ -273,11 +273,6 @@ const FIELD_TYPE_V1_TO_STATELESS_FIELD_TYPE_V2: {
isCollection: false,
isCollectionOrScalar: true,
},
- ONNXModelField: {
- name: 'ONNXModelField',
- isCollection: false,
- isCollectionOrScalar: false,
- },
T2IAdapterField: {
name: 'T2IAdapterField',
isCollection: false,
diff --git a/invokeai/frontend/web/src/features/nodes/util/graph/addVAEToGraph.ts b/invokeai/frontend/web/src/features/nodes/util/graph/addVAEToGraph.ts
index 7b5754590e..405f1e9379 100644
--- a/invokeai/frontend/web/src/features/nodes/util/graph/addVAEToGraph.ts
+++ b/invokeai/frontend/web/src/features/nodes/util/graph/addVAEToGraph.ts
@@ -14,7 +14,6 @@ import {
INPAINT_IMAGE,
LATENTS_TO_IMAGE,
MAIN_MODEL_LOADER,
- ONNX_MODEL_LOADER,
SDXL_CANVAS_IMAGE_TO_IMAGE_GRAPH,
SDXL_CANVAS_INPAINT_GRAPH,
SDXL_CANVAS_OUTPAINT_GRAPH,
@@ -50,7 +49,6 @@ export const addVAEToGraph = (
vae_model: vae,
};
}
- const isOnnxModel = modelLoaderNodeId == ONNX_MODEL_LOADER;
if (
graph.id === TEXT_TO_IMAGE_GRAPH ||
@@ -61,7 +59,7 @@ export const addVAEToGraph = (
graph.edges.push({
source: {
node_id: isAutoVae ? modelLoaderNodeId : VAE_LOADER,
- field: isAutoVae && isOnnxModel ? 'vae_decoder' : 'vae',
+ field: 'vae',
},
destination: {
node_id: LATENTS_TO_IMAGE,
@@ -79,7 +77,7 @@ export const addVAEToGraph = (
graph.edges.push({
source: {
node_id: isAutoVae ? modelLoaderNodeId : VAE_LOADER,
- field: isAutoVae && isOnnxModel ? 'vae_decoder' : 'vae',
+ field: 'vae',
},
destination: {
node_id: isUsingScaledDimensions ? LATENTS_TO_IMAGE : CANVAS_OUTPUT,
@@ -97,7 +95,7 @@ export const addVAEToGraph = (
graph.edges.push({
source: {
node_id: isAutoVae ? modelLoaderNodeId : VAE_LOADER,
- field: isAutoVae && isOnnxModel ? 'vae_decoder' : 'vae',
+ field: 'vae',
},
destination: {
node_id: IMAGE_TO_LATENTS,
@@ -116,7 +114,7 @@ export const addVAEToGraph = (
{
source: {
node_id: isAutoVae ? modelLoaderNodeId : VAE_LOADER,
- field: isAutoVae && isOnnxModel ? 'vae_decoder' : 'vae',
+ field: 'vae',
},
destination: {
node_id: INPAINT_IMAGE,
@@ -126,7 +124,7 @@ export const addVAEToGraph = (
{
source: {
node_id: isAutoVae ? modelLoaderNodeId : VAE_LOADER,
- field: isAutoVae && isOnnxModel ? 'vae_decoder' : 'vae',
+ field: 'vae',
},
destination: {
node_id: INPAINT_CREATE_MASK,
@@ -136,7 +134,7 @@ export const addVAEToGraph = (
{
source: {
node_id: isAutoVae ? modelLoaderNodeId : VAE_LOADER,
- field: isAutoVae && isOnnxModel ? 'vae_decoder' : 'vae',
+ field: 'vae',
},
destination: {
node_id: LATENTS_TO_IMAGE,
@@ -150,7 +148,7 @@ export const addVAEToGraph = (
graph.edges.push({
source: {
node_id: isAutoVae ? modelLoaderNodeId : VAE_LOADER,
- field: isAutoVae && isOnnxModel ? 'vae_decoder' : 'vae',
+ field: 'vae',
},
destination: {
node_id: CANVAS_COHERENCE_INPAINT_CREATE_MASK,
@@ -168,7 +166,7 @@ export const addVAEToGraph = (
graph.edges.push({
source: {
node_id: isAutoVae ? modelLoaderNodeId : VAE_LOADER,
- field: isAutoVae && isOnnxModel ? 'vae_decoder' : 'vae',
+ field: 'vae',
},
destination: {
node_id: SDXL_REFINER_INPAINT_CREATE_MASK,
diff --git a/invokeai/frontend/web/src/features/nodes/util/graph/buildCanvasSDXLTextToImageGraph.ts b/invokeai/frontend/web/src/features/nodes/util/graph/buildCanvasSDXLTextToImageGraph.ts
index 85ea913bfd..cc5a7137fc 100644
--- a/invokeai/frontend/web/src/features/nodes/util/graph/buildCanvasSDXLTextToImageGraph.ts
+++ b/invokeai/frontend/web/src/features/nodes/util/graph/buildCanvasSDXLTextToImageGraph.ts
@@ -85,7 +85,6 @@ export const buildCanvasSDXLTextToImageGraph = (
*/
// copy-pasted graph from node editor, filled in with state values & friendly node ids
- // TODO: Actually create the graph correctly for ONNX
const graph: NonNullableGraph = {
id: SDXL_CANVAS_TEXT_TO_IMAGE_GRAPH,
nodes: {
diff --git a/invokeai/frontend/web/src/features/nodes/util/graph/buildCanvasTextToImageGraph.ts b/invokeai/frontend/web/src/features/nodes/util/graph/buildCanvasTextToImageGraph.ts
index 7e674eaf8d..c940183383 100644
--- a/invokeai/frontend/web/src/features/nodes/util/graph/buildCanvasTextToImageGraph.ts
+++ b/invokeai/frontend/web/src/features/nodes/util/graph/buildCanvasTextToImageGraph.ts
@@ -78,7 +78,6 @@ export const buildCanvasTextToImageGraph = (
*/
// copy-pasted graph from node editor, filled in with state values & friendly node ids
- // TODO: Actually create the graph correctly for ONNX
const graph: NonNullableGraph = {
id: CANVAS_TEXT_TO_IMAGE_GRAPH,
nodes: {
diff --git a/invokeai/frontend/web/src/features/nodes/util/graph/buildLinearTextToImageGraph.ts b/invokeai/frontend/web/src/features/nodes/util/graph/buildLinearTextToImageGraph.ts
index 3a148bf9c4..f33f88f5ba 100644
--- a/invokeai/frontend/web/src/features/nodes/util/graph/buildLinearTextToImageGraph.ts
+++ b/invokeai/frontend/web/src/features/nodes/util/graph/buildLinearTextToImageGraph.ts
@@ -70,7 +70,6 @@ export const buildLinearTextToImageGraph = (
// copy-pasted graph from node editor, filled in with state values & friendly node ids
- // TODO: Actually create the graph correctly for ONNX
const graph: NonNullableGraph = {
id: TEXT_TO_IMAGE_GRAPH,
nodes: {
diff --git a/invokeai/frontend/web/src/features/nodes/util/graph/constants.ts b/invokeai/frontend/web/src/features/nodes/util/graph/constants.ts
index c2d6ac041c..cfb34e6090 100644
--- a/invokeai/frontend/web/src/features/nodes/util/graph/constants.ts
+++ b/invokeai/frontend/web/src/features/nodes/util/graph/constants.ts
@@ -18,7 +18,6 @@ export const RANDOM_INT = 'rand_int';
export const RANGE_OF_SIZE = 'range_of_size';
export const ITERATE = 'iterate';
export const MAIN_MODEL_LOADER = 'main_model_loader';
-export const ONNX_MODEL_LOADER = 'onnx_model_loader';
export const VAE_LOADER = 'vae_loader';
export const LORA_LOADER = 'lora_loader';
export const CLIP_SKIP = 'clip_skip';
diff --git a/invokeai/frontend/web/src/features/nodes/util/schema/parseSchema.ts b/invokeai/frontend/web/src/features/nodes/util/schema/parseSchema.ts
index 325009eb59..e832b324a1 100644
--- a/invokeai/frontend/web/src/features/nodes/util/schema/parseSchema.ts
+++ b/invokeai/frontend/web/src/features/nodes/util/schema/parseSchema.ts
@@ -24,7 +24,14 @@ const RESERVED_INPUT_FIELD_NAMES = ['id', 'type', 'use_cache'];
const RESERVED_OUTPUT_FIELD_NAMES = ['type'];
const RESERVED_FIELD_TYPES = ['IsIntermediate'];
-const invocationDenylist: string[] = ['graph', 'linear_ui_output'];
+const invocationDenylist: string[] = [
+ 'graph',
+ 'linear_ui_output',
+ 'l2i_onnx',
+ 'prompt_onnx',
+ 't2l_onnx',
+ 'onnx_model_loader',
+];
const isReservedInputField = (nodeType: string, fieldName: string) => {
if (RESERVED_INPUT_FIELD_NAMES.includes(fieldName)) {
diff --git a/invokeai/frontend/web/src/features/parameters/store/actions.ts b/invokeai/frontend/web/src/features/parameters/store/actions.ts
index a21f929707..995bf332af 100644
--- a/invokeai/frontend/web/src/features/parameters/store/actions.ts
+++ b/invokeai/frontend/web/src/features/parameters/store/actions.ts
@@ -1,14 +1,10 @@
import { createAction } from '@reduxjs/toolkit';
-import type {
- ImageDTO,
- MainModelField,
- OnnxModelField,
-} from 'services/api/types';
+import type { ImageDTO, MainModelField } from 'services/api/types';
export const initialImageSelected = createAction(
'generation/initialImageSelected'
);
-export const modelSelected = createAction(
+export const modelSelected = createAction(
'generation/modelSelected'
);
diff --git a/invokeai/frontend/web/src/services/api/endpoints/models.ts b/invokeai/frontend/web/src/services/api/endpoints/models.ts
index ea498e9e4f..0518c37415 100644
--- a/invokeai/frontend/web/src/services/api/endpoints/models.ts
+++ b/invokeai/frontend/web/src/services/api/endpoints/models.ts
@@ -15,7 +15,6 @@ import type {
MainModelConfig,
MergeModelConfig,
ModelType,
- OnnxModelConfig,
T2IAdapterModelConfig,
TextualInversionModelConfig,
VaeModelConfig,
@@ -32,8 +31,6 @@ export type MainModelConfigEntity =
| DiffusersModelConfigEntity
| CheckpointModelConfigEntity;
-export type OnnxModelConfigEntity = OnnxModelConfig & { id: string };
-
export type LoRAModelConfigEntity = LoRAModelConfig & { id: string };
export type ControlNetModelConfigEntity = ControlNetModelConfig & {
@@ -56,7 +53,6 @@ export type VaeModelConfigEntity = VaeModelConfig & { id: string };
export type AnyModelConfigEntity =
| MainModelConfigEntity
- | OnnxModelConfigEntity
| LoRAModelConfigEntity
| ControlNetModelConfigEntity
| IPAdapterModelConfigEntity
@@ -138,9 +134,6 @@ type SearchFolderArg = operations['search_for_models']['parameters']['query'];
export const mainModelsAdapter = createEntityAdapter({
sortComparer: (a, b) => a.model_name.localeCompare(b.model_name),
});
-const onnxModelsAdapter = createEntityAdapter({
- sortComparer: (a, b) => a.model_name.localeCompare(b.model_name),
-});
export const loraModelsAdapter = createEntityAdapter({
sortComparer: (a, b) => a.model_name.localeCompare(b.model_name),
});
@@ -187,46 +180,6 @@ const createModelEntities = (
export const modelsApi = api.injectEndpoints({
endpoints: (build) => ({
- getOnnxModels: build.query<
- EntityState,
- BaseModelType[]
- >({
- query: (base_models) => {
- const params = {
- model_type: 'onnx',
- base_models,
- };
-
- const query = queryString.stringify(params, { arrayFormat: 'none' });
- return `models/?${query}`;
- },
- providesTags: (result) => {
- const tags: ApiTagDescription[] = [
- { type: 'OnnxModel', id: LIST_TAG },
- 'Model',
- ];
-
- if (result) {
- tags.push(
- ...result.ids.map((id) => ({
- type: 'OnnxModel' as const,
- id,
- }))
- );
- }
-
- return tags;
- },
- transformResponse: (response: { models: OnnxModelConfig[] }) => {
- const entities = createModelEntities(
- response.models
- );
- return onnxModelsAdapter.setAll(
- onnxModelsAdapter.getInitialState(),
- entities
- );
- },
- }),
getMainModels: build.query<
EntityState,
BaseModelType[]
@@ -583,7 +536,6 @@ export const modelsApi = api.injectEndpoints({
export const {
useGetMainModelsQuery,
- useGetOnnxModelsQuery,
useGetControlNetModelsQuery,
useGetIPAdapterModelsQuery,
useGetT2IAdapterModelsQuery,
diff --git a/invokeai/frontend/web/src/services/api/index.ts b/invokeai/frontend/web/src/services/api/index.ts
index 23b6e8f847..0fc03e8fb6 100644
--- a/invokeai/frontend/web/src/services/api/index.ts
+++ b/invokeai/frontend/web/src/services/api/index.ts
@@ -32,7 +32,6 @@ export const tagTypes = [
'Model',
'T2IAdapterModel',
'MainModel',
- 'OnnxModel',
'VaeModel',
'IPAdapterModel',
'TextualInversionModel',
diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.ts
index d7bdb4ec3d..92987c2a05 100644
--- a/invokeai/frontend/web/src/services/api/schema.ts
+++ b/invokeai/frontend/web/src/services/api/schema.ts
@@ -3,100 +3,101 @@
* Do not make direct changes to the file.
*/
+
export type paths = {
- '/api/v1/sessions/{session_id}': {
+ "/api/v1/sessions/{session_id}": {
/**
* Get Session
* @description Gets a session
*/
- get: operations['get_session'];
+ get: operations["get_session"];
};
- '/api/v1/utilities/dynamicprompts': {
+ "/api/v1/utilities/dynamicprompts": {
/**
* Parse Dynamicprompts
* @description Creates a batch process
*/
- post: operations['parse_dynamicprompts'];
+ post: operations["parse_dynamicprompts"];
};
- '/api/v1/models/': {
+ "/api/v1/models/": {
/**
* List Models
* @description Gets a list of models
*/
- get: operations['list_models'];
+ get: operations["list_models"];
};
- '/api/v1/models/{base_model}/{model_type}/{model_name}': {
+ "/api/v1/models/{base_model}/{model_type}/{model_name}": {
/**
* Delete Model
* @description Delete Model
*/
- delete: operations['del_model'];
+ delete: operations["del_model"];
/**
* Update Model
* @description Update model contents with a new config. If the model name or base fields are changed, then the model is renamed.
*/
- patch: operations['update_model'];
+ patch: operations["update_model"];
};
- '/api/v1/models/import': {
+ "/api/v1/models/import": {
/**
* Import Model
* @description Add a model using its local path, repo_id, or remote URL. Model characteristics will be probed and configured automatically
*/
- post: operations['import_model'];
+ post: operations["import_model"];
};
- '/api/v1/models/add': {
+ "/api/v1/models/add": {
/**
* Add Model
* @description Add a model using the configuration information appropriate for its type. Only local models can be added by path
*/
- post: operations['add_model'];
+ post: operations["add_model"];
};
- '/api/v1/models/convert/{base_model}/{model_type}/{model_name}': {
+ "/api/v1/models/convert/{base_model}/{model_type}/{model_name}": {
/**
* Convert Model
* @description Convert a checkpoint model into a diffusers model, optionally saving to the indicated destination directory, or `models` if none.
*/
- put: operations['convert_model'];
+ put: operations["convert_model"];
};
- '/api/v1/models/search': {
+ "/api/v1/models/search": {
/** Search For Models */
- get: operations['search_for_models'];
+ get: operations["search_for_models"];
};
- '/api/v1/models/ckpt_confs': {
+ "/api/v1/models/ckpt_confs": {
/**
* List Ckpt Configs
* @description Return a list of the legacy checkpoint configuration files stored in `ROOT/configs/stable-diffusion`, relative to ROOT.
*/
- get: operations['list_ckpt_configs'];
+ get: operations["list_ckpt_configs"];
};
- '/api/v1/models/sync': {
+ "/api/v1/models/sync": {
/**
* Sync To Config
* @description Call after making changes to models.yaml, autoimport directories or models directory to synchronize
* in-memory data structures with disk data structures.
*/
- post: operations['sync_to_config'];
+ post: operations["sync_to_config"];
};
- '/api/v1/models/merge/{base_model}': {
+ "/api/v1/models/merge/{base_model}": {
/**
* Merge Models
* @description Convert a checkpoint model into a diffusers model
*/
- put: operations['merge_models'];
+ put: operations["merge_models"];
};
- '/api/v1/model/record/': {
+ "/api/v1/model/record/": {
/**
* List Model Records
* @description Get a list of models.
*/
- get: operations['list_model_records'];
+ get: operations["list_model_records"];
};
- '/api/v1/model/record/i/{key}': {
+ "/api/v1/model/record/i/{key}": {
/**
* Get Model Record
* @description Get a model record
*/
- get: operations['get_model_record'];
+ get: operations["get_model_record"];
/**
* Del Model Record
* @description Delete model record from database.
@@ -104,21 +105,21 @@ export type paths = {
* The configuration record will be removed. The corresponding weights files will be
* deleted as well if they reside within the InvokeAI "models" directory.
*/
- delete: operations['del_model_record'];
+ delete: operations["del_model_record"];
/**
* Update Model Record
* @description Update model contents with a new config. If the model name or base fields are changed, then the model is renamed.
*/
- patch: operations['update_model_record'];
+ patch: operations["update_model_record"];
};
- '/api/v1/model/record/i/': {
+ "/api/v1/model/record/i/": {
/**
* Add Model Record
* @description Add a model using the configuration information appropriate for its type.
*/
- post: operations['add_model_record'];
+ post: operations["add_model_record"];
};
- '/api/v1/model/record/import': {
+ "/api/v1/model/record/import": {
/**
* List Model Install Jobs
* @description Return list of model install jobs.
@@ -126,7 +127,7 @@ export type paths = {
* If the optional 'source' argument is provided, then the list will be filtered
* for partial string matches against the install source.
*/
- get: operations['list_model_install_jobs'];
+ get: operations["list_model_install_jobs"];
/**
* Import Model
* @description Add a model using its local path, repo_id, or remote URL.
@@ -183,350 +184,388 @@ export type paths = {
* will contain the fields "error_type" and "error" describing the nature of the
* error and its traceback, respectively.
*/
- post: operations['import_model_record'];
+ post: operations["import_model_record"];
/**
* Prune Model Install Jobs
* @description Prune all completed and errored jobs from the install job list.
*/
- patch: operations['prune_model_install_jobs'];
+ patch: operations["prune_model_install_jobs"];
};
- '/api/v1/model/record/sync': {
+ "/api/v1/model/record/sync": {
/**
* Sync Models To Config
* @description Traverse the models and autoimport directories. Model files without a corresponding
* record in the database are added. Orphan records without a models file are deleted.
*/
- patch: operations['sync_models_to_config'];
+ patch: operations["sync_models_to_config"];
};
- '/api/v1/images/upload': {
+ "/api/v1/download_queue/": {
+ /**
+ * List Downloads
+ * @description Get a list of active and inactive jobs.
+ */
+ get: operations["list_downloads"];
+ /**
+ * Prune Downloads
+ * @description Prune completed and errored jobs.
+ */
+ patch: operations["prune_downloads"];
+ };
+ "/api/v1/download_queue/i/": {
+ /**
+ * Download
+ * @description Download the source URL to the file or directory indicted in dest.
+ */
+ post: operations["download"];
+ };
+ "/api/v1/download_queue/i/{id}": {
+ /**
+ * Get Download Job
+ * @description Get a download job using its ID.
+ */
+ get: operations["get_download_job"];
+ /**
+ * Cancel Download Job
+ * @description Cancel a download job using its ID.
+ */
+ delete: operations["cancel_download_job"];
+ };
+ "/api/v1/download_queue/i": {
+ /**
+ * Cancel All Download Jobs
+ * @description Cancel all download jobs.
+ */
+ delete: operations["cancel_all_download_jobs"];
+ };
+ "/api/v1/images/upload": {
/**
* Upload Image
* @description Uploads an image
*/
- post: operations['upload_image'];
+ post: operations["upload_image"];
};
- '/api/v1/images/i/{image_name}': {
+ "/api/v1/images/i/{image_name}": {
/**
* Get Image Dto
* @description Gets an image's DTO
*/
- get: operations['get_image_dto'];
+ get: operations["get_image_dto"];
/**
* Delete Image
* @description Deletes an image
*/
- delete: operations['delete_image'];
+ delete: operations["delete_image"];
/**
* Update Image
* @description Updates an image
*/
- patch: operations['update_image'];
+ patch: operations["update_image"];
};
- '/api/v1/images/intermediates': {
+ "/api/v1/images/intermediates": {
/**
* Get Intermediates Count
* @description Gets the count of intermediate images
*/
- get: operations['get_intermediates_count'];
+ get: operations["get_intermediates_count"];
/**
* Clear Intermediates
* @description Clears all intermediates
*/
- delete: operations['clear_intermediates'];
+ delete: operations["clear_intermediates"];
};
- '/api/v1/images/i/{image_name}/metadata': {
+ "/api/v1/images/i/{image_name}/metadata": {
/**
* Get Image Metadata
* @description Gets an image's metadata
*/
- get: operations['get_image_metadata'];
+ get: operations["get_image_metadata"];
};
- '/api/v1/images/i/{image_name}/workflow': {
+ "/api/v1/images/i/{image_name}/workflow": {
/** Get Image Workflow */
- get: operations['get_image_workflow'];
+ get: operations["get_image_workflow"];
};
- '/api/v1/images/i/{image_name}/full': {
+ "/api/v1/images/i/{image_name}/full": {
/**
* Get Image Full
* @description Gets a full-resolution image file
*/
- get: operations['get_image_full'];
+ get: operations["get_image_full"];
/**
* Get Image Full
* @description Gets a full-resolution image file
*/
- head: operations['get_image_full'];
+ head: operations["get_image_full"];
};
- '/api/v1/images/i/{image_name}/thumbnail': {
+ "/api/v1/images/i/{image_name}/thumbnail": {
/**
* Get Image Thumbnail
* @description Gets a thumbnail image file
*/
- get: operations['get_image_thumbnail'];
+ get: operations["get_image_thumbnail"];
};
- '/api/v1/images/i/{image_name}/urls': {
+ "/api/v1/images/i/{image_name}/urls": {
/**
* Get Image Urls
* @description Gets an image and thumbnail URL
*/
- get: operations['get_image_urls'];
+ get: operations["get_image_urls"];
};
- '/api/v1/images/': {
+ "/api/v1/images/": {
/**
* List Image Dtos
* @description Gets a list of image DTOs
*/
- get: operations['list_image_dtos'];
+ get: operations["list_image_dtos"];
};
- '/api/v1/images/delete': {
+ "/api/v1/images/delete": {
/** Delete Images From List */
- post: operations['delete_images_from_list'];
+ post: operations["delete_images_from_list"];
};
- '/api/v1/images/star': {
+ "/api/v1/images/star": {
/** Star Images In List */
- post: operations['star_images_in_list'];
+ post: operations["star_images_in_list"];
};
- '/api/v1/images/unstar': {
+ "/api/v1/images/unstar": {
/** Unstar Images In List */
- post: operations['unstar_images_in_list'];
+ post: operations["unstar_images_in_list"];
};
- '/api/v1/images/download': {
+ "/api/v1/images/download": {
/** Download Images From List */
- post: operations['download_images_from_list'];
+ post: operations["download_images_from_list"];
};
- '/api/v1/boards/': {
+ "/api/v1/boards/": {
/**
* List Boards
* @description Gets a list of boards
*/
- get: operations['list_boards'];
+ get: operations["list_boards"];
/**
* 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
* @description Gets a board
*/
- get: operations['get_board'];
+ get: operations["get_board"];
/**
* Delete Board
* @description Deletes a board
*/
- delete: operations['delete_board'];
+ delete: operations["delete_board"];
/**
* Update Board
* @description Updates a board
*/
- patch: operations['update_board'];
+ patch: operations["update_board"];
};
- '/api/v1/boards/{board_id}/image_names': {
+ "/api/v1/boards/{board_id}/image_names": {
/**
* List All Board Image Names
* @description Gets a list of images for a board
*/
- get: operations['list_all_board_image_names'];
+ get: operations["list_all_board_image_names"];
};
- '/api/v1/board_images/': {
+ "/api/v1/board_images/": {
/**
* Add Image To Board
* @description Creates a board_image
*/
- post: operations['add_image_to_board'];
+ post: operations["add_image_to_board"];
/**
* Remove Image From Board
* @description Removes an image from its board, if it had one
*/
- delete: operations['remove_image_from_board'];
+ delete: operations["remove_image_from_board"];
};
- '/api/v1/board_images/batch': {
+ "/api/v1/board_images/batch": {
/**
* Add Images To Board
* @description Adds a list of images to a board
*/
- post: operations['add_images_to_board'];
+ post: operations["add_images_to_board"];
};
- '/api/v1/board_images/batch/delete': {
+ "/api/v1/board_images/batch/delete": {
/**
* Remove Images From Board
* @description Removes a list of images from their board, if they had one
*/
- post: operations['remove_images_from_board'];
+ post: operations["remove_images_from_board"];
};
- '/api/v1/app/version': {
+ "/api/v1/app/version": {
/** Get Version */
- get: operations['app_version'];
+ get: operations["app_version"];
};
- '/api/v1/app/app_deps': {
+ "/api/v1/app/app_deps": {
/** Get App Deps */
- get: operations['get_app_deps'];
+ get: operations["get_app_deps"];
};
- '/api/v1/app/config': {
+ "/api/v1/app/config": {
/** Get Config */
- get: operations['get_config'];
+ get: operations["get_config"];
};
- '/api/v1/app/logging': {
+ "/api/v1/app/logging": {
/**
* Get Log Level
* @description Returns the log level
*/
- get: operations['get_log_level'];
+ get: operations["get_log_level"];
/**
* Set Log Level
* @description Sets the log verbosity level
*/
- post: operations['set_log_level'];
+ post: operations["set_log_level"];
};
- '/api/v1/app/invocation_cache': {
+ "/api/v1/app/invocation_cache": {
/**
* Clear Invocation Cache
* @description Clears the invocation cache
*/
- delete: operations['clear_invocation_cache'];
+ delete: operations["clear_invocation_cache"];
};
- '/api/v1/app/invocation_cache/enable': {
+ "/api/v1/app/invocation_cache/enable": {
/**
* Enable Invocation Cache
* @description Clears the invocation cache
*/
- put: operations['enable_invocation_cache'];
+ put: operations["enable_invocation_cache"];
};
- '/api/v1/app/invocation_cache/disable': {
+ "/api/v1/app/invocation_cache/disable": {
/**
* Disable Invocation Cache
* @description Clears the invocation cache
*/
- put: operations['disable_invocation_cache'];
+ put: operations["disable_invocation_cache"];
};
- '/api/v1/app/invocation_cache/status': {
+ "/api/v1/app/invocation_cache/status": {
/**
* Get Invocation Cache Status
* @description Clears the invocation cache
*/
- get: operations['get_invocation_cache_status'];
+ get: operations["get_invocation_cache_status"];
};
- '/api/v1/queue/{queue_id}/enqueue_batch': {
+ "/api/v1/queue/{queue_id}/enqueue_batch": {
/**
* Enqueue Batch
* @description Processes a batch and enqueues the output graphs for execution.
*/
- post: operations['enqueue_batch'];
+ post: operations["enqueue_batch"];
};
- '/api/v1/queue/{queue_id}/list': {
+ "/api/v1/queue/{queue_id}/list": {
/**
* List Queue Items
* @description Gets all queue items (without graphs)
*/
- get: operations['list_queue_items'];
+ get: operations["list_queue_items"];
};
- '/api/v1/queue/{queue_id}/processor/resume': {
+ "/api/v1/queue/{queue_id}/processor/resume": {
/**
* Resume
* @description Resumes session processor
*/
- put: operations['resume'];
+ put: operations["resume"];
};
- '/api/v1/queue/{queue_id}/processor/pause': {
+ "/api/v1/queue/{queue_id}/processor/pause": {
/**
* Pause
* @description Pauses session processor
*/
- put: operations['pause'];
+ put: operations["pause"];
};
- '/api/v1/queue/{queue_id}/cancel_by_batch_ids': {
+ "/api/v1/queue/{queue_id}/cancel_by_batch_ids": {
/**
* Cancel By Batch Ids
* @description Immediately cancels all queue items from the given batch ids
*/
- put: operations['cancel_by_batch_ids'];
+ put: operations["cancel_by_batch_ids"];
};
- '/api/v1/queue/{queue_id}/clear': {
+ "/api/v1/queue/{queue_id}/clear": {
/**
* Clear
* @description Clears the queue entirely, immediately canceling the currently-executing session
*/
- put: operations['clear'];
+ put: operations["clear"];
};
- '/api/v1/queue/{queue_id}/prune': {
+ "/api/v1/queue/{queue_id}/prune": {
/**
* Prune
* @description Prunes all completed or errored queue items
*/
- put: operations['prune'];
+ put: operations["prune"];
};
- '/api/v1/queue/{queue_id}/current': {
+ "/api/v1/queue/{queue_id}/current": {
/**
* Get Current Queue Item
* @description Gets the currently execution queue item
*/
- get: operations['get_current_queue_item'];
+ get: operations["get_current_queue_item"];
};
- '/api/v1/queue/{queue_id}/next': {
+ "/api/v1/queue/{queue_id}/next": {
/**
* Get Next Queue Item
* @description Gets the next queue item, without executing it
*/
- get: operations['get_next_queue_item'];
+ get: operations["get_next_queue_item"];
};
- '/api/v1/queue/{queue_id}/status': {
+ "/api/v1/queue/{queue_id}/status": {
/**
* Get Queue Status
* @description Gets the status of the session queue
*/
- get: operations['get_queue_status'];
+ get: operations["get_queue_status"];
};
- '/api/v1/queue/{queue_id}/b/{batch_id}/status': {
+ "/api/v1/queue/{queue_id}/b/{batch_id}/status": {
/**
* Get Batch Status
* @description Gets the status of the session queue
*/
- get: operations['get_batch_status'];
+ get: operations["get_batch_status"];
};
- '/api/v1/queue/{queue_id}/i/{item_id}': {
+ "/api/v1/queue/{queue_id}/i/{item_id}": {
/**
* Get Queue Item
* @description Gets a queue item
*/
- get: operations['get_queue_item'];
+ get: operations["get_queue_item"];
};
- '/api/v1/queue/{queue_id}/i/{item_id}/cancel': {
+ "/api/v1/queue/{queue_id}/i/{item_id}/cancel": {
/**
* Cancel Queue Item
* @description Deletes a queue item
*/
- put: operations['cancel_queue_item'];
+ put: operations["cancel_queue_item"];
};
- '/api/v1/workflows/i/{workflow_id}': {
+ "/api/v1/workflows/i/{workflow_id}": {
/**
* Get Workflow
* @description Gets a workflow
*/
- get: operations['get_workflow'];
+ get: operations["get_workflow"];
/**
* Delete Workflow
* @description Deletes a workflow
*/
- delete: operations['delete_workflow'];
+ delete: operations["delete_workflow"];
/**
* Update Workflow
* @description Updates a workflow
*/
- patch: operations['update_workflow'];
+ patch: operations["update_workflow"];
};
- '/api/v1/workflows/': {
+ "/api/v1/workflows/": {
/**
* List Workflows
* @description Gets a page of workflows
*/
- get: operations['list_workflows'];
+ get: operations["list_workflows"];
/**
* Create Workflow
* @description Creates a workflow
*/
- post: operations['create_workflow'];
+ post: operations["create_workflow"];
};
};
@@ -586,7 +625,7 @@ export type components = {
* @default add
* @constant
*/
- type: 'add';
+ type: "add";
};
/**
* AppConfig
@@ -602,7 +641,7 @@ export type components = {
* Upscaling Methods
* @description List of upscaling methods
*/
- upscaling_methods: components['schemas']['Upscaler'][];
+ upscaling_methods: components["schemas"]["Upscaler"][];
/**
* Nsfw Methods
* @description List of NSFW checking methods
@@ -696,6 +735,48 @@ export type components = {
*/
version: string;
};
+ /**
+ * Average Images
+ * @description Average images
+ */
+ AverageImagesInvocation: {
+ /** @description Optional metadata to be saved with the image */
+ metadata?: components["schemas"]["MetadataField"] | null;
+ /**
+ * Id
+ * @description The id of this instance of an invocation. Must be unique among all instances of invocations.
+ */
+ id: string;
+ /**
+ * Is Intermediate
+ * @description Whether or not this is an intermediate invocation.
+ * @default false
+ */
+ is_intermediate?: boolean;
+ /**
+ * Use Cache
+ * @description Whether or not to use the cache
+ * @default true
+ */
+ use_cache?: boolean;
+ /**
+ * Images
+ * @description The collection of images to average
+ */
+ images?: components["schemas"]["ImageField"][];
+ /**
+ * Gamma
+ * @description Gamma for color correcting before/after blending
+ * @default 2.2
+ */
+ gamma?: number;
+ /**
+ * type
+ * @default average_images
+ * @constant
+ */
+ type: "average_images";
+ };
/** Batch */
Batch: {
/**
@@ -707,11 +788,11 @@ export type components = {
* Data
* @description The batch data collection.
*/
- data?: components['schemas']['BatchDatum'][][] | null;
+ data?: components["schemas"]["BatchDatum"][][] | null;
/** @description The graph to initialize the session with */
- graph: components['schemas']['Graph'];
+ graph: components["schemas"]["Graph"];
/** @description The workflow to initialize the session with */
- workflow?: components['schemas']['WorkflowWithoutID'] | null;
+ workflow?: components["schemas"]["WorkflowWithoutID"] | null;
/**
* Runs
* @description Int stating how many times to iterate through all possible batch indices
@@ -786,7 +867,7 @@ export type components = {
*/
BlankImageInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -822,7 +903,7 @@ export type components = {
* @default RGB
* @enum {string}
*/
- mode?: 'RGB' | 'RGBA';
+ mode?: "RGB" | "RGBA";
/**
* @description The color of the image
* @default {
@@ -832,13 +913,13 @@ export type components = {
* "a": 255
* }
*/
- color?: components['schemas']['ColorField'];
+ color?: components["schemas"]["ColorField"];
/**
* type
* @default blank_image
* @constant
*/
- type: 'blank_image';
+ type: "blank_image";
};
/**
* Blend Latents
@@ -863,9 +944,9 @@ export type components = {
*/
use_cache?: boolean;
/** @description Latents tensor */
- latents_a?: components['schemas']['LatentsField'];
+ latents_a?: components["schemas"]["LatentsField"];
/** @description Latents tensor */
- latents_b?: components['schemas']['LatentsField'];
+ latents_b?: components["schemas"]["LatentsField"];
/**
* Alpha
* @description Blending factor. 0.0 = use input A only, 1.0 = use input B only, 0.5 = 50% mix of input A and input B.
@@ -877,7 +958,7 @@ export type components = {
* @default lblend
* @constant
*/
- type: 'lblend';
+ type: "lblend";
};
/** BoardChanges */
BoardChanges: {
@@ -981,7 +1062,7 @@ export type components = {
/** Body_create_workflow */
Body_create_workflow: {
/** @description The workflow to create */
- workflow: components['schemas']['WorkflowWithoutID'];
+ workflow: components["schemas"]["WorkflowWithoutID"];
};
/** Body_delete_images_from_list */
Body_delete_images_from_list: {
@@ -991,6 +1072,31 @@ export type components = {
*/
image_names: string[];
};
+ /** Body_download */
+ Body_download: {
+ /**
+ * Source
+ * Format: uri
+ * @description download source
+ */
+ source: string;
+ /**
+ * Dest
+ * @description download destination
+ */
+ dest: string;
+ /**
+ * Priority
+ * @description queue priority
+ * @default 10
+ */
+ priority?: number;
+ /**
+ * Access Token
+ * @description token for authorization to download
+ */
+ access_token?: string | null;
+ };
/** Body_download_images_from_list */
Body_download_images_from_list: {
/**
@@ -1007,7 +1113,7 @@ export type components = {
/** Body_enqueue_batch */
Body_enqueue_batch: {
/** @description Batch to process */
- batch: components['schemas']['Batch'];
+ batch: components["schemas"]["Batch"];
/**
* Prepend
* @description Whether or not to prepend this batch in the queue
@@ -1026,15 +1132,12 @@ export type components = {
* Prediction Type
* @description Prediction type for SDv2 checkpoints and rare SDv1 checkpoints
*/
- prediction_type?: ('v_prediction' | 'epsilon' | 'sample') | null;
+ prediction_type?: ("v_prediction" | "epsilon" | "sample") | null;
};
/** Body_import_model_record */
Body_import_model_record: {
/** Source */
- source:
- | components['schemas']['LocalModelSource']
- | components['schemas']['HFModelSource']
- | components['schemas']['URLModelSource'];
+ source: components["schemas"]["LocalModelSource"] | components["schemas"]["HFModelSource"] | components["schemas"]["URLModelSource"];
/**
* Config
* @description Dict of fields that override auto-probed values in the model config record, such as name, description and prediction_type
@@ -1044,7 +1147,7 @@ export type components = {
/** Body_merge_models */
Body_merge_models: {
/** @description Model configuration */
- body: components['schemas']['MergeModelsBody'];
+ body: components["schemas"]["MergeModelsBody"];
};
/** Body_parse_dynamicprompts */
Body_parse_dynamicprompts: {
@@ -1101,7 +1204,7 @@ export type components = {
/** Body_update_workflow */
Body_update_workflow: {
/** @description The updated workflow */
- workflow: components['schemas']['Workflow'];
+ workflow: components["schemas"]["Workflow"];
};
/** Body_upload_image */
Body_upload_image: {
@@ -1144,7 +1247,7 @@ export type components = {
* @default boolean_collection
* @constant
*/
- type: 'boolean_collection';
+ type: "boolean_collection";
};
/**
* BooleanCollectionOutput
@@ -1161,7 +1264,7 @@ export type components = {
* @default boolean_collection_output
* @constant
*/
- type: 'boolean_collection_output';
+ type: "boolean_collection_output";
};
/**
* Boolean Primitive
@@ -1196,7 +1299,7 @@ export type components = {
* @default boolean
* @constant
*/
- type: 'boolean';
+ type: "boolean";
};
/**
* BooleanOutput
@@ -1213,7 +1316,7 @@ export type components = {
* @default boolean_output
* @constant
*/
- type: 'boolean_output';
+ type: "boolean_output";
};
/**
* CLIPOutput
@@ -1224,13 +1327,13 @@ export type components = {
* CLIP
* @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count
*/
- clip: components['schemas']['ClipField'];
+ clip: components["schemas"]["ClipField"];
/**
* type
* @default clip_output
* @constant
*/
- type: 'clip_output';
+ type: "clip_output";
};
/**
* CLIPVisionDiffusersConfig
@@ -1241,18 +1344,18 @@ export type components = {
path: string;
/** Name */
name: string;
- base: components['schemas']['invokeai__backend__model_manager__config__BaseModelType'];
+ base: components["schemas"]["invokeai__backend__model_manager__config__BaseModelType"];
/**
* Type
* @default clip_vision
* @constant
*/
- type?: 'clip_vision';
+ type?: "clip_vision";
/**
* Format
* @constant
*/
- format: 'diffusers';
+ format: "diffusers";
/**
* Key
* @description unique key for model
@@ -1281,13 +1384,13 @@ export type components = {
CLIPVisionModelDiffusersConfig: {
/** Model Name */
model_name: string;
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/**
* Model Type
* @default clip_vision
* @constant
*/
- model_type: 'clip_vision';
+ model_type: "clip_vision";
/** Path */
path: string;
/** Description */
@@ -1296,8 +1399,8 @@ export type components = {
* Model Format
* @constant
*/
- model_format: 'diffusers';
- error?: components['schemas']['ModelError'] | null;
+ model_format: "diffusers";
+ error?: components["schemas"]["ModelError"] | null;
};
/** CLIPVisionModelField */
CLIPVisionModelField: {
@@ -1307,7 +1410,7 @@ export type components = {
*/
model_name: string;
/** @description Base model (usually 'Any') */
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
};
/**
* CV2 Infill
@@ -1315,7 +1418,7 @@ export type components = {
*/
CV2InfillInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -1334,13 +1437,13 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to infill */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* type
* @default infill_cv2
* @constant
*/
- type: 'infill_cv2';
+ type: "infill_cv2";
};
/**
* Calculate Image Tiles Even Split
@@ -1389,17 +1492,17 @@ export type components = {
*/
num_tiles_y?: number;
/**
- * Overlap Fraction
- * @description Overlap between adjacent tiles as a fraction of the tile's dimensions (0-1)
- * @default 0.25
+ * Overlap
+ * @description The overlap, in pixels, between adjacent tiles.
+ * @default 128
*/
- overlap_fraction?: number;
+ overlap?: number;
/**
* type
* @default calculate_image_tiles_even_split
* @constant
*/
- type: 'calculate_image_tiles_even_split';
+ type: "calculate_image_tiles_even_split";
};
/**
* Calculate Image Tiles
@@ -1458,7 +1561,7 @@ export type components = {
* @default calculate_image_tiles
* @constant
*/
- type: 'calculate_image_tiles';
+ type: "calculate_image_tiles";
};
/**
* Calculate Image Tiles Minimum Overlap
@@ -1517,7 +1620,7 @@ export type components = {
* @default calculate_image_tiles_min_overlap
* @constant
*/
- type: 'calculate_image_tiles_min_overlap';
+ type: "calculate_image_tiles_min_overlap";
};
/** CalculateImageTilesOutput */
CalculateImageTilesOutput: {
@@ -1525,13 +1628,13 @@ export type components = {
* Tiles
* @description The tiles coordinates that cover a particular image shape.
*/
- tiles: components['schemas']['Tile'][];
+ tiles: components["schemas"]["Tile"][];
/**
* type
* @default calculate_image_tiles_output
* @constant
*/
- type: 'calculate_image_tiles_output';
+ type: "calculate_image_tiles_output";
};
/**
* CancelByBatchIDsResult
@@ -1550,7 +1653,7 @@ export type components = {
*/
CannyImageProcessorInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -1569,7 +1672,7 @@ export type components = {
*/
use_cache?: boolean;
/** @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)
@@ -1587,7 +1690,7 @@ export type components = {
* @default canny_image_processor
* @constant
*/
- type: 'canny_image_processor';
+ type: "canny_image_processor";
};
/**
* Center Pad or Crop Image
@@ -1612,7 +1715,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to crop */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Left
* @description Number of pixels to pad/crop from the left (negative values crop inwards, positive values pad outwards)
@@ -1642,7 +1745,7 @@ export type components = {
* @default img_pad_crop
* @constant
*/
- type: 'img_pad_crop';
+ type: "img_pad_crop";
};
/**
* ClearResult
@@ -1658,9 +1761,9 @@ export type components = {
/** ClipField */
ClipField: {
/** @description Info to load tokenizer submodel */
- tokenizer: components['schemas']['ModelInfo'];
+ tokenizer: components["schemas"]["ModelInfo"];
/** @description Info to load text_encoder submodel */
- text_encoder: components['schemas']['ModelInfo'];
+ text_encoder: components["schemas"]["ModelInfo"];
/**
* Skipped Layers
* @description Number of skipped layers in text_encoder
@@ -1670,7 +1773,7 @@ export type components = {
* Loras
* @description Loras to apply on model loading
*/
- loras: components['schemas']['LoraInfo'][];
+ loras: components["schemas"]["LoraInfo"][];
};
/**
* CLIP Skip
@@ -1698,7 +1801,7 @@ export type components = {
* CLIP
* @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count
*/
- clip?: components['schemas']['ClipField'];
+ clip?: components["schemas"]["ClipField"];
/**
* Skipped Layers
* @description Number of layers to skip in text encoder
@@ -1710,7 +1813,7 @@ export type components = {
* @default clip_skip
* @constant
*/
- type: 'clip_skip';
+ type: "clip_skip";
};
/**
* ClipSkipInvocationOutput
@@ -1721,13 +1824,13 @@ export type components = {
* CLIP
* @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count
*/
- clip?: components['schemas']['ClipField'] | null;
+ clip?: components["schemas"]["ClipField"] | null;
/**
* type
* @default clip_skip_output
* @constant
*/
- type: 'clip_skip_output';
+ type: "clip_skip_output";
};
/**
* CollectInvocation
@@ -1767,7 +1870,7 @@ export type components = {
* @default collect
* @constant
*/
- type: 'collect';
+ type: "collect";
};
/** CollectInvocationOutput */
CollectInvocationOutput: {
@@ -1781,7 +1884,7 @@ export type components = {
* @default collect_output
* @constant
*/
- type: 'collect_output';
+ type: "collect_output";
};
/**
* ColorCollectionOutput
@@ -1792,13 +1895,13 @@ export type components = {
* Collection
* @description The output colors
*/
- collection: components['schemas']['ColorField'][];
+ collection: components["schemas"]["ColorField"][];
/**
* type
* @default color_collection_output
* @constant
*/
- type: 'color_collection_output';
+ type: "color_collection_output";
};
/**
* Color Correct
@@ -1807,7 +1910,7 @@ export type components = {
*/
ColorCorrectInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -1826,11 +1929,11 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to color-correct */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/** @description Reference image for color-correction */
- reference?: components['schemas']['ImageField'];
+ reference?: components["schemas"]["ImageField"];
/** @description Mask to use when applying color-correction */
- mask?: components['schemas']['ImageField'] | null;
+ mask?: components["schemas"]["ImageField"] | null;
/**
* Mask Blur Radius
* @description Mask blur radius
@@ -1842,7 +1945,7 @@ export type components = {
* @default color_correct
* @constant
*/
- type: 'color_correct';
+ type: "color_correct";
};
/**
* ColorField
@@ -1901,13 +2004,13 @@ export type components = {
* "a": 255
* }
*/
- color?: components['schemas']['ColorField'];
+ color?: components["schemas"]["ColorField"];
/**
* type
* @default color
* @constant
*/
- type: 'color';
+ type: "color";
};
/**
* Color Map Processor
@@ -1915,7 +2018,7 @@ export type components = {
*/
ColorMapImageProcessorInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -1934,7 +2037,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to process */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Color Map Tile Size
* @description Tile size
@@ -1946,7 +2049,7 @@ export type components = {
* @default color_map_image_processor
* @constant
*/
- type: 'color_map_image_processor';
+ type: "color_map_image_processor";
};
/**
* ColorOutput
@@ -1954,13 +2057,13 @@ export type components = {
*/
ColorOutput: {
/** @description The output color */
- color: components['schemas']['ColorField'];
+ color: components["schemas"]["ColorField"];
/**
* type
* @default color_output
* @constant
*/
- type: 'color_output';
+ type: "color_output";
};
/**
* Prompt
@@ -1994,13 +2097,13 @@ export type components = {
* CLIP
* @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count
*/
- clip?: components['schemas']['ClipField'];
+ clip?: components["schemas"]["ClipField"];
/**
* type
* @default compel
* @constant
*/
- type: 'compel';
+ type: "compel";
};
/**
* Conditioning Collection Primitive
@@ -2029,13 +2132,13 @@ export type components = {
* @description The collection of conditioning tensors
* @default []
*/
- collection?: components['schemas']['ConditioningField'][];
+ collection?: components["schemas"]["ConditioningField"][];
/**
* type
* @default conditioning_collection
* @constant
*/
- type: 'conditioning_collection';
+ type: "conditioning_collection";
};
/**
* ConditioningCollectionOutput
@@ -2046,13 +2149,13 @@ export type components = {
* Collection
* @description The output conditioning tensors
*/
- collection: components['schemas']['ConditioningField'][];
+ collection: components["schemas"]["ConditioningField"][];
/**
* type
* @default conditioning_collection_output
* @constant
*/
- type: 'conditioning_collection_output';
+ type: "conditioning_collection_output";
};
/**
* ConditioningField
@@ -2088,13 +2191,13 @@ export type components = {
*/
use_cache?: boolean;
/** @description Conditioning tensor */
- conditioning?: components['schemas']['ConditioningField'];
+ conditioning?: components["schemas"]["ConditioningField"];
/**
* type
* @default conditioning
* @constant
*/
- type: 'conditioning';
+ type: "conditioning";
};
/**
* ConditioningOutput
@@ -2102,13 +2205,13 @@ export type components = {
*/
ConditioningOutput: {
/** @description Conditioning tensor */
- conditioning: components['schemas']['ConditioningField'];
+ conditioning: components["schemas"]["ConditioningField"];
/**
* type
* @default conditioning_output
* @constant
*/
- type: 'conditioning_output';
+ type: "conditioning_output";
};
/**
* Content Shuffle Processor
@@ -2116,7 +2219,7 @@ export type components = {
*/
ContentShuffleImageProcessorInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -2135,7 +2238,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to process */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Detect Resolution
* @description Pixel resolution for detection
@@ -2171,14 +2274,14 @@ export type components = {
* @default content_shuffle_image_processor
* @constant
*/
- type: 'content_shuffle_image_processor';
+ type: "content_shuffle_image_processor";
};
/** ControlField */
ControlField: {
/** @description The control image */
- image: components['schemas']['ImageField'];
+ image: components["schemas"]["ImageField"];
/** @description The ControlNet model to use */
- control_model: components['schemas']['ControlNetModelField'];
+ control_model: components["schemas"]["ControlNetModelField"];
/**
* Control Weight
* @description The weight given to the ControlNet
@@ -2203,18 +2306,14 @@ export type components = {
* @default balanced
* @enum {string}
*/
- control_mode?: 'balanced' | 'more_prompt' | 'more_control' | 'unbalanced';
+ control_mode?: "balanced" | "more_prompt" | "more_control" | "unbalanced";
/**
* Resize Mode
* @description The resize mode to use
* @default just_resize
* @enum {string}
*/
- resize_mode?:
- | 'just_resize'
- | 'crop_resize'
- | 'fill_resize'
- | 'just_resize_simple';
+ resize_mode?: "just_resize" | "crop_resize" | "fill_resize" | "just_resize_simple";
};
/**
* ControlNetCheckpointConfig
@@ -2225,19 +2324,19 @@ export type components = {
path: string;
/** Name */
name: string;
- base: components['schemas']['invokeai__backend__model_manager__config__BaseModelType'];
+ base: components["schemas"]["invokeai__backend__model_manager__config__BaseModelType"];
/**
* Type
* @default controlnet
* @constant
*/
- type?: 'controlnet';
+ type?: "controlnet";
/**
* Format
* @default checkpoint
* @constant
*/
- format?: 'checkpoint';
+ format?: "checkpoint";
/**
* Key
* @description unique key for model
@@ -2276,19 +2375,19 @@ export type components = {
path: string;
/** Name */
name: string;
- base: components['schemas']['invokeai__backend__model_manager__config__BaseModelType'];
+ base: components["schemas"]["invokeai__backend__model_manager__config__BaseModelType"];
/**
* Type
* @default controlnet
* @constant
*/
- type?: 'controlnet';
+ type?: "controlnet";
/**
* Format
* @default diffusers
* @constant
*/
- format?: 'diffusers';
+ format?: "diffusers";
/**
* Key
* @description unique key for model
@@ -2336,9 +2435,9 @@ export type components = {
*/
use_cache?: boolean;
/** @description The control image */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/** @description ControlNet model to load */
- control_model: components['schemas']['ControlNetModelField'];
+ control_model: components["schemas"]["ControlNetModelField"];
/**
* Control Weight
* @description The weight given to the ControlNet
@@ -2363,36 +2462,32 @@ export type components = {
* @default balanced
* @enum {string}
*/
- control_mode?: 'balanced' | 'more_prompt' | 'more_control' | 'unbalanced';
+ control_mode?: "balanced" | "more_prompt" | "more_control" | "unbalanced";
/**
* Resize Mode
* @description The resize mode used
* @default just_resize
* @enum {string}
*/
- resize_mode?:
- | 'just_resize'
- | 'crop_resize'
- | 'fill_resize'
- | 'just_resize_simple';
+ resize_mode?: "just_resize" | "crop_resize" | "fill_resize" | "just_resize_simple";
/**
* type
* @default controlnet
* @constant
*/
- type: 'controlnet';
+ type: "controlnet";
};
/** ControlNetModelCheckpointConfig */
ControlNetModelCheckpointConfig: {
/** Model Name */
model_name: string;
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/**
* Model Type
* @default controlnet
* @constant
*/
- model_type: 'controlnet';
+ model_type: "controlnet";
/** Path */
path: string;
/** Description */
@@ -2401,8 +2496,8 @@ export type components = {
* Model Format
* @constant
*/
- model_format: 'checkpoint';
- error?: components['schemas']['ModelError'] | null;
+ model_format: "checkpoint";
+ error?: components["schemas"]["ModelError"] | null;
/** Config */
config: string;
};
@@ -2410,13 +2505,13 @@ export type components = {
ControlNetModelDiffusersConfig: {
/** Model Name */
model_name: string;
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/**
* Model Type
* @default controlnet
* @constant
*/
- model_type: 'controlnet';
+ model_type: "controlnet";
/** Path */
path: string;
/** Description */
@@ -2425,8 +2520,8 @@ export type components = {
* Model Format
* @constant
*/
- model_format: 'diffusers';
- error?: components['schemas']['ModelError'] | null;
+ model_format: "diffusers";
+ error?: components["schemas"]["ModelError"] | null;
};
/**
* ControlNetModelField
@@ -2439,7 +2534,7 @@ export type components = {
*/
model_name: string;
/** @description Base model */
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
};
/**
* ControlOutput
@@ -2447,13 +2542,13 @@ export type components = {
*/
ControlOutput: {
/** @description ControlNet(s) to apply */
- control: components['schemas']['ControlField'];
+ control: components["schemas"]["ControlField"];
/**
* type
* @default control_output
* @constant
*/
- type: 'control_output';
+ type: "control_output";
};
/**
* Core Metadata
@@ -2481,18 +2576,7 @@ export type components = {
* Generation Mode
* @description The generation mode that output this image
*/
- generation_mode?:
- | (
- | 'txt2img'
- | 'img2img'
- | 'inpaint'
- | 'outpaint'
- | 'sdxl_txt2img'
- | 'sdxl_img2img'
- | 'sdxl_inpaint'
- | 'sdxl_outpaint'
- )
- | null;
+ generation_mode?: ("txt2img" | "img2img" | "inpaint" | "outpaint" | "sdxl_txt2img" | "sdxl_img2img" | "sdxl_inpaint" | "sdxl_outpaint") | null;
/**
* Positive Prompt
* @description The positive prompt parameter
@@ -2559,27 +2643,27 @@ export type components = {
*/
clip_skip?: number | null;
/** @description The main model used for inference */
- model?: components['schemas']['MainModelField'] | null;
+ model?: components["schemas"]["MainModelField"] | null;
/**
* Controlnets
* @description The ControlNets used for inference
*/
- controlnets?: components['schemas']['ControlField'][] | null;
+ controlnets?: components["schemas"]["ControlField"][] | null;
/**
* Ipadapters
* @description The IP Adapters used for inference
*/
- ipAdapters?: components['schemas']['IPAdapterMetadataField'][] | null;
+ ipAdapters?: components["schemas"]["IPAdapterMetadataField"][] | null;
/**
* T2Iadapters
* @description The IP Adapters used for inference
*/
- t2iAdapters?: components['schemas']['T2IAdapterField'][] | null;
+ t2iAdapters?: components["schemas"]["T2IAdapterField"][] | null;
/**
* Loras
* @description The LoRAs used for inference
*/
- loras?: components['schemas']['LoRAMetadataField'][] | null;
+ loras?: components["schemas"]["LoRAMetadataField"][] | null;
/**
* Strength
* @description The strength used for latents-to-latents
@@ -2591,7 +2675,7 @@ export type components = {
*/
init_image?: string | null;
/** @description The VAE used for decoding, if the main model's default was not used */
- vae?: components['schemas']['VAEModelField'] | null;
+ vae?: components["schemas"]["VAEModelField"] | null;
/**
* Hrf Enabled
* @description Whether or not high resolution fix was enabled.
@@ -2618,7 +2702,7 @@ export type components = {
*/
negative_style_prompt?: string | null;
/** @description The SDXL Refiner model used */
- refiner_model?: components['schemas']['MainModelField'] | null;
+ refiner_model?: components["schemas"]["MainModelField"] | null;
/**
* Refiner Cfg Scale
* @description The classifier-free guidance scale parameter used for the refiner
@@ -2654,7 +2738,7 @@ export type components = {
* @default core_metadata
* @constant
*/
- type: 'core_metadata';
+ type: "core_metadata";
[key: string]: unknown;
};
/**
@@ -2680,11 +2764,11 @@ export type components = {
*/
use_cache?: boolean;
/** @description VAE */
- vae?: components['schemas']['VaeField'];
+ vae?: components["schemas"]["VaeField"];
/** @description Image which will be masked */
- image?: components['schemas']['ImageField'] | null;
+ image?: components["schemas"]["ImageField"] | null;
/** @description The mask to use when pasting */
- mask?: components['schemas']['ImageField'];
+ mask?: components["schemas"]["ImageField"];
/**
* Tiled
* @description Processing using overlapping tiles (reduce memory consumption)
@@ -2702,7 +2786,7 @@ export type components = {
* @default create_denoise_mask
* @constant
*/
- type: 'create_denoise_mask';
+ type: "create_denoise_mask";
};
/**
* Crop Latents
@@ -2728,7 +2812,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description Latents tensor */
- latents?: components['schemas']['LatentsField'];
+ latents?: components["schemas"]["LatentsField"];
/**
* X
* @description The left x coordinate (in px) of the crop rectangle in image space. This value will be converted to a dimension in latent space.
@@ -2754,7 +2838,7 @@ export type components = {
* @default crop_latents
* @constant
*/
- type: 'crop_latents';
+ type: "crop_latents";
};
/** CursorPaginatedResults[SessionQueueItemDTO] */
CursorPaginatedResults_SessionQueueItemDTO_: {
@@ -2772,7 +2856,7 @@ export type components = {
* Items
* @description Items
*/
- items: components['schemas']['SessionQueueItemDTO'][];
+ items: components["schemas"]["SessionQueueItemDTO"][];
};
/**
* OpenCV Inpaint
@@ -2780,7 +2864,7 @@ export type components = {
*/
CvInpaintInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -2799,15 +2883,15 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to inpaint */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/** @description The mask to use when inpainting */
- mask?: components['schemas']['ImageField'];
+ mask?: components["schemas"]["ImageField"];
/**
* type
* @default cv_inpaint
* @constant
*/
- type: 'cv_inpaint';
+ type: "cv_inpaint";
};
/** DeleteBoardResult */
DeleteBoardResult: {
@@ -2855,11 +2939,11 @@ export type components = {
*/
use_cache?: boolean;
/** @description Positive conditioning tensor */
- positive_conditioning?: components['schemas']['ConditioningField'];
+ positive_conditioning?: components["schemas"]["ConditioningField"];
/** @description Negative conditioning tensor */
- negative_conditioning?: components['schemas']['ConditioningField'];
+ negative_conditioning?: components["schemas"]["ConditioningField"];
/** @description Noise tensor */
- noise?: components['schemas']['LatentsField'] | null;
+ noise?: components["schemas"]["LatentsField"] | null;
/**
* Steps
* @description Number of steps to run
@@ -2890,56 +2974,24 @@ export type components = {
* @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'
- | 'lcm';
+ 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" | "lcm";
/**
* UNet
* @description UNet (scheduler, LoRAs)
*/
- unet?: components['schemas']['UNetField'];
+ unet?: components["schemas"]["UNetField"];
/** Control */
- control?:
- | components['schemas']['ControlField']
- | components['schemas']['ControlField'][]
- | null;
+ control?: components["schemas"]["ControlField"] | components["schemas"]["ControlField"][] | null;
/**
* IP-Adapter
* @description IP-Adapter to apply
*/
- ip_adapter?:
- | components['schemas']['IPAdapterField']
- | components['schemas']['IPAdapterField'][]
- | null;
+ ip_adapter?: components["schemas"]["IPAdapterField"] | components["schemas"]["IPAdapterField"][] | null;
/**
* T2I-Adapter
* @description T2I-Adapter(s) to apply
*/
- t2i_adapter?:
- | components['schemas']['T2IAdapterField']
- | components['schemas']['T2IAdapterField'][]
- | null;
+ t2i_adapter?: components["schemas"]["T2IAdapterField"] | components["schemas"]["T2IAdapterField"][] | null;
/**
* Cfg Rescale Multiplier
* @description Rescale multiplier for CFG guidance, used for models trained with zero-terminal SNR
@@ -2947,15 +2999,15 @@ export type components = {
*/
cfg_rescale_multiplier?: number;
/** @description Latents tensor */
- latents?: components['schemas']['LatentsField'] | null;
+ latents?: components["schemas"]["LatentsField"] | null;
/** @description The mask to use for the operation */
- denoise_mask?: components['schemas']['DenoiseMaskField'] | null;
+ denoise_mask?: components["schemas"]["DenoiseMaskField"] | null;
/**
* type
* @default denoise_latents
* @constant
*/
- type: 'denoise_latents';
+ type: "denoise_latents";
};
/**
* DenoiseMaskField
@@ -2979,13 +3031,13 @@ export type components = {
*/
DenoiseMaskOutput: {
/** @description Mask for denoise model run */
- denoise_mask: components['schemas']['DenoiseMaskField'];
+ denoise_mask: components["schemas"]["DenoiseMaskField"];
/**
* type
* @default denoise_mask_output
* @constant
*/
- type: 'denoise_mask_output';
+ type: "denoise_mask_output";
};
/**
* Divide Integers
@@ -3026,8 +3078,91 @@ export type components = {
* @default div
* @constant
*/
- type: 'div';
+ type: "div";
};
+ /**
+ * DownloadJob
+ * @description Class to monitor and control a model download request.
+ */
+ DownloadJob: {
+ /**
+ * Source
+ * Format: uri
+ * @description Where to download from. Specific types specified in child classes.
+ */
+ source: string;
+ /**
+ * Dest
+ * Format: path
+ * @description Destination of downloaded model on local disk; a directory or file path
+ */
+ dest: string;
+ /**
+ * Access Token
+ * @description authorization token for protected resources
+ */
+ access_token?: string | null;
+ /**
+ * Id
+ * @description Numeric ID of this job
+ * @default -1
+ */
+ id?: number;
+ /**
+ * Priority
+ * @description Queue priority; lower values are higher priority
+ * @default 10
+ */
+ priority?: number;
+ /**
+ * @description Status of the download
+ * @default waiting
+ */
+ status?: components["schemas"]["DownloadJobStatus"];
+ /**
+ * Download Path
+ * @description Final location of downloaded file
+ */
+ download_path?: string | null;
+ /**
+ * Job Started
+ * @description Timestamp for when the download job started
+ */
+ job_started?: string | null;
+ /**
+ * Job Ended
+ * @description Timestamp for when the download job ende1d (completed or errored)
+ */
+ job_ended?: string | null;
+ /**
+ * Bytes
+ * @description Bytes downloaded so far
+ * @default 0
+ */
+ bytes?: number;
+ /**
+ * Total Bytes
+ * @description Total file size (bytes)
+ * @default 0
+ */
+ total_bytes?: number;
+ /**
+ * Error Type
+ * @description Name of exception that caused an error
+ */
+ error_type?: string | null;
+ /**
+ * Error
+ * @description Traceback of the exception that caused an error
+ */
+ error?: string | null;
+ };
+ /**
+ * DownloadJobStatus
+ * @description State of a download job.
+ * @enum {string}
+ */
+ DownloadJobStatus: "waiting" | "running" | "completed" | "cancelled" | "error";
/**
* Dynamic Prompt
* @description Parses a prompt using adieyal/dynamicprompts' random or combinatorial generator
@@ -3072,7 +3207,7 @@ export type components = {
* @default dynamic_prompt
* @constant
*/
- type: 'dynamic_prompt';
+ type: "dynamic_prompt";
};
/** DynamicPromptsResponse */
DynamicPromptsResponse: {
@@ -3087,7 +3222,7 @@ export type components = {
*/
ESRGANInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -3106,18 +3241,14 @@ export type components = {
*/
use_cache?: boolean;
/** @description The input image */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Model Name
* @description The Real-ESRGAN model to use
* @default RealESRGAN_x4plus.pth
* @enum {string}
*/
- model_name?:
- | 'RealESRGAN_x4plus.pth'
- | 'RealESRGAN_x4plus_anime_6B.pth'
- | 'ESRGAN_SRx4_DF2KOST_official-ff704c30.pth'
- | 'RealESRGAN_x2plus.pth';
+ model_name?: "RealESRGAN_x4plus.pth" | "RealESRGAN_x4plus_anime_6B.pth" | "ESRGAN_SRx4_DF2KOST_official-ff704c30.pth" | "RealESRGAN_x2plus.pth";
/**
* Tile Size
* @description Tile size for tiled ESRGAN upscaling (0=tiling disabled)
@@ -3129,14 +3260,14 @@ export type components = {
* @default esrgan
* @constant
*/
- type: 'esrgan';
+ type: "esrgan";
};
/** Edge */
Edge: {
/** @description The connection for the edge's from node and field */
- source: components['schemas']['EdgeConnection'];
+ source: components["schemas"]["EdgeConnection"];
/** @description The connection for the edge's to node and field */
- destination: components['schemas']['EdgeConnection'];
+ destination: components["schemas"]["EdgeConnection"];
};
/** EdgeConnection */
EdgeConnection: {
@@ -3169,7 +3300,7 @@ export type components = {
*/
requested: number;
/** @description The batch that was enqueued */
- batch: components['schemas']['Batch'];
+ batch: components["schemas"]["Batch"];
/**
* Priority
* @description The priority of the enqueued batch
@@ -3189,7 +3320,7 @@ export type components = {
*/
FaceIdentifierInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -3208,7 +3339,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description Image to face detect */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Minimum Confidence
* @description Minimum confidence for face detection (lower if detection is failing)
@@ -3226,7 +3357,7 @@ export type components = {
* @default face_identifier
* @constant
*/
- type: 'face_identifier';
+ type: "face_identifier";
};
/**
* FaceMask
@@ -3234,7 +3365,7 @@ export type components = {
*/
FaceMaskInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -3253,7 +3384,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description Image to face detect */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Face Ids
* @description Comma-separated list of face ids to mask eg '0,2,7'. Numbered from 0. Leave empty to mask all. Find face IDs with FaceIdentifier node.
@@ -3295,7 +3426,7 @@ export type components = {
* @default face_mask_detection
* @constant
*/
- type: 'face_mask_detection';
+ type: "face_mask_detection";
};
/**
* FaceMaskOutput
@@ -3303,7 +3434,7 @@ export type components = {
*/
FaceMaskOutput: {
/** @description The output image */
- image: components['schemas']['ImageField'];
+ image: components["schemas"]["ImageField"];
/**
* Width
* @description The width of the image in pixels
@@ -3319,9 +3450,9 @@ export type components = {
* @default face_mask_output
* @constant
*/
- type: 'face_mask_output';
+ type: "face_mask_output";
/** @description The output mask */
- mask: components['schemas']['ImageField'];
+ mask: components["schemas"]["ImageField"];
};
/**
* FaceOff
@@ -3329,7 +3460,7 @@ export type components = {
*/
FaceOffInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -3348,7 +3479,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description Image for face detection */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Face Id
* @description The face ID to process, numbered from 0. Multiple faces not supported. Find a face's ID with FaceIdentifier node.
@@ -3390,7 +3521,7 @@ export type components = {
* @default face_off
* @constant
*/
- type: 'face_off';
+ type: "face_off";
};
/**
* FaceOffOutput
@@ -3398,7 +3529,7 @@ export type components = {
*/
FaceOffOutput: {
/** @description The output image */
- image: components['schemas']['ImageField'];
+ image: components["schemas"]["ImageField"];
/**
* Width
* @description The width of the image in pixels
@@ -3414,9 +3545,9 @@ export type components = {
* @default face_off_output
* @constant
*/
- type: 'face_off_output';
+ type: "face_off_output";
/** @description The output mask */
- mask: components['schemas']['ImageField'];
+ mask: components["schemas"]["ImageField"];
/**
* X
* @description The x coordinate of the bounding box's left side
@@ -3461,7 +3592,7 @@ export type components = {
* @default float_collection
* @constant
*/
- type: 'float_collection';
+ type: "float_collection";
};
/**
* FloatCollectionOutput
@@ -3478,7 +3609,7 @@ export type components = {
* @default float_collection_output
* @constant
*/
- type: 'float_collection_output';
+ type: "float_collection_output";
};
/**
* Float Primitive
@@ -3513,7 +3644,7 @@ export type components = {
* @default float
* @constant
*/
- type: 'float';
+ type: "float";
};
/**
* Float Range
@@ -3560,7 +3691,7 @@ export type components = {
* @default float_range
* @constant
*/
- type: 'float_range';
+ type: "float_range";
};
/**
* Float Math
@@ -3590,16 +3721,7 @@ export type components = {
* @default ADD
* @enum {string}
*/
- operation?:
- | 'ADD'
- | 'SUB'
- | 'MUL'
- | 'DIV'
- | 'EXP'
- | 'ABS'
- | 'SQRT'
- | 'MIN'
- | 'MAX';
+ operation?: "ADD" | "SUB" | "MUL" | "DIV" | "EXP" | "ABS" | "SQRT" | "MIN" | "MAX";
/**
* A
* @description The first number
@@ -3617,7 +3739,7 @@ export type components = {
* @default float_math
* @constant
*/
- type: 'float_math';
+ type: "float_math";
};
/**
* FloatOutput
@@ -3634,7 +3756,7 @@ export type components = {
* @default float_output
* @constant
*/
- type: 'float_output';
+ type: "float_output";
};
/**
* Float To Integer
@@ -3676,13 +3798,13 @@ export type components = {
* @default Nearest
* @enum {string}
*/
- method?: 'Nearest' | 'Floor' | 'Ceiling' | 'Truncate';
+ method?: "Nearest" | "Floor" | "Ceiling" | "Truncate";
/**
* type
* @default float_to_int
* @constant
*/
- type: 'float_to_int';
+ type: "float_to_int";
};
/**
* FreeUConfig
@@ -3742,7 +3864,7 @@ export type components = {
* UNet
* @description UNet (scheduler, LoRAs)
*/
- unet?: components['schemas']['UNetField'];
+ unet?: components["schemas"]["UNetField"];
/**
* B1
* @description Scaling factor for stage 1 to amplify the contributions of backbone features.
@@ -3772,7 +3894,7 @@ export type components = {
* @default freeu
* @constant
*/
- type: 'freeu';
+ type: "freeu";
};
/** Graph */
Graph: {
@@ -3786,142 +3908,13 @@ export type components = {
* @description The nodes in this graph
*/
nodes?: {
- [key: string]:
- | components['schemas']['StepParamEasingInvocation']
- | components['schemas']['StringCollectionInvocation']
- | components['schemas']['FloatInvocation']
- | components['schemas']['FloatCollectionInvocation']
- | components['schemas']['MainModelLoaderInvocation']
- | components['schemas']['MetadataItemInvocation']
- | components['schemas']['ESRGANInvocation']
- | components['schemas']['StringSplitNegInvocation']
- | components['schemas']['StringReplaceInvocation']
- | components['schemas']['SDXLRefinerCompelPromptInvocation']
- | components['schemas']['TileResamplerProcessorInvocation']
- | components['schemas']['ImageConvertInvocation']
- | components['schemas']['ONNXPromptInvocation']
- | components['schemas']['ZoeDepthImageProcessorInvocation']
- | components['schemas']['RangeOfSizeInvocation']
- | components['schemas']['FaceIdentifierInvocation']
- | components['schemas']['InfillPatchMatchInvocation']
- | components['schemas']['ImageCollectionInvocation']
- | components['schemas']['MediapipeFaceProcessorInvocation']
- | components['schemas']['PromptsFromFileInvocation']
- | components['schemas']['BooleanCollectionInvocation']
- | components['schemas']['SchedulerInvocation']
- | components['schemas']['FloatLinearRangeInvocation']
- | components['schemas']['MaskEdgeInvocation']
- | components['schemas']['IterateInvocation']
- | components['schemas']['SaveImageInvocation']
- | components['schemas']['CropLatentsCoreInvocation']
- | components['schemas']['SeamlessModeInvocation']
- | components['schemas']['ConditioningInvocation']
- | components['schemas']['BlankImageInvocation']
- | components['schemas']['T2IAdapterInvocation']
- | components['schemas']['SDXLModelLoaderInvocation']
- | components['schemas']['ImageBlurInvocation']
- | components['schemas']['IntegerInvocation']
- | components['schemas']['RandomIntInvocation']
- | components['schemas']['RandomFloatInvocation']
- | components['schemas']['CvInpaintInvocation']
- | components['schemas']['NoiseInvocation']
- | components['schemas']['MidasDepthImageProcessorInvocation']
- | components['schemas']['ImagePasteInvocation']
- | components['schemas']['LatentsInvocation']
- | components['schemas']['CV2InfillInvocation']
- | components['schemas']['BooleanInvocation']
- | components['schemas']['CompelInvocation']
- | components['schemas']['OnnxModelLoaderInvocation']
- | components['schemas']['StringJoinInvocation']
- | components['schemas']['CoreMetadataInvocation']
- | components['schemas']['MultiplyInvocation']
- | components['schemas']['ImageChannelOffsetInvocation']
- | components['schemas']['GraphInvocation']
- | components['schemas']['HedImageProcessorInvocation']
- | components['schemas']['SDXLCompelPromptInvocation']
- | components['schemas']['InfillTileInvocation']
- | components['schemas']['ImageWatermarkInvocation']
- | components['schemas']['SubtractInvocation']
- | components['schemas']['CalculateImageTilesInvocation']
- | components['schemas']['LaMaInfillInvocation']
- | components['schemas']['PidiImageProcessorInvocation']
- | components['schemas']['RoundInvocation']
- | components['schemas']['ContentShuffleImageProcessorInvocation']
- | components['schemas']['ColorMapImageProcessorInvocation']
- | components['schemas']['StringInvocation']
- | components['schemas']['ColorInvocation']
- | components['schemas']['ResizeLatentsInvocation']
- | components['schemas']['StringSplitInvocation']
- | components['schemas']['InfillColorInvocation']
- | components['schemas']['StringJoinThreeInvocation']
- | components['schemas']['OpenposeImageProcessorInvocation']
- | components['schemas']['DivideInvocation']
- | components['schemas']['CannyImageProcessorInvocation']
- | components['schemas']['ConditioningCollectionInvocation']
- | components['schemas']['ImageLerpInvocation']
- | components['schemas']['ImageInverseLerpInvocation']
- | components['schemas']['FaceOffInvocation']
- | components['schemas']['MlsdImageProcessorInvocation']
- | components['schemas']['CalculateImageTilesMinimumOverlapInvocation']
- | components['schemas']['AddInvocation']
- | components['schemas']['FaceMaskInvocation']
- | components['schemas']['ImageToLatentsInvocation']
- | components['schemas']['RandomRangeInvocation']
- | components['schemas']['ImageResizeInvocation']
- | components['schemas']['FloatMathInvocation']
- | components['schemas']['ImageNSFWBlurInvocation']
- | components['schemas']['LatentsCollectionInvocation']
- | components['schemas']['MergeTilesToImageInvocation']
- | components['schemas']['ImageInvocation']
- | components['schemas']['MaskCombineInvocation']
- | components['schemas']['TileToPropertiesInvocation']
- | components['schemas']['FloatToIntegerInvocation']
- | components['schemas']['SDXLLoraLoaderInvocation']
- | components['schemas']['ImageChannelMultiplyInvocation']
- | components['schemas']['PairTileImageInvocation']
- | components['schemas']['SegmentAnythingProcessorInvocation']
- | components['schemas']['SDXLRefinerModelLoaderInvocation']
- | components['schemas']['DenoiseLatentsInvocation']
- | components['schemas']['ImageChannelInvocation']
- | components['schemas']['ClipSkipInvocation']
- | components['schemas']['BlendLatentsInvocation']
- | components['schemas']['ImageScaleInvocation']
- | components['schemas']['LineartAnimeImageProcessorInvocation']
- | components['schemas']['ControlNetInvocation']
- | components['schemas']['LeresImageProcessorInvocation']
- | components['schemas']['ScaleLatentsInvocation']
- | components['schemas']['DynamicPromptInvocation']
- | components['schemas']['ImageMultiplyInvocation']
- | components['schemas']['FreeUInvocation']
- | components['schemas']['CollectInvocation']
- | components['schemas']['ShowImageInvocation']
- | components['schemas']['VaeLoaderInvocation']
- | components['schemas']['MetadataInvocation']
- | components['schemas']['ColorCorrectInvocation']
- | components['schemas']['ImageCropInvocation']
- | components['schemas']['RangeInvocation']
- | components['schemas']['IntegerMathInvocation']
- | components['schemas']['MergeMetadataInvocation']
- | components['schemas']['IntegerCollectionInvocation']
- | components['schemas']['CenterPadCropInvocation']
- | components['schemas']['CalculateImageTilesEvenSplitInvocation']
- | components['schemas']['ONNXLatentsToImageInvocation']
- | components['schemas']['ImageHueAdjustmentInvocation']
- | components['schemas']['IPAdapterInvocation']
- | components['schemas']['MaskFromAlphaInvocation']
- | components['schemas']['LoraLoaderInvocation']
- | components['schemas']['LatentsToImageInvocation']
- | components['schemas']['LinearUIOutputInvocation']
- | components['schemas']['CreateDenoiseMaskInvocation']
- | components['schemas']['LineartImageProcessorInvocation']
- | components['schemas']['ONNXTextToLatentsInvocation']
- | components['schemas']['NormalbaeImageProcessorInvocation'];
+ [key: string]: components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["OnnxModelLoaderInvocation"] | components["schemas"]["FloatInvocation"] | components["schemas"]["ONNXLatentsToImageInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["LinearUIOutputInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["StringInvocation"] | components["schemas"]["SDXLLoraLoaderInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["ColorMapImageProcessorInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["OpenposeImageProcessorInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["GraphInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["AverageImagesInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["ONNXTextToLatentsInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["ONNXPromptInvocation"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["InfillTileInvocation"];
};
/**
* Edges
* @description The connections between nodes and their fields in this graph
*/
- edges?: components['schemas']['Edge'][];
+ edges?: components["schemas"]["Edge"][];
};
/**
* GraphExecutionState
@@ -3934,9 +3927,9 @@ export type components = {
*/
id: string;
/** @description The graph being executed */
- graph: components['schemas']['Graph'];
+ graph: components["schemas"]["Graph"];
/** @description The expanded graph of activated and executed nodes */
- execution_graph: components['schemas']['Graph'];
+ execution_graph: components["schemas"]["Graph"];
/**
* Executed
* @description The set of node ids that have been executed
@@ -3952,52 +3945,7 @@ export type components = {
* @description The results of node executions
*/
results: {
- [key: string]:
- | components['schemas']['ImageOutput']
- | components['schemas']['PairTileImageOutput']
- | components['schemas']['StringOutput']
- | components['schemas']['LatentsOutput']
- | components['schemas']['LatentsCollectionOutput']
- | components['schemas']['MetadataItemOutput']
- | components['schemas']['ColorOutput']
- | components['schemas']['TileToPropertiesOutput']
- | components['schemas']['ConditioningOutput']
- | components['schemas']['SDXLLoraLoaderOutput']
- | components['schemas']['UNetOutput']
- | components['schemas']['SchedulerOutput']
- | components['schemas']['ConditioningCollectionOutput']
- | components['schemas']['FaceMaskOutput']
- | components['schemas']['LoraLoaderOutput']
- | components['schemas']['CalculateImageTilesOutput']
- | components['schemas']['ControlOutput']
- | components['schemas']['SDXLRefinerModelLoaderOutput']
- | components['schemas']['DenoiseMaskOutput']
- | components['schemas']['ClipSkipInvocationOutput']
- | components['schemas']['FloatCollectionOutput']
- | components['schemas']['StringPosNegOutput']
- | components['schemas']['IntegerCollectionOutput']
- | components['schemas']['ModelLoaderOutput']
- | components['schemas']['StringCollectionOutput']
- | components['schemas']['CollectInvocationOutput']
- | components['schemas']['FaceOffOutput']
- | components['schemas']['BooleanCollectionOutput']
- | components['schemas']['BooleanOutput']
- | components['schemas']['SDXLModelLoaderOutput']
- | components['schemas']['ONNXModelLoaderOutput']
- | components['schemas']['GraphInvocationOutput']
- | components['schemas']['FloatOutput']
- | components['schemas']['ColorCollectionOutput']
- | components['schemas']['IPAdapterOutput']
- | components['schemas']['IterateInvocationOutput']
- | components['schemas']['VAEOutput']
- | components['schemas']['ImageCollectionOutput']
- | components['schemas']['T2IAdapterOutput']
- | components['schemas']['IntegerOutput']
- | components['schemas']['CLIPOutput']
- | components['schemas']['MetadataOutput']
- | components['schemas']['SeamlessModeOutput']
- | components['schemas']['NoiseOutput']
- | components['schemas']['String2Output'];
+ [key: string]: components["schemas"]["CollectInvocationOutput"] | components["schemas"]["VAEOutput"] | components["schemas"]["IntegerOutput"] | components["schemas"]["FaceOffOutput"] | components["schemas"]["ColorCollectionOutput"] | components["schemas"]["FloatCollectionOutput"] | components["schemas"]["DenoiseMaskOutput"] | components["schemas"]["ConditioningOutput"] | components["schemas"]["StringOutput"] | components["schemas"]["SDXLLoraLoaderOutput"] | components["schemas"]["IdealSizeOutput"] | components["schemas"]["BooleanOutput"] | components["schemas"]["ConditioningCollectionOutput"] | components["schemas"]["SchedulerOutput"] | components["schemas"]["GraphInvocationOutput"] | components["schemas"]["String2Output"] | components["schemas"]["NoiseOutput"] | components["schemas"]["BooleanCollectionOutput"] | components["schemas"]["PairTileImageOutput"] | components["schemas"]["UNetOutput"] | components["schemas"]["FaceMaskOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["IPAdapterOutput"] | components["schemas"]["T2IAdapterOutput"] | components["schemas"]["MetadataOutput"] | components["schemas"]["SDXLModelLoaderOutput"] | components["schemas"]["ONNXModelLoaderOutput"] | components["schemas"]["StringPosNegOutput"] | components["schemas"]["MetadataItemOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["LatentsCollectionOutput"] | components["schemas"]["SDXLRefinerModelLoaderOutput"] | components["schemas"]["StringCollectionOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["ClipSkipInvocationOutput"] | components["schemas"]["TileToPropertiesOutput"] | components["schemas"]["SeamlessModeOutput"] | components["schemas"]["LoraLoaderOutput"] | components["schemas"]["ColorOutput"] | components["schemas"]["CLIPOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["CalculateImageTilesOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["ImageOutput"] | components["schemas"]["IntegerCollectionOutput"];
};
/**
* Errors
@@ -4044,13 +3992,13 @@ export type components = {
*/
use_cache?: boolean;
/** @description The graph to run */
- graph?: components['schemas']['Graph'];
+ graph?: components["schemas"]["Graph"];
/**
* type
* @default graph
* @constant
*/
- type: 'graph';
+ type: "graph";
};
/** GraphInvocationOutput */
GraphInvocationOutput: {
@@ -4059,7 +4007,7 @@ export type components = {
* @default graph_output
* @constant
*/
- type: 'graph_output';
+ type: "graph_output";
};
/**
* HFModelSource
@@ -4079,12 +4027,12 @@ export type components = {
* @default hf
* @constant
*/
- type?: 'hf';
+ type?: "hf";
};
/** HTTPValidationError */
HTTPValidationError: {
/** Detail */
- detail?: components['schemas']['ValidationError'][];
+ detail?: components["schemas"]["ValidationError"][];
};
/**
* HED (softedge) Processor
@@ -4092,7 +4040,7 @@ export type components = {
*/
HedImageProcessorInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -4111,7 +4059,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to process */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Detect Resolution
* @description Pixel resolution for detection
@@ -4135,7 +4083,7 @@ export type components = {
* @default hed_image_processor
* @constant
*/
- type: 'hed_image_processor';
+ type: "hed_image_processor";
};
/**
* IPAdapterConfig
@@ -4146,18 +4094,18 @@ export type components = {
path: string;
/** Name */
name: string;
- base: components['schemas']['invokeai__backend__model_manager__config__BaseModelType'];
+ base: components["schemas"]["invokeai__backend__model_manager__config__BaseModelType"];
/**
* Type
* @default ip_adapter
* @constant
*/
- type?: 'ip_adapter';
+ type?: "ip_adapter";
/**
* Format
* @constant
*/
- format: 'invokeai';
+ format: "invokeai";
/**
* Key
* @description unique key for model
@@ -4188,13 +4136,11 @@ export type components = {
* Image
* @description The IP-Adapter image prompt(s).
*/
- image:
- | components['schemas']['ImageField']
- | components['schemas']['ImageField'][];
+ image: components["schemas"]["ImageField"] | components["schemas"]["ImageField"][];
/** @description The IP-Adapter model to use. */
- ip_adapter_model: components['schemas']['IPAdapterModelField'];
+ ip_adapter_model: components["schemas"]["IPAdapterModelField"];
/** @description The name of the CLIP image encoder model. */
- image_encoder_model: components['schemas']['CLIPVisionModelField'];
+ image_encoder_model: components["schemas"]["CLIPVisionModelField"];
/**
* Weight
* @description The weight given to the ControlNet
@@ -4240,14 +4186,12 @@ export type components = {
* Image
* @description The IP-Adapter image prompt(s).
*/
- image?:
- | components['schemas']['ImageField']
- | components['schemas']['ImageField'][];
+ image?: components["schemas"]["ImageField"] | components["schemas"]["ImageField"][];
/**
* IP-Adapter Model
* @description The IP-Adapter model.
*/
- ip_adapter_model: components['schemas']['IPAdapterModelField'];
+ ip_adapter_model: components["schemas"]["IPAdapterModelField"];
/**
* Weight
* @description The weight given to the IP-Adapter
@@ -4271,7 +4215,7 @@ export type components = {
* @default ip_adapter
* @constant
*/
- type: 'ip_adapter';
+ type: "ip_adapter";
};
/**
* IPAdapterMetadataField
@@ -4279,9 +4223,9 @@ export type components = {
*/
IPAdapterMetadataField: {
/** @description The IP-Adapter image prompt. */
- image: components['schemas']['ImageField'];
+ image: components["schemas"]["ImageField"];
/** @description The IP-Adapter model. */
- ip_adapter_model: components['schemas']['IPAdapterModelField'];
+ ip_adapter_model: components["schemas"]["IPAdapterModelField"];
/**
* Weight
* @description The weight given to the IP-Adapter
@@ -4306,19 +4250,19 @@ export type components = {
*/
model_name: string;
/** @description Base model */
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
};
/** IPAdapterModelInvokeAIConfig */
IPAdapterModelInvokeAIConfig: {
/** Model Name */
model_name: string;
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/**
* Model Type
* @default ip_adapter
* @constant
*/
- model_type: 'ip_adapter';
+ model_type: "ip_adapter";
/** Path */
path: string;
/** Description */
@@ -4327,8 +4271,8 @@ export type components = {
* Model Format
* @constant
*/
- model_format: 'invokeai';
- error?: components['schemas']['ModelError'] | null;
+ model_format: "invokeai";
+ error?: components["schemas"]["ModelError"] | null;
};
/** IPAdapterOutput */
IPAdapterOutput: {
@@ -4336,13 +4280,86 @@ export type components = {
* IP-Adapter
* @description IP-Adapter to apply
*/
- ip_adapter: components['schemas']['IPAdapterField'];
+ ip_adapter: components["schemas"]["IPAdapterField"];
/**
* type
* @default ip_adapter_output
* @constant
*/
- type: 'ip_adapter_output';
+ type: "ip_adapter_output";
+ };
+ /**
+ * Ideal Size
+ * @description Calculates the ideal size for generation to avoid duplication
+ */
+ IdealSizeInvocation: {
+ /**
+ * Id
+ * @description The id of this instance of an invocation. Must be unique among all instances of invocations.
+ */
+ id: string;
+ /**
+ * Is Intermediate
+ * @description Whether or not this is an intermediate invocation.
+ * @default false
+ */
+ is_intermediate?: boolean;
+ /**
+ * Use Cache
+ * @description Whether or not to use the cache
+ * @default true
+ */
+ use_cache?: boolean;
+ /**
+ * Width
+ * @description Target width
+ * @default 1024
+ */
+ width?: number;
+ /**
+ * Height
+ * @description Target height
+ * @default 576
+ */
+ height?: number;
+ /** @description UNet submodel */
+ unet?: components["schemas"]["UNetField"];
+ /** @description Vae submodel */
+ vae?: components["schemas"]["VaeField"];
+ /**
+ * Multiplier
+ * @description Dimensional multiplier
+ * @default 1
+ */
+ multiplier?: number;
+ /**
+ * type
+ * @default ideal_size
+ * @constant
+ */
+ type: "ideal_size";
+ };
+ /**
+ * IdealSizeOutput
+ * @description Base class for invocations that output an image
+ */
+ IdealSizeOutput: {
+ /**
+ * Width
+ * @description The ideal width of the image in pixels
+ */
+ width: number;
+ /**
+ * Height
+ * @description The ideal height of the image in pixels
+ */
+ height: number;
+ /**
+ * type
+ * @default ideal_size_output
+ * @constant
+ */
+ type: "ideal_size_output";
};
/**
* Blur Image
@@ -4350,7 +4367,7 @@ export type components = {
*/
ImageBlurInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -4369,7 +4386,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to blur */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Radius
* @description The blur radius
@@ -4382,13 +4399,13 @@ export type components = {
* @default gaussian
* @enum {string}
*/
- blur_type?: 'gaussian' | 'box';
+ blur_type?: "gaussian" | "box";
/**
* type
* @default img_blur
* @constant
*/
- type: 'img_blur';
+ type: "img_blur";
};
/**
* ImageCategory
@@ -4401,14 +4418,14 @@ export type components = {
* - 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";
/**
* Extract Image Channel
* @description Gets a channel from an image.
*/
ImageChannelInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -4427,20 +4444,20 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to get the channel from */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Channel
* @description The channel to get
* @default A
* @enum {string}
*/
- channel?: 'A' | 'R' | 'G' | 'B';
+ channel?: "A" | "R" | "G" | "B";
/**
* type
* @default img_chan
* @constant
*/
- type: 'img_chan';
+ type: "img_chan";
};
/**
* Multiply Image Channel
@@ -4448,7 +4465,7 @@ export type components = {
*/
ImageChannelMultiplyInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -4467,30 +4484,13 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to adjust */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Channel
* @description Which channel to adjust
* @enum {string}
*/
- channel?:
- | 'Red (RGBA)'
- | 'Green (RGBA)'
- | 'Blue (RGBA)'
- | 'Alpha (RGBA)'
- | 'Cyan (CMYK)'
- | 'Magenta (CMYK)'
- | 'Yellow (CMYK)'
- | 'Black (CMYK)'
- | 'Hue (HSV)'
- | 'Saturation (HSV)'
- | 'Value (HSV)'
- | 'Luminosity (LAB)'
- | 'A (LAB)'
- | 'B (LAB)'
- | 'Y (YCbCr)'
- | 'Cb (YCbCr)'
- | 'Cr (YCbCr)';
+ channel?: "Red (RGBA)" | "Green (RGBA)" | "Blue (RGBA)" | "Alpha (RGBA)" | "Cyan (CMYK)" | "Magenta (CMYK)" | "Yellow (CMYK)" | "Black (CMYK)" | "Hue (HSV)" | "Saturation (HSV)" | "Value (HSV)" | "Luminosity (LAB)" | "A (LAB)" | "B (LAB)" | "Y (YCbCr)" | "Cb (YCbCr)" | "Cr (YCbCr)";
/**
* Scale
* @description The amount to scale the channel by.
@@ -4508,7 +4508,7 @@ export type components = {
* @default img_channel_multiply
* @constant
*/
- type: 'img_channel_multiply';
+ type: "img_channel_multiply";
};
/**
* Offset Image Channel
@@ -4516,7 +4516,7 @@ export type components = {
*/
ImageChannelOffsetInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -4535,30 +4535,13 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to adjust */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Channel
* @description Which channel to adjust
* @enum {string}
*/
- channel?:
- | 'Red (RGBA)'
- | 'Green (RGBA)'
- | 'Blue (RGBA)'
- | 'Alpha (RGBA)'
- | 'Cyan (CMYK)'
- | 'Magenta (CMYK)'
- | 'Yellow (CMYK)'
- | 'Black (CMYK)'
- | 'Hue (HSV)'
- | 'Saturation (HSV)'
- | 'Value (HSV)'
- | 'Luminosity (LAB)'
- | 'A (LAB)'
- | 'B (LAB)'
- | 'Y (YCbCr)'
- | 'Cb (YCbCr)'
- | 'Cr (YCbCr)';
+ channel?: "Red (RGBA)" | "Green (RGBA)" | "Blue (RGBA)" | "Alpha (RGBA)" | "Cyan (CMYK)" | "Magenta (CMYK)" | "Yellow (CMYK)" | "Black (CMYK)" | "Hue (HSV)" | "Saturation (HSV)" | "Value (HSV)" | "Luminosity (LAB)" | "A (LAB)" | "B (LAB)" | "Y (YCbCr)" | "Cb (YCbCr)" | "Cr (YCbCr)";
/**
* Offset
* @description The amount to adjust the channel by
@@ -4570,7 +4553,7 @@ export type components = {
* @default img_channel_offset
* @constant
*/
- type: 'img_channel_offset';
+ type: "img_channel_offset";
};
/**
* Image Collection Primitive
@@ -4598,13 +4581,13 @@ export type components = {
* Collection
* @description The collection of image values
*/
- collection?: components['schemas']['ImageField'][];
+ collection?: components["schemas"]["ImageField"][];
/**
* type
* @default image_collection
* @constant
*/
- type: 'image_collection';
+ type: "image_collection";
};
/**
* ImageCollectionOutput
@@ -4615,13 +4598,13 @@ export type components = {
* Collection
* @description The output images
*/
- collection: components['schemas']['ImageField'][];
+ collection: components["schemas"]["ImageField"][];
/**
* type
* @default image_collection_output
* @constant
*/
- type: 'image_collection_output';
+ type: "image_collection_output";
};
/**
* Convert Image Mode
@@ -4629,7 +4612,7 @@ export type components = {
*/
ImageConvertInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -4648,29 +4631,20 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to convert */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* 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";
/**
* type
* @default img_conv
* @constant
*/
- type: 'img_conv';
+ type: "img_conv";
};
/**
* Crop Image
@@ -4678,7 +4652,7 @@ export type components = {
*/
ImageCropInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -4697,7 +4671,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to crop */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* X
* @description The left x coordinate of the crop rectangle
@@ -4727,7 +4701,7 @@ export type components = {
* @default img_crop
* @constant
*/
- type: 'img_crop';
+ type: "img_crop";
};
/**
* ImageDTO
@@ -4750,9 +4724,9 @@ export type components = {
*/
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
* @description The width of the image in px.
@@ -4826,7 +4800,7 @@ export type components = {
*/
ImageHueAdjustmentInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -4845,7 +4819,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to adjust */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Hue
* @description The degrees by which to rotate the hue, 0-360
@@ -4857,7 +4831,7 @@ export type components = {
* @default img_hue_adjust
* @constant
*/
- type: 'img_hue_adjust';
+ type: "img_hue_adjust";
};
/**
* Inverse Lerp Image
@@ -4865,7 +4839,7 @@ export type components = {
*/
ImageInverseLerpInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -4884,7 +4858,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to lerp */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Min
* @description The minimum input value
@@ -4902,7 +4876,7 @@ export type components = {
* @default img_ilerp
* @constant
*/
- type: 'img_ilerp';
+ type: "img_ilerp";
};
/**
* Image Primitive
@@ -4927,13 +4901,13 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to load */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* type
* @default image
* @constant
*/
- type: 'image';
+ type: "image";
};
/**
* Lerp Image
@@ -4941,7 +4915,7 @@ export type components = {
*/
ImageLerpInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -4960,7 +4934,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to lerp */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Min
* @description The minimum output value
@@ -4978,7 +4952,7 @@ export type components = {
* @default img_lerp
* @constant
*/
- type: 'img_lerp';
+ type: "img_lerp";
};
/**
* Multiply Images
@@ -4986,7 +4960,7 @@ export type components = {
*/
ImageMultiplyInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -5005,15 +4979,15 @@ export type components = {
*/
use_cache?: boolean;
/** @description The first image to multiply */
- image1?: components['schemas']['ImageField'];
+ image1?: components["schemas"]["ImageField"];
/** @description The second image to multiply */
- image2?: components['schemas']['ImageField'];
+ image2?: components["schemas"]["ImageField"];
/**
* type
* @default img_mul
* @constant
*/
- type: 'img_mul';
+ type: "img_mul";
};
/**
* Blur NSFW Image
@@ -5021,7 +4995,7 @@ export type components = {
*/
ImageNSFWBlurInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -5040,13 +5014,13 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to check */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* type
* @default img_nsfw
* @constant
*/
- type: 'img_nsfw';
+ type: "img_nsfw";
};
/**
* ImageOutput
@@ -5054,7 +5028,7 @@ export type components = {
*/
ImageOutput: {
/** @description The output image */
- image: components['schemas']['ImageField'];
+ image: components["schemas"]["ImageField"];
/**
* Width
* @description The width of the image in pixels
@@ -5070,7 +5044,7 @@ export type components = {
* @default image_output
* @constant
*/
- type: 'image_output';
+ type: "image_output";
};
/**
* Paste Image
@@ -5078,7 +5052,7 @@ export type components = {
*/
ImagePasteInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -5097,11 +5071,11 @@ export type components = {
*/
use_cache?: boolean;
/** @description The base image */
- base_image?: components['schemas']['ImageField'];
+ base_image?: components["schemas"]["ImageField"];
/** @description The image to paste */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/** @description The mask to use when pasting */
- mask?: components['schemas']['ImageField'] | null;
+ mask?: components["schemas"]["ImageField"] | null;
/**
* X
* @description The left x coordinate at which to paste the image
@@ -5125,7 +5099,7 @@ export type components = {
* @default img_paste
* @constant
*/
- type: 'img_paste';
+ type: "img_paste";
};
/**
* ImageRecordChanges
@@ -5139,7 +5113,7 @@ export type components = {
*/
ImageRecordChanges: {
/** @description The image's new category. */
- image_category?: components['schemas']['ImageCategory'] | null;
+ image_category?: components["schemas"]["ImageCategory"] | null;
/**
* Session Id
* @description The image's new session ID.
@@ -5163,7 +5137,7 @@ export type components = {
*/
ImageResizeInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -5182,7 +5156,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to resize */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Width
* @description The width to resize to (px)
@@ -5201,19 +5175,13 @@ export type components = {
* @default bicubic
* @enum {string}
*/
- resample_mode?:
- | 'nearest'
- | 'box'
- | 'bilinear'
- | 'hamming'
- | 'bicubic'
- | 'lanczos';
+ resample_mode?: "nearest" | "box" | "bilinear" | "hamming" | "bicubic" | "lanczos";
/**
* type
* @default img_resize
* @constant
*/
- type: 'img_resize';
+ type: "img_resize";
};
/**
* Scale Image
@@ -5221,7 +5189,7 @@ export type components = {
*/
ImageScaleInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -5240,7 +5208,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to scale */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Scale Factor
* @description The factor by which to scale the image
@@ -5253,19 +5221,13 @@ export type components = {
* @default bicubic
* @enum {string}
*/
- resample_mode?:
- | 'nearest'
- | 'box'
- | 'bilinear'
- | 'hamming'
- | 'bicubic'
- | 'lanczos';
+ resample_mode?: "nearest" | "box" | "bilinear" | "hamming" | "bicubic" | "lanczos";
/**
* type
* @default img_scale
* @constant
*/
- type: 'img_scale';
+ type: "img_scale";
};
/**
* Image to Latents
@@ -5290,9 +5252,9 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to encode */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/** @description VAE */
- vae?: components['schemas']['VaeField'];
+ vae?: components["schemas"]["VaeField"];
/**
* Tiled
* @description Processing using overlapping tiles (reduce memory consumption)
@@ -5310,7 +5272,7 @@ export type components = {
* @default i2l
* @constant
*/
- type: 'i2l';
+ type: "i2l";
};
/**
* ImageUrlsDTO
@@ -5339,7 +5301,7 @@ export type components = {
*/
ImageWatermarkInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -5358,7 +5320,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to check */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Text
* @description Watermark text
@@ -5370,7 +5332,7 @@ export type components = {
* @default img_watermark
* @constant
*/
- type: 'img_watermark';
+ type: "img_watermark";
};
/** ImagesDownloaded */
ImagesDownloaded: {
@@ -5394,7 +5356,7 @@ export type components = {
*/
InfillColorInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -5413,7 +5375,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to infill */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* @description The color to use to infill
* @default {
@@ -5423,13 +5385,13 @@ export type components = {
* "a": 255
* }
*/
- color?: components['schemas']['ColorField'];
+ color?: components["schemas"]["ColorField"];
/**
* type
* @default infill_rgba
* @constant
*/
- type: 'infill_rgba';
+ type: "infill_rgba";
};
/**
* PatchMatch Infill
@@ -5437,7 +5399,7 @@ export type components = {
*/
InfillPatchMatchInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -5456,7 +5418,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to infill */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Downscale
* @description Run patchmatch on downscaled image to speedup infill
@@ -5469,19 +5431,13 @@ export type components = {
* @default bicubic
* @enum {string}
*/
- resample_mode?:
- | 'nearest'
- | 'box'
- | 'bilinear'
- | 'hamming'
- | 'bicubic'
- | 'lanczos';
+ resample_mode?: "nearest" | "box" | "bilinear" | "hamming" | "bicubic" | "lanczos";
/**
* type
* @default infill_patchmatch
* @constant
*/
- type: 'infill_patchmatch';
+ type: "infill_patchmatch";
};
/**
* Tile Infill
@@ -5489,7 +5445,7 @@ export type components = {
*/
InfillTileInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -5508,7 +5464,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to infill */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Tile Size
* @description The tile size (px)
@@ -5526,14 +5482,14 @@ export type components = {
* @default infill_tile
* @constant
*/
- type: 'infill_tile';
+ type: "infill_tile";
};
/**
* InstallStatus
* @description State of an install job running in the background.
* @enum {string}
*/
- InstallStatus: 'waiting' | 'running' | 'completed' | 'error';
+ InstallStatus: "waiting" | "running" | "completed" | "error";
/**
* Integer Collection Primitive
* @description A collection of integer primitive values
@@ -5567,7 +5523,7 @@ export type components = {
* @default integer_collection
* @constant
*/
- type: 'integer_collection';
+ type: "integer_collection";
};
/**
* IntegerCollectionOutput
@@ -5584,7 +5540,7 @@ export type components = {
* @default integer_collection_output
* @constant
*/
- type: 'integer_collection_output';
+ type: "integer_collection_output";
};
/**
* Integer Primitive
@@ -5619,7 +5575,7 @@ export type components = {
* @default integer
* @constant
*/
- type: 'integer';
+ type: "integer";
};
/**
* Integer Math
@@ -5649,16 +5605,7 @@ export type components = {
* @default ADD
* @enum {string}
*/
- operation?:
- | 'ADD'
- | 'SUB'
- | 'MUL'
- | 'DIV'
- | 'EXP'
- | 'MOD'
- | 'ABS'
- | 'MIN'
- | 'MAX';
+ operation?: "ADD" | "SUB" | "MUL" | "DIV" | "EXP" | "MOD" | "ABS" | "MIN" | "MAX";
/**
* A
* @description The first number
@@ -5676,7 +5623,7 @@ export type components = {
* @default integer_math
* @constant
*/
- type: 'integer_math';
+ type: "integer_math";
};
/**
* IntegerOutput
@@ -5693,7 +5640,7 @@ export type components = {
* @default integer_output
* @constant
*/
- type: 'integer_output';
+ type: "integer_output";
};
/** InvocationCacheStatus */
InvocationCacheStatus: {
@@ -5762,7 +5709,7 @@ export type components = {
* @default iterate
* @constant
*/
- type: 'iterate';
+ type: "iterate";
};
/**
* IterateInvocationOutput
@@ -5789,7 +5736,7 @@ export type components = {
* @default iterate_output
* @constant
*/
- type: 'iterate_output';
+ type: "iterate_output";
};
JsonValue: unknown;
/**
@@ -5798,7 +5745,7 @@ export type components = {
*/
LaMaInfillInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -5817,13 +5764,13 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to infill */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* type
* @default infill_lama
* @constant
*/
- type: 'infill_lama';
+ type: "infill_lama";
};
/**
* Latents Collection Primitive
@@ -5851,13 +5798,13 @@ export type components = {
* Collection
* @description The collection of latents tensors
*/
- collection?: components['schemas']['LatentsField'][];
+ collection?: components["schemas"]["LatentsField"][];
/**
* type
* @default latents_collection
* @constant
*/
- type: 'latents_collection';
+ type: "latents_collection";
};
/**
* LatentsCollectionOutput
@@ -5868,13 +5815,13 @@ export type components = {
* Collection
* @description Latents tensor
*/
- collection: components['schemas']['LatentsField'][];
+ collection: components["schemas"]["LatentsField"][];
/**
* type
* @default latents_collection_output
* @constant
*/
- type: 'latents_collection_output';
+ type: "latents_collection_output";
};
/**
* LatentsField
@@ -5915,13 +5862,13 @@ export type components = {
*/
use_cache?: boolean;
/** @description The latents tensor */
- latents?: components['schemas']['LatentsField'];
+ latents?: components["schemas"]["LatentsField"];
/**
* type
* @default latents
* @constant
*/
- type: 'latents';
+ type: "latents";
};
/**
* LatentsOutput
@@ -5929,7 +5876,7 @@ export type components = {
*/
LatentsOutput: {
/** @description Latents tensor */
- latents: components['schemas']['LatentsField'];
+ latents: components["schemas"]["LatentsField"];
/**
* Width
* @description Width of output (px)
@@ -5945,7 +5892,7 @@ export type components = {
* @default latents_output
* @constant
*/
- type: 'latents_output';
+ type: "latents_output";
};
/**
* Latents to Image
@@ -5953,7 +5900,7 @@ export type components = {
*/
LatentsToImageInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -5972,9 +5919,9 @@ export type components = {
*/
use_cache?: boolean;
/** @description Latents tensor */
- latents?: components['schemas']['LatentsField'];
+ latents?: components["schemas"]["LatentsField"];
/** @description VAE */
- vae?: components['schemas']['VaeField'];
+ vae?: components["schemas"]["VaeField"];
/**
* Tiled
* @description Processing using overlapping tiles (reduce memory consumption)
@@ -5992,7 +5939,7 @@ export type components = {
* @default l2i
* @constant
*/
- type: 'l2i';
+ type: "l2i";
};
/**
* Leres (Depth) Processor
@@ -6000,7 +5947,7 @@ export type components = {
*/
LeresImageProcessorInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -6019,7 +5966,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to process */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Thr A
* @description Leres parameter `thr_a`
@@ -6055,7 +6002,7 @@ export type components = {
* @default leres_image_processor
* @constant
*/
- type: 'leres_image_processor';
+ type: "leres_image_processor";
};
/**
* Linear UI Image Output
@@ -6063,7 +6010,7 @@ export type components = {
*/
LinearUIOutputInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -6082,15 +6029,15 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to process */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/** @description The board to save the image to */
- board?: components['schemas']['BoardField'] | null;
+ board?: components["schemas"]["BoardField"] | null;
/**
* type
* @default linear_ui_output
* @constant
*/
- type: 'linear_ui_output';
+ type: "linear_ui_output";
};
/**
* Lineart Anime Processor
@@ -6098,7 +6045,7 @@ export type components = {
*/
LineartAnimeImageProcessorInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -6117,7 +6064,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to process */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Detect Resolution
* @description Pixel resolution for detection
@@ -6135,7 +6082,7 @@ export type components = {
* @default lineart_anime_image_processor
* @constant
*/
- type: 'lineart_anime_image_processor';
+ type: "lineart_anime_image_processor";
};
/**
* Lineart Processor
@@ -6143,7 +6090,7 @@ export type components = {
*/
LineartImageProcessorInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -6162,7 +6109,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to process */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Detect Resolution
* @description Pixel resolution for detection
@@ -6186,7 +6133,7 @@ export type components = {
* @default lineart_image_processor
* @constant
*/
- type: 'lineart_image_processor';
+ type: "lineart_image_processor";
};
/**
* LoRAConfig
@@ -6197,18 +6144,18 @@ export type components = {
path: string;
/** Name */
name: string;
- base: components['schemas']['invokeai__backend__model_manager__config__BaseModelType'];
+ base: components["schemas"]["invokeai__backend__model_manager__config__BaseModelType"];
/**
* Type
* @default lora
* @constant
*/
- type?: 'lora';
+ type?: "lora";
/**
* Format
* @enum {string}
*/
- format: 'lycoris' | 'diffusers';
+ format: "lycoris" | "diffusers";
/**
* Key
* @description unique key for model
@@ -6239,7 +6186,7 @@ export type components = {
*/
LoRAMetadataField: {
/** @description LoRA model to load */
- lora: components['schemas']['LoRAModelField'];
+ lora: components["schemas"]["LoRAModelField"];
/**
* Weight
* @description The weight at which the LoRA is applied to each model
@@ -6250,19 +6197,19 @@ export type components = {
LoRAModelConfig: {
/** Model Name */
model_name: string;
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/**
* Model Type
* @default lora
* @constant
*/
- model_type: 'lora';
+ model_type: "lora";
/** Path */
path: string;
/** Description */
description?: string | null;
- model_format: components['schemas']['LoRAModelFormat'];
- error?: components['schemas']['ModelError'] | null;
+ model_format: components["schemas"]["LoRAModelFormat"];
+ error?: components["schemas"]["ModelError"] | null;
};
/**
* LoRAModelField
@@ -6275,13 +6222,13 @@ export type components = {
*/
model_name: string;
/** @description Base model */
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
};
/**
* LoRAModelFormat
* @enum {string}
*/
- LoRAModelFormat: 'lycoris' | 'diffusers';
+ LoRAModelFormat: "lycoris" | "diffusers";
/**
* LocalModelSource
* @description A local file or directory path.
@@ -6299,7 +6246,7 @@ export type components = {
* @default local
* @constant
*/
- type?: 'local';
+ type?: "local";
};
/**
* LogLevel
@@ -6314,11 +6261,11 @@ export type components = {
*/
model_name: string;
/** @description Base model */
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/** @description Info to load submodel */
- model_type: components['schemas']['invokeai__backend__model_management__models__base__ModelType'];
+ model_type: components["schemas"]["invokeai__backend__model_management__models__base__ModelType"];
/** @description Info to load submodel */
- submodel?: components['schemas']['SubModelType'] | null;
+ submodel?: components["schemas"]["SubModelType"] | null;
/**
* Weight
* @description Lora's weight which to use when apply to model
@@ -6351,7 +6298,7 @@ export type components = {
* LoRA
* @description LoRA model to load
*/
- lora: components['schemas']['LoRAModelField'];
+ lora: components["schemas"]["LoRAModelField"];
/**
* Weight
* @description The weight at which the LoRA is applied to each model
@@ -6362,18 +6309,18 @@ export type components = {
* UNet
* @description UNet (scheduler, LoRAs)
*/
- unet?: components['schemas']['UNetField'] | null;
+ unet?: components["schemas"]["UNetField"] | null;
/**
* CLIP
* @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count
*/
- clip?: components['schemas']['ClipField'] | null;
+ clip?: components["schemas"]["ClipField"] | null;
/**
* type
* @default lora_loader
* @constant
*/
- type: 'lora_loader';
+ type: "lora_loader";
};
/**
* LoraLoaderOutput
@@ -6384,18 +6331,18 @@ export type components = {
* UNet
* @description UNet (scheduler, LoRAs)
*/
- unet?: components['schemas']['UNetField'] | null;
+ unet?: components["schemas"]["UNetField"] | null;
/**
* CLIP
* @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count
*/
- clip?: components['schemas']['ClipField'] | null;
+ clip?: components["schemas"]["ClipField"] | null;
/**
* type
* @default lora_loader_output
* @constant
*/
- type: 'lora_loader_output';
+ type: "lora_loader_output";
};
/**
* MainCheckpointConfig
@@ -6406,19 +6353,19 @@ export type components = {
path: string;
/** Name */
name: string;
- base: components['schemas']['invokeai__backend__model_manager__config__BaseModelType'];
+ base: components["schemas"]["invokeai__backend__model_manager__config__BaseModelType"];
/**
* Type
* @default main
* @constant
*/
- type?: 'main';
+ type?: "main";
/**
* Format
* @default checkpoint
* @constant
*/
- format?: 'checkpoint';
+ format?: "checkpoint";
/**
* Key
* @description unique key for model
@@ -6445,7 +6392,7 @@ export type components = {
/** Vae */
vae?: string | null;
/** @default normal */
- variant?: components['schemas']['invokeai__backend__model_manager__config__ModelVariantType'];
+ variant?: components["schemas"]["invokeai__backend__model_manager__config__ModelVariantType"];
/**
* Ztsnr Training
* @default false
@@ -6466,19 +6413,19 @@ export type components = {
path: string;
/** Name */
name: string;
- base: components['schemas']['invokeai__backend__model_manager__config__BaseModelType'];
+ base: components["schemas"]["invokeai__backend__model_manager__config__BaseModelType"];
/**
* Type
* @default main
* @constant
*/
- type?: 'main';
+ type?: "main";
/**
* Format
* @default diffusers
* @constant
*/
- format?: 'diffusers';
+ format?: "diffusers";
/**
* Key
* @description unique key for model
@@ -6505,14 +6452,14 @@ export type components = {
/** Vae */
vae?: string | null;
/** @default normal */
- variant?: components['schemas']['invokeai__backend__model_manager__config__ModelVariantType'];
+ variant?: components["schemas"]["invokeai__backend__model_manager__config__ModelVariantType"];
/**
* Ztsnr Training
* @default false
*/
ztsnr_training?: boolean;
/** @default epsilon */
- prediction_type?: components['schemas']['invokeai__backend__model_manager__config__SchedulerPredictionType'];
+ prediction_type?: components["schemas"]["invokeai__backend__model_manager__config__SchedulerPredictionType"];
/**
* Upcast Attention
* @default false
@@ -6530,9 +6477,9 @@ export type components = {
*/
model_name: string;
/** @description Base model */
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/** @description Model Type */
- model_type: components['schemas']['invokeai__backend__model_management__models__base__ModelType'];
+ model_type: components["schemas"]["invokeai__backend__model_management__models__base__ModelType"];
};
/**
* Main Model
@@ -6557,13 +6504,13 @@ export type components = {
*/
use_cache?: boolean;
/** @description Main model (UNet, VAE, CLIP) to load */
- model: components['schemas']['MainModelField'];
+ model: components["schemas"]["MainModelField"];
/**
* type
* @default main_model_loader
* @constant
*/
- type: 'main_model_loader';
+ type: "main_model_loader";
};
/**
* Combine Masks
@@ -6571,7 +6518,7 @@ export type components = {
*/
MaskCombineInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -6590,15 +6537,15 @@ export type components = {
*/
use_cache?: boolean;
/** @description The first mask to combine */
- mask1?: components['schemas']['ImageField'];
+ mask1?: components["schemas"]["ImageField"];
/** @description The second image to combine */
- mask2?: components['schemas']['ImageField'];
+ mask2?: components["schemas"]["ImageField"];
/**
* type
* @default mask_combine
* @constant
*/
- type: 'mask_combine';
+ type: "mask_combine";
};
/**
* Mask Edge
@@ -6606,7 +6553,7 @@ export type components = {
*/
MaskEdgeInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -6625,7 +6572,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to apply the mask to */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Edge Size
* @description The size of the edge
@@ -6651,7 +6598,7 @@ export type components = {
* @default mask_edge
* @constant
*/
- type: 'mask_edge';
+ type: "mask_edge";
};
/**
* Mask from Alpha
@@ -6659,7 +6606,7 @@ export type components = {
*/
MaskFromAlphaInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -6678,7 +6625,7 @@ export type components = {
*/
use_cache?: boolean;
/** @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
@@ -6690,7 +6637,7 @@ export type components = {
* @default tomask
* @constant
*/
- type: 'tomask';
+ type: "tomask";
};
/**
* Mediapipe Face Processor
@@ -6698,7 +6645,7 @@ export type components = {
*/
MediapipeFaceProcessorInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -6717,7 +6664,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to process */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Max Faces
* @description Maximum number of faces to detect
@@ -6735,17 +6682,13 @@ export type components = {
* @default mediapipe_face_processor
* @constant
*/
- type: 'mediapipe_face_processor';
+ type: "mediapipe_face_processor";
};
/**
* MergeInterpolationMethod
* @enum {string}
*/
- MergeInterpolationMethod:
- | 'weighted_sum'
- | 'sigmoid'
- | 'inv_sigmoid'
- | 'add_difference';
+ MergeInterpolationMethod: "weighted_sum" | "sigmoid" | "inv_sigmoid" | "add_difference";
/**
* Metadata Merge
* @description Merged a collection of MetadataDict into a single MetadataDict.
@@ -6772,13 +6715,13 @@ export type components = {
* Collection
* @description Collection of Metadata
*/
- collection?: components['schemas']['MetadataField'][];
+ collection?: components["schemas"]["MetadataField"][];
/**
* type
* @default merge_metadata
* @constant
*/
- type: 'merge_metadata';
+ type: "merge_metadata";
};
/** MergeModelsBody */
MergeModelsBody: {
@@ -6799,7 +6742,7 @@ export type components = {
*/
alpha?: number | null;
/** @description Interpolation method */
- interp: components['schemas']['MergeInterpolationMethod'] | null;
+ interp: components["schemas"]["MergeInterpolationMethod"] | null;
/**
* Force
* @description Force merging of models created with different versions of diffusers
@@ -6818,7 +6761,7 @@ export type components = {
*/
MergeTilesToImageInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -6840,14 +6783,14 @@ export type components = {
* Tiles With Images
* @description A list of tile images with tile properties.
*/
- tiles_with_images?: components['schemas']['TileWithImage'][];
+ tiles_with_images?: components["schemas"]["TileWithImage"][];
/**
* Blend Mode
* @description blending type Linear or Seam
* @default Seam
* @enum {string}
*/
- blend_mode?: 'Linear' | 'Seam';
+ blend_mode?: "Linear" | "Seam";
/**
* Blend Amount
* @description The amount to blend adjacent tiles in pixels. Must be <= the amount of overlap between adjacent tiles.
@@ -6859,7 +6802,7 @@ export type components = {
* @default merge_tiles_to_image
* @constant
*/
- type: 'merge_tiles_to_image';
+ type: "merge_tiles_to_image";
};
/**
* MetadataField
@@ -6893,15 +6836,13 @@ export type components = {
* Items
* @description A single metadata item or collection of metadata items
*/
- items?:
- | components['schemas']['MetadataItemField'][]
- | components['schemas']['MetadataItemField'];
+ items?: components["schemas"]["MetadataItemField"][] | components["schemas"]["MetadataItemField"];
/**
* type
* @default metadata
* @constant
*/
- type: 'metadata';
+ type: "metadata";
};
/** MetadataItemField */
MetadataItemField: {
@@ -6953,7 +6894,7 @@ export type components = {
* @default metadata_item
* @constant
*/
- type: 'metadata_item';
+ type: "metadata_item";
};
/**
* MetadataItemOutput
@@ -6961,24 +6902,24 @@ export type components = {
*/
MetadataItemOutput: {
/** @description Metadata Item */
- item: components['schemas']['MetadataItemField'];
+ item: components["schemas"]["MetadataItemField"];
/**
* type
* @default metadata_item_output
* @constant
*/
- type: 'metadata_item_output';
+ type: "metadata_item_output";
};
/** MetadataOutput */
MetadataOutput: {
/** @description Metadata Dict */
- metadata: components['schemas']['MetadataField'];
+ metadata: components["schemas"]["MetadataField"];
/**
* type
* @default metadata_output
* @constant
*/
- type: 'metadata_output';
+ type: "metadata_output";
};
/**
* Midas Depth Processor
@@ -6986,7 +6927,7 @@ export type components = {
*/
MidasDepthImageProcessorInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -7005,7 +6946,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to process */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* A Mult
* @description Midas parameter `a_mult` (a = a_mult * PI)
@@ -7023,7 +6964,7 @@ export type components = {
* @default midas_depth_image_processor
* @constant
*/
- type: 'midas_depth_image_processor';
+ type: "midas_depth_image_processor";
};
/**
* MLSD Processor
@@ -7031,7 +6972,7 @@ export type components = {
*/
MlsdImageProcessorInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -7050,7 +6991,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to process */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Detect Resolution
* @description Pixel resolution for detection
@@ -7080,13 +7021,13 @@ export type components = {
* @default mlsd_image_processor
* @constant
*/
- type: 'mlsd_image_processor';
+ type: "mlsd_image_processor";
};
/**
* ModelError
* @constant
*/
- ModelError: 'not_found';
+ ModelError: "not_found";
/** ModelInfo */
ModelInfo: {
/**
@@ -7095,11 +7036,11 @@ export type components = {
*/
model_name: string;
/** @description Base model */
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/** @description Info to load submodel */
- model_type: components['schemas']['invokeai__backend__model_management__models__base__ModelType'];
+ model_type: components["schemas"]["invokeai__backend__model_management__models__base__ModelType"];
/** @description Info to load submodel */
- submodel?: components['schemas']['SubModelType'] | null;
+ submodel?: components["schemas"]["SubModelType"] | null;
};
/**
* ModelInstallJob
@@ -7110,7 +7051,7 @@ export type components = {
* @description Current status of install process
* @default waiting
*/
- status?: components['schemas']['InstallStatus'];
+ status?: components["schemas"]["InstallStatus"];
/**
* Config In
* @description Configuration information (e.g. 'description') to apply to model.
@@ -7120,29 +7061,7 @@ export type components = {
* Config Out
* @description After successful installation, this will hold the configuration object.
*/
- config_out?:
- | (
- | components['schemas']['MainDiffusersConfig']
- | components['schemas']['MainCheckpointConfig']
- )
- | (
- | components['schemas']['ONNXSD1Config']
- | components['schemas']['ONNXSD2Config']
- )
- | (
- | components['schemas']['VaeDiffusersConfig']
- | components['schemas']['VaeCheckpointConfig']
- )
- | (
- | components['schemas']['ControlNetDiffusersConfig']
- | components['schemas']['ControlNetCheckpointConfig']
- )
- | components['schemas']['LoRAConfig']
- | components['schemas']['TextualInversionConfig']
- | components['schemas']['IPAdapterConfig']
- | components['schemas']['CLIPVisionDiffusersConfig']
- | components['schemas']['T2IConfig']
- | null;
+ config_out?: (components["schemas"]["MainDiffusersConfig"] | components["schemas"]["MainCheckpointConfig"]) | (components["schemas"]["ONNXSD1Config"] | components["schemas"]["ONNXSD2Config"]) | (components["schemas"]["VaeDiffusersConfig"] | components["schemas"]["VaeCheckpointConfig"]) | (components["schemas"]["ControlNetDiffusersConfig"] | components["schemas"]["ControlNetCheckpointConfig"]) | components["schemas"]["LoRAConfig"] | components["schemas"]["TextualInversionConfig"] | components["schemas"]["IPAdapterConfig"] | components["schemas"]["CLIPVisionDiffusersConfig"] | components["schemas"]["T2IConfig"] | null;
/**
* Inplace
* @description Leave model in its current location; otherwise install under models directory
@@ -7153,10 +7072,7 @@ export type components = {
* Source
* @description Source (URL, repo_id, or local path) of model
*/
- source:
- | components['schemas']['LocalModelSource']
- | components['schemas']['HFModelSource']
- | components['schemas']['URLModelSource'];
+ source: components["schemas"]["LocalModelSource"] | components["schemas"]["HFModelSource"] | components["schemas"]["URLModelSource"];
/**
* Local Path
* Format: path
@@ -7183,23 +7099,23 @@ export type components = {
* VAE
* @description VAE
*/
- vae: components['schemas']['VaeField'];
+ vae: components["schemas"]["VaeField"];
/**
* type
* @default model_loader_output
* @constant
*/
- type: 'model_loader_output';
+ type: "model_loader_output";
/**
* CLIP
* @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count
*/
- clip: components['schemas']['ClipField'];
+ clip: components["schemas"]["ClipField"];
/**
* UNet
* @description UNet (scheduler, LoRAs)
*/
- unet: components['schemas']['UNetField'];
+ unet: components["schemas"]["UNetField"];
};
/**
* Multiply Integers
@@ -7240,7 +7156,7 @@ export type components = {
* @default mul
* @constant
*/
- type: 'mul';
+ type: "mul";
};
/** NodeFieldValue */
NodeFieldValue: {
@@ -7311,7 +7227,7 @@ export type components = {
* @default noise
* @constant
*/
- type: 'noise';
+ type: "noise";
};
/**
* NoiseOutput
@@ -7319,7 +7235,7 @@ export type components = {
*/
NoiseOutput: {
/** @description Noise tensor */
- noise: components['schemas']['LatentsField'];
+ noise: components["schemas"]["LatentsField"];
/**
* Width
* @description Width of output (px)
@@ -7335,7 +7251,7 @@ export type components = {
* @default noise_output
* @constant
*/
- type: 'noise_output';
+ type: "noise_output";
};
/**
* Normal BAE Processor
@@ -7343,7 +7259,7 @@ export type components = {
*/
NormalbaeImageProcessorInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -7362,7 +7278,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to process */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Detect Resolution
* @description Pixel resolution for detection
@@ -7380,7 +7296,7 @@ export type components = {
* @default normalbae_image_processor
* @constant
*/
- type: 'normalbae_image_processor';
+ type: "normalbae_image_processor";
};
/**
* ONNX Latents to Image
@@ -7388,7 +7304,7 @@ export type components = {
*/
ONNXLatentsToImageInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -7407,15 +7323,15 @@ export type components = {
*/
use_cache?: boolean;
/** @description Denoised latents tensor */
- latents?: components['schemas']['LatentsField'];
+ latents?: components["schemas"]["LatentsField"];
/** @description VAE */
- vae?: components['schemas']['VaeField'];
+ vae?: components["schemas"]["VaeField"];
/**
* type
* @default l2i_onnx
* @constant
*/
- type: 'l2i_onnx';
+ type: "l2i_onnx";
};
/**
* ONNXModelLoaderOutput
@@ -7426,28 +7342,28 @@ export type components = {
* UNet
* @description UNet (scheduler, LoRAs)
*/
- unet?: components['schemas']['UNetField'];
+ unet?: components["schemas"]["UNetField"];
/**
* CLIP
* @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count
*/
- clip?: components['schemas']['ClipField'];
+ clip?: components["schemas"]["ClipField"];
/**
* VAE Decoder
* @description VAE
*/
- vae_decoder?: components['schemas']['VaeField'];
+ vae_decoder?: components["schemas"]["VaeField"];
/**
* VAE Encoder
* @description VAE
*/
- vae_encoder?: components['schemas']['VaeField'];
+ vae_encoder?: components["schemas"]["VaeField"];
/**
* type
* @default model_loader_output_onnx
* @constant
*/
- type: 'model_loader_output_onnx';
+ type: "model_loader_output_onnx";
};
/** ONNX Prompt (Raw) */
ONNXPromptInvocation: {
@@ -7475,13 +7391,13 @@ export type components = {
*/
prompt?: string;
/** @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */
- clip?: components['schemas']['ClipField'];
+ clip?: components["schemas"]["ClipField"];
/**
* type
* @default prompt_onnx
* @constant
*/
- type: 'prompt_onnx';
+ type: "prompt_onnx";
};
/**
* ONNXSD1Config
@@ -7497,18 +7413,18 @@ export type components = {
* @default sd-1
* @constant
*/
- base?: 'sd-1';
+ base?: "sd-1";
/**
* Type
* @default onnx
* @constant
*/
- type?: 'onnx';
+ type?: "onnx";
/**
* Format
* @enum {string}
*/
- format: 'onnx' | 'olive';
+ format: "onnx" | "olive";
/**
* Key
* @description unique key for model
@@ -7535,14 +7451,14 @@ export type components = {
/** Vae */
vae?: string | null;
/** @default normal */
- variant?: components['schemas']['invokeai__backend__model_manager__config__ModelVariantType'];
+ variant?: components["schemas"]["invokeai__backend__model_manager__config__ModelVariantType"];
/**
* Ztsnr Training
* @default false
*/
ztsnr_training?: boolean;
/** @default epsilon */
- prediction_type?: components['schemas']['invokeai__backend__model_manager__config__SchedulerPredictionType'];
+ prediction_type?: components["schemas"]["invokeai__backend__model_manager__config__SchedulerPredictionType"];
/**
* Upcast Attention
* @default false
@@ -7563,18 +7479,18 @@ export type components = {
* @default sd-2
* @constant
*/
- base?: 'sd-2';
+ base?: "sd-2";
/**
* Type
* @default onnx
* @constant
*/
- type?: 'onnx';
+ type?: "onnx";
/**
* Format
* @enum {string}
*/
- format: 'onnx' | 'olive';
+ format: "onnx" | "olive";
/**
* Key
* @description unique key for model
@@ -7601,14 +7517,14 @@ export type components = {
/** Vae */
vae?: string | null;
/** @default normal */
- variant?: components['schemas']['invokeai__backend__model_manager__config__ModelVariantType'];
+ variant?: components["schemas"]["invokeai__backend__model_manager__config__ModelVariantType"];
/**
* Ztsnr Training
* @default false
*/
ztsnr_training?: boolean;
/** @default v_prediction */
- prediction_type?: components['schemas']['invokeai__backend__model_manager__config__SchedulerPredictionType'];
+ prediction_type?: components["schemas"]["invokeai__backend__model_manager__config__SchedulerPredictionType"];
/**
* Upcast Attention
* @default true
@@ -7619,13 +7535,13 @@ export type components = {
ONNXStableDiffusion1ModelConfig: {
/** Model Name */
model_name: string;
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/**
* Model Type
* @default onnx
* @constant
*/
- model_type: 'onnx';
+ model_type: "onnx";
/** Path */
path: string;
/** Description */
@@ -7634,21 +7550,21 @@ export type components = {
* Model Format
* @constant
*/
- model_format: 'onnx';
- error?: components['schemas']['ModelError'] | null;
- variant: components['schemas']['invokeai__backend__model_management__models__base__ModelVariantType'];
+ model_format: "onnx";
+ error?: components["schemas"]["ModelError"] | null;
+ variant: components["schemas"]["invokeai__backend__model_management__models__base__ModelVariantType"];
};
/** ONNXStableDiffusion2ModelConfig */
ONNXStableDiffusion2ModelConfig: {
/** Model Name */
model_name: string;
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/**
* Model Type
* @default onnx
* @constant
*/
- model_type: 'onnx';
+ model_type: "onnx";
/** Path */
path: string;
/** Description */
@@ -7657,10 +7573,10 @@ export type components = {
* Model Format
* @constant
*/
- model_format: 'onnx';
- error?: components['schemas']['ModelError'] | null;
- variant: components['schemas']['invokeai__backend__model_management__models__base__ModelVariantType'];
- prediction_type: components['schemas']['invokeai__backend__model_management__models__base__SchedulerPredictionType'];
+ model_format: "onnx";
+ error?: components["schemas"]["ModelError"] | null;
+ variant: components["schemas"]["invokeai__backend__model_management__models__base__ModelVariantType"];
+ prediction_type: components["schemas"]["invokeai__backend__model_management__models__base__SchedulerPredictionType"];
/** Upcast Attention */
upcast_attention: boolean;
};
@@ -7687,11 +7603,11 @@ export type components = {
*/
use_cache?: boolean;
/** @description Positive conditioning tensor */
- positive_conditioning?: components['schemas']['ConditioningField'];
+ positive_conditioning?: components["schemas"]["ConditioningField"];
/** @description Negative conditioning tensor */
- negative_conditioning?: components['schemas']['ConditioningField'];
+ negative_conditioning?: components["schemas"]["ConditioningField"];
/** @description Noise tensor */
- noise?: components['schemas']['LatentsField'];
+ noise?: components["schemas"]["LatentsField"];
/**
* Steps
* @description Number of steps to run
@@ -7710,64 +7626,27 @@ export type components = {
* @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'
- | 'lcm';
+ 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" | "lcm";
/**
* Precision
* @description Precision to use
* @default tensor(float16)
* @enum {string}
*/
- precision?:
- | 'tensor(bool)'
- | 'tensor(int8)'
- | 'tensor(uint8)'
- | 'tensor(int16)'
- | 'tensor(uint16)'
- | 'tensor(int32)'
- | 'tensor(uint32)'
- | 'tensor(int64)'
- | 'tensor(uint64)'
- | 'tensor(float16)'
- | 'tensor(float)'
- | 'tensor(double)';
+ precision?: "tensor(bool)" | "tensor(int8)" | "tensor(uint8)" | "tensor(int16)" | "tensor(uint16)" | "tensor(int32)" | "tensor(uint32)" | "tensor(int64)" | "tensor(uint64)" | "tensor(float16)" | "tensor(float)" | "tensor(double)";
/** @description UNet (scheduler, LoRAs) */
- unet?: components['schemas']['UNetField'];
+ unet?: components["schemas"]["UNetField"];
/**
* Control
* @description ControlNet(s) to apply
*/
- control?:
- | components['schemas']['ControlField']
- | components['schemas']['ControlField'][];
+ control?: components["schemas"]["ControlField"] | components["schemas"]["ControlField"][];
/**
* type
* @default t2l_onnx
* @constant
*/
- type: 't2l_onnx';
+ type: "t2l_onnx";
};
/** OffsetPaginatedResults[BoardDTO] */
OffsetPaginatedResults_BoardDTO_: {
@@ -7790,7 +7669,7 @@ export type components = {
* Items
* @description Items
*/
- items: components['schemas']['BoardDTO'][];
+ items: components["schemas"]["BoardDTO"][];
};
/** OffsetPaginatedResults[ImageDTO] */
OffsetPaginatedResults_ImageDTO_: {
@@ -7813,7 +7692,7 @@ export type components = {
* Items
* @description Items
*/
- items: components['schemas']['ImageDTO'][];
+ items: components["schemas"]["ImageDTO"][];
};
/**
* OnnxModelField
@@ -7826,9 +7705,9 @@ export type components = {
*/
model_name: string;
/** @description Base model */
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/** @description Model Type */
- model_type: components['schemas']['invokeai__backend__model_management__models__base__ModelType'];
+ model_type: components["schemas"]["invokeai__backend__model_management__models__base__ModelType"];
};
/**
* ONNX Main Model
@@ -7853,13 +7732,13 @@ export type components = {
*/
use_cache?: boolean;
/** @description ONNX Main model (UNet, VAE, CLIP) to load */
- model: components['schemas']['OnnxModelField'];
+ model: components["schemas"]["OnnxModelField"];
/**
* type
* @default onnx_model_loader
* @constant
*/
- type: 'onnx_model_loader';
+ type: "onnx_model_loader";
};
/**
* Openpose Processor
@@ -7867,7 +7746,7 @@ export type components = {
*/
OpenposeImageProcessorInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -7886,7 +7765,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to process */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Hand And Face
* @description Whether to use hands and face mode
@@ -7910,7 +7789,7 @@ export type components = {
* @default openpose_image_processor
* @constant
*/
- type: 'openpose_image_processor';
+ type: "openpose_image_processor";
};
/** PaginatedResults[WorkflowRecordListItemDTO] */
PaginatedResults_WorkflowRecordListItemDTO_: {
@@ -7938,7 +7817,7 @@ export type components = {
* Items
* @description Items
*/
- items: components['schemas']['WorkflowRecordListItemDTO'][];
+ items: components["schemas"]["WorkflowRecordListItemDTO"][];
};
/**
* Pair Tile with Image
@@ -7963,26 +7842,26 @@ export type components = {
*/
use_cache?: boolean;
/** @description The tile image. */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/** @description The tile properties. */
- tile?: components['schemas']['Tile'];
+ tile?: components["schemas"]["Tile"];
/**
* type
* @default pair_tile_image
* @constant
*/
- type: 'pair_tile_image';
+ type: "pair_tile_image";
};
/** PairTileImageOutput */
PairTileImageOutput: {
/** @description A tile description with its corresponding image. */
- tile_with_image: components['schemas']['TileWithImage'];
+ tile_with_image: components["schemas"]["TileWithImage"];
/**
* type
* @default pair_tile_image_output
* @constant
*/
- type: 'pair_tile_image_output';
+ type: "pair_tile_image_output";
};
/**
* PIDI Processor
@@ -7990,7 +7869,7 @@ export type components = {
*/
PidiImageProcessorInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -8009,7 +7888,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to process */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Detect Resolution
* @description Pixel resolution for detection
@@ -8039,7 +7918,7 @@ export type components = {
* @default pidi_image_processor
* @constant
*/
- type: 'pidi_image_processor';
+ type: "pidi_image_processor";
};
/**
* Prompts from File
@@ -8095,7 +7974,7 @@ export type components = {
* @default prompt_from_file
* @constant
*/
- type: 'prompt_from_file';
+ type: "prompt_from_file";
};
/**
* PruneResult
@@ -8153,7 +8032,7 @@ export type components = {
* @default rand_float
* @constant
*/
- type: 'rand_float';
+ type: "rand_float";
};
/**
* Random Integer
@@ -8194,7 +8073,7 @@ export type components = {
* @default rand_int
* @constant
*/
- type: 'rand_int';
+ type: "rand_int";
};
/**
* Random Range
@@ -8247,7 +8126,7 @@ export type components = {
* @default random_range
* @constant
*/
- type: 'random_range';
+ type: "random_range";
};
/**
* Integer Range
@@ -8294,7 +8173,7 @@ export type components = {
* @default range
* @constant
*/
- type: 'range';
+ type: "range";
};
/**
* Integer Range of Size
@@ -8341,7 +8220,7 @@ export type components = {
* @default range_of_size
* @constant
*/
- type: 'range_of_size';
+ type: "range_of_size";
};
/** RemoveImagesFromBoardResult */
RemoveImagesFromBoardResult: {
@@ -8374,7 +8253,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description Latents tensor */
- latents?: components['schemas']['LatentsField'];
+ latents?: components["schemas"]["LatentsField"];
/**
* Width
* @description Width of output (px)
@@ -8391,14 +8270,7 @@ export type components = {
* @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 apply antialiasing (bilinear or bicubic only)
@@ -8410,7 +8282,7 @@ export type components = {
* @default lresize
* @constant
*/
- type: 'lresize';
+ type: "lresize";
};
/**
* ResourceOrigin
@@ -8421,7 +8293,7 @@ export type components = {
* This may be a user-initiated upload, or an internal application upload (eg Canvas init image).
* @enum {string}
*/
- ResourceOrigin: 'internal' | 'external';
+ ResourceOrigin: "internal" | "external";
/**
* Round Float
* @description Rounds a float to a specified number of decimal places.
@@ -8461,7 +8333,7 @@ export type components = {
* @default round_float
* @constant
*/
- type: 'round_float';
+ type: "round_float";
};
/**
* SDXL Prompt
@@ -8531,18 +8403,18 @@ export type components = {
* CLIP 1
* @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count
*/
- clip?: components['schemas']['ClipField'];
+ clip?: components["schemas"]["ClipField"];
/**
* CLIP 2
* @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count
*/
- clip2?: components['schemas']['ClipField'];
+ clip2?: components["schemas"]["ClipField"];
/**
* type
* @default sdxl_compel_prompt
* @constant
*/
- type: 'sdxl_compel_prompt';
+ type: "sdxl_compel_prompt";
};
/**
* SDXL LoRA
@@ -8570,7 +8442,7 @@ export type components = {
* LoRA
* @description LoRA model to load
*/
- lora: components['schemas']['LoRAModelField'];
+ lora: components["schemas"]["LoRAModelField"];
/**
* Weight
* @description The weight at which the LoRA is applied to each model
@@ -8581,23 +8453,23 @@ export type components = {
* UNet
* @description UNet (scheduler, LoRAs)
*/
- unet?: components['schemas']['UNetField'] | null;
+ unet?: components["schemas"]["UNetField"] | null;
/**
* CLIP 1
* @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count
*/
- clip?: components['schemas']['ClipField'] | null;
+ clip?: components["schemas"]["ClipField"] | null;
/**
* CLIP 2
* @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count
*/
- clip2?: components['schemas']['ClipField'] | null;
+ clip2?: components["schemas"]["ClipField"] | null;
/**
* type
* @default sdxl_lora_loader
* @constant
*/
- type: 'sdxl_lora_loader';
+ type: "sdxl_lora_loader";
};
/**
* SDXLLoraLoaderOutput
@@ -8608,23 +8480,23 @@ export type components = {
* UNet
* @description UNet (scheduler, LoRAs)
*/
- unet?: components['schemas']['UNetField'] | null;
+ unet?: components["schemas"]["UNetField"] | null;
/**
* CLIP 1
* @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count
*/
- clip?: components['schemas']['ClipField'] | null;
+ clip?: components["schemas"]["ClipField"] | null;
/**
* CLIP 2
* @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count
*/
- clip2?: components['schemas']['ClipField'] | null;
+ clip2?: components["schemas"]["ClipField"] | null;
/**
* type
* @default sdxl_lora_loader_output
* @constant
*/
- type: 'sdxl_lora_loader_output';
+ type: "sdxl_lora_loader_output";
};
/**
* SDXL Main Model
@@ -8649,13 +8521,13 @@ export type components = {
*/
use_cache?: boolean;
/** @description SDXL Main model (UNet, VAE, CLIP1, CLIP2) to load */
- model: components['schemas']['MainModelField'];
+ model: components["schemas"]["MainModelField"];
/**
* type
* @default sdxl_model_loader
* @constant
*/
- type: 'sdxl_model_loader';
+ type: "sdxl_model_loader";
};
/**
* SDXLModelLoaderOutput
@@ -8666,28 +8538,28 @@ export type components = {
* UNet
* @description UNet (scheduler, LoRAs)
*/
- unet: components['schemas']['UNetField'];
+ unet: components["schemas"]["UNetField"];
/**
* CLIP 1
* @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count
*/
- clip: components['schemas']['ClipField'];
+ clip: components["schemas"]["ClipField"];
/**
* CLIP 2
* @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count
*/
- clip2: components['schemas']['ClipField'];
+ clip2: components["schemas"]["ClipField"];
/**
* VAE
* @description VAE
*/
- vae: components['schemas']['VaeField'];
+ vae: components["schemas"]["VaeField"];
/**
* type
* @default sdxl_model_loader_output
* @constant
*/
- type: 'sdxl_model_loader_output';
+ type: "sdxl_model_loader_output";
};
/**
* SDXL Refiner Prompt
@@ -8744,13 +8616,13 @@ export type components = {
*/
aesthetic_score?: number;
/** @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */
- clip2?: components['schemas']['ClipField'];
+ clip2?: components["schemas"]["ClipField"];
/**
* type
* @default sdxl_refiner_compel_prompt
* @constant
*/
- type: 'sdxl_refiner_compel_prompt';
+ type: "sdxl_refiner_compel_prompt";
};
/**
* SDXL Refiner Model
@@ -8775,13 +8647,13 @@ export type components = {
*/
use_cache?: boolean;
/** @description SDXL Refiner Main Modde (UNet, VAE, CLIP2) to load */
- model: components['schemas']['MainModelField'];
+ model: components["schemas"]["MainModelField"];
/**
* type
* @default sdxl_refiner_model_loader
* @constant
*/
- type: 'sdxl_refiner_model_loader';
+ type: "sdxl_refiner_model_loader";
};
/**
* SDXLRefinerModelLoaderOutput
@@ -8792,36 +8664,36 @@ export type components = {
* UNet
* @description UNet (scheduler, LoRAs)
*/
- unet: components['schemas']['UNetField'];
+ unet: components["schemas"]["UNetField"];
/**
* CLIP 2
* @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count
*/
- clip2: components['schemas']['ClipField'];
+ clip2: components["schemas"]["ClipField"];
/**
* VAE
* @description VAE
*/
- vae: components['schemas']['VaeField'];
+ vae: components["schemas"]["VaeField"];
/**
* type
* @default sdxl_refiner_model_loader_output
* @constant
*/
- type: 'sdxl_refiner_model_loader_output';
+ type: "sdxl_refiner_model_loader_output";
};
/**
* SQLiteDirection
* @enum {string}
*/
- SQLiteDirection: 'ASC' | 'DESC';
+ SQLiteDirection: "ASC" | "DESC";
/**
* Save Image
* @description Saves an image. Unlike an image primitive, this invocation stores a copy of the image.
*/
SaveImageInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -8840,15 +8712,15 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to process */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/** @description The board to save the image to */
- board?: components['schemas']['BoardField'];
+ board?: components["schemas"]["BoardField"];
/**
* type
* @default save_image
* @constant
*/
- type: 'save_image';
+ type: "save_image";
};
/**
* Scale Latents
@@ -8873,7 +8745,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description Latents tensor */
- latents?: components['schemas']['LatentsField'];
+ latents?: components["schemas"]["LatentsField"];
/**
* Scale Factor
* @description The factor by which to scale
@@ -8885,14 +8757,7 @@ export type components = {
* @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 apply antialiasing (bilinear or bicubic only)
@@ -8904,7 +8769,7 @@ export type components = {
* @default lscale
* @constant
*/
- type: 'lscale';
+ type: "lscale";
};
/**
* Scheduler
@@ -8934,36 +8799,13 @@ export type components = {
* @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'
- | 'lcm';
+ 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" | "lcm";
/**
* type
* @default scheduler
* @constant
*/
- type: 'scheduler';
+ type: "scheduler";
};
/** SchedulerOutput */
SchedulerOutput: {
@@ -8972,36 +8814,13 @@ export type components = {
* @description Scheduler to use during inference
* @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'
- | 'lcm';
+ 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" | "lcm";
/**
* type
* @default scheduler_output
* @constant
*/
- type: 'scheduler_output';
+ type: "scheduler_output";
};
/**
* Seamless
@@ -9029,12 +8848,12 @@ export type components = {
* UNet
* @description UNet (scheduler, LoRAs)
*/
- unet?: components['schemas']['UNetField'] | null;
+ unet?: components["schemas"]["UNetField"] | null;
/**
* VAE
* @description VAE model to load
*/
- vae?: components['schemas']['VaeField'] | null;
+ vae?: components["schemas"]["VaeField"] | null;
/**
* Seamless Y
* @description Specify whether Y axis is seamless
@@ -9052,7 +8871,7 @@ export type components = {
* @default seamless
* @constant
*/
- type: 'seamless';
+ type: "seamless";
};
/**
* SeamlessModeOutput
@@ -9063,18 +8882,18 @@ export type components = {
* UNet
* @description UNet (scheduler, LoRAs)
*/
- unet?: components['schemas']['UNetField'] | null;
+ unet?: components["schemas"]["UNetField"] | null;
/**
* VAE
* @description VAE
*/
- vae?: components['schemas']['VaeField'] | null;
+ vae?: components["schemas"]["VaeField"] | null;
/**
* type
* @default seamless_output
* @constant
*/
- type: 'seamless_output';
+ type: "seamless_output";
};
/**
* Segment Anything Processor
@@ -9082,7 +8901,7 @@ export type components = {
*/
SegmentAnythingProcessorInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -9101,13 +8920,13 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to process */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* type
* @default segment_anything_processor
* @constant
*/
- type: 'segment_anything_processor';
+ type: "segment_anything_processor";
};
/** SessionProcessorStatus */
SessionProcessorStatus: {
@@ -9127,8 +8946,8 @@ export type components = {
* @description The overall status of session queue and processor
*/
SessionQueueAndProcessorStatus: {
- queue: components['schemas']['SessionQueueStatus'];
- processor: components['schemas']['SessionProcessorStatus'];
+ queue: components["schemas"]["SessionQueueStatus"];
+ processor: components["schemas"]["SessionProcessorStatus"];
};
/** SessionQueueItem */
SessionQueueItem: {
@@ -9143,7 +8962,7 @@ export type components = {
* @default pending
* @enum {string}
*/
- status: 'pending' | 'in_progress' | 'completed' | 'failed' | 'canceled';
+ status: "pending" | "in_progress" | "completed" | "failed" | "canceled";
/**
* Priority
* @description The priority of this queue item
@@ -9194,11 +9013,11 @@ export type components = {
* Field Values
* @description The field values that were used for this queue item
*/
- field_values?: components['schemas']['NodeFieldValue'][] | null;
+ field_values?: components["schemas"]["NodeFieldValue"][] | null;
/** @description The fully-populated session to be executed */
- session: components['schemas']['GraphExecutionState'];
+ session: components["schemas"]["GraphExecutionState"];
/** @description The workflow associated with this queue item */
- workflow?: components['schemas']['WorkflowWithoutID'] | null;
+ workflow?: components["schemas"]["WorkflowWithoutID"] | null;
};
/** SessionQueueItemDTO */
SessionQueueItemDTO: {
@@ -9213,7 +9032,7 @@ export type components = {
* @default pending
* @enum {string}
*/
- status: 'pending' | 'in_progress' | 'completed' | 'failed' | 'canceled';
+ status: "pending" | "in_progress" | "completed" | "failed" | "canceled";
/**
* Priority
* @description The priority of this queue item
@@ -9264,7 +9083,7 @@ export type components = {
* Field Values
* @description The field values that were used for this queue item
*/
- field_values?: components['schemas']['NodeFieldValue'][] | null;
+ field_values?: components["schemas"]["NodeFieldValue"][] | null;
};
/** SessionQueueStatus */
SessionQueueStatus: {
@@ -9342,25 +9161,25 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to show */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* type
* @default show_image
* @constant
*/
- type: 'show_image';
+ type: "show_image";
};
/** StableDiffusion1ModelCheckpointConfig */
StableDiffusion1ModelCheckpointConfig: {
/** Model Name */
model_name: string;
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/**
* Model Type
* @default main
* @constant
*/
- model_type: 'main';
+ model_type: "main";
/** Path */
path: string;
/** Description */
@@ -9369,25 +9188,25 @@ export type components = {
* Model Format
* @constant
*/
- model_format: 'checkpoint';
- error?: components['schemas']['ModelError'] | null;
+ model_format: "checkpoint";
+ error?: components["schemas"]["ModelError"] | null;
/** Vae */
vae?: string | null;
/** Config */
config: string;
- variant: components['schemas']['invokeai__backend__model_management__models__base__ModelVariantType'];
+ variant: components["schemas"]["invokeai__backend__model_management__models__base__ModelVariantType"];
};
/** StableDiffusion1ModelDiffusersConfig */
StableDiffusion1ModelDiffusersConfig: {
/** Model Name */
model_name: string;
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/**
* Model Type
* @default main
* @constant
*/
- model_type: 'main';
+ model_type: "main";
/** Path */
path: string;
/** Description */
@@ -9396,23 +9215,23 @@ export type components = {
* Model Format
* @constant
*/
- model_format: 'diffusers';
- error?: components['schemas']['ModelError'] | null;
+ model_format: "diffusers";
+ error?: components["schemas"]["ModelError"] | null;
/** Vae */
vae?: string | null;
- variant: components['schemas']['invokeai__backend__model_management__models__base__ModelVariantType'];
+ variant: components["schemas"]["invokeai__backend__model_management__models__base__ModelVariantType"];
};
/** StableDiffusion2ModelCheckpointConfig */
StableDiffusion2ModelCheckpointConfig: {
/** Model Name */
model_name: string;
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/**
* Model Type
* @default main
* @constant
*/
- model_type: 'main';
+ model_type: "main";
/** Path */
path: string;
/** Description */
@@ -9421,25 +9240,25 @@ export type components = {
* Model Format
* @constant
*/
- model_format: 'checkpoint';
- error?: components['schemas']['ModelError'] | null;
+ model_format: "checkpoint";
+ error?: components["schemas"]["ModelError"] | null;
/** Vae */
vae?: string | null;
/** Config */
config: string;
- variant: components['schemas']['invokeai__backend__model_management__models__base__ModelVariantType'];
+ variant: components["schemas"]["invokeai__backend__model_management__models__base__ModelVariantType"];
};
/** StableDiffusion2ModelDiffusersConfig */
StableDiffusion2ModelDiffusersConfig: {
/** Model Name */
model_name: string;
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/**
* Model Type
* @default main
* @constant
*/
- model_type: 'main';
+ model_type: "main";
/** Path */
path: string;
/** Description */
@@ -9448,23 +9267,23 @@ export type components = {
* Model Format
* @constant
*/
- model_format: 'diffusers';
- error?: components['schemas']['ModelError'] | null;
+ model_format: "diffusers";
+ error?: components["schemas"]["ModelError"] | null;
/** Vae */
vae?: string | null;
- variant: components['schemas']['invokeai__backend__model_management__models__base__ModelVariantType'];
+ variant: components["schemas"]["invokeai__backend__model_management__models__base__ModelVariantType"];
};
/** StableDiffusionXLModelCheckpointConfig */
StableDiffusionXLModelCheckpointConfig: {
/** Model Name */
model_name: string;
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/**
* Model Type
* @default main
* @constant
*/
- model_type: 'main';
+ model_type: "main";
/** Path */
path: string;
/** Description */
@@ -9473,25 +9292,25 @@ export type components = {
* Model Format
* @constant
*/
- model_format: 'checkpoint';
- error?: components['schemas']['ModelError'] | null;
+ model_format: "checkpoint";
+ error?: components["schemas"]["ModelError"] | null;
/** Vae */
vae?: string | null;
/** Config */
config: string;
- variant: components['schemas']['invokeai__backend__model_management__models__base__ModelVariantType'];
+ variant: components["schemas"]["invokeai__backend__model_management__models__base__ModelVariantType"];
};
/** StableDiffusionXLModelDiffusersConfig */
StableDiffusionXLModelDiffusersConfig: {
/** Model Name */
model_name: string;
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/**
* Model Type
* @default main
* @constant
*/
- model_type: 'main';
+ model_type: "main";
/** Path */
path: string;
/** Description */
@@ -9500,11 +9319,11 @@ export type components = {
* Model Format
* @constant
*/
- model_format: 'diffusers';
- error?: components['schemas']['ModelError'] | null;
+ model_format: "diffusers";
+ error?: components["schemas"]["ModelError"] | null;
/** Vae */
vae?: string | null;
- variant: components['schemas']['invokeai__backend__model_management__models__base__ModelVariantType'];
+ variant: components["schemas"]["invokeai__backend__model_management__models__base__ModelVariantType"];
};
/**
* Step Param Easing
@@ -9534,38 +9353,7 @@ export type components = {
* @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
@@ -9623,7 +9411,7 @@ export type components = {
* @default step_param_easing
* @constant
*/
- type: 'step_param_easing';
+ type: "step_param_easing";
};
/**
* String2Output
@@ -9645,7 +9433,7 @@ export type components = {
* @default string_2_output
* @constant
*/
- type: 'string_2_output';
+ type: "string_2_output";
};
/**
* String Collection Primitive
@@ -9680,7 +9468,7 @@ export type components = {
* @default string_collection
* @constant
*/
- type: 'string_collection';
+ type: "string_collection";
};
/**
* StringCollectionOutput
@@ -9697,7 +9485,7 @@ export type components = {
* @default string_collection_output
* @constant
*/
- type: 'string_collection_output';
+ type: "string_collection_output";
};
/**
* String Primitive
@@ -9732,7 +9520,7 @@ export type components = {
* @default string
* @constant
*/
- type: 'string';
+ type: "string";
};
/**
* String Join
@@ -9773,7 +9561,7 @@ export type components = {
* @default string_join
* @constant
*/
- type: 'string_join';
+ type: "string_join";
};
/**
* String Join Three
@@ -9820,7 +9608,7 @@ export type components = {
* @default string_join_three
* @constant
*/
- type: 'string_join_three';
+ type: "string_join_three";
};
/**
* StringOutput
@@ -9837,7 +9625,7 @@ export type components = {
* @default string_output
* @constant
*/
- type: 'string_output';
+ type: "string_output";
};
/**
* StringPosNegOutput
@@ -9859,7 +9647,7 @@ export type components = {
* @default string_pos_neg_output
* @constant
*/
- type: 'string_pos_neg_output';
+ type: "string_pos_neg_output";
};
/**
* String Replace
@@ -9912,7 +9700,7 @@ export type components = {
* @default string_replace
* @constant
*/
- type: 'string_replace';
+ type: "string_replace";
};
/**
* String Split
@@ -9953,7 +9741,7 @@ export type components = {
* @default string_split
* @constant
*/
- type: 'string_split';
+ type: "string_split";
};
/**
* String Split Negative
@@ -9988,23 +9776,13 @@ export type components = {
* @default string_split_neg
* @constant
*/
- type: 'string_split_neg';
+ type: "string_split_neg";
};
/**
* SubModelType
* @enum {string}
*/
- SubModelType:
- | 'unet'
- | 'text_encoder'
- | 'text_encoder_2'
- | 'tokenizer'
- | 'tokenizer_2'
- | 'vae'
- | 'vae_decoder'
- | 'vae_encoder'
- | 'scheduler'
- | 'safety_checker';
+ SubModelType: "unet" | "text_encoder" | "text_encoder_2" | "tokenizer" | "tokenizer_2" | "vae" | "vae_decoder" | "vae_encoder" | "scheduler" | "safety_checker";
/**
* Subtract Integers
* @description Subtracts two numbers
@@ -10044,14 +9822,14 @@ export type components = {
* @default sub
* @constant
*/
- type: 'sub';
+ type: "sub";
};
/** T2IAdapterField */
T2IAdapterField: {
/** @description The T2I-Adapter image prompt. */
- image: components['schemas']['ImageField'];
+ image: components["schemas"]["ImageField"];
/** @description The T2I-Adapter model to use. */
- t2i_adapter_model: components['schemas']['T2IAdapterModelField'];
+ t2i_adapter_model: components["schemas"]["T2IAdapterModelField"];
/**
* Weight
* @description The weight given to the T2I-Adapter
@@ -10076,11 +9854,7 @@ export type components = {
* @default just_resize
* @enum {string}
*/
- resize_mode?:
- | 'just_resize'
- | 'crop_resize'
- | 'fill_resize'
- | 'just_resize_simple';
+ resize_mode?: "just_resize" | "crop_resize" | "fill_resize" | "just_resize_simple";
};
/**
* T2I-Adapter
@@ -10105,12 +9879,12 @@ export type components = {
*/
use_cache?: boolean;
/** @description The IP-Adapter image prompt. */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* T2I-Adapter Model
* @description The T2I-Adapter model.
*/
- t2i_adapter_model: components['schemas']['T2IAdapterModelField'];
+ t2i_adapter_model: components["schemas"]["T2IAdapterModelField"];
/**
* Weight
* @description The weight given to the T2I-Adapter
@@ -10135,29 +9909,25 @@ export type components = {
* @default just_resize
* @enum {string}
*/
- resize_mode?:
- | 'just_resize'
- | 'crop_resize'
- | 'fill_resize'
- | 'just_resize_simple';
+ resize_mode?: "just_resize" | "crop_resize" | "fill_resize" | "just_resize_simple";
/**
* type
* @default t2i_adapter
* @constant
*/
- type: 't2i_adapter';
+ type: "t2i_adapter";
};
/** T2IAdapterModelDiffusersConfig */
T2IAdapterModelDiffusersConfig: {
/** Model Name */
model_name: string;
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/**
* Model Type
* @default t2i_adapter
* @constant
*/
- model_type: 't2i_adapter';
+ model_type: "t2i_adapter";
/** Path */
path: string;
/** Description */
@@ -10166,8 +9936,8 @@ export type components = {
* Model Format
* @constant
*/
- model_format: 'diffusers';
- error?: components['schemas']['ModelError'] | null;
+ model_format: "diffusers";
+ error?: components["schemas"]["ModelError"] | null;
};
/** T2IAdapterModelField */
T2IAdapterModelField: {
@@ -10177,7 +9947,7 @@ export type components = {
*/
model_name: string;
/** @description Base model */
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
};
/** T2IAdapterOutput */
T2IAdapterOutput: {
@@ -10185,13 +9955,13 @@ export type components = {
* T2I Adapter
* @description T2I-Adapter(s) to apply
*/
- t2i_adapter: components['schemas']['T2IAdapterField'];
+ t2i_adapter: components["schemas"]["T2IAdapterField"];
/**
* type
* @default t2i_adapter_output
* @constant
*/
- type: 't2i_adapter_output';
+ type: "t2i_adapter_output";
};
/**
* T2IConfig
@@ -10202,18 +9972,18 @@ export type components = {
path: string;
/** Name */
name: string;
- base: components['schemas']['invokeai__backend__model_manager__config__BaseModelType'];
+ base: components["schemas"]["invokeai__backend__model_manager__config__BaseModelType"];
/**
* Type
* @default t2i_adapter
* @constant
*/
- type?: 't2i_adapter';
+ type?: "t2i_adapter";
/**
* Format
* @constant
*/
- format: 'diffusers';
+ format: "diffusers";
/**
* Key
* @description unique key for model
@@ -10258,18 +10028,18 @@ export type components = {
path: string;
/** Name */
name: string;
- base: components['schemas']['invokeai__backend__model_manager__config__BaseModelType'];
+ base: components["schemas"]["invokeai__backend__model_manager__config__BaseModelType"];
/**
* Type
* @default embedding
* @constant
*/
- type?: 'embedding';
+ type?: "embedding";
/**
* Format
* @enum {string}
*/
- format: 'embedding_file' | 'embedding_folder';
+ format: "embedding_file" | "embedding_folder";
/**
* Key
* @description unique key for model
@@ -10298,27 +10068,27 @@ export type components = {
TextualInversionModelConfig: {
/** Model Name */
model_name: string;
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/**
* Model Type
* @default embedding
* @constant
*/
- model_type: 'embedding';
+ model_type: "embedding";
/** Path */
path: string;
/** Description */
description?: string | null;
/** Model Format */
model_format: null;
- error?: components['schemas']['ModelError'] | null;
+ error?: components["schemas"]["ModelError"] | null;
};
/** Tile */
Tile: {
/** @description The coordinates of this tile relative to its parent image. */
- coords: components['schemas']['TBLR'];
+ coords: components["schemas"]["TBLR"];
/** @description The amount of overlap with adjacent tiles on each side of this tile. */
- overlap: components['schemas']['TBLR'];
+ overlap: components["schemas"]["TBLR"];
};
/**
* Tile Resample Processor
@@ -10326,7 +10096,7 @@ export type components = {
*/
TileResamplerProcessorInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -10345,7 +10115,7 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to process */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* Down Sampling Rate
* @description Down sampling rate
@@ -10357,7 +10127,7 @@ export type components = {
* @default tile_image_processor
* @constant
*/
- type: 'tile_image_processor';
+ type: "tile_image_processor";
};
/**
* Tile to Properties
@@ -10382,13 +10152,13 @@ export type components = {
*/
use_cache?: boolean;
/** @description The tile to split into properties. */
- tile?: components['schemas']['Tile'];
+ tile?: components["schemas"]["Tile"];
/**
* type
* @default tile_to_properties
* @constant
*/
- type: 'tile_to_properties';
+ type: "tile_to_properties";
};
/** TileToPropertiesOutput */
TileToPropertiesOutput: {
@@ -10447,31 +10217,31 @@ export type components = {
* @default tile_to_properties_output
* @constant
*/
- type: 'tile_to_properties_output';
+ type: "tile_to_properties_output";
};
/** TileWithImage */
TileWithImage: {
- tile: components['schemas']['Tile'];
- image: components['schemas']['ImageField'];
+ tile: components["schemas"]["Tile"];
+ image: components["schemas"]["ImageField"];
};
/** UNetField */
UNetField: {
/** @description Info to load unet submodel */
- unet: components['schemas']['ModelInfo'];
+ unet: components["schemas"]["ModelInfo"];
/** @description Info to load scheduler submodel */
- scheduler: components['schemas']['ModelInfo'];
+ scheduler: components["schemas"]["ModelInfo"];
/**
* Loras
* @description Loras to apply on model loading
*/
- loras: components['schemas']['LoraInfo'][];
+ loras: components["schemas"]["LoraInfo"][];
/**
* Seamless Axes
* @description Axes("x" and "y") to which apply seamless
*/
seamless_axes?: string[];
/** @description FreeU configuration */
- freeu_config?: components['schemas']['FreeUConfig'] | null;
+ freeu_config?: components["schemas"]["FreeUConfig"] | null;
};
/**
* UNetOutput
@@ -10482,13 +10252,13 @@ export type components = {
* UNet
* @description UNet (scheduler, LoRAs)
*/
- unet: components['schemas']['UNetField'];
+ unet: components["schemas"]["UNetField"];
/**
* type
* @default unet_output
* @constant
*/
- type: 'unet_output';
+ type: "unet_output";
};
/**
* URLModelSource
@@ -10507,7 +10277,52 @@ export type components = {
* @default generic_url
* @constant
*/
- type?: 'generic_url';
+ type?: "generic_url";
+ };
+ /**
+ * Unsharp Mask
+ * @description Applies an unsharp mask filter to an image
+ */
+ UnsharpMaskInvocation: {
+ /** @description Optional metadata to be saved with the image */
+ metadata?: components["schemas"]["MetadataField"] | null;
+ /**
+ * Id
+ * @description The id of this instance of an invocation. Must be unique among all instances of invocations.
+ */
+ id: string;
+ /**
+ * Is Intermediate
+ * @description Whether or not this is an intermediate invocation.
+ * @default false
+ */
+ is_intermediate?: boolean;
+ /**
+ * Use Cache
+ * @description Whether or not to use the cache
+ * @default true
+ */
+ use_cache?: boolean;
+ /** @description The image to use */
+ image?: components["schemas"]["ImageField"];
+ /**
+ * Radius
+ * @description Unsharp mask radius
+ * @default 2
+ */
+ radius?: number;
+ /**
+ * Strength
+ * @description Unsharp mask strength
+ * @default 50
+ */
+ strength?: number;
+ /**
+ * type
+ * @default unsharp_mask
+ * @constant
+ */
+ type: "unsharp_mask";
};
/** Upscaler */
Upscaler: {
@@ -10533,7 +10348,7 @@ export type components = {
*/
model_name: string;
/** @description Base model */
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
};
/**
* VAEOutput
@@ -10544,13 +10359,13 @@ export type components = {
* VAE
* @description VAE
*/
- vae: components['schemas']['VaeField'];
+ vae: components["schemas"]["VaeField"];
/**
* type
* @default vae_output
* @constant
*/
- type: 'vae_output';
+ type: "vae_output";
};
/**
* VaeCheckpointConfig
@@ -10561,19 +10376,19 @@ export type components = {
path: string;
/** Name */
name: string;
- base: components['schemas']['invokeai__backend__model_manager__config__BaseModelType'];
+ base: components["schemas"]["invokeai__backend__model_manager__config__BaseModelType"];
/**
* Type
* @default vae
* @constant
*/
- type?: 'vae';
+ type?: "vae";
/**
* Format
* @default checkpoint
* @constant
*/
- format?: 'checkpoint';
+ format?: "checkpoint";
/**
* Key
* @description unique key for model
@@ -10607,19 +10422,19 @@ export type components = {
path: string;
/** Name */
name: string;
- base: components['schemas']['invokeai__backend__model_manager__config__BaseModelType'];
+ base: components["schemas"]["invokeai__backend__model_manager__config__BaseModelType"];
/**
* Type
* @default vae
* @constant
*/
- type?: 'vae';
+ type?: "vae";
/**
* Format
* @default diffusers
* @constant
*/
- format?: 'diffusers';
+ format?: "diffusers";
/**
* Key
* @description unique key for model
@@ -10647,7 +10462,7 @@ export type components = {
/** VaeField */
VaeField: {
/** @description Info to load vae submodel */
- vae: components['schemas']['ModelInfo'];
+ vae: components["schemas"]["ModelInfo"];
/**
* Seamless Axes
* @description Axes("x" and "y") to which apply seamless
@@ -10680,37 +10495,37 @@ export type components = {
* VAE
* @description VAE model to load
*/
- vae_model: components['schemas']['VAEModelField'];
+ vae_model: components["schemas"]["VAEModelField"];
/**
* type
* @default vae_loader
* @constant
*/
- type: 'vae_loader';
+ type: "vae_loader";
};
/** VaeModelConfig */
VaeModelConfig: {
/** Model Name */
model_name: string;
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/**
* Model Type
* @default vae
* @constant
*/
- model_type: 'vae';
+ model_type: "vae";
/** Path */
path: string;
/** Description */
description?: string | null;
- model_format: components['schemas']['VaeModelFormat'];
- error?: components['schemas']['ModelError'] | null;
+ model_format: components["schemas"]["VaeModelFormat"];
+ error?: components["schemas"]["ModelError"] | null;
};
/**
* VaeModelFormat
* @enum {string}
*/
- VaeModelFormat: 'checkpoint' | 'diffusers';
+ VaeModelFormat: "checkpoint" | "diffusers";
/** ValidationError */
ValidationError: {
/** Location */
@@ -10761,23 +10576,23 @@ export type components = {
* Exposedfields
* @description The exposed fields of the workflow.
*/
- exposedFields: components['schemas']['ExposedField'][];
+ exposedFields: components["schemas"]["ExposedField"][];
/** @description The meta of the workflow. */
- meta: components['schemas']['WorkflowMeta'];
+ meta: components["schemas"]["WorkflowMeta"];
/**
* Nodes
* @description The nodes of the workflow.
*/
nodes: {
- [key: string]: components['schemas']['JsonValue'];
- }[];
+ [key: string]: components["schemas"]["JsonValue"];
+ }[];
/**
* Edges
* @description The edges of the workflow.
*/
edges: {
- [key: string]: components['schemas']['JsonValue'];
- }[];
+ [key: string]: components["schemas"]["JsonValue"];
+ }[];
/**
* Id
* @description The id of the workflow.
@@ -10788,7 +10603,7 @@ export type components = {
* WorkflowCategory
* @enum {string}
*/
- WorkflowCategory: 'user' | 'default';
+ WorkflowCategory: "user" | "default";
/** WorkflowMeta */
WorkflowMeta: {
/**
@@ -10800,7 +10615,7 @@ export type components = {
* @description The category of the workflow (user or default).
* @default user
*/
- category?: components['schemas']['WorkflowCategory'];
+ category?: components["schemas"]["WorkflowCategory"];
};
/** WorkflowRecordDTO */
WorkflowRecordDTO: {
@@ -10830,7 +10645,7 @@ export type components = {
*/
opened_at: string;
/** @description The workflow. */
- workflow: components['schemas']['Workflow'];
+ workflow: components["schemas"]["Workflow"];
};
/** WorkflowRecordListItemDTO */
WorkflowRecordListItemDTO: {
@@ -10865,14 +10680,14 @@ export type components = {
*/
description: string;
/** @description The description of the workflow. */
- category: components['schemas']['WorkflowCategory'];
+ category: components["schemas"]["WorkflowCategory"];
};
/**
* WorkflowRecordOrderBy
* @description The order by options for workflow records
* @enum {string}
*/
- WorkflowRecordOrderBy: 'created_at' | 'updated_at' | 'opened_at' | 'name';
+ WorkflowRecordOrderBy: "created_at" | "updated_at" | "opened_at" | "name";
/** WorkflowWithoutID */
WorkflowWithoutID: {
/**
@@ -10914,23 +10729,23 @@ export type components = {
* Exposedfields
* @description The exposed fields of the workflow.
*/
- exposedFields: components['schemas']['ExposedField'][];
+ exposedFields: components["schemas"]["ExposedField"][];
/** @description The meta of the workflow. */
- meta: components['schemas']['WorkflowMeta'];
+ meta: components["schemas"]["WorkflowMeta"];
/**
* Nodes
* @description The nodes of the workflow.
*/
nodes: {
- [key: string]: components['schemas']['JsonValue'];
- }[];
+ [key: string]: components["schemas"]["JsonValue"];
+ }[];
/**
* Edges
* @description The edges of the workflow.
*/
edges: {
- [key: string]: components['schemas']['JsonValue'];
- }[];
+ [key: string]: components["schemas"]["JsonValue"];
+ }[];
};
/**
* Zoe (Depth) Processor
@@ -10938,7 +10753,7 @@ export type components = {
*/
ZoeDepthImageProcessorInvocation: {
/** @description Optional metadata to be saved with the image */
- metadata?: components['schemas']['MetadataField'] | null;
+ metadata?: components["schemas"]["MetadataField"] | null;
/**
* Id
* @description The id of this instance of an invocation. Must be unique among all instances of invocations.
@@ -10957,13 +10772,13 @@ export type components = {
*/
use_cache?: boolean;
/** @description The image to process */
- image?: components['schemas']['ImageField'];
+ image?: components["schemas"]["ImageField"];
/**
* type
* @default zoe_depth_image_processor
* @constant
*/
- type: 'zoe_depth_image_processor';
+ type: "zoe_depth_image_processor";
};
/**
* ModelsList
@@ -10971,145 +10786,66 @@ export type components = {
*/
invokeai__app__api__routers__model_records__ModelsList: {
/** Models */
- models: (
- | (
- | components['schemas']['MainDiffusersConfig']
- | components['schemas']['MainCheckpointConfig']
- )
- | (
- | components['schemas']['ONNXSD1Config']
- | components['schemas']['ONNXSD2Config']
- )
- | (
- | components['schemas']['VaeDiffusersConfig']
- | components['schemas']['VaeCheckpointConfig']
- )
- | (
- | components['schemas']['ControlNetDiffusersConfig']
- | components['schemas']['ControlNetCheckpointConfig']
- )
- | components['schemas']['LoRAConfig']
- | components['schemas']['TextualInversionConfig']
- | components['schemas']['IPAdapterConfig']
- | components['schemas']['CLIPVisionDiffusersConfig']
- | components['schemas']['T2IConfig']
- )[];
+ models: ((components["schemas"]["MainDiffusersConfig"] | components["schemas"]["MainCheckpointConfig"]) | (components["schemas"]["ONNXSD1Config"] | components["schemas"]["ONNXSD2Config"]) | (components["schemas"]["VaeDiffusersConfig"] | components["schemas"]["VaeCheckpointConfig"]) | (components["schemas"]["ControlNetDiffusersConfig"] | components["schemas"]["ControlNetCheckpointConfig"]) | components["schemas"]["LoRAConfig"] | components["schemas"]["TextualInversionConfig"] | components["schemas"]["IPAdapterConfig"] | components["schemas"]["CLIPVisionDiffusersConfig"] | components["schemas"]["T2IConfig"])[];
};
/** ModelsList */
invokeai__app__api__routers__models__ModelsList: {
/** Models */
- models: (
- | components['schemas']['ONNXStableDiffusion1ModelConfig']
- | components['schemas']['StableDiffusion1ModelCheckpointConfig']
- | components['schemas']['StableDiffusion1ModelDiffusersConfig']
- | components['schemas']['VaeModelConfig']
- | components['schemas']['LoRAModelConfig']
- | components['schemas']['ControlNetModelCheckpointConfig']
- | components['schemas']['ControlNetModelDiffusersConfig']
- | components['schemas']['TextualInversionModelConfig']
- | components['schemas']['IPAdapterModelInvokeAIConfig']
- | components['schemas']['CLIPVisionModelDiffusersConfig']
- | components['schemas']['T2IAdapterModelDiffusersConfig']
- | components['schemas']['ONNXStableDiffusion2ModelConfig']
- | components['schemas']['StableDiffusion2ModelCheckpointConfig']
- | components['schemas']['StableDiffusion2ModelDiffusersConfig']
- | components['schemas']['StableDiffusionXLModelCheckpointConfig']
- | components['schemas']['StableDiffusionXLModelDiffusersConfig']
- )[];
+ models: (components["schemas"]["ONNXStableDiffusion1ModelConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelCheckpointConfig"] | components["schemas"]["ControlNetModelDiffusersConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["IPAdapterModelInvokeAIConfig"] | components["schemas"]["CLIPVisionModelDiffusersConfig"] | components["schemas"]["T2IAdapterModelDiffusersConfig"] | components["schemas"]["ONNXStableDiffusion2ModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusionXLModelCheckpointConfig"] | components["schemas"]["StableDiffusionXLModelDiffusersConfig"])[];
};
/**
* BaseModelType
* @enum {string}
*/
- invokeai__backend__model_management__models__base__BaseModelType:
- | 'any'
- | 'sd-1'
- | 'sd-2'
- | 'sdxl'
- | 'sdxl-refiner';
+ invokeai__backend__model_management__models__base__BaseModelType: "any" | "sd-1" | "sd-2" | "sdxl" | "sdxl-refiner";
/**
* ModelType
* @enum {string}
*/
- invokeai__backend__model_management__models__base__ModelType:
- | 'onnx'
- | 'main'
- | 'vae'
- | 'lora'
- | 'controlnet'
- | 'embedding'
- | 'ip_adapter'
- | 'clip_vision'
- | 't2i_adapter';
+ invokeai__backend__model_management__models__base__ModelType: "onnx" | "main" | "vae" | "lora" | "controlnet" | "embedding" | "ip_adapter" | "clip_vision" | "t2i_adapter";
/**
* ModelVariantType
* @enum {string}
*/
- invokeai__backend__model_management__models__base__ModelVariantType:
- | 'normal'
- | 'inpaint'
- | 'depth';
+ invokeai__backend__model_management__models__base__ModelVariantType: "normal" | "inpaint" | "depth";
/**
* SchedulerPredictionType
* @enum {string}
*/
- invokeai__backend__model_management__models__base__SchedulerPredictionType:
- | 'epsilon'
- | 'v_prediction'
- | 'sample';
+ invokeai__backend__model_management__models__base__SchedulerPredictionType: "epsilon" | "v_prediction" | "sample";
/**
* BaseModelType
* @description Base model type.
* @enum {string}
*/
- invokeai__backend__model_manager__config__BaseModelType:
- | 'any'
- | 'sd-1'
- | 'sd-2'
- | 'sdxl'
- | 'sdxl-refiner';
+ invokeai__backend__model_manager__config__BaseModelType: "any" | "sd-1" | "sd-2" | "sdxl" | "sdxl-refiner";
/**
* ModelType
* @description Model type.
* @enum {string}
*/
- invokeai__backend__model_manager__config__ModelType:
- | 'onnx'
- | 'main'
- | 'vae'
- | 'lora'
- | 'controlnet'
- | 'embedding'
- | 'ip_adapter'
- | 'clip_vision'
- | 't2i_adapter';
+ invokeai__backend__model_manager__config__ModelType: "onnx" | "main" | "vae" | "lora" | "controlnet" | "embedding" | "ip_adapter" | "clip_vision" | "t2i_adapter";
/**
* ModelVariantType
* @description Variant type.
* @enum {string}
*/
- invokeai__backend__model_manager__config__ModelVariantType:
- | 'normal'
- | 'inpaint'
- | 'depth';
+ invokeai__backend__model_manager__config__ModelVariantType: "normal" | "inpaint" | "depth";
/**
* SchedulerPredictionType
* @description Scheduler prediction type.
* @enum {string}
*/
- invokeai__backend__model_manager__config__SchedulerPredictionType:
- | 'epsilon'
- | 'v_prediction'
- | 'sample';
+ invokeai__backend__model_manager__config__SchedulerPredictionType: "epsilon" | "v_prediction" | "sample";
/**
* Classification
- * @description The feature classification of an Invocation.
+ * @description The classification of an Invocation.
* - `Stable`: The invocation, including its inputs/outputs and internal logic, is stable. You may build workflows with it, having confidence that they will not break because of a change in this invocation.
* - `Beta`: The invocation is not yet stable, but is planned to be stable in the future. Workflows built around this invocation may break, but we are committed to supporting this invocation long-term.
* - `Prototype`: The invocation is not yet stable and may be removed from the application at any time. Workflows built around this invocation may break, and we are *not* committed to supporting this invocation.
* @enum {string}
*/
- Classification: 'stable' | 'beta' | 'prototype';
+ Classification: "stable" | "beta" | "prototype";
/**
* FieldKind
* @description The kind of field.
@@ -11127,7 +10863,7 @@ export type components = {
* startup, and when generating the OpenAPI schema for the workflow editor.
* @enum {string}
*/
- FieldKind: 'input' | 'output' | 'internal' | 'node_attribute';
+ FieldKind: "input" | "output" | "internal" | "node_attribute";
/**
* Input
* @description The type of input a field accepts.
@@ -11136,17 +10872,17 @@ export type components = {
* - `Input.Any`: The field may have its value provided either directly or by a connection.
* @enum {string}
*/
- Input: 'connection' | 'direct' | 'any';
+ Input: "connection" | "direct" | "any";
/**
* InputFieldJSONSchemaExtra
* @description Extra attributes to be added to input fields and their OpenAPI schema. Used during graph execution,
* and by the workflow editor during schema parsing and UI rendering.
*/
InputFieldJSONSchemaExtra: {
- input: components['schemas']['Input'];
+ input: components["schemas"]["Input"];
/** Orig Required */
orig_required: boolean;
- field_kind: components['schemas']['FieldKind'];
+ field_kind: components["schemas"]["FieldKind"];
/**
* Default
* @default null
@@ -11163,9 +10899,9 @@ export type components = {
*/
ui_hidden: boolean;
/** @default null */
- ui_type: components['schemas']['UIType'] | null;
+ ui_type: components["schemas"]["UIType"] | null;
/** @default null */
- ui_component: components['schemas']['UIComponent'] | null;
+ ui_component: components["schemas"]["UIComponent"] | null;
/**
* Ui Order
* @default null
@@ -11185,10 +10921,10 @@ export type components = {
* during schema parsing and UI rendering.
*/
OutputFieldJSONSchemaExtra: {
- field_kind: components['schemas']['FieldKind'];
+ field_kind: components["schemas"]["FieldKind"];
/** Ui Hidden */
ui_hidden: boolean;
- ui_type: components['schemas']['UIType'] | null;
+ ui_type: components["schemas"]["UIType"] | null;
/** Ui Order */
ui_order: number | null;
};
@@ -11198,7 +10934,7 @@ export type components = {
* inferred from the field type.
* @enum {string}
*/
- UIComponent: 'none' | 'textarea' | 'slider';
+ UIComponent: "none" | "textarea" | "slider";
/**
* UIConfigBase
* @description Provides additional node configuration to the UI.
@@ -11237,7 +10973,7 @@ export type components = {
* @description The node's classification
* @default stable
*/
- classification: components['schemas']['Classification'];
+ classification: components["schemas"]["Classification"];
};
/**
* UIType
@@ -11266,107 +11002,55 @@ export type components = {
* used, and the type will be ignored. They are included here for backwards compatibility.
* @enum {string}
*/
- UIType:
- | 'SDXLMainModelField'
- | 'SDXLRefinerModelField'
- | 'ONNXModelField'
- | 'VAEModelField'
- | 'LoRAModelField'
- | 'ControlNetModelField'
- | 'IPAdapterModelField'
- | 'SchedulerField'
- | 'AnyField'
- | 'CollectionField'
- | 'CollectionItemField'
- | 'DEPRECATED_Boolean'
- | 'DEPRECATED_Color'
- | 'DEPRECATED_Conditioning'
- | 'DEPRECATED_Control'
- | 'DEPRECATED_Float'
- | 'DEPRECATED_Image'
- | 'DEPRECATED_Integer'
- | 'DEPRECATED_Latents'
- | 'DEPRECATED_String'
- | 'DEPRECATED_BooleanCollection'
- | 'DEPRECATED_ColorCollection'
- | 'DEPRECATED_ConditioningCollection'
- | 'DEPRECATED_ControlCollection'
- | 'DEPRECATED_FloatCollection'
- | 'DEPRECATED_ImageCollection'
- | 'DEPRECATED_IntegerCollection'
- | 'DEPRECATED_LatentsCollection'
- | 'DEPRECATED_StringCollection'
- | 'DEPRECATED_BooleanPolymorphic'
- | 'DEPRECATED_ColorPolymorphic'
- | 'DEPRECATED_ConditioningPolymorphic'
- | 'DEPRECATED_ControlPolymorphic'
- | 'DEPRECATED_FloatPolymorphic'
- | 'DEPRECATED_ImagePolymorphic'
- | 'DEPRECATED_IntegerPolymorphic'
- | 'DEPRECATED_LatentsPolymorphic'
- | 'DEPRECATED_StringPolymorphic'
- | 'DEPRECATED_MainModel'
- | 'DEPRECATED_UNet'
- | 'DEPRECATED_Vae'
- | 'DEPRECATED_CLIP'
- | 'DEPRECATED_Collection'
- | 'DEPRECATED_CollectionItem'
- | 'DEPRECATED_Enum'
- | 'DEPRECATED_WorkflowField'
- | 'DEPRECATED_IsIntermediate'
- | 'DEPRECATED_BoardField'
- | 'DEPRECATED_MetadataItem'
- | 'DEPRECATED_MetadataItemCollection'
- | 'DEPRECATED_MetadataItemPolymorphic'
- | 'DEPRECATED_MetadataDict';
- /**
- * StableDiffusion2ModelFormat
- * @description An enumeration.
- * @enum {string}
- */
- StableDiffusion2ModelFormat: 'checkpoint' | 'diffusers';
- /**
- * StableDiffusionXLModelFormat
- * @description An enumeration.
- * @enum {string}
- */
- StableDiffusionXLModelFormat: 'checkpoint' | 'diffusers';
- /**
- * StableDiffusionOnnxModelFormat
- * @description An enumeration.
- * @enum {string}
- */
- StableDiffusionOnnxModelFormat: 'olive' | 'onnx';
- /**
- * IPAdapterModelFormat
- * @description An enumeration.
- * @enum {string}
- */
- IPAdapterModelFormat: 'invokeai';
- /**
- * CLIPVisionModelFormat
- * @description An enumeration.
- * @enum {string}
- */
- CLIPVisionModelFormat: 'diffusers';
- /**
- * StableDiffusion1ModelFormat
- * @description An enumeration.
- * @enum {string}
- */
- StableDiffusion1ModelFormat: 'checkpoint' | 'diffusers';
+ UIType: "SDXLMainModelField" | "SDXLRefinerModelField" | "ONNXModelField" | "VAEModelField" | "LoRAModelField" | "ControlNetModelField" | "IPAdapterModelField" | "SchedulerField" | "AnyField" | "CollectionField" | "CollectionItemField" | "DEPRECATED_Boolean" | "DEPRECATED_Color" | "DEPRECATED_Conditioning" | "DEPRECATED_Control" | "DEPRECATED_Float" | "DEPRECATED_Image" | "DEPRECATED_Integer" | "DEPRECATED_Latents" | "DEPRECATED_String" | "DEPRECATED_BooleanCollection" | "DEPRECATED_ColorCollection" | "DEPRECATED_ConditioningCollection" | "DEPRECATED_ControlCollection" | "DEPRECATED_FloatCollection" | "DEPRECATED_ImageCollection" | "DEPRECATED_IntegerCollection" | "DEPRECATED_LatentsCollection" | "DEPRECATED_StringCollection" | "DEPRECATED_BooleanPolymorphic" | "DEPRECATED_ColorPolymorphic" | "DEPRECATED_ConditioningPolymorphic" | "DEPRECATED_ControlPolymorphic" | "DEPRECATED_FloatPolymorphic" | "DEPRECATED_ImagePolymorphic" | "DEPRECATED_IntegerPolymorphic" | "DEPRECATED_LatentsPolymorphic" | "DEPRECATED_StringPolymorphic" | "DEPRECATED_MainModel" | "DEPRECATED_UNet" | "DEPRECATED_Vae" | "DEPRECATED_CLIP" | "DEPRECATED_Collection" | "DEPRECATED_CollectionItem" | "DEPRECATED_Enum" | "DEPRECATED_WorkflowField" | "DEPRECATED_IsIntermediate" | "DEPRECATED_BoardField" | "DEPRECATED_MetadataItem" | "DEPRECATED_MetadataItemCollection" | "DEPRECATED_MetadataItemPolymorphic" | "DEPRECATED_MetadataDict";
/**
* ControlNetModelFormat
* @description An enumeration.
* @enum {string}
*/
- ControlNetModelFormat: 'checkpoint' | 'diffusers';
+ ControlNetModelFormat: "checkpoint" | "diffusers";
+ /**
+ * IPAdapterModelFormat
+ * @description An enumeration.
+ * @enum {string}
+ */
+ IPAdapterModelFormat: "invokeai";
+ /**
+ * StableDiffusion2ModelFormat
+ * @description An enumeration.
+ * @enum {string}
+ */
+ StableDiffusion2ModelFormat: "checkpoint" | "diffusers";
/**
* T2IAdapterModelFormat
* @description An enumeration.
* @enum {string}
*/
- T2IAdapterModelFormat: 'diffusers';
+ T2IAdapterModelFormat: "diffusers";
+ /**
+ * CLIPVisionModelFormat
+ * @description An enumeration.
+ * @enum {string}
+ */
+ CLIPVisionModelFormat: "diffusers";
+ /**
+ * StableDiffusionXLModelFormat
+ * @description An enumeration.
+ * @enum {string}
+ */
+ StableDiffusionXLModelFormat: "checkpoint" | "diffusers";
+ /**
+ * StableDiffusionOnnxModelFormat
+ * @description An enumeration.
+ * @enum {string}
+ */
+ StableDiffusionOnnxModelFormat: "olive" | "onnx";
+ /**
+ * StableDiffusion1ModelFormat
+ * @description An enumeration.
+ * @enum {string}
+ */
+ StableDiffusion1ModelFormat: "checkpoint" | "diffusers";
};
responses: never;
parameters: never;
@@ -11380,6 +11064,7 @@ export type $defs = Record;
export type external = Record;
export type operations = {
+
/**
* Get Session
* @description Gets a session
@@ -11395,7 +11080,7 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['GraphExecutionState'];
+ "application/json": components["schemas"]["GraphExecutionState"];
};
};
/** @description Session not found */
@@ -11405,7 +11090,7 @@ export type operations = {
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -11417,20 +11102,20 @@ export type operations = {
parse_dynamicprompts: {
requestBody: {
content: {
- 'application/json': components['schemas']['Body_parse_dynamicprompts'];
+ "application/json": components["schemas"]["Body_parse_dynamicprompts"];
};
};
responses: {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['DynamicPromptsResponse'];
+ "application/json": components["schemas"]["DynamicPromptsResponse"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -11443,26 +11128,22 @@ export type operations = {
parameters: {
query?: {
/** @description Base models to include */
- base_models?:
- | components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'][]
- | null;
+ base_models?: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"][] | null;
/** @description The type of model to get */
- model_type?:
- | components['schemas']['invokeai__backend__model_management__models__base__ModelType']
- | null;
+ model_type?: components["schemas"]["invokeai__backend__model_management__models__base__ModelType"] | null;
};
};
responses: {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['invokeai__app__api__routers__models__ModelsList'];
+ "application/json": components["schemas"]["invokeai__app__api__routers__models__ModelsList"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -11475,9 +11156,9 @@ export type operations = {
parameters: {
path: {
/** @description Base model */
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/** @description The type of model */
- model_type: components['schemas']['invokeai__backend__model_management__models__base__ModelType'];
+ model_type: components["schemas"]["invokeai__backend__model_management__models__base__ModelType"];
/** @description model name */
model_name: string;
};
@@ -11494,7 +11175,7 @@ export type operations = {
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -11507,55 +11188,23 @@ export type operations = {
parameters: {
path: {
/** @description Base model */
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/** @description The type of model */
- model_type: components['schemas']['invokeai__backend__model_management__models__base__ModelType'];
+ model_type: components["schemas"]["invokeai__backend__model_management__models__base__ModelType"];
/** @description model name */
model_name: string;
};
};
requestBody: {
content: {
- 'application/json':
- | components['schemas']['ONNXStableDiffusion1ModelConfig']
- | components['schemas']['StableDiffusion1ModelCheckpointConfig']
- | components['schemas']['StableDiffusion1ModelDiffusersConfig']
- | components['schemas']['VaeModelConfig']
- | components['schemas']['LoRAModelConfig']
- | components['schemas']['ControlNetModelCheckpointConfig']
- | components['schemas']['ControlNetModelDiffusersConfig']
- | components['schemas']['TextualInversionModelConfig']
- | components['schemas']['IPAdapterModelInvokeAIConfig']
- | components['schemas']['CLIPVisionModelDiffusersConfig']
- | components['schemas']['T2IAdapterModelDiffusersConfig']
- | components['schemas']['ONNXStableDiffusion2ModelConfig']
- | components['schemas']['StableDiffusion2ModelCheckpointConfig']
- | components['schemas']['StableDiffusion2ModelDiffusersConfig']
- | components['schemas']['StableDiffusionXLModelCheckpointConfig']
- | components['schemas']['StableDiffusionXLModelDiffusersConfig'];
+ "application/json": components["schemas"]["ONNXStableDiffusion1ModelConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelCheckpointConfig"] | components["schemas"]["ControlNetModelDiffusersConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["IPAdapterModelInvokeAIConfig"] | components["schemas"]["CLIPVisionModelDiffusersConfig"] | components["schemas"]["T2IAdapterModelDiffusersConfig"] | components["schemas"]["ONNXStableDiffusion2ModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusionXLModelCheckpointConfig"] | components["schemas"]["StableDiffusionXLModelDiffusersConfig"];
};
};
responses: {
/** @description The model was updated successfully */
200: {
content: {
- 'application/json':
- | components['schemas']['ONNXStableDiffusion1ModelConfig']
- | components['schemas']['StableDiffusion1ModelCheckpointConfig']
- | components['schemas']['StableDiffusion1ModelDiffusersConfig']
- | components['schemas']['VaeModelConfig']
- | components['schemas']['LoRAModelConfig']
- | components['schemas']['ControlNetModelCheckpointConfig']
- | components['schemas']['ControlNetModelDiffusersConfig']
- | components['schemas']['TextualInversionModelConfig']
- | components['schemas']['IPAdapterModelInvokeAIConfig']
- | components['schemas']['CLIPVisionModelDiffusersConfig']
- | components['schemas']['T2IAdapterModelDiffusersConfig']
- | components['schemas']['ONNXStableDiffusion2ModelConfig']
- | components['schemas']['StableDiffusion2ModelCheckpointConfig']
- | components['schemas']['StableDiffusion2ModelDiffusersConfig']
- | components['schemas']['StableDiffusionXLModelCheckpointConfig']
- | components['schemas']['StableDiffusionXLModelDiffusersConfig'];
+ "application/json": components["schemas"]["ONNXStableDiffusion1ModelConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelCheckpointConfig"] | components["schemas"]["ControlNetModelDiffusersConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["IPAdapterModelInvokeAIConfig"] | components["schemas"]["CLIPVisionModelDiffusersConfig"] | components["schemas"]["T2IAdapterModelDiffusersConfig"] | components["schemas"]["ONNXStableDiffusion2ModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusionXLModelCheckpointConfig"] | components["schemas"]["StableDiffusionXLModelDiffusersConfig"];
};
};
/** @description Bad request */
@@ -11573,7 +11222,7 @@ export type operations = {
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -11585,30 +11234,14 @@ export type operations = {
import_model: {
requestBody: {
content: {
- 'application/json': components['schemas']['Body_import_model'];
+ "application/json": components["schemas"]["Body_import_model"];
};
};
responses: {
/** @description The model imported successfully */
201: {
content: {
- 'application/json':
- | components['schemas']['ONNXStableDiffusion1ModelConfig']
- | components['schemas']['StableDiffusion1ModelCheckpointConfig']
- | components['schemas']['StableDiffusion1ModelDiffusersConfig']
- | components['schemas']['VaeModelConfig']
- | components['schemas']['LoRAModelConfig']
- | components['schemas']['ControlNetModelCheckpointConfig']
- | components['schemas']['ControlNetModelDiffusersConfig']
- | components['schemas']['TextualInversionModelConfig']
- | components['schemas']['IPAdapterModelInvokeAIConfig']
- | components['schemas']['CLIPVisionModelDiffusersConfig']
- | components['schemas']['T2IAdapterModelDiffusersConfig']
- | components['schemas']['ONNXStableDiffusion2ModelConfig']
- | components['schemas']['StableDiffusion2ModelCheckpointConfig']
- | components['schemas']['StableDiffusion2ModelDiffusersConfig']
- | components['schemas']['StableDiffusionXLModelCheckpointConfig']
- | components['schemas']['StableDiffusionXLModelDiffusersConfig'];
+ "application/json": components["schemas"]["ONNXStableDiffusion1ModelConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelCheckpointConfig"] | components["schemas"]["ControlNetModelDiffusersConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["IPAdapterModelInvokeAIConfig"] | components["schemas"]["CLIPVisionModelDiffusersConfig"] | components["schemas"]["T2IAdapterModelDiffusersConfig"] | components["schemas"]["ONNXStableDiffusion2ModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusionXLModelCheckpointConfig"] | components["schemas"]["StableDiffusionXLModelDiffusersConfig"];
};
};
/** @description The model could not be found */
@@ -11626,7 +11259,7 @@ export type operations = {
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
/** @description The model appeared to import successfully, but could not be found in the model manager */
@@ -11642,46 +11275,14 @@ export type operations = {
add_model: {
requestBody: {
content: {
- 'application/json':
- | components['schemas']['ONNXStableDiffusion1ModelConfig']
- | components['schemas']['StableDiffusion1ModelCheckpointConfig']
- | components['schemas']['StableDiffusion1ModelDiffusersConfig']
- | components['schemas']['VaeModelConfig']
- | components['schemas']['LoRAModelConfig']
- | components['schemas']['ControlNetModelCheckpointConfig']
- | components['schemas']['ControlNetModelDiffusersConfig']
- | components['schemas']['TextualInversionModelConfig']
- | components['schemas']['IPAdapterModelInvokeAIConfig']
- | components['schemas']['CLIPVisionModelDiffusersConfig']
- | components['schemas']['T2IAdapterModelDiffusersConfig']
- | components['schemas']['ONNXStableDiffusion2ModelConfig']
- | components['schemas']['StableDiffusion2ModelCheckpointConfig']
- | components['schemas']['StableDiffusion2ModelDiffusersConfig']
- | components['schemas']['StableDiffusionXLModelCheckpointConfig']
- | components['schemas']['StableDiffusionXLModelDiffusersConfig'];
+ "application/json": components["schemas"]["ONNXStableDiffusion1ModelConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelCheckpointConfig"] | components["schemas"]["ControlNetModelDiffusersConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["IPAdapterModelInvokeAIConfig"] | components["schemas"]["CLIPVisionModelDiffusersConfig"] | components["schemas"]["T2IAdapterModelDiffusersConfig"] | components["schemas"]["ONNXStableDiffusion2ModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusionXLModelCheckpointConfig"] | components["schemas"]["StableDiffusionXLModelDiffusersConfig"];
};
};
responses: {
/** @description The model added successfully */
201: {
content: {
- 'application/json':
- | components['schemas']['ONNXStableDiffusion1ModelConfig']
- | components['schemas']['StableDiffusion1ModelCheckpointConfig']
- | components['schemas']['StableDiffusion1ModelDiffusersConfig']
- | components['schemas']['VaeModelConfig']
- | components['schemas']['LoRAModelConfig']
- | components['schemas']['ControlNetModelCheckpointConfig']
- | components['schemas']['ControlNetModelDiffusersConfig']
- | components['schemas']['TextualInversionModelConfig']
- | components['schemas']['IPAdapterModelInvokeAIConfig']
- | components['schemas']['CLIPVisionModelDiffusersConfig']
- | components['schemas']['T2IAdapterModelDiffusersConfig']
- | components['schemas']['ONNXStableDiffusion2ModelConfig']
- | components['schemas']['StableDiffusion2ModelCheckpointConfig']
- | components['schemas']['StableDiffusion2ModelDiffusersConfig']
- | components['schemas']['StableDiffusionXLModelCheckpointConfig']
- | components['schemas']['StableDiffusionXLModelDiffusersConfig'];
+ "application/json": components["schemas"]["ONNXStableDiffusion1ModelConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelCheckpointConfig"] | components["schemas"]["ControlNetModelDiffusersConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["IPAdapterModelInvokeAIConfig"] | components["schemas"]["CLIPVisionModelDiffusersConfig"] | components["schemas"]["T2IAdapterModelDiffusersConfig"] | components["schemas"]["ONNXStableDiffusion2ModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusionXLModelCheckpointConfig"] | components["schemas"]["StableDiffusionXLModelDiffusersConfig"];
};
};
/** @description The model could not be found */
@@ -11695,7 +11296,7 @@ export type operations = {
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
/** @description The model appeared to add successfully, but could not be found in the model manager */
@@ -11716,9 +11317,9 @@ export type operations = {
};
path: {
/** @description Base model */
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
/** @description The type of model */
- model_type: components['schemas']['invokeai__backend__model_management__models__base__ModelType'];
+ model_type: components["schemas"]["invokeai__backend__model_management__models__base__ModelType"];
/** @description model name */
model_name: string;
};
@@ -11727,23 +11328,7 @@ export type operations = {
/** @description Model converted successfully */
200: {
content: {
- 'application/json':
- | components['schemas']['ONNXStableDiffusion1ModelConfig']
- | components['schemas']['StableDiffusion1ModelCheckpointConfig']
- | components['schemas']['StableDiffusion1ModelDiffusersConfig']
- | components['schemas']['VaeModelConfig']
- | components['schemas']['LoRAModelConfig']
- | components['schemas']['ControlNetModelCheckpointConfig']
- | components['schemas']['ControlNetModelDiffusersConfig']
- | components['schemas']['TextualInversionModelConfig']
- | components['schemas']['IPAdapterModelInvokeAIConfig']
- | components['schemas']['CLIPVisionModelDiffusersConfig']
- | components['schemas']['T2IAdapterModelDiffusersConfig']
- | components['schemas']['ONNXStableDiffusion2ModelConfig']
- | components['schemas']['StableDiffusion2ModelCheckpointConfig']
- | components['schemas']['StableDiffusion2ModelDiffusersConfig']
- | components['schemas']['StableDiffusionXLModelCheckpointConfig']
- | components['schemas']['StableDiffusionXLModelDiffusersConfig'];
+ "application/json": components["schemas"]["ONNXStableDiffusion1ModelConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelCheckpointConfig"] | components["schemas"]["ControlNetModelDiffusersConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["IPAdapterModelInvokeAIConfig"] | components["schemas"]["CLIPVisionModelDiffusersConfig"] | components["schemas"]["T2IAdapterModelDiffusersConfig"] | components["schemas"]["ONNXStableDiffusion2ModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusionXLModelCheckpointConfig"] | components["schemas"]["StableDiffusionXLModelDiffusersConfig"];
};
};
/** @description Bad request */
@@ -11757,7 +11342,7 @@ export type operations = {
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -11774,7 +11359,7 @@ export type operations = {
/** @description Directory searched successfully */
200: {
content: {
- 'application/json': string[];
+ "application/json": string[];
};
};
/** @description Invalid directory path */
@@ -11784,7 +11369,7 @@ export type operations = {
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -11798,7 +11383,7 @@ export type operations = {
/** @description paths retrieved successfully */
200: {
content: {
- 'application/json': string[];
+ "application/json": string[];
};
};
};
@@ -11813,7 +11398,7 @@ export type operations = {
/** @description synchronization successful */
201: {
content: {
- 'application/json': boolean;
+ "application/json": boolean;
};
};
};
@@ -11826,35 +11411,19 @@ export type operations = {
parameters: {
path: {
/** @description Base model */
- base_model: components['schemas']['invokeai__backend__model_management__models__base__BaseModelType'];
+ base_model: components["schemas"]["invokeai__backend__model_management__models__base__BaseModelType"];
};
};
requestBody: {
content: {
- 'application/json': components['schemas']['Body_merge_models'];
+ "application/json": components["schemas"]["Body_merge_models"];
};
};
responses: {
/** @description Model converted successfully */
200: {
content: {
- 'application/json':
- | components['schemas']['ONNXStableDiffusion1ModelConfig']
- | components['schemas']['StableDiffusion1ModelCheckpointConfig']
- | components['schemas']['StableDiffusion1ModelDiffusersConfig']
- | components['schemas']['VaeModelConfig']
- | components['schemas']['LoRAModelConfig']
- | components['schemas']['ControlNetModelCheckpointConfig']
- | components['schemas']['ControlNetModelDiffusersConfig']
- | components['schemas']['TextualInversionModelConfig']
- | components['schemas']['IPAdapterModelInvokeAIConfig']
- | components['schemas']['CLIPVisionModelDiffusersConfig']
- | components['schemas']['T2IAdapterModelDiffusersConfig']
- | components['schemas']['ONNXStableDiffusion2ModelConfig']
- | components['schemas']['StableDiffusion2ModelCheckpointConfig']
- | components['schemas']['StableDiffusion2ModelDiffusersConfig']
- | components['schemas']['StableDiffusionXLModelCheckpointConfig']
- | components['schemas']['StableDiffusionXLModelDiffusersConfig'];
+ "application/json": components["schemas"]["ONNXStableDiffusion1ModelConfig"] | components["schemas"]["StableDiffusion1ModelCheckpointConfig"] | components["schemas"]["StableDiffusion1ModelDiffusersConfig"] | components["schemas"]["VaeModelConfig"] | components["schemas"]["LoRAModelConfig"] | components["schemas"]["ControlNetModelCheckpointConfig"] | components["schemas"]["ControlNetModelDiffusersConfig"] | components["schemas"]["TextualInversionModelConfig"] | components["schemas"]["IPAdapterModelInvokeAIConfig"] | components["schemas"]["CLIPVisionModelDiffusersConfig"] | components["schemas"]["T2IAdapterModelDiffusersConfig"] | components["schemas"]["ONNXStableDiffusion2ModelConfig"] | components["schemas"]["StableDiffusion2ModelCheckpointConfig"] | components["schemas"]["StableDiffusion2ModelDiffusersConfig"] | components["schemas"]["StableDiffusionXLModelCheckpointConfig"] | components["schemas"]["StableDiffusionXLModelDiffusersConfig"];
};
};
/** @description Incompatible models */
@@ -11868,7 +11437,7 @@ export type operations = {
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -11881,28 +11450,26 @@ export type operations = {
parameters: {
query?: {
/** @description Base models to include */
- base_models?:
- | components['schemas']['invokeai__backend__model_manager__config__BaseModelType'][]
- | null;
+ base_models?: components["schemas"]["invokeai__backend__model_manager__config__BaseModelType"][] | null;
/** @description The type of model to get */
- model_type?:
- | components['schemas']['invokeai__backend__model_manager__config__ModelType']
- | null;
+ model_type?: components["schemas"]["invokeai__backend__model_manager__config__ModelType"] | null;
/** @description Exact match on the name of the model */
model_name?: string | null;
+ /** @description Exact match on the format of the model (e.g. 'diffusers') */
+ model_format?: string | null;
};
};
responses: {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['invokeai__app__api__routers__model_records__ModelsList'];
+ "application/json": components["schemas"]["invokeai__app__api__routers__model_records__ModelsList"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -11922,28 +11489,7 @@ export type operations = {
/** @description Success */
200: {
content: {
- 'application/json':
- | (
- | components['schemas']['MainDiffusersConfig']
- | components['schemas']['MainCheckpointConfig']
- )
- | (
- | components['schemas']['ONNXSD1Config']
- | components['schemas']['ONNXSD2Config']
- )
- | (
- | components['schemas']['VaeDiffusersConfig']
- | components['schemas']['VaeCheckpointConfig']
- )
- | (
- | components['schemas']['ControlNetDiffusersConfig']
- | components['schemas']['ControlNetCheckpointConfig']
- )
- | components['schemas']['LoRAConfig']
- | components['schemas']['TextualInversionConfig']
- | components['schemas']['IPAdapterConfig']
- | components['schemas']['CLIPVisionDiffusersConfig']
- | components['schemas']['T2IConfig'];
+ "application/json": (components["schemas"]["MainDiffusersConfig"] | components["schemas"]["MainCheckpointConfig"]) | (components["schemas"]["ONNXSD1Config"] | components["schemas"]["ONNXSD2Config"]) | (components["schemas"]["VaeDiffusersConfig"] | components["schemas"]["VaeCheckpointConfig"]) | (components["schemas"]["ControlNetDiffusersConfig"] | components["schemas"]["ControlNetCheckpointConfig"]) | components["schemas"]["LoRAConfig"] | components["schemas"]["TextualInversionConfig"] | components["schemas"]["IPAdapterConfig"] | components["schemas"]["CLIPVisionDiffusersConfig"] | components["schemas"]["T2IConfig"];
};
};
/** @description Bad request */
@@ -11957,7 +11503,7 @@ export type operations = {
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -11988,7 +11534,7 @@ export type operations = {
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -12006,56 +11552,14 @@ export type operations = {
};
requestBody: {
content: {
- 'application/json':
- | (
- | components['schemas']['MainDiffusersConfig']
- | components['schemas']['MainCheckpointConfig']
- )
- | (
- | components['schemas']['ONNXSD1Config']
- | components['schemas']['ONNXSD2Config']
- )
- | (
- | components['schemas']['VaeDiffusersConfig']
- | components['schemas']['VaeCheckpointConfig']
- )
- | (
- | components['schemas']['ControlNetDiffusersConfig']
- | components['schemas']['ControlNetCheckpointConfig']
- )
- | components['schemas']['LoRAConfig']
- | components['schemas']['TextualInversionConfig']
- | components['schemas']['IPAdapterConfig']
- | components['schemas']['CLIPVisionDiffusersConfig']
- | components['schemas']['T2IConfig'];
+ "application/json": (components["schemas"]["MainDiffusersConfig"] | components["schemas"]["MainCheckpointConfig"]) | (components["schemas"]["ONNXSD1Config"] | components["schemas"]["ONNXSD2Config"]) | (components["schemas"]["VaeDiffusersConfig"] | components["schemas"]["VaeCheckpointConfig"]) | (components["schemas"]["ControlNetDiffusersConfig"] | components["schemas"]["ControlNetCheckpointConfig"]) | components["schemas"]["LoRAConfig"] | components["schemas"]["TextualInversionConfig"] | components["schemas"]["IPAdapterConfig"] | components["schemas"]["CLIPVisionDiffusersConfig"] | components["schemas"]["T2IConfig"];
};
};
responses: {
/** @description The model was updated successfully */
200: {
content: {
- 'application/json':
- | (
- | components['schemas']['MainDiffusersConfig']
- | components['schemas']['MainCheckpointConfig']
- )
- | (
- | components['schemas']['ONNXSD1Config']
- | components['schemas']['ONNXSD2Config']
- )
- | (
- | components['schemas']['VaeDiffusersConfig']
- | components['schemas']['VaeCheckpointConfig']
- )
- | (
- | components['schemas']['ControlNetDiffusersConfig']
- | components['schemas']['ControlNetCheckpointConfig']
- )
- | components['schemas']['LoRAConfig']
- | components['schemas']['TextualInversionConfig']
- | components['schemas']['IPAdapterConfig']
- | components['schemas']['CLIPVisionDiffusersConfig']
- | components['schemas']['T2IConfig'];
+ "application/json": (components["schemas"]["MainDiffusersConfig"] | components["schemas"]["MainCheckpointConfig"]) | (components["schemas"]["ONNXSD1Config"] | components["schemas"]["ONNXSD2Config"]) | (components["schemas"]["VaeDiffusersConfig"] | components["schemas"]["VaeCheckpointConfig"]) | (components["schemas"]["ControlNetDiffusersConfig"] | components["schemas"]["ControlNetCheckpointConfig"]) | components["schemas"]["LoRAConfig"] | components["schemas"]["TextualInversionConfig"] | components["schemas"]["IPAdapterConfig"] | components["schemas"]["CLIPVisionDiffusersConfig"] | components["schemas"]["T2IConfig"];
};
};
/** @description Bad request */
@@ -12073,7 +11577,7 @@ export type operations = {
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -12085,56 +11589,14 @@ export type operations = {
add_model_record: {
requestBody: {
content: {
- 'application/json':
- | (
- | components['schemas']['MainDiffusersConfig']
- | components['schemas']['MainCheckpointConfig']
- )
- | (
- | components['schemas']['ONNXSD1Config']
- | components['schemas']['ONNXSD2Config']
- )
- | (
- | components['schemas']['VaeDiffusersConfig']
- | components['schemas']['VaeCheckpointConfig']
- )
- | (
- | components['schemas']['ControlNetDiffusersConfig']
- | components['schemas']['ControlNetCheckpointConfig']
- )
- | components['schemas']['LoRAConfig']
- | components['schemas']['TextualInversionConfig']
- | components['schemas']['IPAdapterConfig']
- | components['schemas']['CLIPVisionDiffusersConfig']
- | components['schemas']['T2IConfig'];
+ "application/json": (components["schemas"]["MainDiffusersConfig"] | components["schemas"]["MainCheckpointConfig"]) | (components["schemas"]["ONNXSD1Config"] | components["schemas"]["ONNXSD2Config"]) | (components["schemas"]["VaeDiffusersConfig"] | components["schemas"]["VaeCheckpointConfig"]) | (components["schemas"]["ControlNetDiffusersConfig"] | components["schemas"]["ControlNetCheckpointConfig"]) | components["schemas"]["LoRAConfig"] | components["schemas"]["TextualInversionConfig"] | components["schemas"]["IPAdapterConfig"] | components["schemas"]["CLIPVisionDiffusersConfig"] | components["schemas"]["T2IConfig"];
};
};
responses: {
/** @description The model added successfully */
201: {
content: {
- 'application/json':
- | (
- | components['schemas']['MainDiffusersConfig']
- | components['schemas']['MainCheckpointConfig']
- )
- | (
- | components['schemas']['ONNXSD1Config']
- | components['schemas']['ONNXSD2Config']
- )
- | (
- | components['schemas']['VaeDiffusersConfig']
- | components['schemas']['VaeCheckpointConfig']
- )
- | (
- | components['schemas']['ControlNetDiffusersConfig']
- | components['schemas']['ControlNetCheckpointConfig']
- )
- | components['schemas']['LoRAConfig']
- | components['schemas']['TextualInversionConfig']
- | components['schemas']['IPAdapterConfig']
- | components['schemas']['CLIPVisionDiffusersConfig']
- | components['schemas']['T2IConfig'];
+ "application/json": (components["schemas"]["MainDiffusersConfig"] | components["schemas"]["MainCheckpointConfig"]) | (components["schemas"]["ONNXSD1Config"] | components["schemas"]["ONNXSD2Config"]) | (components["schemas"]["VaeDiffusersConfig"] | components["schemas"]["VaeCheckpointConfig"]) | (components["schemas"]["ControlNetDiffusersConfig"] | components["schemas"]["ControlNetCheckpointConfig"]) | components["schemas"]["LoRAConfig"] | components["schemas"]["TextualInversionConfig"] | components["schemas"]["IPAdapterConfig"] | components["schemas"]["CLIPVisionDiffusersConfig"] | components["schemas"]["T2IConfig"];
};
};
/** @description There is already a model corresponding to this path or repo_id */
@@ -12148,7 +11610,7 @@ export type operations = {
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -12165,7 +11627,7 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['ModelInstallJob'][];
+ "application/json": components["schemas"]["ModelInstallJob"][];
};
};
};
@@ -12229,14 +11691,14 @@ export type operations = {
import_model_record: {
requestBody: {
content: {
- 'application/json': components['schemas']['Body_import_model_record'];
+ "application/json": components["schemas"]["Body_import_model_record"];
};
};
responses: {
/** @description The model imported successfully */
201: {
content: {
- 'application/json': components['schemas']['ModelInstallJob'];
+ "application/json": components["schemas"]["ModelInstallJob"];
};
};
/** @description There is already a model corresponding to this path or repo_id */
@@ -12250,7 +11712,7 @@ export type operations = {
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
/** @description The model appeared to import successfully, but could not be found in the model manager */
@@ -12268,7 +11730,7 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': unknown;
+ "application/json": unknown;
};
};
/** @description All completed and errored jobs have been pruned */
@@ -12291,7 +11753,7 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': unknown;
+ "application/json": unknown;
};
};
/** @description Model config record database resynced with files on disk */
@@ -12304,6 +11766,149 @@ export type operations = {
};
};
};
+ /**
+ * List Downloads
+ * @description Get a list of active and inactive jobs.
+ */
+ list_downloads: {
+ responses: {
+ /** @description Successful Response */
+ 200: {
+ content: {
+ "application/json": components["schemas"]["DownloadJob"][];
+ };
+ };
+ };
+ };
+ /**
+ * Prune Downloads
+ * @description Prune completed and errored jobs.
+ */
+ prune_downloads: {
+ responses: {
+ /** @description Successful Response */
+ 200: {
+ content: {
+ "application/json": unknown;
+ };
+ };
+ /** @description All completed jobs have been pruned */
+ 204: {
+ content: never;
+ };
+ /** @description Bad request */
+ 400: {
+ content: never;
+ };
+ };
+ };
+ /**
+ * Download
+ * @description Download the source URL to the file or directory indicted in dest.
+ */
+ download: {
+ requestBody: {
+ content: {
+ "application/json": components["schemas"]["Body_download"];
+ };
+ };
+ responses: {
+ /** @description Successful Response */
+ 200: {
+ content: {
+ "application/json": components["schemas"]["DownloadJob"];
+ };
+ };
+ /** @description Validation Error */
+ 422: {
+ content: {
+ "application/json": components["schemas"]["HTTPValidationError"];
+ };
+ };
+ };
+ };
+ /**
+ * Get Download Job
+ * @description Get a download job using its ID.
+ */
+ get_download_job: {
+ parameters: {
+ path: {
+ /** @description ID of the download job to fetch. */
+ id: number;
+ };
+ };
+ responses: {
+ /** @description Success */
+ 200: {
+ content: {
+ "application/json": components["schemas"]["DownloadJob"];
+ };
+ };
+ /** @description The requested download JobID could not be found */
+ 404: {
+ content: never;
+ };
+ /** @description Validation Error */
+ 422: {
+ content: {
+ "application/json": components["schemas"]["HTTPValidationError"];
+ };
+ };
+ };
+ };
+ /**
+ * Cancel Download Job
+ * @description Cancel a download job using its ID.
+ */
+ cancel_download_job: {
+ parameters: {
+ path: {
+ /** @description ID of the download job to cancel. */
+ id: number;
+ };
+ };
+ responses: {
+ /** @description Successful Response */
+ 200: {
+ content: {
+ "application/json": unknown;
+ };
+ };
+ /** @description Job has been cancelled */
+ 204: {
+ content: never;
+ };
+ /** @description The requested download JobID could not be found */
+ 404: {
+ content: never;
+ };
+ /** @description Validation Error */
+ 422: {
+ content: {
+ "application/json": components["schemas"]["HTTPValidationError"];
+ };
+ };
+ };
+ };
+ /**
+ * Cancel All Download Jobs
+ * @description Cancel all download jobs.
+ */
+ cancel_all_download_jobs: {
+ responses: {
+ /** @description Successful Response */
+ 200: {
+ content: {
+ "application/json": unknown;
+ };
+ };
+ /** @description Download jobs have been cancelled */
+ 204: {
+ content: never;
+ };
+ };
+ };
/**
* Upload Image
* @description Uploads an image
@@ -12312,7 +11917,7 @@ export type operations = {
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 board to add this image to, if any */
@@ -12325,14 +11930,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 */
@@ -12342,7 +11947,7 @@ export type operations = {
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -12362,13 +11967,13 @@ 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"];
};
};
};
@@ -12388,13 +11993,13 @@ 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"];
};
};
};
@@ -12412,20 +12017,20 @@ 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"];
};
};
};
@@ -12439,7 +12044,7 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': number;
+ "application/json": number;
};
};
};
@@ -12453,7 +12058,7 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': number;
+ "application/json": number;
};
};
};
@@ -12473,13 +12078,13 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['MetadataField'] | null;
+ "application/json": components["schemas"]["MetadataField"] | null;
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -12496,13 +12101,13 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['WorkflowWithoutID'] | null;
+ "application/json": components["schemas"]["WorkflowWithoutID"] | null;
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -12522,7 +12127,7 @@ export type operations = {
/** @description Return the full-resolution image */
200: {
content: {
- 'image/png': unknown;
+ "image/png": unknown;
};
};
/** @description Image not found */
@@ -12532,7 +12137,7 @@ export type operations = {
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -12552,7 +12157,7 @@ export type operations = {
/** @description Return the image thumbnail */
200: {
content: {
- 'image/webp': unknown;
+ "image/webp": unknown;
};
};
/** @description Image not found */
@@ -12562,7 +12167,7 @@ export type operations = {
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -12582,13 +12187,13 @@ 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"];
};
};
};
@@ -12601,9 +12206,9 @@ export type operations = {
parameters: {
query?: {
/** @description The origin of images to list. */
- image_origin?: components['schemas']['ResourceOrigin'] | null;
+ image_origin?: components["schemas"]["ResourceOrigin"] | null;
/** @description The categories of image to include. */
- categories?: components['schemas']['ImageCategory'][] | null;
+ categories?: components["schemas"]["ImageCategory"][] | null;
/** @description Whether to list intermediate images. */
is_intermediate?: boolean | null;
/** @description The board id to filter by. Use 'none' to find images without a board. */
@@ -12618,13 +12223,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"];
};
};
};
@@ -12633,20 +12238,20 @@ export type operations = {
delete_images_from_list: {
requestBody: {
content: {
- 'application/json': components['schemas']['Body_delete_images_from_list'];
+ "application/json": components["schemas"]["Body_delete_images_from_list"];
};
};
responses: {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['DeleteImagesFromListResult'];
+ "application/json": components["schemas"]["DeleteImagesFromListResult"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -12655,20 +12260,20 @@ export type operations = {
star_images_in_list: {
requestBody: {
content: {
- 'application/json': components['schemas']['Body_star_images_in_list'];
+ "application/json": components["schemas"]["Body_star_images_in_list"];
};
};
responses: {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['ImagesUpdatedFromListResult'];
+ "application/json": components["schemas"]["ImagesUpdatedFromListResult"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -12677,20 +12282,20 @@ export type operations = {
unstar_images_in_list: {
requestBody: {
content: {
- 'application/json': components['schemas']['Body_unstar_images_in_list'];
+ "application/json": components["schemas"]["Body_unstar_images_in_list"];
};
};
responses: {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['ImagesUpdatedFromListResult'];
+ "application/json": components["schemas"]["ImagesUpdatedFromListResult"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -12699,20 +12304,20 @@ export type operations = {
download_images_from_list: {
requestBody: {
content: {
- 'application/json': components['schemas']['Body_download_images_from_list'];
+ "application/json": components["schemas"]["Body_download_images_from_list"];
};
};
responses: {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['ImagesDownloaded'];
+ "application/json": components["schemas"]["ImagesDownloaded"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -12736,15 +12341,13 @@ 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"];
};
};
};
@@ -12764,13 +12367,13 @@ 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"];
};
};
};
@@ -12790,13 +12393,13 @@ 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"];
};
};
};
@@ -12820,13 +12423,13 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['DeleteBoardResult'];
+ "application/json": components["schemas"]["DeleteBoardResult"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -12844,20 +12447,20 @@ 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"];
};
};
};
@@ -12877,13 +12480,13 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': string[];
+ "application/json": string[];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -12895,20 +12498,20 @@ export type operations = {
add_image_to_board: {
requestBody: {
content: {
- 'application/json': components['schemas']['Body_add_image_to_board'];
+ "application/json": components["schemas"]["Body_add_image_to_board"];
};
};
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"];
};
};
};
@@ -12920,20 +12523,20 @@ export type operations = {
remove_image_from_board: {
requestBody: {
content: {
- 'application/json': components['schemas']['Body_remove_image_from_board'];
+ "application/json": components["schemas"]["Body_remove_image_from_board"];
};
};
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"];
};
};
};
@@ -12945,20 +12548,20 @@ export type operations = {
add_images_to_board: {
requestBody: {
content: {
- 'application/json': components['schemas']['Body_add_images_to_board'];
+ "application/json": components["schemas"]["Body_add_images_to_board"];
};
};
responses: {
/** @description Images were added to board successfully */
201: {
content: {
- 'application/json': components['schemas']['AddImagesToBoardResult'];
+ "application/json": components["schemas"]["AddImagesToBoardResult"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -12970,20 +12573,20 @@ export type operations = {
remove_images_from_board: {
requestBody: {
content: {
- 'application/json': components['schemas']['Body_remove_images_from_board'];
+ "application/json": components["schemas"]["Body_remove_images_from_board"];
};
};
responses: {
/** @description Images were removed from board successfully */
201: {
content: {
- 'application/json': components['schemas']['RemoveImagesFromBoardResult'];
+ "application/json": components["schemas"]["RemoveImagesFromBoardResult"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -12994,7 +12597,7 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['AppVersion'];
+ "application/json": components["schemas"]["AppVersion"];
};
};
};
@@ -13005,7 +12608,7 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['AppDependencyVersions'];
+ "application/json": components["schemas"]["AppDependencyVersions"];
};
};
};
@@ -13016,7 +12619,7 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['AppConfig'];
+ "application/json": components["schemas"]["AppConfig"];
};
};
};
@@ -13030,7 +12633,7 @@ export type operations = {
/** @description The operation was successful */
200: {
content: {
- 'application/json': components['schemas']['LogLevel'];
+ "application/json": components["schemas"]["LogLevel"];
};
};
};
@@ -13042,20 +12645,20 @@ export type operations = {
set_log_level: {
requestBody: {
content: {
- 'application/json': components['schemas']['LogLevel'];
+ "application/json": components["schemas"]["LogLevel"];
};
};
responses: {
/** @description The operation was successful */
200: {
content: {
- 'application/json': components['schemas']['LogLevel'];
+ "application/json": components["schemas"]["LogLevel"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -13069,7 +12672,7 @@ export type operations = {
/** @description The operation was successful */
200: {
content: {
- 'application/json': unknown;
+ "application/json": unknown;
};
};
};
@@ -13083,7 +12686,7 @@ export type operations = {
/** @description The operation was successful */
200: {
content: {
- 'application/json': unknown;
+ "application/json": unknown;
};
};
};
@@ -13097,7 +12700,7 @@ export type operations = {
/** @description The operation was successful */
200: {
content: {
- 'application/json': unknown;
+ "application/json": unknown;
};
};
};
@@ -13111,7 +12714,7 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['InvocationCacheStatus'];
+ "application/json": components["schemas"]["InvocationCacheStatus"];
};
};
};
@@ -13129,26 +12732,26 @@ export type operations = {
};
requestBody: {
content: {
- 'application/json': components['schemas']['Body_enqueue_batch'];
+ "application/json": components["schemas"]["Body_enqueue_batch"];
};
};
responses: {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['EnqueueBatchResult'];
+ "application/json": components["schemas"]["EnqueueBatchResult"];
};
};
/** @description Created */
201: {
content: {
- 'application/json': components['schemas']['EnqueueBatchResult'];
+ "application/json": components["schemas"]["EnqueueBatchResult"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -13163,9 +12766,7 @@ export type operations = {
/** @description The number of items to fetch */
limit?: number;
/** @description The status of items to fetch */
- status?:
- | ('pending' | 'in_progress' | 'completed' | 'failed' | 'canceled')
- | null;
+ status?: ("pending" | "in_progress" | "completed" | "failed" | "canceled") | null;
/** @description The pagination cursor */
cursor?: number | null;
/** @description The pagination cursor priority */
@@ -13180,13 +12781,13 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['CursorPaginatedResults_SessionQueueItemDTO_'];
+ "application/json": components["schemas"]["CursorPaginatedResults_SessionQueueItemDTO_"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -13206,13 +12807,13 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['SessionProcessorStatus'];
+ "application/json": components["schemas"]["SessionProcessorStatus"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -13232,13 +12833,13 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['SessionProcessorStatus'];
+ "application/json": components["schemas"]["SessionProcessorStatus"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -13256,20 +12857,20 @@ export type operations = {
};
requestBody: {
content: {
- 'application/json': components['schemas']['Body_cancel_by_batch_ids'];
+ "application/json": components["schemas"]["Body_cancel_by_batch_ids"];
};
};
responses: {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['CancelByBatchIDsResult'];
+ "application/json": components["schemas"]["CancelByBatchIDsResult"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -13289,13 +12890,13 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['ClearResult'];
+ "application/json": components["schemas"]["ClearResult"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -13315,13 +12916,13 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['PruneResult'];
+ "application/json": components["schemas"]["PruneResult"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -13341,13 +12942,13 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['SessionQueueItem'] | null;
+ "application/json": components["schemas"]["SessionQueueItem"] | null;
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -13367,13 +12968,13 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['SessionQueueItem'] | null;
+ "application/json": components["schemas"]["SessionQueueItem"] | null;
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -13393,13 +12994,13 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['SessionQueueAndProcessorStatus'];
+ "application/json": components["schemas"]["SessionQueueAndProcessorStatus"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -13421,13 +13022,13 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['BatchStatus'];
+ "application/json": components["schemas"]["BatchStatus"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -13449,13 +13050,13 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['SessionQueueItem'];
+ "application/json": components["schemas"]["SessionQueueItem"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -13477,13 +13078,13 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['SessionQueueItem'];
+ "application/json": components["schemas"]["SessionQueueItem"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -13503,13 +13104,13 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['WorkflowRecordDTO'];
+ "application/json": components["schemas"]["WorkflowRecordDTO"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -13529,13 +13130,13 @@ 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"];
};
};
};
@@ -13547,20 +13148,20 @@ export type operations = {
update_workflow: {
requestBody: {
content: {
- 'application/json': components['schemas']['Body_update_workflow'];
+ "application/json": components["schemas"]["Body_update_workflow"];
};
};
responses: {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['WorkflowRecordDTO'];
+ "application/json": components["schemas"]["WorkflowRecordDTO"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -13577,11 +13178,11 @@ export type operations = {
/** @description The number of workflows per page */
per_page?: number;
/** @description The attribute to order by */
- order_by?: components['schemas']['WorkflowRecordOrderBy'];
+ order_by?: components["schemas"]["WorkflowRecordOrderBy"];
/** @description The direction to order by */
- direction?: components['schemas']['SQLiteDirection'];
+ direction?: components["schemas"]["SQLiteDirection"];
/** @description The category of workflow to get */
- category?: components['schemas']['WorkflowCategory'];
+ category?: components["schemas"]["WorkflowCategory"];
/** @description The text to query by (matches name and description) */
query?: string | null;
};
@@ -13590,13 +13191,13 @@ export type operations = {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['PaginatedResults_WorkflowRecordListItemDTO_'];
+ "application/json": components["schemas"]["PaginatedResults_WorkflowRecordListItemDTO_"];
};
};
/** @description Validation Error */
422: {
content: {
- 'application/json': components['schemas']['HTTPValidationError'];
+ "application/json": components["schemas"]["HTTPValidationError"];
};
};
};
@@ -13608,20 +13209,20 @@ export type operations = {
create_workflow: {
requestBody: {
content: {
- 'application/json': components['schemas']['Body_create_workflow'];
+ "application/json": components["schemas"]["Body_create_workflow"];
};
};
responses: {
/** @description Successful Response */
200: {
content: {
- 'application/json': components['schemas']['WorkflowRecordDTO'];
+ "application/json": components["schemas"]["WorkflowRecordDTO"];
};
};
/** @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.ts b/invokeai/frontend/web/src/services/api/types.ts
index aaee06b626..ae2500ecc3 100644
--- a/invokeai/frontend/web/src/services/api/types.ts
+++ b/invokeai/frontend/web/src/services/api/types.ts
@@ -56,7 +56,6 @@ export type SubModelType = s['SubModelType'];
export type BaseModelType =
s['invokeai__backend__model_management__models__base__BaseModelType'];
export type MainModelField = s['MainModelField'];
-export type OnnxModelField = s['OnnxModelField'];
export type VAEModelField = s['VAEModelField'];
export type LoRAModelField = s['LoRAModelField'];
export type LoRAModelFormat = s['LoRAModelFormat'];
@@ -91,7 +90,6 @@ export type CheckpointModelConfig =
| s['StableDiffusion1ModelCheckpointConfig']
| s['StableDiffusion2ModelCheckpointConfig']
| s['StableDiffusionXLModelCheckpointConfig'];
-export type OnnxModelConfig = s['ONNXStableDiffusion1ModelConfig'];
export type MainModelConfig = DiffusersModelConfig | CheckpointModelConfig;
export type AnyModelConfig =
| LoRAModelConfig
@@ -100,8 +98,7 @@ export type AnyModelConfig =
| IPAdapterModelConfig
| T2IAdapterModelConfig
| TextualInversionModelConfig
- | MainModelConfig
- | OnnxModelConfig;
+ | MainModelConfig;
export type MergeModelConfig = s['Body_merge_models'];
export type ImportModelConfig = s['Body_import_model'];
@@ -137,13 +134,11 @@ export type CompelInvocation = s['CompelInvocation'];
export type DynamicPromptInvocation = s['DynamicPromptInvocation'];
export type NoiseInvocation = s['NoiseInvocation'];
export type DenoiseLatentsInvocation = s['DenoiseLatentsInvocation'];
-export type ONNXTextToLatentsInvocation = s['ONNXTextToLatentsInvocation'];
export type SDXLLoraLoaderInvocation = s['SDXLLoraLoaderInvocation'];
export type ImageToLatentsInvocation = s['ImageToLatentsInvocation'];
export type LatentsToImageInvocation = s['LatentsToImageInvocation'];
export type ImageCollectionInvocation = s['ImageCollectionInvocation'];
export type MainModelLoaderInvocation = s['MainModelLoaderInvocation'];
-export type OnnxModelLoaderInvocation = s['OnnxModelLoaderInvocation'];
export type LoraLoaderInvocation = s['LoraLoaderInvocation'];
export type ESRGANInvocation = s['ESRGANInvocation'];
export type DivideInvocation = s['DivideInvocation'];