From efb5f2d20215490e16dc0238125c6cc92211cb59 Mon Sep 17 00:00:00 2001 From: Mary Hipp Date: Tue, 27 Feb 2024 15:33:11 -0500 Subject: [PATCH] UI in MM to create trigger phrases --- invokeai/frontend/web/public/locales/en.json | 4 + .../modelManagerV2/subpanels/ModelPane.tsx | 2 +- .../ModelPanel/Metadata/ModelMetadata.tsx | 22 + .../ModelPanel/Metadata/TriggerPhrases.tsx | 106 + .../subpanels/ModelPanel/Model.tsx | 51 +- .../subpanels/ModelPanel/ModelView.tsx | 116 +- .../web/src/services/api/endpoints/models.ts | 19 + .../frontend/web/src/services/api/schema.ts | 2516 ++++++++++------- 8 files changed, 1791 insertions(+), 1045 deletions(-) create mode 100644 invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/Metadata/ModelMetadata.tsx create mode 100644 invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/Metadata/TriggerPhrases.tsx diff --git a/invokeai/frontend/web/public/locales/en.json b/invokeai/frontend/web/public/locales/en.json index 0fb9d8b8ae..dbc264f35d 100644 --- a/invokeai/frontend/web/public/locales/en.json +++ b/invokeai/frontend/web/public/locales/en.json @@ -78,6 +78,7 @@ "aboutDesc": "Using Invoke for work? Check out:", "aboutHeading": "Own Your Creative Power", "accept": "Accept", + "add": "Add", "advanced": "Advanced", "advancedOptions": "Advanced Options", "ai": "ai", @@ -768,6 +769,7 @@ "mergedModelName": "Merged Model Name", "mergedModelSaveLocation": "Save Location", "mergeModels": "Merge Models", + "metadata": "Metadata", "model": "Model", "modelAdded": "Model Added", "modelConversionFailed": "Model Conversion Failed", @@ -839,6 +841,8 @@ "statusConverting": "Converting", "syncModels": "Sync Models", "syncModelsDesc": "If your models are out of sync with the backend, you can refresh them up using this option. This is generally handy in cases where you add models to the InvokeAI root folder or autoimport directory after the application has booted.", + "triggerPhrases": "Trigger Phrases", + "typePhraseHere": "Type phrase here", "upcastAttention": "Upcast Attention", "updateModel": "Update Model", "useCustomConfig": "Use Custom Config", diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPane.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPane.tsx index 9cae8d2984..c19aceda11 100644 --- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPane.tsx +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPane.tsx @@ -8,7 +8,7 @@ export const ModelPane = () => { const selectedModelKey = useAppSelector((s) => s.modelmanagerV2.selectedModelKey); return ( - {selectedModelKey ? : } + {selectedModelKey ? : } ); }; diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/Metadata/ModelMetadata.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/Metadata/ModelMetadata.tsx new file mode 100644 index 0000000000..2284041e40 --- /dev/null +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/Metadata/ModelMetadata.tsx @@ -0,0 +1,22 @@ +import { Flex, Box } from '@invoke-ai/ui-library'; +import { skipToken } from '@reduxjs/toolkit/query'; +import { useAppSelector } from '../../../../../app/store/storeHooks'; +import { useGetModelMetadataQuery } from '../../../../../services/api/endpoints/models'; +import DataViewer from '../../../../gallery/components/ImageMetadataViewer/DataViewer'; +import { TriggerPhrases } from './TriggerPhrases'; + +export const ModelMetadata = () => { + const selectedModelKey = useAppSelector((s) => s.modelmanagerV2.selectedModelKey); + const { data: metadata } = useGetModelMetadataQuery(selectedModelKey ?? skipToken); + + return ( + <> + + + + + + + + ); +}; diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/Metadata/TriggerPhrases.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/Metadata/TriggerPhrases.tsx new file mode 100644 index 0000000000..0167adbd21 --- /dev/null +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/Metadata/TriggerPhrases.tsx @@ -0,0 +1,106 @@ +import { + Button, + Flex, + FormControl, + FormErrorMessage, + Input, + Tag, + TagCloseButton, + TagLabel, +} from '@invoke-ai/ui-library'; +import { useState, useMemo, useCallback } from 'react'; +import type { ChangeEvent } from 'react'; +import { ModelListHeader } from '../../ModelManagerPanel/ModelListHeader'; +import { skipToken } from '@reduxjs/toolkit/query'; +import { useAppSelector } from '../../../../../app/store/storeHooks'; +import { useGetModelMetadataQuery, useUpdateModelMetadataMutation } from '../../../../../services/api/endpoints/models'; +import { useTranslation } from 'react-i18next'; + +export const TriggerPhrases = () => { + const { t } = useTranslation(); + const selectedModelKey = useAppSelector((s) => s.modelmanagerV2.selectedModelKey); + const { data: metadata } = useGetModelMetadataQuery(selectedModelKey ?? skipToken); + const [phrase, setPhrase] = useState(''); + + const [editModelMetadata, { isLoading }] = useUpdateModelMetadataMutation(); + + const handlePhraseChange = useCallback((e: ChangeEvent) => { + setPhrase(e.target.value); + }, []); + + const triggerPhrases = useMemo(() => { + return metadata?.trigger_phrases || []; + }, [metadata?.trigger_phrases]); + + const errors = useMemo(() => { + const errors = []; + + if (phrase.length && triggerPhrases.includes(phrase)) { + errors.push('Phrase is already in list'); + } + + return errors; + }, [phrase, triggerPhrases]); + + const addTriggerPhrase = useCallback(async () => { + if (!selectedModelKey) { + return; + } + + if (!phrase.length || triggerPhrases.includes(phrase)) { + return; + } + + await editModelMetadata({ + key: selectedModelKey, + body: { trigger_phrases: [...triggerPhrases, phrase] }, + }).unwrap(); + setPhrase(''); + }, [editModelMetadata, selectedModelKey, phrase, triggerPhrases]); + + const removeTriggerPhrase = useCallback( + async (phraseToRemove: string) => { + if (!selectedModelKey) { + return; + } + + const filteredPhrases = triggerPhrases.filter((p) => p !== phraseToRemove); + + await editModelMetadata({ key: selectedModelKey, body: { trigger_phrases: filteredPhrases } }).unwrap(); + }, + [editModelMetadata, selectedModelKey, triggerPhrases] + ); + + return ( + + +
+ + + + + + + {!!errors.length && errors.map((error) => {error})} + + +
+ + + {triggerPhrases.map((phrase, index) => ( + + {phrase} + + + ))} + +
+ ); +}; diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/Model.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/Model.tsx index 6db804cccf..e0f6c04a0b 100644 --- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/Model.tsx +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/Model.tsx @@ -2,8 +2,57 @@ import { useAppSelector } from 'app/store/storeHooks'; import { ModelEdit } from './ModelEdit'; import { ModelView } from './ModelView'; +import { Tabs, TabList, Tab, TabPanels, TabPanel, Flex, Heading, Text, Box } from '@invoke-ai/ui-library'; +import { ModelMetadata } from './Metadata/ModelMetadata'; +import { skipToken } from '@reduxjs/toolkit/query'; +import { useGetModelConfigQuery } from '../../../../services/api/endpoints/models'; +import { ModelAttrView } from './ModelAttrView'; +import { useTranslation } from 'react-i18next'; export const Model = () => { + const { t } = useTranslation(); const selectedModelMode = useAppSelector((s) => s.modelmanagerV2.selectedModelMode); - return selectedModelMode === 'view' ? : ; + const selectedModelKey = useAppSelector((s) => s.modelmanagerV2.selectedModelKey); + const { data, isLoading } = useGetModelConfigQuery(selectedModelKey ?? skipToken); + + if (isLoading) { + return {t('common.loading')}; + } + + if (!data) { + return {t('common.somethingWentWrong')}; + } + + return ( + <> + + + {data.name} + + + {data.source && ( + + {t('modelManager.source')}: {data?.source} + + )} + + + + + + + + {t('modelManager.settings')} + {t('modelManager.metadata')} + + + + {selectedModelMode === 'view' ? : } + + + + + + + ); }; diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelView.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelView.tsx index 2acbfe8b3e..ef3f6e7f05 100644 --- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelView.tsx +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelView.tsx @@ -1,12 +1,11 @@ -import { Box, Button, Flex, Heading, Text } from '@invoke-ai/ui-library'; +import { Box, Button, Flex, Text } from '@invoke-ai/ui-library'; import { skipToken } from '@reduxjs/toolkit/query'; import { useAppDispatch, useAppSelector } from 'app/store/storeHooks'; -import DataViewer from 'features/gallery/components/ImageMetadataViewer/DataViewer'; import { setSelectedModelMode } from 'features/modelManagerV2/store/modelManagerV2Slice'; import { useCallback, useMemo } from 'react'; import { useTranslation } from 'react-i18next'; import { IoPencil } from 'react-icons/io5'; -import { useGetModelConfigQuery, useGetModelMetadataQuery } from 'services/api/endpoints/models'; +import { useGetModelConfigQuery } from 'services/api/endpoints/models'; import type { CheckpointModelConfig, ControlNetModelConfig, @@ -26,7 +25,6 @@ export const ModelView = () => { const dispatch = useAppDispatch(); const selectedModelKey = useAppSelector((s) => s.modelmanagerV2.selectedModelKey); const { data, isLoading } = useGetModelConfigQuery(selectedModelKey ?? skipToken); - const { data: metadata } = useGetModelMetadataQuery(selectedModelKey ?? skipToken); const modelData = useMemo(() => { if (!data) { @@ -74,84 +72,52 @@ export const ModelView = () => { } return ( - - - - {modelData.name} - - - {modelData.source && ( - - {t('modelManager.source')}: {modelData.source} - - )} - - + + + {modelData.type === 'main' && modelData.format === 'checkpoint' && } - - - - - - - - {t('modelManager.modelSettings')} - - - - - - - - - - - - {modelData.type === 'main' && ( - <> - - {modelData.format === 'diffusers' && ( - - )} - {modelData.format === 'checkpoint' && ( - - )} - - - - - - - - - - - - - )} - {modelData.type === 'ip_adapter' && ( + + + + + + + + + + {modelData.type === 'main' && ( + <> - - - )} - - - + {modelData.format === 'diffusers' && ( + + )} + {modelData.format === 'checkpoint' && ( + + )} - {metadata && ( - <> - - {t('modelManager.modelMetadata')} - - - - - - )} + + + + + + + + + + + + )} + {modelData.type === 'ip_adapter' && ( + + + + )} + + ); }; diff --git a/invokeai/frontend/web/src/services/api/endpoints/models.ts b/invokeai/frontend/web/src/services/api/endpoints/models.ts index 04c65b59f6..a41ec4e591 100644 --- a/invokeai/frontend/web/src/services/api/endpoints/models.ts +++ b/invokeai/frontend/web/src/services/api/endpoints/models.ts @@ -24,7 +24,15 @@ export type UpdateModelArg = { body: paths['/api/v2/models/i/{key}']['patch']['requestBody']['content']['application/json']; }; +export type UpdateModelMetadataArg = { + key: paths['/api/v2/models/i/{key}/metadata']['patch']['parameters']['path']['key']; + body: paths['/api/v2/models/i/{key}/metadata']['patch']['requestBody']['content']['application/json']; +}; + type UpdateModelResponse = paths['/api/v2/models/i/{key}']['patch']['responses']['200']['content']['application/json']; +type UpdateModelMetadataResponse = + paths['/api/v2/models/i/{key}/metadata']['patch']['responses']['200']['content']['application/json']; + type GetModelConfigResponse = paths['/api/v2/models/i/{key}']['get']['responses']['200']['content']['application/json']; type GetModelMetadataResponse = @@ -172,6 +180,16 @@ export const modelsApi = api.injectEndpoints({ }, invalidatesTags: ['Model'], }), + updateModelMetadata: build.mutation({ + query: ({ key, body }) => { + return { + url: buildModelsUrl(`i/${key}/metadata`), + method: 'PATCH', + body: body, + }; + }, + invalidatesTags: ['Model'], + }), installModel: build.mutation({ query: ({ source, config, access_token }) => { return { @@ -351,6 +369,7 @@ export const { useGetModelMetadataQuery, useDeleteModelImportMutation, usePruneModelImportsMutation, + useUpdateModelMetadataMutation, } = modelsApi; const upsertModelConfigs = ( diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.ts index 12227d1ae9..21c161ed34 100644 --- a/invokeai/frontend/web/src/services/api/schema.ts +++ b/invokeai/frontend/web/src/services/api/schema.ts @@ -3,36 +3,35 @@ * Do not make direct changes to the file. */ - export type paths = { - "/api/v1/utilities/dynamicprompts": { + '/api/v1/utilities/dynamicprompts': { /** * Parse Dynamicprompts * @description Creates a batch process */ - post: operations["parse_dynamicprompts"]; + post: operations['parse_dynamicprompts']; }; - "/api/v2/models/": { + '/api/v2/models/': { /** * List Model Records * @description Get a list of models. */ - get: operations["list_model_records"]; + get: operations['list_model_records']; }; - "/api/v2/models/get_by_attrs": { + '/api/v2/models/get_by_attrs': { /** * Get Model Records By Attrs * @description Gets a model by its attributes. The main use of this route is to provide backwards compatibility with the old * model manager, which identified models by a combination of name, base and type. */ - get: operations["get_model_records_by_attrs"]; + get: operations['get_model_records_by_attrs']; }; - "/api/v2/models/i/{key}": { + '/api/v2/models/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. @@ -40,53 +39,58 @@ 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/v2/models/summary": { + '/api/v2/models/summary': { /** * List Model Summary * @description Gets a page of model summary data. */ - get: operations["list_model_summary"]; + get: operations['list_model_summary']; }; - "/api/v2/models/i/{key}/metadata": { + '/api/v2/models/i/{key}/metadata': { /** * Get Model Metadata * @description Get a model metadata object. */ - get: operations["get_model_metadata"]; + get: operations['get_model_metadata']; + /** + * Update Model Metadata + * @description Updates or creates a model metadata object. + */ + patch: operations['update_model_metadata']; }; - "/api/v2/models/tags": { + '/api/v2/models/tags': { /** * List Tags * @description Get a unique set of all the model tags. */ - get: operations["list_tags"]; + get: operations['list_tags']; }; - "/api/v2/models/scan_folder": { + '/api/v2/models/scan_folder': { /** Scan For Models */ - get: operations["scan_for_models"]; + get: operations['scan_for_models']; }; - "/api/v2/models/tags/search": { + '/api/v2/models/tags/search': { /** * Search By Metadata Tags * @description Get a list of models. */ - get: operations["search_by_metadata_tags"]; + get: operations['search_by_metadata_tags']; }; - "/api/v2/models/i/": { + '/api/v2/models/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/v2/models/install": { + '/api/v2/models/install': { /** * Install Model * @description Install a model using a string identifier. @@ -115,9 +119,9 @@ export type paths = { * See the documentation for `import_model_record` for more information on * interpreting the job information returned by this route. */ - post: operations["install_model"]; + post: operations['install_model']; }; - "/api/v2/models/import": { + '/api/v2/models/import': { /** * List Model Install Jobs * @description Return the list of model install jobs. @@ -139,27 +143,27 @@ export type paths = { * * See the example and schema below for more information. */ - get: operations["list_model_install_jobs"]; + get: operations['list_model_install_jobs']; /** * 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/v2/models/import/{id}": { + '/api/v2/models/import/{id}': { /** * Get Model Install Job * @description Return model install job corresponding to the given source. See the documentation for 'List Model Install Jobs' * for information on the format of the return value. */ - get: operations["get_model_install_job"]; + get: operations['get_model_install_job']; /** * Cancel Model Install Job * @description Cancel the model install job(s) corresponding to the given job ID. */ - delete: operations["cancel_model_install_job"]; + delete: operations['cancel_model_install_job']; }; - "/api/v2/models/sync": { + '/api/v2/models/sync': { /** * Sync Models To Config * @description Traverse the models and autoimport directories. @@ -167,18 +171,18 @@ export type paths = { * 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/v2/models/convert/{key}": { + '/api/v2/models/convert/{key}': { /** * Convert Model * @description Permanently convert a model into diffusers format, replacing the safetensors version. * Note that during the conversion process the key and model hash will change. * The return value is the model configuration for the converted model. */ - put: operations["convert_model"]; + put: operations['convert_model']; }; - "/api/v2/models/merge": { + '/api/v2/models/merge': { /** * Merge * @description Merge diffusers models. The process is controlled by a set parameters provided in the body of the request. @@ -193,386 +197,386 @@ export type paths = { * merge_dest_directory Specify a directory to store the merged model in [models directory] * ``` */ - put: operations["merge"]; + put: operations['merge']; }; - "/api/v1/download_queue/": { + '/api/v1/download_queue/': { /** * List Downloads * @description Get a list of active and inactive jobs. */ - get: operations["list_downloads"]; + get: operations['list_downloads']; /** * Prune Downloads * @description Prune completed and errored jobs. */ - patch: operations["prune_downloads"]; + patch: operations['prune_downloads']; }; - "/api/v1/download_queue/i/": { + '/api/v1/download_queue/i/': { /** * Download * @description Download the source URL to the file or directory indicted in dest. */ - post: operations["download"]; + post: operations['download']; }; - "/api/v1/download_queue/i/{id}": { + '/api/v1/download_queue/i/{id}': { /** * Get Download Job * @description Get a download job using its ID. */ - get: operations["get_download_job"]; + get: operations['get_download_job']; /** * Cancel Download Job * @description Cancel a download job using its ID. */ - delete: operations["cancel_download_job"]; + delete: operations['cancel_download_job']; }; - "/api/v1/download_queue/i": { + '/api/v1/download_queue/i': { /** * Cancel All Download Jobs * @description Cancel all download jobs. */ - delete: operations["cancel_all_download_jobs"]; + delete: operations['cancel_all_download_jobs']; }; - "/api/v1/images/upload": { + '/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/images/download/{bulk_download_item_name}": { + '/api/v1/images/download/{bulk_download_item_name}': { /** * Get Bulk Download Item * @description Gets a bulk download zip file */ - get: operations["get_bulk_download_item"]; + get: operations['get_bulk_download_item']; }; - "/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']; }; }; -type webhooks = Record; +export type webhooks = Record; export type components = { schemas: { @@ -628,7 +632,7 @@ export type components = { * @default add * @constant */ - type: "add"; + type: 'add'; }; /** * AppConfig @@ -644,7 +648,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 @@ -757,20 +761,25 @@ export type components = { * Tags * @description tags provided by model source */ - tags: string[]; + tags?: string[] | null; + /** + * Trigger Phrases + * @description trigger phrases for this model + */ + trigger_phrases?: string[] | null; /** * Type * @default basemetadata * @constant */ - type?: "basemetadata"; + type?: 'basemetadata'; }; /** * BaseModelType * @description Base model type. * @enum {string} */ - BaseModelType: "any" | "sd-1" | "sd-2" | "sdxl" | "sdxl-refiner"; + BaseModelType: 'any' | 'sd-1' | 'sd-2' | 'sdxl' | 'sdxl-refiner'; /** Batch */ Batch: { /** @@ -782,11 +791,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 @@ -861,9 +870,9 @@ export type components = { */ BlankImageInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -899,7 +908,7 @@ export type components = { * @default RGB * @enum {string} */ - mode?: "RGB" | "RGBA"; + mode?: 'RGB' | 'RGBA'; /** * @description The color of the image * @default { @@ -909,13 +918,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 @@ -940,9 +949,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. @@ -954,7 +963,7 @@ export type components = { * @default lblend * @constant */ - type: "lblend"; + type: 'lblend'; }; /** BoardChanges */ BoardChanges: { @@ -1058,7 +1067,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: { @@ -1109,7 +1118,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 @@ -1142,7 +1151,7 @@ export type components = { */ force?: boolean; /** @description Interpolation method */ - interp?: components["schemas"]["MergeInterpolationMethod"] | null; + interp?: components['schemas']['MergeInterpolationMethod'] | null; /** * Merge Dest Directory * @description Save the merged model to the designated directory (with 'merged_model_name' appended) @@ -1204,7 +1213,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: { @@ -1247,7 +1256,7 @@ export type components = { * @default boolean_collection * @constant */ - type: "boolean_collection"; + type: 'boolean_collection'; }; /** * BooleanCollectionOutput @@ -1264,7 +1273,7 @@ export type components = { * @default boolean_collection_output * @constant */ - type: "boolean_collection_output"; + type: 'boolean_collection_output'; }; /** * Boolean Primitive @@ -1299,7 +1308,7 @@ export type components = { * @default boolean * @constant */ - type: "boolean"; + type: 'boolean'; }; /** * BooleanOutput @@ -1316,7 +1325,7 @@ export type components = { * @default boolean_output * @constant */ - type: "boolean_output"; + type: 'boolean_output'; }; /** * CLIPOutput @@ -1327,13 +1336,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 @@ -1351,18 +1360,18 @@ export type components = { */ name: string; /** @description base model */ - base: components["schemas"]["BaseModelType"]; + base: components['schemas']['BaseModelType']; /** * Type * @default clip_vision * @constant */ - type: "clip_vision"; + type: 'clip_vision'; /** * Format * @constant */ - format: "diffusers"; + format: 'diffusers'; /** * Key * @description unique key for model @@ -1409,9 +1418,9 @@ export type components = { */ CV2InfillInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -1430,13 +1439,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 @@ -1495,7 +1504,7 @@ export type components = { * @default calculate_image_tiles_even_split * @constant */ - type: "calculate_image_tiles_even_split"; + type: 'calculate_image_tiles_even_split'; }; /** * Calculate Image Tiles @@ -1554,7 +1563,7 @@ export type components = { * @default calculate_image_tiles * @constant */ - type: "calculate_image_tiles"; + type: 'calculate_image_tiles'; }; /** * Calculate Image Tiles Minimum Overlap @@ -1613,7 +1622,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: { @@ -1621,13 +1630,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 @@ -1646,9 +1655,9 @@ export type components = { */ CannyImageProcessorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -1667,7 +1676,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) @@ -1685,7 +1694,7 @@ export type components = { * @default canny_image_processor * @constant */ - type: "canny_image_processor"; + type: 'canny_image_processor'; }; /** * Canvas Paste Back @@ -1693,9 +1702,9 @@ export type components = { */ CanvasPasteBackInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -1714,11 +1723,11 @@ export type components = { */ use_cache?: boolean; /** @description The source image */ - source_image?: components["schemas"]["ImageField"]; + source_image?: components['schemas']['ImageField']; /** @description The target image */ - target_image?: components["schemas"]["ImageField"]; + target_image?: components['schemas']['ImageField']; /** @description The mask to use when pasting */ - mask?: components["schemas"]["ImageField"]; + mask?: components['schemas']['ImageField']; /** * Mask Blur * @description The amount to blur the mask by @@ -1730,7 +1739,7 @@ export type components = { * @default canvas_paste_back * @constant */ - type: "canvas_paste_back"; + type: 'canvas_paste_back'; }; /** * Center Pad or Crop Image @@ -1755,7 +1764,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) @@ -1785,7 +1794,7 @@ export type components = { * @default img_pad_crop * @constant */ - type: "img_pad_crop"; + type: 'img_pad_crop'; }; /** * CivitaiMetadata @@ -1806,18 +1815,23 @@ export type components = { * Tags * @description tags provided by model source */ - tags: string[]; + tags?: string[] | null; + /** + * Trigger Phrases + * @description trigger phrases for this model + */ + trigger_phrases?: string[] | null; /** * Files * @description model files and their sizes */ - files?: components["schemas"]["RemoteModelFile"][]; + files?: components['schemas']['RemoteModelFile'][]; /** * Type * @default civitai * @constant */ - type?: "civitai"; + type?: 'civitai'; /** * Id * @description Civitai version identifier @@ -1868,7 +1882,7 @@ export type components = { */ nsfw?: boolean; /** @description license terms */ - restrictions?: components["schemas"]["LicenseRestrictions"]; + restrictions?: components['schemas']['LicenseRestrictions']; /** * Trained Words * @description words to trigger the model @@ -1907,7 +1921,7 @@ export type components = { CivitaiModelSource: { /** Version Id */ version_id: number; - variant?: components["schemas"]["ModelRepoVariant"] | null; + variant?: components['schemas']['ModelRepoVariant'] | null; /** Access Token */ access_token?: string | null; /** @@ -1915,7 +1929,7 @@ export type components = { * @default civitai * @constant */ - type?: "civitai"; + type?: 'civitai'; }; /** * ClearResult @@ -1931,9 +1945,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 @@ -1943,7 +1957,7 @@ export type components = { * Loras * @description Loras to apply on model loading */ - loras: components["schemas"]["LoraInfo"][]; + loras: components['schemas']['LoraInfo'][]; }; /** * CLIP Skip @@ -1971,7 +1985,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 @@ -1983,7 +1997,7 @@ export type components = { * @default clip_skip * @constant */ - type: "clip_skip"; + type: 'clip_skip'; }; /** * ClipSkipInvocationOutput @@ -1995,13 +2009,13 @@ export type components = { * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count * @default null */ - 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 @@ -2041,7 +2055,7 @@ export type components = { * @default collect * @constant */ - type: "collect"; + type: 'collect'; }; /** CollectInvocationOutput */ CollectInvocationOutput: { @@ -2055,7 +2069,7 @@ export type components = { * @default collect_output * @constant */ - type: "collect_output"; + type: 'collect_output'; }; /** * ColorCollectionOutput @@ -2066,13 +2080,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 @@ -2081,9 +2095,9 @@ export type components = { */ ColorCorrectInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -2102,11 +2116,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 @@ -2118,7 +2132,7 @@ export type components = { * @default color_correct * @constant */ - type: "color_correct"; + type: 'color_correct'; }; /** * ColorField @@ -2177,13 +2191,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 @@ -2191,9 +2205,9 @@ export type components = { */ ColorMapImageProcessorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -2212,7 +2226,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 @@ -2224,7 +2238,7 @@ export type components = { * @default color_map_image_processor * @constant */ - type: "color_map_image_processor"; + type: 'color_map_image_processor'; }; /** * ColorOutput @@ -2232,20 +2246,20 @@ 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'; }; /** * CommercialUsage * @description Type of commercial usage allowed. * @enum {string} */ - CommercialUsage: "None" | "Image" | "Rent" | "RentCivit" | "Sell"; + CommercialUsage: 'None' | 'Image' | 'Rent' | 'RentCivit' | 'Sell'; /** * Prompt * @description Parse prompt using compel package to conditioning. @@ -2278,13 +2292,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 @@ -2313,13 +2327,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 @@ -2330,13 +2344,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 @@ -2372,13 +2386,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 @@ -2386,13 +2400,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 @@ -2400,9 +2414,9 @@ export type components = { */ ContentShuffleImageProcessorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -2421,7 +2435,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 @@ -2457,14 +2471,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 @@ -2489,14 +2503,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 @@ -2514,19 +2528,19 @@ export type components = { */ name: string; /** @description base model */ - base: components["schemas"]["BaseModelType"]; + base: components['schemas']['BaseModelType']; /** * Type * @default controlnet * @constant */ - type: "controlnet"; + type: 'controlnet'; /** * Format * @default checkpoint * @constant */ - format: "checkpoint"; + format: 'checkpoint'; /** * Key * @description unique key for model @@ -2580,19 +2594,19 @@ export type components = { */ name: string; /** @description base model */ - base: components["schemas"]["BaseModelType"]; + base: components['schemas']['BaseModelType']; /** * Type * @default controlnet * @constant */ - type: "controlnet"; + type: 'controlnet'; /** * Format * @default diffusers * @constant */ - format: "diffusers"; + format: 'diffusers'; /** * Key * @description unique key for model @@ -2625,7 +2639,7 @@ export type components = { */ last_modified: number | null; /** @default */ - repo_variant?: components["schemas"]["ModelRepoVariant"] | null; + repo_variant?: components['schemas']['ModelRepoVariant'] | null; }; /** * ControlNet @@ -2650,9 +2664,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 @@ -2677,20 +2691,20 @@ 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'; }; /** * ControlNetModelField @@ -2709,13 +2723,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 @@ -2743,7 +2757,18 @@ 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 @@ -2810,27 +2835,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 @@ -2842,7 +2867,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. @@ -2869,7 +2894,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 @@ -2905,7 +2930,7 @@ export type components = { * @default core_metadata * @constant */ - type: "core_metadata"; + type: 'core_metadata'; [key: string]: unknown; }; /** @@ -2931,11 +2956,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) @@ -2953,7 +2978,7 @@ export type components = { * @default create_denoise_mask * @constant */ - type: "create_denoise_mask"; + type: 'create_denoise_mask'; }; /** * Create Gradient Mask @@ -2978,7 +3003,7 @@ export type components = { */ use_cache?: boolean; /** @description Image which will be masked */ - mask?: components["schemas"]["ImageField"]; + mask?: components['schemas']['ImageField']; /** * Edge Radius * @description How far to blur/expand the edges of the mask @@ -2990,7 +3015,7 @@ export type components = { * @default Gaussian Blur * @enum {string} */ - coherence_mode?: "Gaussian Blur" | "Box Blur" | "Staged"; + coherence_mode?: 'Gaussian Blur' | 'Box Blur' | 'Staged'; /** * Minimum Denoise * @description Minimum denoise level for the coherence region @@ -3002,7 +3027,7 @@ export type components = { * @default create_gradient_mask * @constant */ - type: "create_gradient_mask"; + type: 'create_gradient_mask'; }; /** * Crop Latents @@ -3028,7 +3053,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. @@ -3054,7 +3079,7 @@ export type components = { * @default crop_latents * @constant */ - type: "crop_latents"; + type: 'crop_latents'; }; /** CursorPaginatedResults[SessionQueueItemDTO] */ CursorPaginatedResults_SessionQueueItemDTO_: { @@ -3072,7 +3097,7 @@ export type components = { * Items * @description Items */ - items: components["schemas"]["SessionQueueItemDTO"][]; + items: components['schemas']['SessionQueueItemDTO'][]; }; /** * OpenCV Inpaint @@ -3080,9 +3105,9 @@ export type components = { */ CvInpaintInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -3101,15 +3126,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'; }; /** * DW Openpose Image Processor @@ -3117,9 +3142,9 @@ export type components = { */ DWOpenposeImageProcessorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -3138,7 +3163,7 @@ export type components = { */ use_cache?: boolean; /** @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Draw Body * @default true @@ -3165,7 +3190,7 @@ export type components = { * @default dw_openpose_image_processor * @constant */ - type: "dw_openpose_image_processor"; + type: 'dw_openpose_image_processor'; }; /** DeleteBoardResult */ DeleteBoardResult: { @@ -3213,11 +3238,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 @@ -3248,24 +3273,47 @@ 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 @@ -3273,15 +3321,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 @@ -3312,13 +3360,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'; }; /** * Depth Anything Processor @@ -3326,9 +3374,9 @@ export type components = { */ DepthAnythingImageProcessorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -3347,14 +3395,14 @@ export type components = { */ use_cache?: boolean; /** @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Model Size * @description The size of the depth model to use * @default small * @enum {string} */ - model_size?: "large" | "base" | "small"; + model_size?: 'large' | 'base' | 'small'; /** * Resolution * @description Pixel resolution for output image @@ -3371,7 +3419,7 @@ export type components = { * @default depth_anything_image_processor * @constant */ - type: "depth_anything_image_processor"; + type: 'depth_anything_image_processor'; }; /** * Divide Integers @@ -3412,7 +3460,7 @@ export type components = { * @default div * @constant */ - type: "div"; + type: 'div'; }; /** * DownloadJob @@ -3452,7 +3500,7 @@ export type components = { * @description Status of the download * @default waiting */ - status?: components["schemas"]["DownloadJobStatus"]; + status?: components['schemas']['DownloadJobStatus']; /** * Download Path * @description Final location of downloaded file @@ -3501,7 +3549,7 @@ export type components = { * @description State of a download job. * @enum {string} */ - DownloadJobStatus: "waiting" | "running" | "completed" | "cancelled" | "error"; + DownloadJobStatus: 'waiting' | 'running' | 'completed' | 'cancelled' | 'error'; /** * Dynamic Prompt * @description Parses a prompt using adieyal/dynamicprompts' random or combinatorial generator @@ -3546,7 +3594,7 @@ export type components = { * @default dynamic_prompt * @constant */ - type: "dynamic_prompt"; + type: 'dynamic_prompt'; }; /** DynamicPromptsResponse */ DynamicPromptsResponse: { @@ -3561,9 +3609,9 @@ export type components = { */ ESRGANInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -3582,14 +3630,18 @@ 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) @@ -3601,14 +3653,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: { @@ -3641,7 +3693,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 @@ -3661,9 +3713,9 @@ export type components = { */ FaceIdentifierInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -3682,7 +3734,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) @@ -3700,7 +3752,7 @@ export type components = { * @default face_identifier * @constant */ - type: "face_identifier"; + type: 'face_identifier'; }; /** * FaceMask @@ -3708,7 +3760,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. @@ -3727,7 +3779,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. @@ -3769,7 +3821,7 @@ export type components = { * @default face_mask_detection * @constant */ - type: "face_mask_detection"; + type: 'face_mask_detection'; }; /** * FaceMaskOutput @@ -3777,7 +3829,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 @@ -3793,9 +3845,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 @@ -3803,7 +3855,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. @@ -3822,7 +3874,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. @@ -3864,7 +3916,7 @@ export type components = { * @default face_off * @constant */ - type: "face_off"; + type: 'face_off'; }; /** * FaceOffOutput @@ -3872,7 +3924,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 @@ -3888,9 +3940,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 @@ -3935,7 +3987,7 @@ export type components = { * @default float_collection * @constant */ - type: "float_collection"; + type: 'float_collection'; }; /** * FloatCollectionOutput @@ -3952,7 +4004,7 @@ export type components = { * @default float_collection_output * @constant */ - type: "float_collection_output"; + type: 'float_collection_output'; }; /** * Float Primitive @@ -3987,7 +4039,7 @@ export type components = { * @default float * @constant */ - type: "float"; + type: 'float'; }; /** * Float Range @@ -4034,7 +4086,7 @@ export type components = { * @default float_range * @constant */ - type: "float_range"; + type: 'float_range'; }; /** * Float Math @@ -4064,7 +4116,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 @@ -4082,7 +4134,7 @@ export type components = { * @default float_math * @constant */ - type: "float_math"; + type: 'float_math'; }; /** * FloatOutput @@ -4099,7 +4151,7 @@ export type components = { * @default float_output * @constant */ - type: "float_output"; + type: 'float_output'; }; /** * Float To Integer @@ -4141,13 +4193,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'; }; /** FoundModel */ FoundModel: { @@ -4220,7 +4272,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. @@ -4250,7 +4302,7 @@ export type components = { * @default freeu * @constant */ - type: "freeu"; + type: 'freeu'; }; /** Graph */ Graph: { @@ -4264,13 +4316,141 @@ export type components = { * @description The nodes in this graph */ nodes: { - [key: string]: components["schemas"]["ColorInvocation"] | components["schemas"]["CoreMetadataInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["SDXLLoraLoaderInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["FloatInvocation"] | components["schemas"]["ColorMapImageProcessorInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["DWOpenposeImageProcessorInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["DepthAnythingImageProcessorInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"] | components["schemas"]["StringInvocation"] | components["schemas"]["MergeTilesToImageInvocation"]; + [key: string]: + | components['schemas']['InfillColorInvocation'] + | components['schemas']['IPAdapterInvocation'] + | components['schemas']['LatentsInvocation'] + | components['schemas']['RangeInvocation'] + | components['schemas']['StringSplitInvocation'] + | components['schemas']['ShowImageInvocation'] + | components['schemas']['CenterPadCropInvocation'] + | components['schemas']['InfillPatchMatchInvocation'] + | components['schemas']['StringSplitNegInvocation'] + | components['schemas']['CvInpaintInvocation'] + | components['schemas']['RangeOfSizeInvocation'] + | components['schemas']['SaveImageInvocation'] + | components['schemas']['StepParamEasingInvocation'] + | components['schemas']['FloatCollectionInvocation'] + | components['schemas']['ImageConvertInvocation'] + | components['schemas']['StringJoinThreeInvocation'] + | components['schemas']['SegmentAnythingProcessorInvocation'] + | components['schemas']['ResizeLatentsInvocation'] + | components['schemas']['SubtractInvocation'] + | components['schemas']['ImageWatermarkInvocation'] + | components['schemas']['CalculateImageTilesInvocation'] + | components['schemas']['ImageCollectionInvocation'] + | components['schemas']['LoraLoaderInvocation'] + | components['schemas']['ImageScaleInvocation'] + | components['schemas']['TileToPropertiesInvocation'] + | components['schemas']['MediapipeFaceProcessorInvocation'] + | components['schemas']['RandomRangeInvocation'] + | components['schemas']['DynamicPromptInvocation'] + | components['schemas']['SDXLRefinerModelLoaderInvocation'] + | components['schemas']['FaceMaskInvocation'] + | components['schemas']['ImageToLatentsInvocation'] + | components['schemas']['ImageLerpInvocation'] + | components['schemas']['RandomFloatInvocation'] + | components['schemas']['BooleanCollectionInvocation'] + | components['schemas']['CannyImageProcessorInvocation'] + | components['schemas']['FaceOffInvocation'] + | components['schemas']['SDXLRefinerCompelPromptInvocation'] + | components['schemas']['CV2InfillInvocation'] + | components['schemas']['LatentsCollectionInvocation'] + | components['schemas']['MaskEdgeInvocation'] + | components['schemas']['PromptsFromFileInvocation'] + | components['schemas']['T2IAdapterInvocation'] + | components['schemas']['ImageMultiplyInvocation'] + | components['schemas']['MultiplyInvocation'] + | components['schemas']['MergeMetadataInvocation'] + | components['schemas']['IterateInvocation'] + | components['schemas']['MaskFromAlphaInvocation'] + | components['schemas']['CanvasPasteBackInvocation'] + | components['schemas']['MidasDepthImageProcessorInvocation'] + | components['schemas']['ImagePasteInvocation'] + | components['schemas']['ImageHueAdjustmentInvocation'] + | components['schemas']['SDXLModelLoaderInvocation'] + | components['schemas']['StringJoinInvocation'] + | components['schemas']['ColorMapImageProcessorInvocation'] + | components['schemas']['ScaleLatentsInvocation'] + | components['schemas']['BlankImageInvocation'] + | components['schemas']['BlendLatentsInvocation'] + | components['schemas']['ESRGANInvocation'] + | components['schemas']['ContentShuffleImageProcessorInvocation'] + | components['schemas']['CreateDenoiseMaskInvocation'] + | components['schemas']['SDXLLoraLoaderInvocation'] + | components['schemas']['UnsharpMaskInvocation'] + | components['schemas']['ColorCorrectInvocation'] + | components['schemas']['CalculateImageTilesEvenSplitInvocation'] + | components['schemas']['AddInvocation'] + | components['schemas']['SchedulerInvocation'] + | components['schemas']['NoiseInvocation'] + | components['schemas']['InfillTileInvocation'] + | components['schemas']['LineartAnimeImageProcessorInvocation'] + | components['schemas']['StringInvocation'] + | components['schemas']['DivideInvocation'] + | components['schemas']['IntegerInvocation'] + | components['schemas']['FloatToIntegerInvocation'] + | components['schemas']['PairTileImageInvocation'] + | components['schemas']['TileResamplerProcessorInvocation'] + | components['schemas']['SDXLCompelPromptInvocation'] + | components['schemas']['CollectInvocation'] + | components['schemas']['IdealSizeInvocation'] + | components['schemas']['ImageChannelOffsetInvocation'] + | components['schemas']['ImageInvocation'] + | components['schemas']['ImageBlurInvocation'] + | components['schemas']['FloatMathInvocation'] + | components['schemas']['LineartImageProcessorInvocation'] + | components['schemas']['ConditioningCollectionInvocation'] + | components['schemas']['MetadataInvocation'] + | components['schemas']['CalculateImageTilesMinimumOverlapInvocation'] + | components['schemas']['IntegerCollectionInvocation'] + | components['schemas']['ImageChannelInvocation'] + | components['schemas']['FreeUInvocation'] + | components['schemas']['ImageInverseLerpInvocation'] + | components['schemas']['RandomIntInvocation'] + | components['schemas']['LaMaInfillInvocation'] + | components['schemas']['VaeLoaderInvocation'] + | components['schemas']['FloatInvocation'] + | components['schemas']['CreateGradientMaskInvocation'] + | components['schemas']['ColorInvocation'] + | components['schemas']['ImageCropInvocation'] + | components['schemas']['CoreMetadataInvocation'] + | components['schemas']['PidiImageProcessorInvocation'] + | components['schemas']['DepthAnythingImageProcessorInvocation'] + | components['schemas']['RoundInvocation'] + | components['schemas']['SeamlessModeInvocation'] + | components['schemas']['ImageNSFWBlurInvocation'] + | components['schemas']['LeresImageProcessorInvocation'] + | components['schemas']['ConditioningInvocation'] + | components['schemas']['ImageChannelMultiplyInvocation'] + | components['schemas']['MergeTilesToImageInvocation'] + | components['schemas']['NormalbaeImageProcessorInvocation'] + | components['schemas']['DWOpenposeImageProcessorInvocation'] + | components['schemas']['MainModelLoaderInvocation'] + | components['schemas']['IntegerMathInvocation'] + | components['schemas']['MlsdImageProcessorInvocation'] + | components['schemas']['ClipSkipInvocation'] + | components['schemas']['MaskCombineInvocation'] + | components['schemas']['HedImageProcessorInvocation'] + | components['schemas']['StringCollectionInvocation'] + | components['schemas']['ImageResizeInvocation'] + | components['schemas']['ControlNetInvocation'] + | components['schemas']['DenoiseLatentsInvocation'] + | components['schemas']['MetadataItemInvocation'] + | components['schemas']['BooleanInvocation'] + | components['schemas']['ZoeDepthImageProcessorInvocation'] + | components['schemas']['LatentsToImageInvocation'] + | components['schemas']['CompelInvocation'] + | components['schemas']['StringReplaceInvocation'] + | components['schemas']['FaceIdentifierInvocation'] + | components['schemas']['CropLatentsCoreInvocation'] + | components['schemas']['FloatLinearRangeInvocation']; }; /** * Edges * @description The connections between nodes and their fields in this graph */ - edges: components["schemas"]["Edge"][]; + edges: components['schemas']['Edge'][]; }; /** * GraphExecutionState @@ -4283,9 +4463,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 @@ -4301,7 +4481,51 @@ export type components = { * @description The results of node executions */ results: { - [key: string]: components["schemas"]["IntegerCollectionOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["StringOutput"] | components["schemas"]["ConditioningOutput"] | components["schemas"]["SDXLLoraLoaderOutput"] | components["schemas"]["LoraLoaderOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["IntegerOutput"] | components["schemas"]["CalculateImageTilesOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["TileToPropertiesOutput"] | components["schemas"]["StringPosNegOutput"] | components["schemas"]["BooleanCollectionOutput"] | components["schemas"]["DenoiseMaskOutput"] | components["schemas"]["UNetOutput"] | components["schemas"]["IPAdapterOutput"] | components["schemas"]["SchedulerOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["String2Output"] | components["schemas"]["SeamlessModeOutput"] | components["schemas"]["NoiseOutput"] | components["schemas"]["SDXLModelLoaderOutput"] | components["schemas"]["MetadataItemOutput"] | components["schemas"]["ImageOutput"] | components["schemas"]["ColorOutput"] | components["schemas"]["IdealSizeOutput"] | components["schemas"]["ColorCollectionOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["SDXLRefinerModelLoaderOutput"] | components["schemas"]["BooleanOutput"] | components["schemas"]["MetadataOutput"] | components["schemas"]["CLIPOutput"] | components["schemas"]["ConditioningCollectionOutput"] | components["schemas"]["LatentsCollectionOutput"] | components["schemas"]["T2IAdapterOutput"] | components["schemas"]["VAEOutput"] | components["schemas"]["FaceMaskOutput"] | components["schemas"]["PairTileImageOutput"] | components["schemas"]["FaceOffOutput"] | components["schemas"]["ClipSkipInvocationOutput"] | components["schemas"]["CollectInvocationOutput"] | components["schemas"]["StringCollectionOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["FloatCollectionOutput"]; + [key: string]: + | components['schemas']['SDXLModelLoaderOutput'] + | components['schemas']['ControlOutput'] + | components['schemas']['ImageCollectionOutput'] + | components['schemas']['SDXLLoraLoaderOutput'] + | components['schemas']['CalculateImageTilesOutput'] + | components['schemas']['FloatOutput'] + | components['schemas']['T2IAdapterOutput'] + | components['schemas']['ConditioningOutput'] + | components['schemas']['ColorOutput'] + | components['schemas']['VAEOutput'] + | components['schemas']['MetadataOutput'] + | components['schemas']['BooleanCollectionOutput'] + | components['schemas']['PairTileImageOutput'] + | components['schemas']['LatentsOutput'] + | components['schemas']['TileToPropertiesOutput'] + | components['schemas']['SchedulerOutput'] + | components['schemas']['IdealSizeOutput'] + | components['schemas']['IPAdapterOutput'] + | components['schemas']['BooleanOutput'] + | components['schemas']['StringCollectionOutput'] + | components['schemas']['NoiseOutput'] + | components['schemas']['SDXLRefinerModelLoaderOutput'] + | components['schemas']['UNetOutput'] + | components['schemas']['ImageOutput'] + | components['schemas']['ModelLoaderOutput'] + | components['schemas']['ClipSkipInvocationOutput'] + | components['schemas']['DenoiseMaskOutput'] + | components['schemas']['ColorCollectionOutput'] + | components['schemas']['IntegerCollectionOutput'] + | components['schemas']['IntegerOutput'] + | components['schemas']['FaceOffOutput'] + | components['schemas']['ConditioningCollectionOutput'] + | components['schemas']['String2Output'] + | components['schemas']['SeamlessModeOutput'] + | components['schemas']['MetadataItemOutput'] + | components['schemas']['LatentsCollectionOutput'] + | components['schemas']['FaceMaskOutput'] + | components['schemas']['CollectInvocationOutput'] + | components['schemas']['IterateInvocationOutput'] + | components['schemas']['StringOutput'] + | components['schemas']['StringPosNegOutput'] + | components['schemas']['LoraLoaderOutput'] + | components['schemas']['FloatCollectionOutput'] + | components['schemas']['CLIPOutput']; }; /** * Errors @@ -4335,7 +4559,7 @@ export type components = { /** Repo Id */ repo_id: string; /** @default fp16 */ - variant?: components["schemas"]["ModelRepoVariant"] | null; + variant?: components['schemas']['ModelRepoVariant'] | null; /** Subfolder */ subfolder?: string | null; /** Access Token */ @@ -4345,12 +4569,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 @@ -4358,9 +4582,9 @@ export type components = { */ HedImageProcessorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -4379,7 +4603,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 @@ -4403,7 +4627,7 @@ export type components = { * @default hed_image_processor * @constant */ - type: "hed_image_processor"; + type: 'hed_image_processor'; }; /** * HuggingFaceMetadata @@ -4424,18 +4648,23 @@ export type components = { * Tags * @description tags provided by model source */ - tags: string[]; + tags?: string[] | null; + /** + * Trigger Phrases + * @description trigger phrases for this model + */ + trigger_phrases?: string[] | null; /** * Files * @description model files and their sizes */ - files?: components["schemas"]["RemoteModelFile"][]; + files?: components['schemas']['RemoteModelFile'][]; /** * Type * @default huggingface * @constant */ - type?: "huggingface"; + type?: 'huggingface'; /** * Id * @description huggingface model id @@ -4466,18 +4695,18 @@ export type components = { */ name: string; /** @description base model */ - base: components["schemas"]["BaseModelType"]; + base: components['schemas']['BaseModelType']; /** * Type * @default ip_adapter * @constant */ - type: "ip_adapter"; + type: 'ip_adapter'; /** * Format * @constant */ - format: "invokeai"; + format: 'invokeai'; /** * Key * @description unique key for model @@ -4518,11 +4747,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 @@ -4568,12 +4797,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 @@ -4597,7 +4826,7 @@ export type components = { * @default ip_adapter * @constant */ - type: "ip_adapter"; + type: 'ip_adapter'; }; /** * IPAdapterMetadataField @@ -4605,9 +4834,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 @@ -4638,13 +4867,13 @@ 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 @@ -4681,7 +4910,7 @@ export type components = { */ height?: number; /** @description UNet (scheduler, LoRAs) */ - unet?: components["schemas"]["UNetField"]; + unet?: components['schemas']['UNetField']; /** * Multiplier * @description Amount to multiply the model's dimensions by when calculating the ideal size (may result in initial generation artifacts if too large) @@ -4693,7 +4922,7 @@ export type components = { * @default ideal_size * @constant */ - type: "ideal_size"; + type: 'ideal_size'; }; /** * IdealSizeOutput @@ -4715,7 +4944,7 @@ export type components = { * @default ideal_size_output * @constant */ - type: "ideal_size_output"; + type: 'ideal_size_output'; }; /** * Blur Image @@ -4723,9 +4952,9 @@ export type components = { */ ImageBlurInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -4744,7 +4973,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 @@ -4757,13 +4986,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 @@ -4776,16 +5005,16 @@ 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 The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -4804,20 +5033,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 @@ -4825,9 +5054,9 @@ export type components = { */ ImageChannelMultiplyInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -4846,13 +5075,30 @@ 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. @@ -4870,7 +5116,7 @@ export type components = { * @default img_channel_multiply * @constant */ - type: "img_channel_multiply"; + type: 'img_channel_multiply'; }; /** * Offset Image Channel @@ -4878,9 +5124,9 @@ export type components = { */ ImageChannelOffsetInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -4899,13 +5145,30 @@ 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 @@ -4917,7 +5180,7 @@ export type components = { * @default img_channel_offset * @constant */ - type: "img_channel_offset"; + type: 'img_channel_offset'; }; /** * Image Collection Primitive @@ -4945,13 +5208,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 @@ -4962,13 +5225,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 @@ -4976,9 +5239,9 @@ export type components = { */ ImageConvertInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -4997,20 +5260,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 @@ -5018,9 +5281,9 @@ export type components = { */ ImageCropInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -5039,7 +5302,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 @@ -5069,7 +5332,7 @@ export type components = { * @default img_crop * @constant */ - type: "img_crop"; + type: 'img_crop'; }; /** * ImageDTO @@ -5092,9 +5355,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. @@ -5168,9 +5431,9 @@ export type components = { */ ImageHueAdjustmentInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -5189,7 +5452,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 @@ -5201,7 +5464,7 @@ export type components = { * @default img_hue_adjust * @constant */ - type: "img_hue_adjust"; + type: 'img_hue_adjust'; }; /** * Inverse Lerp Image @@ -5209,9 +5472,9 @@ export type components = { */ ImageInverseLerpInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -5230,7 +5493,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 @@ -5248,7 +5511,7 @@ export type components = { * @default img_ilerp * @constant */ - type: "img_ilerp"; + type: 'img_ilerp'; }; /** * Image Primitive @@ -5273,13 +5536,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 @@ -5287,9 +5550,9 @@ export type components = { */ ImageLerpInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -5308,7 +5571,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 @@ -5326,7 +5589,7 @@ export type components = { * @default img_lerp * @constant */ - type: "img_lerp"; + type: 'img_lerp'; }; /** * Multiply Images @@ -5334,9 +5597,9 @@ export type components = { */ ImageMultiplyInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -5355,15 +5618,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 @@ -5371,9 +5634,9 @@ export type components = { */ ImageNSFWBlurInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -5392,13 +5655,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 @@ -5406,7 +5669,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 @@ -5422,7 +5685,7 @@ export type components = { * @default image_output * @constant */ - type: "image_output"; + type: 'image_output'; }; /** * Paste Image @@ -5430,9 +5693,9 @@ export type components = { */ ImagePasteInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -5451,11 +5714,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 @@ -5479,7 +5742,7 @@ export type components = { * @default img_paste * @constant */ - type: "img_paste"; + type: 'img_paste'; }; /** * ImageRecordChanges @@ -5493,7 +5756,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. @@ -5517,9 +5780,9 @@ export type components = { */ ImageResizeInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -5538,7 +5801,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) @@ -5557,13 +5820,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 @@ -5571,9 +5834,9 @@ export type components = { */ ImageScaleInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -5592,7 +5855,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 @@ -5605,13 +5868,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 @@ -5636,9 +5899,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) @@ -5656,7 +5919,7 @@ export type components = { * @default i2l * @constant */ - type: "i2l"; + type: 'i2l'; }; /** * ImageUrlsDTO @@ -5685,9 +5948,9 @@ export type components = { */ ImageWatermarkInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -5706,7 +5969,7 @@ export type components = { */ use_cache?: boolean; /** @description The image to check */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Text * @description Watermark text @@ -5718,7 +5981,7 @@ export type components = { * @default img_watermark * @constant */ - type: "img_watermark"; + type: 'img_watermark'; }; /** ImagesDownloaded */ ImagesDownloaded: { @@ -5747,9 +6010,9 @@ export type components = { */ InfillColorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -5768,7 +6031,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 { @@ -5778,13 +6041,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 @@ -5792,9 +6055,9 @@ export type components = { */ InfillPatchMatchInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -5813,7 +6076,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 @@ -5826,13 +6089,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 @@ -5840,9 +6103,9 @@ export type components = { */ InfillTileInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -5861,7 +6124,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) @@ -5879,14 +6142,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" | "downloading" | "running" | "completed" | "error" | "cancelled"; + InstallStatus: 'waiting' | 'downloading' | 'running' | 'completed' | 'error' | 'cancelled'; /** * Integer Collection Primitive * @description A collection of integer primitive values @@ -5920,7 +6183,7 @@ export type components = { * @default integer_collection * @constant */ - type: "integer_collection"; + type: 'integer_collection'; }; /** * IntegerCollectionOutput @@ -5937,7 +6200,7 @@ export type components = { * @default integer_collection_output * @constant */ - type: "integer_collection_output"; + type: 'integer_collection_output'; }; /** * Integer Primitive @@ -5972,7 +6235,7 @@ export type components = { * @default integer * @constant */ - type: "integer"; + type: 'integer'; }; /** * Integer Math @@ -6002,7 +6265,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 @@ -6020,7 +6283,7 @@ export type components = { * @default integer_math * @constant */ - type: "integer_math"; + type: 'integer_math'; }; /** * IntegerOutput @@ -6037,7 +6300,7 @@ export type components = { * @default integer_output * @constant */ - type: "integer_output"; + type: 'integer_output'; }; /** InvocationCacheStatus */ InvocationCacheStatus: { @@ -6106,7 +6369,7 @@ export type components = { * @default iterate * @constant */ - type: "iterate"; + type: 'iterate'; }; /** * IterateInvocationOutput @@ -6133,7 +6396,7 @@ export type components = { * @default iterate_output * @constant */ - type: "iterate_output"; + type: 'iterate_output'; }; JsonValue: unknown; /** @@ -6142,9 +6405,9 @@ export type components = { */ LaMaInfillInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -6163,13 +6426,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 @@ -6197,13 +6460,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 @@ -6214,13 +6477,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 @@ -6262,13 +6525,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 @@ -6276,7 +6539,7 @@ export type components = { */ LatentsOutput: { /** @description Latents tensor */ - latents: components["schemas"]["LatentsField"]; + latents: components['schemas']['LatentsField']; /** * Width * @description Width of output (px) @@ -6292,7 +6555,7 @@ export type components = { * @default latents_output * @constant */ - type: "latents_output"; + type: 'latents_output'; }; /** * Latents to Image @@ -6300,9 +6563,9 @@ export type components = { */ LatentsToImageInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -6321,9 +6584,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) @@ -6341,7 +6604,7 @@ export type components = { * @default l2i * @constant */ - type: "l2i"; + type: 'l2i'; }; /** * Leres (Depth) Processor @@ -6349,9 +6612,9 @@ export type components = { */ LeresImageProcessorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -6370,7 +6633,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` @@ -6406,7 +6669,7 @@ export type components = { * @default leres_image_processor * @constant */ - type: "leres_image_processor"; + type: 'leres_image_processor'; }; /** * LicenseRestrictions @@ -6432,7 +6695,7 @@ export type components = { */ AllowDifferentLicense?: boolean; /** @description Type of commercial use allowed or 'No' if no commercial use is allowed. */ - AllowCommercialUse?: components["schemas"]["CommercialUsage"] | null; + AllowCommercialUse?: components['schemas']['CommercialUsage'] | null; }; /** * Lineart Anime Processor @@ -6440,9 +6703,9 @@ export type components = { */ LineartAnimeImageProcessorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -6461,7 +6724,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 @@ -6479,7 +6742,7 @@ export type components = { * @default lineart_anime_image_processor * @constant */ - type: "lineart_anime_image_processor"; + type: 'lineart_anime_image_processor'; }; /** * Lineart Processor @@ -6487,9 +6750,9 @@ export type components = { */ LineartImageProcessorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -6508,7 +6771,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 @@ -6532,7 +6795,7 @@ export type components = { * @default lineart_image_processor * @constant */ - type: "lineart_image_processor"; + type: 'lineart_image_processor'; }; /** * LoRAConfig @@ -6550,18 +6813,18 @@ export type components = { */ name: string; /** @description base model */ - base: components["schemas"]["BaseModelType"]; + base: components['schemas']['BaseModelType']; /** * Type * @default lora * @constant */ - type: "lora"; + type: 'lora'; /** * Format * @enum {string} */ - format: "lycoris" | "diffusers"; + format: 'lycoris' | 'diffusers'; /** * Key * @description unique key for model @@ -6600,7 +6863,7 @@ export type components = { */ LoRAMetadataField: { /** @description LoRA model to load */ - model: components["schemas"]["LoRAModelField"]; + model: components['schemas']['LoRAModelField']; /** * Weight * @description The weight at which the LoRA is applied to each model @@ -6635,7 +6898,7 @@ export type components = { * @default local * @constant */ - type?: "local"; + type?: 'local'; }; /** * LogLevel @@ -6653,7 +6916,7 @@ export type components = { * @description Info to load submodel * @default null */ - submodel_type?: components["schemas"]["SubModelType"] | null; + submodel_type?: components['schemas']['SubModelType'] | null; /** * Weight * @description Lora's weight which to use when apply to model @@ -6686,7 +6949,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 @@ -6697,18 +6960,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 @@ -6720,19 +6983,19 @@ export type components = { * @description UNet (scheduler, LoRAs) * @default null */ - unet: components["schemas"]["UNetField"] | null; + unet: components['schemas']['UNetField'] | null; /** * CLIP * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count * @default null */ - 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 @@ -6750,19 +7013,19 @@ export type components = { */ name: string; /** @description base model */ - base: components["schemas"]["BaseModelType"]; + base: components['schemas']['BaseModelType']; /** * Type * @default main * @constant */ - type: "main"; + type: 'main'; /** * Format * @default checkpoint * @constant */ - format: "checkpoint"; + format: 'checkpoint'; /** * Key * @description unique key for model @@ -6797,9 +7060,9 @@ export type components = { /** Vae */ vae?: string | null; /** @default normal */ - variant?: components["schemas"]["ModelVariantType"]; + variant?: components['schemas']['ModelVariantType']; /** @default epsilon */ - prediction_type?: components["schemas"]["SchedulerPredictionType"]; + prediction_type?: components['schemas']['SchedulerPredictionType']; /** * Upcast Attention * @default false @@ -6832,19 +7095,19 @@ export type components = { */ name: string; /** @description base model */ - base: components["schemas"]["BaseModelType"]; + base: components['schemas']['BaseModelType']; /** * Type * @default main * @constant */ - type: "main"; + type: 'main'; /** * Format * @default diffusers * @constant */ - format: "diffusers"; + format: 'diffusers'; /** * Key * @description unique key for model @@ -6879,9 +7142,9 @@ export type components = { /** Vae */ vae?: string | null; /** @default normal */ - variant?: components["schemas"]["ModelVariantType"]; + variant?: components['schemas']['ModelVariantType']; /** @default epsilon */ - prediction_type?: components["schemas"]["SchedulerPredictionType"]; + prediction_type?: components['schemas']['SchedulerPredictionType']; /** * Upcast Attention * @default false @@ -6893,7 +7156,7 @@ export type components = { */ ztsnr_training?: boolean; /** @default */ - repo_variant?: components["schemas"]["ModelRepoVariant"] | null; + repo_variant?: components['schemas']['ModelRepoVariant'] | null; }; /** * MainModelField @@ -6929,13 +7192,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 @@ -6943,9 +7206,9 @@ export type components = { */ MaskCombineInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -6964,15 +7227,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 @@ -6980,9 +7243,9 @@ export type components = { */ MaskEdgeInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -7001,7 +7264,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 @@ -7027,7 +7290,7 @@ export type components = { * @default mask_edge * @constant */ - type: "mask_edge"; + type: 'mask_edge'; }; /** * Mask from Alpha @@ -7035,9 +7298,9 @@ export type components = { */ MaskFromAlphaInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -7056,7 +7319,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 @@ -7068,7 +7331,7 @@ export type components = { * @default tomask * @constant */ - type: "tomask"; + type: 'tomask'; }; /** * Mediapipe Face Processor @@ -7076,9 +7339,9 @@ export type components = { */ MediapipeFaceProcessorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -7097,7 +7360,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 @@ -7115,13 +7378,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. @@ -7148,13 +7411,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'; }; /** * Merge Tiles to Image @@ -7162,9 +7425,9 @@ export type components = { */ MergeTilesToImageInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -7186,14 +7449,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. @@ -7205,7 +7468,7 @@ export type components = { * @default merge_tiles_to_image * @constant */ - type: "merge_tiles_to_image"; + type: 'merge_tiles_to_image'; }; /** * MetadataField @@ -7239,13 +7502,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: { @@ -7297,7 +7560,7 @@ export type components = { * @default metadata_item * @constant */ - type: "metadata_item"; + type: 'metadata_item'; }; /** * MetadataItemOutput @@ -7305,24 +7568,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 @@ -7330,9 +7593,9 @@ export type components = { */ MidasDepthImageProcessorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -7351,7 +7614,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) @@ -7369,7 +7632,7 @@ export type components = { * @default midas_depth_image_processor * @constant */ - type: "midas_depth_image_processor"; + type: 'midas_depth_image_processor'; }; /** * MLSD Processor @@ -7377,9 +7640,9 @@ export type components = { */ MlsdImageProcessorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -7398,7 +7661,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 @@ -7428,14 +7691,22 @@ export type components = { * @default mlsd_image_processor * @constant */ - type: "mlsd_image_processor"; + type: 'mlsd_image_processor'; }; /** * ModelFormat * @description Storage format of model. * @enum {string} */ - ModelFormat: "diffusers" | "checkpoint" | "lycoris" | "onnx" | "olive" | "embedding_file" | "embedding_folder" | "invokeai"; + ModelFormat: + | 'diffusers' + | 'checkpoint' + | 'lycoris' + | 'onnx' + | 'olive' + | 'embedding_file' + | 'embedding_folder' + | 'invokeai'; /** ModelInfo */ ModelInfo: { /** @@ -7447,7 +7718,7 @@ export type components = { * @description Info to load submodel * @default null */ - submodel_type?: components["schemas"]["SubModelType"] | null; + submodel_type?: components['schemas']['SubModelType'] | null; }; /** * ModelInstallJob @@ -7463,7 +7734,7 @@ export type components = { * @description Current status of install process * @default waiting */ - status?: components["schemas"]["InstallStatus"]; + status?: components['schemas']['InstallStatus']; /** * Error Reason * @description Information about why the job failed @@ -7478,7 +7749,16 @@ 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"]["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']['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 @@ -7489,7 +7769,11 @@ export type components = { * Source * @description Source (URL, repo_id, or local path) of model */ - source: components["schemas"]["LocalModelSource"] | components["schemas"]["HFModelSource"] | components["schemas"]["CivitaiModelSource"] | components["schemas"]["URLModelSource"]; + source: + | components['schemas']['LocalModelSource'] + | components['schemas']['HFModelSource'] + | components['schemas']['CivitaiModelSource'] + | components['schemas']['URLModelSource']; /** * Local Path * Format: path @@ -7512,12 +7796,18 @@ export type components = { * Source Metadata * @description Metadata provided by the model source */ - source_metadata?: (components["schemas"]["BaseMetadata"] | components["schemas"]["HuggingFaceMetadata"] | components["schemas"]["CivitaiMetadata"]) | null; + source_metadata?: + | ( + | components['schemas']['BaseMetadata'] + | components['schemas']['HuggingFaceMetadata'] + | components['schemas']['CivitaiMetadata'] + ) + | null; /** * Download Parts * @description Download jobs contributing to this install */ - download_parts?: components["schemas"]["DownloadJob"][]; + download_parts?: components['schemas']['DownloadJob'][]; /** * Error * @description On an error condition, this field will contain the text of the exception @@ -7538,36 +7828,51 @@ 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']; + }; + /** + * ModelMetadataChanges + * @description A set of changes to apply to model metadata. + * + * Only limited changes are valid: + * - `trigger_phrases`: the list of trigger phrases for this model + */ + ModelMetadataChanges: { + /** + * Trigger Phrases + * @description The model's list of trigger phrases + */ + trigger_phrases?: string[] | null; + [key: string]: unknown; }; /** * ModelRecordOrderBy * @description The order in which to return model summaries. * @enum {string} */ - ModelRecordOrderBy: "default" | "type" | "base" | "name" | "format"; + ModelRecordOrderBy: 'default' | 'type' | 'base' | 'name' | 'format'; /** * ModelRepoVariant * @description Various hugging face variants on the diffusers format. * @enum {string} */ - ModelRepoVariant: "" | "fp16" | "fp32" | "onnx" | "openvino" | "flax"; + ModelRepoVariant: '' | 'fp16' | 'fp32' | 'onnx' | 'openvino' | 'flax'; /** * ModelSummary * @description A short summary of models for UI listing purposes. @@ -7579,11 +7884,11 @@ export type components = { */ key: string; /** @description model type */ - type: components["schemas"]["ModelType"]; + type: components['schemas']['ModelType']; /** @description base model */ - base: components["schemas"]["BaseModelType"]; + base: components['schemas']['BaseModelType']; /** @description model format */ - format: components["schemas"]["ModelFormat"]; + format: components['schemas']['ModelFormat']; /** * Name * @description model name @@ -7605,20 +7910,38 @@ export type components = { * @description Model type. * @enum {string} */ - ModelType: "onnx" | "main" | "vae" | "lora" | "controlnet" | "embedding" | "ip_adapter" | "clip_vision" | "t2i_adapter"; + ModelType: + | 'onnx' + | 'main' + | 'vae' + | 'lora' + | 'controlnet' + | 'embedding' + | 'ip_adapter' + | 'clip_vision' + | 't2i_adapter'; /** * ModelVariantType * @description Variant type. * @enum {string} */ - ModelVariantType: "normal" | "inpaint" | "depth"; + ModelVariantType: 'normal' | 'inpaint' | 'depth'; /** * ModelsList * @description Return list of configs. */ ModelsList: { /** Models */ - models: ((components["schemas"]["MainDiffusersConfig"] | components["schemas"]["MainCheckpointConfig"]) | (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']['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'] + )[]; }; /** * Multiply Integers @@ -7659,7 +7982,7 @@ export type components = { * @default mul * @constant */ - type: "mul"; + type: 'mul'; }; /** NodeFieldValue */ NodeFieldValue: { @@ -7730,7 +8053,7 @@ export type components = { * @default noise * @constant */ - type: "noise"; + type: 'noise'; }; /** * NoiseOutput @@ -7738,7 +8061,7 @@ export type components = { */ NoiseOutput: { /** @description Noise tensor */ - noise: components["schemas"]["LatentsField"]; + noise: components['schemas']['LatentsField']; /** * Width * @description Width of output (px) @@ -7754,7 +8077,7 @@ export type components = { * @default noise_output * @constant */ - type: "noise_output"; + type: 'noise_output'; }; /** * Normal BAE Processor @@ -7762,9 +8085,9 @@ export type components = { */ NormalbaeImageProcessorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -7783,7 +8106,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 @@ -7801,7 +8124,7 @@ export type components = { * @default normalbae_image_processor * @constant */ - type: "normalbae_image_processor"; + type: 'normalbae_image_processor'; }; /** OffsetPaginatedResults[BoardDTO] */ OffsetPaginatedResults_BoardDTO_: { @@ -7824,7 +8147,7 @@ export type components = { * Items * @description Items */ - items: components["schemas"]["BoardDTO"][]; + items: components['schemas']['BoardDTO'][]; }; /** OffsetPaginatedResults[ImageDTO] */ OffsetPaginatedResults_ImageDTO_: { @@ -7847,7 +8170,7 @@ export type components = { * Items * @description Items */ - items: components["schemas"]["ImageDTO"][]; + items: components['schemas']['ImageDTO'][]; }; /** PaginatedResults[ModelSummary] */ PaginatedResults_ModelSummary_: { @@ -7875,7 +8198,7 @@ export type components = { * Items * @description Items */ - items: components["schemas"]["ModelSummary"][]; + items: components['schemas']['ModelSummary'][]; }; /** PaginatedResults[WorkflowRecordListItemDTO] */ PaginatedResults_WorkflowRecordListItemDTO_: { @@ -7903,7 +8226,7 @@ export type components = { * Items * @description Items */ - items: components["schemas"]["WorkflowRecordListItemDTO"][]; + items: components['schemas']['WorkflowRecordListItemDTO'][]; }; /** * Pair Tile with Image @@ -7928,26 +8251,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 @@ -7955,9 +8278,9 @@ export type components = { */ PidiImageProcessorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -7976,7 +8299,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 @@ -8006,7 +8329,7 @@ export type components = { * @default pidi_image_processor * @constant */ - type: "pidi_image_processor"; + type: 'pidi_image_processor'; }; /** * Prompts from File @@ -8062,7 +8385,7 @@ export type components = { * @default prompt_from_file * @constant */ - type: "prompt_from_file"; + type: 'prompt_from_file'; }; /** * PruneResult @@ -8120,7 +8443,7 @@ export type components = { * @default rand_float * @constant */ - type: "rand_float"; + type: 'rand_float'; }; /** * Random Integer @@ -8161,7 +8484,7 @@ export type components = { * @default rand_int * @constant */ - type: "rand_int"; + type: 'rand_int'; }; /** * Random Range @@ -8214,7 +8537,7 @@ export type components = { * @default random_range * @constant */ - type: "random_range"; + type: 'random_range'; }; /** * Integer Range @@ -8261,7 +8584,7 @@ export type components = { * @default range * @constant */ - type: "range"; + type: 'range'; }; /** * Integer Range of Size @@ -8308,7 +8631,7 @@ export type components = { * @default range_of_size * @constant */ - type: "range_of_size"; + type: 'range_of_size'; }; /** * RemoteModelFile @@ -8369,7 +8692,7 @@ export type components = { */ use_cache?: boolean; /** @description Latents tensor */ - latents?: components["schemas"]["LatentsField"]; + latents?: components['schemas']['LatentsField']; /** * Width * @description Width of output (px) @@ -8386,7 +8709,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) @@ -8398,7 +8721,7 @@ export type components = { * @default lresize * @constant */ - type: "lresize"; + type: 'lresize'; }; /** * ResourceOrigin @@ -8409,7 +8732,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. @@ -8449,7 +8772,7 @@ export type components = { * @default round_float * @constant */ - type: "round_float"; + type: 'round_float'; }; /** * SDXL Prompt @@ -8519,18 +8842,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 @@ -8558,7 +8881,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 @@ -8569,23 +8892,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 @@ -8597,25 +8920,25 @@ export type components = { * @description UNet (scheduler, LoRAs) * @default null */ - unet: components["schemas"]["UNetField"] | null; + unet: components['schemas']['UNetField'] | null; /** * CLIP 1 * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count * @default null */ - clip: components["schemas"]["ClipField"] | null; + clip: components['schemas']['ClipField'] | null; /** * CLIP 2 * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count * @default null */ - 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 @@ -8640,13 +8963,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 @@ -8657,28 +8980,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 @@ -8735,13 +9058,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 @@ -8766,13 +9089,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 @@ -8783,38 +9106,38 @@ 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 The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -8833,13 +9156,13 @@ export type components = { */ use_cache?: boolean; /** @description The image to process */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * type * @default save_image * @constant */ - type: "save_image"; + type: 'save_image'; }; /** * Scale Latents @@ -8864,7 +9187,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 @@ -8876,7 +9199,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) @@ -8888,7 +9211,7 @@ export type components = { * @default lscale * @constant */ - type: "lscale"; + type: 'lscale'; }; /** * Scheduler @@ -8918,13 +9241,36 @@ 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: { @@ -8933,20 +9279,43 @@ 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'; }; /** * SchedulerPredictionType * @description Scheduler prediction type. * @enum {string} */ - SchedulerPredictionType: "epsilon" | "v_prediction" | "sample"; + SchedulerPredictionType: 'epsilon' | 'v_prediction' | 'sample'; /** * Seamless * @description Applies the seamless transformation to the Model UNet and VAE. @@ -8973,12 +9342,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 @@ -8996,7 +9365,7 @@ export type components = { * @default seamless * @constant */ - type: "seamless"; + type: 'seamless'; }; /** * SeamlessModeOutput @@ -9008,19 +9377,19 @@ export type components = { * @description UNet (scheduler, LoRAs) * @default null */ - unet: components["schemas"]["UNetField"] | null; + unet: components['schemas']['UNetField'] | null; /** * VAE * @description VAE * @default null */ - vae: components["schemas"]["VaeField"] | null; + vae: components['schemas']['VaeField'] | null; /** * type * @default seamless_output * @constant */ - type: "seamless_output"; + type: 'seamless_output'; }; /** * Segment Anything Processor @@ -9028,9 +9397,9 @@ export type components = { */ SegmentAnythingProcessorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -9049,13 +9418,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: { @@ -9075,8 +9444,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: { @@ -9091,7 +9460,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 @@ -9142,11 +9511,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: { @@ -9161,7 +9530,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 @@ -9212,7 +9581,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: { @@ -9290,13 +9659,13 @@ 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'; }; /** * Step Param Easing @@ -9326,7 +9695,38 @@ 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 @@ -9384,7 +9784,7 @@ export type components = { * @default step_param_easing * @constant */ - type: "step_param_easing"; + type: 'step_param_easing'; }; /** * String2Output @@ -9406,7 +9806,7 @@ export type components = { * @default string_2_output * @constant */ - type: "string_2_output"; + type: 'string_2_output'; }; /** * String Collection Primitive @@ -9441,7 +9841,7 @@ export type components = { * @default string_collection * @constant */ - type: "string_collection"; + type: 'string_collection'; }; /** * StringCollectionOutput @@ -9458,7 +9858,7 @@ export type components = { * @default string_collection_output * @constant */ - type: "string_collection_output"; + type: 'string_collection_output'; }; /** * String Primitive @@ -9493,7 +9893,7 @@ export type components = { * @default string * @constant */ - type: "string"; + type: 'string'; }; /** * String Join @@ -9534,7 +9934,7 @@ export type components = { * @default string_join * @constant */ - type: "string_join"; + type: 'string_join'; }; /** * String Join Three @@ -9581,7 +9981,7 @@ export type components = { * @default string_join_three * @constant */ - type: "string_join_three"; + type: 'string_join_three'; }; /** * StringOutput @@ -9598,7 +9998,7 @@ export type components = { * @default string_output * @constant */ - type: "string_output"; + type: 'string_output'; }; /** * StringPosNegOutput @@ -9620,7 +10020,7 @@ export type components = { * @default string_pos_neg_output * @constant */ - type: "string_pos_neg_output"; + type: 'string_pos_neg_output'; }; /** * String Replace @@ -9673,7 +10073,7 @@ export type components = { * @default string_replace * @constant */ - type: "string_replace"; + type: 'string_replace'; }; /** * String Split @@ -9714,7 +10114,7 @@ export type components = { * @default string_split * @constant */ - type: "string_split"; + type: 'string_split'; }; /** * String Split Negative @@ -9749,14 +10149,24 @@ export type components = { * @default string_split_neg * @constant */ - type: "string_split_neg"; + type: 'string_split_neg'; }; /** * SubModelType * @description Submodel type. * @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 @@ -9796,14 +10206,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 @@ -9828,7 +10238,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 @@ -9853,12 +10263,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 @@ -9883,13 +10293,13 @@ 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'; }; /** T2IAdapterModelField */ T2IAdapterModelField: { @@ -9905,13 +10315,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 @@ -9929,18 +10339,18 @@ export type components = { */ name: string; /** @description base model */ - base: components["schemas"]["BaseModelType"]; + base: components['schemas']['BaseModelType']; /** * Type * @default t2i_adapter * @constant */ - type: "t2i_adapter"; + type: 't2i_adapter'; /** * Format * @constant */ - format: "diffusers"; + format: 'diffusers'; /** * Key * @description unique key for model @@ -10000,18 +10410,18 @@ export type components = { */ name: string; /** @description base model */ - base: components["schemas"]["BaseModelType"]; + base: components['schemas']['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 @@ -10047,9 +10457,9 @@ export type components = { /** 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 @@ -10057,9 +10467,9 @@ export type components = { */ TileResamplerProcessorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -10078,7 +10488,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 @@ -10090,7 +10500,7 @@ export type components = { * @default tile_image_processor * @constant */ - type: "tile_image_processor"; + type: 'tile_image_processor'; }; /** * Tile to Properties @@ -10115,13 +10525,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: { @@ -10180,24 +10590,24 @@ 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 @@ -10207,7 +10617,7 @@ export type components = { * @description FreeU configuration * @default null */ - freeu_config?: components["schemas"]["FreeUConfig"] | null; + freeu_config?: components['schemas']['FreeUConfig'] | null; }; /** * UNetOutput @@ -10218,13 +10628,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 @@ -10243,7 +10653,7 @@ export type components = { * @default url * @constant */ - type?: "url"; + type?: 'url'; }; /** * Unsharp Mask @@ -10251,9 +10661,9 @@ export type components = { */ UnsharpMaskInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -10272,7 +10682,7 @@ export type components = { */ use_cache?: boolean; /** @description The image to use */ - image?: components["schemas"]["ImageField"]; + image?: components['schemas']['ImageField']; /** * Radius * @description Unsharp mask radius @@ -10290,7 +10700,7 @@ export type components = { * @default unsharp_mask * @constant */ - type: "unsharp_mask"; + type: 'unsharp_mask'; }; /** Upscaler */ Upscaler: { @@ -10325,13 +10735,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 @@ -10349,19 +10759,19 @@ export type components = { */ name: string; /** @description base model */ - base: components["schemas"]["BaseModelType"]; + base: components['schemas']['BaseModelType']; /** * Type * @default vae * @constant */ - type: "vae"; + type: 'vae'; /** * Format * @default checkpoint * @constant */ - format: "checkpoint"; + format: 'checkpoint'; /** * Key * @description unique key for model @@ -10410,19 +10820,19 @@ export type components = { */ name: string; /** @description base model */ - base: components["schemas"]["BaseModelType"]; + base: components['schemas']['BaseModelType']; /** * Type * @default vae * @constant */ - type: "vae"; + type: 'vae'; /** * Format * @default diffusers * @constant */ - format: "diffusers"; + format: 'diffusers'; /** * Key * @description unique key for model @@ -10458,7 +10868,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 @@ -10491,13 +10901,13 @@ 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'; }; /** ValidationError */ ValidationError: { @@ -10549,23 +10959,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. @@ -10576,7 +10986,7 @@ export type components = { * WorkflowCategory * @enum {string} */ - WorkflowCategory: "user" | "default" | "project"; + WorkflowCategory: 'user' | 'default' | 'project'; /** WorkflowMeta */ WorkflowMeta: { /** @@ -10588,7 +10998,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: { @@ -10618,7 +11028,7 @@ export type components = { */ opened_at: string; /** @description The workflow. */ - workflow: components["schemas"]["Workflow"]; + workflow: components['schemas']['Workflow']; }; /** WorkflowRecordListItemDTO */ WorkflowRecordListItemDTO: { @@ -10653,14 +11063,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: { /** @@ -10702,23 +11112,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 @@ -10726,9 +11136,9 @@ export type components = { */ ZoeDepthImageProcessorInvocation: { /** @description The board to save the image to */ - board?: components["schemas"]["BoardField"] | null; + board?: components['schemas']['BoardField'] | null; /** @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. @@ -10747,13 +11157,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'; }; /** * Classification @@ -10763,7 +11173,7 @@ export type components = { * - `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. @@ -10781,7 +11191,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. @@ -10790,17 +11200,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 @@ -10817,9 +11227,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 @@ -10839,10 +11249,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; }; @@ -10852,7 +11262,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. @@ -10891,7 +11301,7 @@ export type components = { * @description The node's classification * @default stable */ - classification: components["schemas"]["Classification"]; + classification: components['schemas']['Classification']; }; /** * UIType @@ -10920,7 +11330,59 @@ 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"; + 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'; }; responses: never; parameters: never; @@ -10929,12 +11391,11 @@ export type components = { pathItems: never; }; -type $defs = Record; +export type $defs = Record; -type external = Record; +export type external = Record; export type operations = { - /** * Parse Dynamicprompts * @description Creates a batch process @@ -10942,20 +11403,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']; }; }; }; @@ -10968,26 +11429,26 @@ export type operations = { parameters: { query?: { /** @description Base models to include */ - base_models?: components["schemas"]["BaseModelType"][] | null; + base_models?: components['schemas']['BaseModelType'][] | null; /** @description The type of model to get */ - model_type?: components["schemas"]["ModelType"] | null; + model_type?: components['schemas']['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?: components["schemas"]["ModelFormat"] | null; + model_format?: components['schemas']['ModelFormat'] | null; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["ModelsList"]; + 'application/json': components['schemas']['ModelsList']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11003,22 +11464,30 @@ export type operations = { /** @description The name of the model */ name: string; /** @description The type of the model */ - type: components["schemas"]["ModelType"]; + type: components['schemas']['ModelType']; /** @description The base model of the model */ - base: components["schemas"]["BaseModelType"]; + base: components['schemas']['BaseModelType']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": (components["schemas"]["MainDiffusersConfig"] | components["schemas"]["MainCheckpointConfig"]) | (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']['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 Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11038,7 +11507,15 @@ export type operations = { /** @description The model configuration was retrieved successfully */ 200: { content: { - "application/json": (components["schemas"]["MainDiffusersConfig"] | components["schemas"]["MainCheckpointConfig"]) | (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']['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 */ @@ -11052,7 +11529,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11083,7 +11560,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11113,14 +11590,30 @@ export type operations = { * "variant": "normal" * } */ - "application/json": (components["schemas"]["MainDiffusersConfig"] | components["schemas"]["MainCheckpointConfig"]) | (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']['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"]["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']['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 */ @@ -11138,7 +11631,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11155,20 +11648,20 @@ export type operations = { /** @description The number of models per page */ per_page?: number; /** @description The attribute to order by */ - order_by?: components["schemas"]["ModelRecordOrderBy"]; + order_by?: components['schemas']['ModelRecordOrderBy']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["PaginatedResults_ModelSummary_"]; + 'application/json': components['schemas']['PaginatedResults_ModelSummary_']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11188,7 +11681,13 @@ export type operations = { /** @description The model metadata was retrieved successfully */ 200: { content: { - "application/json": (components["schemas"]["BaseMetadata"] | components["schemas"]["HuggingFaceMetadata"] | components["schemas"]["CivitaiMetadata"]) | null; + 'application/json': + | ( + | components['schemas']['BaseMetadata'] + | components['schemas']['HuggingFaceMetadata'] + | components['schemas']['CivitaiMetadata'] + ) + | null; }; }; /** @description Bad request */ @@ -11198,7 +11697,54 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; + }; + }; + }; + }; + /** + * Update Model Metadata + * @description Updates or creates a model metadata object. + */ + update_model_metadata: { + parameters: { + path: { + /** @description Key of the model repo metadata to fetch. */ + key: string; + }; + }; + requestBody: { + content: { + 'application/json': components['schemas']['ModelMetadataChanges']; + }; + }; + responses: { + /** @description Successful Response */ + 200: { + content: { + 'application/json': + | ( + | components['schemas']['BaseMetadata'] + | components['schemas']['HuggingFaceMetadata'] + | components['schemas']['CivitaiMetadata'] + ) + | null; + }; + }; + /** @description The model metadata was updated successfully */ + 201: { + content: { + 'application/json': unknown; + }; + }; + /** @description Bad request */ + 400: { + content: never; + }; + /** @description Validation Error */ + 422: { + content: { + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11212,7 +11758,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": string[]; + 'application/json': string[]; }; }; }; @@ -11229,7 +11775,7 @@ export type operations = { /** @description Directory scanned successfully */ 200: { content: { - "application/json": components["schemas"]["FoundModel"][]; + 'application/json': components['schemas']['FoundModel'][]; }; }; /** @description Invalid directory path */ @@ -11239,7 +11785,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11259,13 +11805,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["ModelsList"]; + 'application/json': components['schemas']['ModelsList']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11289,14 +11835,30 @@ export type operations = { * "variant": "normal" * } */ - "application/json": (components["schemas"]["MainDiffusersConfig"] | components["schemas"]["MainCheckpointConfig"]) | (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']['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"]["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']['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 */ @@ -11310,7 +11872,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11359,14 +11921,14 @@ export type operations = { * "description": "string" * } */ - "application/json": Record | null; + 'application/json': Record | null; }; }; 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 */ @@ -11380,7 +11942,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 */ @@ -11415,7 +11977,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["ModelInstallJob"][]; + 'application/json': components['schemas']['ModelInstallJob'][]; }; }; }; @@ -11429,7 +11991,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description All completed and errored jobs have been pruned */ @@ -11458,7 +12020,7 @@ export type operations = { /** @description Success */ 200: { content: { - "application/json": components["schemas"]["ModelInstallJob"]; + 'application/json': components['schemas']['ModelInstallJob']; }; }; /** @description No such job */ @@ -11468,7 +12030,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11488,7 +12050,7 @@ export type operations = { /** @description The job was cancelled successfully */ 201: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description No such job */ @@ -11498,7 +12060,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11515,7 +12077,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 */ @@ -11545,7 +12107,15 @@ export type operations = { /** @description Model converted successfully */ 200: { content: { - "application/json": (components["schemas"]["MainDiffusersConfig"] | components["schemas"]["MainCheckpointConfig"]) | (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']['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 */ @@ -11563,7 +12133,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11585,14 +12155,22 @@ export type operations = { merge: { requestBody: { content: { - "application/json": components["schemas"]["Body_merge"]; + 'application/json': components['schemas']['Body_merge']; }; }; responses: { /** @description Model converted successfully */ 200: { content: { - "application/json": (components["schemas"]["MainDiffusersConfig"] | components["schemas"]["MainCheckpointConfig"]) | (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']['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 */ @@ -11610,7 +12188,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11624,7 +12202,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["DownloadJob"][]; + 'application/json': components['schemas']['DownloadJob'][]; }; }; }; @@ -11638,7 +12216,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description All completed jobs have been pruned */ @@ -11658,20 +12236,20 @@ export type operations = { download: { requestBody: { content: { - "application/json": components["schemas"]["Body_download"]; + 'application/json': components['schemas']['Body_download']; }; }; responses: { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["DownloadJob"]; + 'application/json': components['schemas']['DownloadJob']; }; }; /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11691,7 +12269,7 @@ export type operations = { /** @description Success */ 200: { content: { - "application/json": components["schemas"]["DownloadJob"]; + 'application/json': components['schemas']['DownloadJob']; }; }; /** @description The requested download JobID could not be found */ @@ -11701,7 +12279,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11721,7 +12299,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description Job has been cancelled */ @@ -11735,7 +12313,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11749,7 +12327,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; /** @description Download jobs have been cancelled */ @@ -11766,7 +12344,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 */ @@ -11779,14 +12357,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 */ @@ -11796,7 +12374,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -11816,13 +12394,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']; }; }; }; @@ -11842,13 +12420,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']; }; }; }; @@ -11866,20 +12444,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']; }; }; }; @@ -11893,7 +12471,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": number; + 'application/json': number; }; }; }; @@ -11907,7 +12485,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": number; + 'application/json': number; }; }; }; @@ -11927,13 +12505,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']; }; }; }; @@ -11950,13 +12528,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']; }; }; }; @@ -11976,7 +12554,7 @@ export type operations = { /** @description Return the full-resolution image */ 200: { content: { - "image/png": unknown; + 'image/png': unknown; }; }; /** @description Image not found */ @@ -11986,7 +12564,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -12006,7 +12584,7 @@ export type operations = { /** @description Return the image thumbnail */ 200: { content: { - "image/webp": unknown; + 'image/webp': unknown; }; }; /** @description Image not found */ @@ -12016,7 +12594,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -12036,13 +12614,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']; }; }; }; @@ -12055,9 +12633,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. */ @@ -12072,13 +12650,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']; }; }; }; @@ -12087,20 +12665,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']; }; }; }; @@ -12109,20 +12687,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']; }; }; }; @@ -12131,20 +12709,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']; }; }; }; @@ -12153,20 +12731,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 */ 202: { 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']; }; }; }; @@ -12186,7 +12764,7 @@ export type operations = { /** @description Return the complete bulk download item */ 200: { content: { - "application/zip": unknown; + 'application/zip': unknown; }; }; /** @description Image not found */ @@ -12196,7 +12774,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - "application/json": components["schemas"]["HTTPValidationError"]; + 'application/json': components['schemas']['HTTPValidationError']; }; }; }; @@ -12220,13 +12798,15 @@ 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']; }; }; }; @@ -12246,13 +12826,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']; }; }; }; @@ -12272,13 +12852,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']; }; }; }; @@ -12302,13 +12882,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']; }; }; }; @@ -12326,20 +12906,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']; }; }; }; @@ -12359,13 +12939,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']; }; }; }; @@ -12377,20 +12957,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']; }; }; }; @@ -12402,20 +12982,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']; }; }; }; @@ -12427,20 +13007,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']; }; }; }; @@ -12452,20 +13032,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']; }; }; }; @@ -12476,7 +13056,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["AppVersion"]; + 'application/json': components['schemas']['AppVersion']; }; }; }; @@ -12487,7 +13067,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["AppDependencyVersions"]; + 'application/json': components['schemas']['AppDependencyVersions']; }; }; }; @@ -12498,7 +13078,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["AppConfig"]; + 'application/json': components['schemas']['AppConfig']; }; }; }; @@ -12512,7 +13092,7 @@ export type operations = { /** @description The operation was successful */ 200: { content: { - "application/json": components["schemas"]["LogLevel"]; + 'application/json': components['schemas']['LogLevel']; }; }; }; @@ -12524,20 +13104,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']; }; }; }; @@ -12551,7 +13131,7 @@ export type operations = { /** @description The operation was successful */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; }; @@ -12565,7 +13145,7 @@ export type operations = { /** @description The operation was successful */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; }; @@ -12579,7 +13159,7 @@ export type operations = { /** @description The operation was successful */ 200: { content: { - "application/json": unknown; + 'application/json': unknown; }; }; }; @@ -12593,7 +13173,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - "application/json": components["schemas"]["InvocationCacheStatus"]; + 'application/json': components['schemas']['InvocationCacheStatus']; }; }; }; @@ -12611,26 +13191,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']; }; }; }; @@ -12645,7 +13225,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 */ @@ -12660,13 +13240,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']; }; }; }; @@ -12686,13 +13266,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']; }; }; }; @@ -12712,13 +13292,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']; }; }; }; @@ -12736,20 +13316,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']; }; }; }; @@ -12769,13 +13349,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']; }; }; }; @@ -12795,13 +13375,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']; }; }; }; @@ -12821,13 +13401,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']; }; }; }; @@ -12847,13 +13427,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']; }; }; }; @@ -12873,13 +13453,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']; }; }; }; @@ -12901,13 +13481,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']; }; }; }; @@ -12929,13 +13509,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']; }; }; }; @@ -12957,13 +13537,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']; }; }; }; @@ -12983,13 +13563,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']; }; }; }; @@ -13009,13 +13589,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']; }; }; }; @@ -13027,20 +13607,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']; }; }; }; @@ -13057,11 +13637,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; }; @@ -13070,13 +13650,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']; }; }; }; @@ -13088,20 +13668,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']; }; }; };