diff --git a/invokeai/frontend/web/public/locales/en.json b/invokeai/frontend/web/public/locales/en.json index cf4cfca2f3..7796868aae 100644 --- a/invokeai/frontend/web/public/locales/en.json +++ b/invokeai/frontend/web/public/locales/en.json @@ -741,6 +741,8 @@ "customConfig": "Custom Config", "customConfigFileLocation": "Custom Config File Location", "customSaveLocation": "Custom Save Location", + "defaultSettings": "Default Settings", + "defaultSettingsSaved": "Default Settings Saved", "delete": "Delete", "deleteConfig": "Delete Config", "deleteModel": "Delete Model", diff --git a/invokeai/frontend/web/src/app/types/invokeai.ts b/invokeai/frontend/web/src/app/types/invokeai.ts index 2fd3ff2e5a..a856c2d122 100644 --- a/invokeai/frontend/web/src/app/types/invokeai.ts +++ b/invokeai/frontend/web/src/app/types/invokeai.ts @@ -1,7 +1,7 @@ import type { CONTROLNET_PROCESSORS } from 'features/controlAdapters/store/constants'; +import type { ParameterPrecision, ParameterScheduler } from 'features/parameters/types/parameterSchemas'; import type { InvokeTabName } from 'features/ui/store/tabMap'; import type { O } from 'ts-toolbelt'; -import { ParameterPrecision, ParameterScheduler } from '../../features/parameters/types/parameterSchemas'; /** * A disable-able application feature diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings.tsx index 50771525ba..d45f33e390 100644 --- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings.tsx +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings.tsx @@ -1,33 +1,13 @@ -import { Button, Flex, Heading } from '@invoke-ai/ui-library'; -import { SubmitHandler, useForm } from 'react-hook-form'; -import { SettingToggle } from './DefaultSettings/SettingToggle'; -import { DefaultCfgScale } from './DefaultSettings/DefaultCfgScale'; -import { DefaultSteps } from './DefaultSettings/DefaultSteps'; -import { useAppSelector } from '../../../../app/store/storeHooks'; -import { DefaultScheduler } from './DefaultSettings/DefaultScheduler'; -import { selectGenerationSlice } from '../../../parameters/store/generationSlice'; -import { createMemoizedSelector } from '../../../../app/store/createMemoizedSelector'; -import { selectConfigSlice } from '../../../system/store/configSlice'; -import { DefaultVaePrecision } from './DefaultSettings/DefaultVaePrecision'; -import { DefaultCfgRescaleMultiplier } from './DefaultSettings/DefaultCfgRescaleMultiplier'; -import { DefaultVae } from './DefaultSettings/DefaultVae'; -import { t } from 'i18next'; -import { IoPencil } from 'react-icons/io5'; -import { each } from 'lodash-es'; +import { skipToken } from '@reduxjs/toolkit/query'; +import { createMemoizedSelector } from 'app/store/createMemoizedSelector'; +import { useAppSelector } from 'app/store/storeHooks'; +import Loading from 'common/components/Loading/Loading'; +import { selectConfigSlice } from 'features/system/store/configSlice'; +import { isNil } from 'lodash-es'; +import { useMemo } from 'react'; +import { useGetModelMetadataQuery } from 'services/api/endpoints/models'; -export interface FormField { - value: T; - isEnabled: boolean; -} - -export type DefaultSettingsFormData = { - vae: FormField; - vaePrecision: FormField; - scheduler: FormField; - steps: FormField; - cfgScale: FormField; - cfgRescaleMultiplier: FormField; -}; +import { DefaultSettingsForm } from './DefaultSettings/DefaultSettingsForm'; const initialStatesSelector = createMemoizedSelector(selectConfigSlice, (config) => { const { steps, guidance, scheduler, cfgRescaleMultiplier, vaePrecision } = config.sd; @@ -42,78 +22,45 @@ const initialStatesSelector = createMemoizedSelector(selectConfigSlice, (config) }); export const DefaultSettings = () => { + const selectedModelKey = useAppSelector((s) => s.modelmanagerV2.selectedModelKey); + + const { data, isLoading } = useGetModelMetadataQuery(selectedModelKey ?? skipToken); const { initialSteps, initialCfg, initialScheduler, initialCfgRescaleMultiplier, initialVaePrecision } = useAppSelector(initialStatesSelector); - const { handleSubmit, control, formState } = useForm({ - defaultValues: { - vae: { isEnabled: false, value: null }, - vaePrecision: { isEnabled: false, value: initialVaePrecision }, - scheduler: { isEnabled: false, value: initialScheduler }, - steps: { isEnabled: false, value: initialSteps }, - cfgScale: { isEnabled: false, value: initialCfg }, - cfgRescaleMultiplier: { isEnabled: false, value: initialCfgRescaleMultiplier }, - }, - }); + const defaultSettingsDefaults = useMemo(() => { + return { + vae: { isEnabled: !isNil(data?.default_settings?.vae), value: data?.default_settings?.vae || 'default' }, + vaePrecision: { + isEnabled: !isNil(data?.default_settings?.vae_precision), + value: data?.default_settings?.vae_precision || initialVaePrecision || 'fp32', + }, + scheduler: { + isEnabled: !isNil(data?.default_settings?.scheduler), + value: data?.default_settings?.scheduler || initialScheduler || 'euler', + }, + steps: { isEnabled: !isNil(data?.default_settings?.steps), value: data?.default_settings?.steps || initialSteps }, + cfgScale: { + isEnabled: !isNil(data?.default_settings?.cfg_scale), + value: data?.default_settings?.cfg_scale || initialCfg, + }, + cfgRescaleMultiplier: { + isEnabled: !isNil(data?.default_settings?.cfg_rescale_multiplier), + value: data?.default_settings?.cfg_rescale_multiplier || initialCfgRescaleMultiplier, + }, + }; + }, [ + data?.default_settings, + initialSteps, + initialCfg, + initialScheduler, + initialCfgRescaleMultiplier, + initialVaePrecision, + ]); - const onSubmit: SubmitHandler = (data) => { - const body: { [key: string]: string | number | null } = {}; - each(data, (value, key) => { - if (value.isEnabled) { - body[key] = value.value; - } - }); - console.log(body); - }; + if (isLoading) { + return ; + } - return ( - <> - - Default Settings - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ); + return ; }; diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultCfgRescaleMultiplier.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultCfgRescaleMultiplier.tsx index 7e7fe93fa1..d73fa5b34f 100644 --- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultCfgRescaleMultiplier.tsx +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultCfgRescaleMultiplier.tsx @@ -1,11 +1,12 @@ -import { FormControl, FormLabel, CompositeSlider, CompositeNumberInput, Flex } from '@invoke-ai/ui-library'; -import { useMemo } from 'react'; +import { CompositeNumberInput, CompositeSlider, Flex,FormControl, FormLabel } from '@invoke-ai/ui-library'; +import { useAppSelector } from 'app/store/storeHooks'; +import { InformationalPopover } from 'common/components/InformationalPopover/InformationalPopover'; +import { useCallback,useMemo } from 'react'; +import type {UseControllerProps } from 'react-hook-form'; +import { useController } from 'react-hook-form'; import { useTranslation } from 'react-i18next'; -import { useAppSelector } from '../../../../../app/store/storeHooks'; -import { InformationalPopover } from '../../../../../common/components/InformationalPopover/InformationalPopover'; -import { UseControllerProps, useController } from 'react-hook-form'; -import { DefaultSettingsFormData } from '../DefaultSettings'; -import { useCallback } from 'react'; + +import type { DefaultSettingsFormData } from './DefaultSettingsForm'; type DefaultCfgRescaleMultiplierType = DefaultSettingsFormData['cfgRescaleMultiplier']; diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultCfgScale.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultCfgScale.tsx index ea4f9a8468..2f7a965449 100644 --- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultCfgScale.tsx +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultCfgScale.tsx @@ -1,11 +1,12 @@ -import { FormControl, FormLabel, CompositeSlider, CompositeNumberInput, Flex } from '@invoke-ai/ui-library'; -import { useMemo } from 'react'; +import { CompositeNumberInput, CompositeSlider, Flex,FormControl, FormLabel } from '@invoke-ai/ui-library'; +import { useAppSelector } from 'app/store/storeHooks'; +import { InformationalPopover } from 'common/components/InformationalPopover/InformationalPopover'; +import { useCallback,useMemo } from 'react'; +import type {UseControllerProps } from 'react-hook-form'; +import { useController } from 'react-hook-form'; import { useTranslation } from 'react-i18next'; -import { useAppSelector } from '../../../../../app/store/storeHooks'; -import { InformationalPopover } from '../../../../../common/components/InformationalPopover/InformationalPopover'; -import { UseControllerProps, useController } from 'react-hook-form'; -import { DefaultSettingsFormData } from '../DefaultSettings'; -import { useCallback } from 'react'; + +import type { DefaultSettingsFormData } from './DefaultSettingsForm'; type DefaultCfgType = DefaultSettingsFormData['cfgScale']; diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultScheduler.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultScheduler.tsx index 145748cd28..0d459b3446 100644 --- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultScheduler.tsx +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultScheduler.tsx @@ -4,9 +4,11 @@ import { InformationalPopover } from 'common/components/InformationalPopover/Inf import { SCHEDULER_OPTIONS } from 'features/parameters/types/constants'; import { isParameterScheduler } from 'features/parameters/types/parameterSchemas'; import { useCallback, useMemo } from 'react'; +import type {UseControllerProps } from 'react-hook-form'; +import { useController } from 'react-hook-form'; import { useTranslation } from 'react-i18next'; -import { DefaultSettingsFormData } from '../DefaultSettings'; -import { UseControllerProps, useController } from 'react-hook-form'; + +import type { DefaultSettingsFormData } from './DefaultSettingsForm'; type DefaultSchedulerType = DefaultSettingsFormData['scheduler']; diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultSettingsForm.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultSettingsForm.tsx new file mode 100644 index 0000000000..11f2f916dc --- /dev/null +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultSettingsForm.tsx @@ -0,0 +1,147 @@ +import { Button, Flex, Heading } from '@invoke-ai/ui-library'; +import { useAppDispatch, useAppSelector } from 'app/store/storeHooks'; +import type { ParameterScheduler } from 'features/parameters/types/parameterSchemas'; +import { addToast } from 'features/system/store/systemSlice'; +import { makeToast } from 'features/system/util/makeToast'; +import { useCallback } from 'react'; +import type { SubmitHandler } from 'react-hook-form'; +import { useForm } from 'react-hook-form'; +import { useTranslation } from 'react-i18next'; +import { IoPencil } from 'react-icons/io5'; +import { useUpdateModelMetadataMutation } from 'services/api/endpoints/models'; + +import { DefaultCfgRescaleMultiplier } from './DefaultCfgRescaleMultiplier'; +import { DefaultCfgScale } from './DefaultCfgScale'; +import { DefaultScheduler } from './DefaultScheduler'; +import { DefaultSteps } from './DefaultSteps'; +import { DefaultVae } from './DefaultVae'; +import { DefaultVaePrecision } from './DefaultVaePrecision'; +import { SettingToggle } from './SettingToggle'; + +export interface FormField { + value: T; + isEnabled: boolean; +} + +export type DefaultSettingsFormData = { + vae: FormField; + vaePrecision: FormField; + scheduler: FormField; + steps: FormField; + cfgScale: FormField; + cfgRescaleMultiplier: FormField; +}; + +export const DefaultSettingsForm = ({ + defaultSettingsDefaults, +}: { + defaultSettingsDefaults: DefaultSettingsFormData; +}) => { + const dispatch = useAppDispatch(); + const { t } = useTranslation(); + const selectedModelKey = useAppSelector((s) => s.modelmanagerV2.selectedModelKey); + + const [editModelMetadata, { isLoading }] = useUpdateModelMetadataMutation(); + + const { handleSubmit, control, formState } = useForm({ + defaultValues: defaultSettingsDefaults, + }); + + const onSubmit = useCallback>( + (data) => { + if (!selectedModelKey) { + return; + } + + const body = { + vae: data.vae.isEnabled ? data.vae.value : null, + vae_precision: data.vaePrecision.isEnabled ? data.vaePrecision.value : null, + cfg_scale: data.cfgScale.isEnabled ? data.cfgScale.value : null, + cfg_rescale_multiplier: data.cfgRescaleMultiplier.isEnabled ? data.cfgRescaleMultiplier.value : null, + steps: data.steps.isEnabled ? data.steps.value : null, + scheduler: data.scheduler.isEnabled ? data.scheduler.value : null, + }; + + editModelMetadata({ + key: selectedModelKey, + body: { default_settings: body }, + }) + .unwrap() + .then((_) => { + dispatch( + addToast( + makeToast({ + title: t('modelManager.defaultSettingsSaved'), + status: 'success', + }) + ) + ); + }) + .catch((error) => { + if (error) { + dispatch( + addToast( + makeToast({ + title: `${error.data.detail} `, + status: 'error', + }) + ) + ); + } + }); + }, + [selectedModelKey, dispatch, editModelMetadata] + ); + + return ( + <> + + {t('modelManager.defaultSettings')} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ); +}; diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultSteps.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultSteps.tsx index 5ff4d20f22..39100a884c 100644 --- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultSteps.tsx +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultSteps.tsx @@ -1,11 +1,12 @@ -import { FormControl, FormLabel, CompositeSlider, CompositeNumberInput, Flex } from '@invoke-ai/ui-library'; -import { useMemo } from 'react'; +import { CompositeNumberInput, CompositeSlider, Flex,FormControl, FormLabel } from '@invoke-ai/ui-library'; +import { useAppSelector } from 'app/store/storeHooks'; +import { InformationalPopover } from 'common/components/InformationalPopover/InformationalPopover'; +import { useCallback,useMemo } from 'react'; +import type {UseControllerProps } from 'react-hook-form'; +import { useController } from 'react-hook-form'; import { useTranslation } from 'react-i18next'; -import { useAppSelector } from '../../../../../app/store/storeHooks'; -import { InformationalPopover } from '../../../../../common/components/InformationalPopover/InformationalPopover'; -import { UseControllerProps, useController } from 'react-hook-form'; -import { DefaultSettingsFormData } from '../DefaultSettings'; -import { useCallback } from 'react'; + +import type { DefaultSettingsFormData } from './DefaultSettingsForm'; type DefaultSteps = DefaultSettingsFormData['steps']; diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultVae.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultVae.tsx index 9b139dca5a..97fbdab30e 100644 --- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultVae.tsx +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultVae.tsx @@ -1,14 +1,16 @@ import type { ComboboxOnChange } from '@invoke-ai/ui-library'; import { Combobox, FormControl, FormLabel } from '@invoke-ai/ui-library'; -import { InformationalPopover } from 'common/components/InformationalPopover/InformationalPopover'; -import { useCallback, useMemo } from 'react'; -import { useTranslation } from 'react-i18next'; -import { DefaultSettingsFormData } from '../DefaultSettings'; -import { UseControllerProps, useController } from 'react-hook-form'; -import { useGetModelConfigQuery, useGetVaeModelsQuery } from '../../../../../services/api/endpoints/models'; -import { map } from 'lodash-es'; import { skipToken } from '@reduxjs/toolkit/query'; -import { useAppSelector } from '../../../../../app/store/storeHooks'; +import { useAppSelector } from 'app/store/storeHooks'; +import { InformationalPopover } from 'common/components/InformationalPopover/InformationalPopover'; +import { map } from 'lodash-es'; +import { useCallback, useMemo } from 'react'; +import type {UseControllerProps } from 'react-hook-form'; +import { useController } from 'react-hook-form'; +import { useTranslation } from 'react-i18next'; +import { useGetModelConfigQuery, useGetVaeModelsQuery } from 'services/api/endpoints/models'; + +import type { DefaultSettingsFormData } from './DefaultSettingsForm'; type DefaultVaeType = DefaultSettingsFormData['vae']; @@ -25,13 +27,15 @@ export function DefaultVae(props: UseControllerProps) { .filter((vae) => vae.base === modelData?.base) .map((vae) => ({ label: vae.name, value: vae.key })); - return { compatibleOptions }; + const defaultOption = { label: 'Default VAE', value: 'default' }; + + return { compatibleOptions: [defaultOption, ...compatibleOptions] }; }, }); const onChange = useCallback( (v) => { - const newValue = !v?.value ? null : v.value; + const newValue = !v?.value ? 'default' : v.value; const updatedValue = { ...(field.value as DefaultVaeType), @@ -55,14 +59,7 @@ export function DefaultVae(props: UseControllerProps) { {t('modelManager.vae')} - + ); } diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultVaePrecision.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultVaePrecision.tsx index 1a64ef93ed..4d86c50d60 100644 --- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultVaePrecision.tsx +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/DefaultVaePrecision.tsx @@ -1,11 +1,13 @@ import type { ComboboxOnChange } from '@invoke-ai/ui-library'; import { Combobox, FormControl, FormLabel } from '@invoke-ai/ui-library'; import { InformationalPopover } from 'common/components/InformationalPopover/InformationalPopover'; -import { isParameterPrecision, isParameterScheduler } from 'features/parameters/types/parameterSchemas'; +import { isParameterPrecision } from 'features/parameters/types/parameterSchemas'; import { useCallback, useMemo } from 'react'; +import type {UseControllerProps } from 'react-hook-form'; +import { useController } from 'react-hook-form'; import { useTranslation } from 'react-i18next'; -import { DefaultSettingsFormData } from '../DefaultSettings'; -import { UseControllerProps, useController } from 'react-hook-form'; + +import type { DefaultSettingsFormData } from './DefaultSettingsForm'; const options = [ { label: 'FP16', value: 'fp16' }, diff --git a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/SettingToggle.tsx b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/SettingToggle.tsx index 4f4f401075..21eb3cda22 100644 --- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/SettingToggle.tsx +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/DefaultSettings/SettingToggle.tsx @@ -1,8 +1,10 @@ -import { UseControllerProps, useController, useFormContext, useWatch } from 'react-hook-form'; -import { DefaultSettingsFormData, FormField } from '../DefaultSettings'; -import { useCallback } from 'react'; import { Switch } from '@invoke-ai/ui-library'; -import { ChangeEvent } from 'react'; +import type { ChangeEvent } from 'react'; +import { useCallback , useMemo } from 'react'; +import type { UseControllerProps} from 'react-hook-form'; +import { useController } from 'react-hook-form'; + +import type { DefaultSettingsFormData, FormField } from './DefaultSettingsForm'; interface Props extends UseControllerProps { name: keyof DefaultSettingsFormData; @@ -11,6 +13,10 @@ interface Props extends UseControllerProps { export function SettingToggle(props: Props) { const { field } = useController(props); + const value = useMemo(() => { + return !!(field.value as FormField).isEnabled; + }, [field.value]); + const onChange = useCallback( (e: ChangeEvent) => { const updatedValue: FormField = { @@ -22,5 +28,5 @@ export function SettingToggle(props: Props) { [field] ); - return ; + return ; } 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 362d820ea8..0b25e5fdc7 100644 --- a/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelView.tsx +++ b/invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelPanel/ModelView.tsx @@ -1,4 +1,4 @@ -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 { setSelectedModelMode } from 'features/modelManagerV2/store/modelManagerV2Slice'; @@ -17,9 +17,9 @@ import type { VAEModelConfig, } from 'services/api/types'; +import { DefaultSettings } from './DefaultSettings'; import { ModelAttrView } from './ModelAttrView'; import { ModelConvert } from './ModelConvert'; -import { DefaultSettings } from './DefaultSettings'; export const ModelView = () => { const { t } = useTranslation(); diff --git a/invokeai/frontend/web/src/services/api/endpoints/models.ts b/invokeai/frontend/web/src/services/api/endpoints/models.ts index dac6594255..996b991a96 100644 --- a/invokeai/frontend/web/src/services/api/endpoints/models.ts +++ b/invokeai/frontend/web/src/services/api/endpoints/models.ts @@ -38,6 +38,7 @@ type GetModelConfigResponse = paths['/api/v2/models/i/{key}']['get']['responses' type GetModelMetadataResponse = paths['/api/v2/models/i/{key}/metadata']['get']['responses']['200']['content']['application/json']; + type ListModelsArg = NonNullable; type DeleteMainModelArg = { @@ -116,25 +117,25 @@ const anyModelConfigAdapterSelectors = anyModelConfigAdapter.getSelectors(undefi const buildProvidesTags = (tagType: (typeof tagTypes)[number]) => - (result: EntityState | undefined) => { - const tags: ApiTagDescription[] = [{ type: tagType, id: LIST_TAG }, 'Model']; - if (result) { - tags.push( - ...result.ids.map((id) => ({ - type: tagType, - id, - })) - ); - } + (result: EntityState | undefined) => { + const tags: ApiTagDescription[] = [{ type: tagType, id: LIST_TAG }, 'Model']; + if (result) { + tags.push( + ...result.ids.map((id) => ({ + type: tagType, + id, + })) + ); + } - return tags; - }; + return tags; + }; const buildTransformResponse = (adapter: EntityAdapter) => - (response: { models: T[] }) => { - return adapter.setAll(adapter.getInitialState(), response.models); - }; + (response: { models: T[] }) => { + return adapter.setAll(adapter.getInitialState(), response.models); + }; /** * Builds an endpoint URL for the models router diff --git a/invokeai/frontend/web/src/services/api/schema.ts b/invokeai/frontend/web/src/services/api/schema.ts index 34bfbdd190..560feb93ba 100644 --- a/invokeai/frontend/web/src/services/api/schema.ts +++ b/invokeai/frontend/web/src/services/api/schema.ts @@ -3,35 +3,36 @@ * 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. @@ -39,58 +40,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']; + 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. @@ -119,9 +120,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. @@ -143,27 +144,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. @@ -171,18 +172,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. @@ -197,382 +198,382 @@ 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"]; }; }; @@ -632,7 +633,7 @@ export type components = { * @default add * @constant */ - type: 'add'; + type: "add"; }; /** * AppConfig @@ -648,7 +649,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 @@ -767,19 +768,21 @@ export type components = { * @description trigger phrases for this model */ trigger_phrases?: string[] | null; + /** @description default settings for this model */ + default_settings?: components["schemas"]["ModelDefaultSettings"] | 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: { /** @@ -791,11 +794,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 @@ -870,9 +873,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. @@ -908,7 +911,7 @@ export type components = { * @default RGB * @enum {string} */ - mode?: 'RGB' | 'RGBA'; + mode?: "RGB" | "RGBA"; /** * @description The color of the image * @default { @@ -918,13 +921,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 @@ -949,9 +952,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. @@ -963,7 +966,7 @@ export type components = { * @default lblend * @constant */ - type: 'lblend'; + type: "lblend"; }; /** BoardChanges */ BoardChanges: { @@ -1067,7 +1070,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: { @@ -1118,7 +1121,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 @@ -1151,7 +1154,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) @@ -1213,7 +1216,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: { @@ -1256,7 +1259,7 @@ export type components = { * @default boolean_collection * @constant */ - type: 'boolean_collection'; + type: "boolean_collection"; }; /** * BooleanCollectionOutput @@ -1273,7 +1276,7 @@ export type components = { * @default boolean_collection_output * @constant */ - type: 'boolean_collection_output'; + type: "boolean_collection_output"; }; /** * Boolean Primitive @@ -1308,7 +1311,7 @@ export type components = { * @default boolean * @constant */ - type: 'boolean'; + type: "boolean"; }; /** * BooleanOutput @@ -1325,7 +1328,7 @@ export type components = { * @default boolean_output * @constant */ - type: 'boolean_output'; + type: "boolean_output"; }; /** * CLIPOutput @@ -1336,13 +1339,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 @@ -1360,18 +1363,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 @@ -1418,9 +1421,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. @@ -1439,13 +1442,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 @@ -1504,7 +1507,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 @@ -1563,7 +1566,7 @@ export type components = { * @default calculate_image_tiles * @constant */ - type: 'calculate_image_tiles'; + type: "calculate_image_tiles"; }; /** * Calculate Image Tiles Minimum Overlap @@ -1622,7 +1625,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: { @@ -1630,13 +1633,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 @@ -1655,9 +1658,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. @@ -1676,7 +1679,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) @@ -1694,7 +1697,7 @@ export type components = { * @default canny_image_processor * @constant */ - type: 'canny_image_processor'; + type: "canny_image_processor"; }; /** * Canvas Paste Back @@ -1702,9 +1705,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. @@ -1723,11 +1726,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 @@ -1739,7 +1742,7 @@ export type components = { * @default canvas_paste_back * @constant */ - type: 'canvas_paste_back'; + type: "canvas_paste_back"; }; /** * Center Pad or Crop Image @@ -1764,7 +1767,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) @@ -1794,7 +1797,7 @@ export type components = { * @default img_pad_crop * @constant */ - type: 'img_pad_crop'; + type: "img_pad_crop"; }; /** * CivitaiMetadata @@ -1821,17 +1824,19 @@ export type components = { * @description trigger phrases for this model */ trigger_phrases?: string[] | null; + /** @description default settings for this model */ + default_settings?: components["schemas"]["ModelDefaultSettings"] | 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 @@ -1882,7 +1887,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 @@ -1921,7 +1926,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; /** @@ -1929,7 +1934,7 @@ export type components = { * @default civitai * @constant */ - type?: 'civitai'; + type?: "civitai"; }; /** * ClearResult @@ -1945,9 +1950,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 @@ -1957,7 +1962,7 @@ export type components = { * Loras * @description Loras to apply on model loading */ - loras: components['schemas']['LoraInfo'][]; + loras: components["schemas"]["LoraInfo"][]; }; /** * CLIP Skip @@ -1985,7 +1990,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 @@ -1997,7 +2002,7 @@ export type components = { * @default clip_skip * @constant */ - type: 'clip_skip'; + type: "clip_skip"; }; /** * ClipSkipInvocationOutput @@ -2009,13 +2014,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 @@ -2055,7 +2060,7 @@ export type components = { * @default collect * @constant */ - type: 'collect'; + type: "collect"; }; /** CollectInvocationOutput */ CollectInvocationOutput: { @@ -2069,7 +2074,7 @@ export type components = { * @default collect_output * @constant */ - type: 'collect_output'; + type: "collect_output"; }; /** * ColorCollectionOutput @@ -2080,13 +2085,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 @@ -2095,9 +2100,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. @@ -2116,11 +2121,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 @@ -2132,7 +2137,7 @@ export type components = { * @default color_correct * @constant */ - type: 'color_correct'; + type: "color_correct"; }; /** * ColorField @@ -2191,13 +2196,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 @@ -2205,9 +2210,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. @@ -2226,7 +2231,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 @@ -2238,7 +2243,7 @@ export type components = { * @default color_map_image_processor * @constant */ - type: 'color_map_image_processor'; + type: "color_map_image_processor"; }; /** * ColorOutput @@ -2246,20 +2251,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. @@ -2292,13 +2297,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 @@ -2327,13 +2332,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 @@ -2344,13 +2349,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 @@ -2386,13 +2391,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 @@ -2400,13 +2405,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 @@ -2414,9 +2419,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. @@ -2435,7 +2440,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 @@ -2471,14 +2476,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 @@ -2503,14 +2508,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 @@ -2528,19 +2533,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 @@ -2594,19 +2599,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 @@ -2639,7 +2644,7 @@ export type components = { */ last_modified: number | null; /** @default */ - repo_variant?: components['schemas']['ModelRepoVariant'] | null; + repo_variant?: components["schemas"]["ModelRepoVariant"] | null; }; /** * ControlNet @@ -2664,9 +2669,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 @@ -2691,20 +2696,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 @@ -2723,13 +2728,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 @@ -2757,18 +2762,7 @@ export type components = { * Generation Mode * @description The generation mode that output this image */ - generation_mode?: - | ( - | 'txt2img' - | 'img2img' - | 'inpaint' - | 'outpaint' - | 'sdxl_txt2img' - | 'sdxl_img2img' - | 'sdxl_inpaint' - | 'sdxl_outpaint' - ) - | null; + generation_mode?: ("txt2img" | "img2img" | "inpaint" | "outpaint" | "sdxl_txt2img" | "sdxl_img2img" | "sdxl_inpaint" | "sdxl_outpaint") | null; /** * Positive Prompt * @description The positive prompt parameter @@ -2835,27 +2829,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 @@ -2867,7 +2861,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. @@ -2894,7 +2888,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 @@ -2930,7 +2924,7 @@ export type components = { * @default core_metadata * @constant */ - type: 'core_metadata'; + type: "core_metadata"; [key: string]: unknown; }; /** @@ -2956,11 +2950,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) @@ -2978,7 +2972,7 @@ export type components = { * @default create_denoise_mask * @constant */ - type: 'create_denoise_mask'; + type: "create_denoise_mask"; }; /** * Create Gradient Mask @@ -3003,7 +2997,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 @@ -3015,7 +3009,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 @@ -3027,7 +3021,7 @@ export type components = { * @default create_gradient_mask * @constant */ - type: 'create_gradient_mask'; + type: "create_gradient_mask"; }; /** * Crop Latents @@ -3053,7 +3047,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. @@ -3079,7 +3073,7 @@ export type components = { * @default crop_latents * @constant */ - type: 'crop_latents'; + type: "crop_latents"; }; /** CursorPaginatedResults[SessionQueueItemDTO] */ CursorPaginatedResults_SessionQueueItemDTO_: { @@ -3097,7 +3091,7 @@ export type components = { * Items * @description Items */ - items: components['schemas']['SessionQueueItemDTO'][]; + items: components["schemas"]["SessionQueueItemDTO"][]; }; /** * OpenCV Inpaint @@ -3105,9 +3099,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. @@ -3126,15 +3120,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 @@ -3142,9 +3136,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. @@ -3163,7 +3157,7 @@ export type components = { */ use_cache?: boolean; /** @description The image to process */ - image?: components['schemas']['ImageField']; + image?: components["schemas"]["ImageField"]; /** * Draw Body * @default true @@ -3190,7 +3184,7 @@ export type components = { * @default dw_openpose_image_processor * @constant */ - type: 'dw_openpose_image_processor'; + type: "dw_openpose_image_processor"; }; /** DeleteBoardResult */ DeleteBoardResult: { @@ -3238,11 +3232,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 @@ -3273,47 +3267,24 @@ export type components = { * @default euler * @enum {string} */ - scheduler?: - | 'ddim' - | 'ddpm' - | 'deis' - | 'lms' - | 'lms_k' - | 'pndm' - | 'heun' - | 'heun_k' - | 'euler' - | 'euler_k' - | 'euler_a' - | 'kdpm_2' - | 'kdpm_2_a' - | 'dpmpp_2s' - | 'dpmpp_2s_k' - | 'dpmpp_2m' - | 'dpmpp_2m_k' - | 'dpmpp_2m_sde' - | 'dpmpp_2m_sde_k' - | 'dpmpp_sde' - | 'dpmpp_sde_k' - | 'unipc' - | 'lcm'; + scheduler?: "ddim" | "ddpm" | "deis" | "lms" | "lms_k" | "pndm" | "heun" | "heun_k" | "euler" | "euler_k" | "euler_a" | "kdpm_2" | "kdpm_2_a" | "dpmpp_2s" | "dpmpp_2s_k" | "dpmpp_2m" | "dpmpp_2m_k" | "dpmpp_2m_sde" | "dpmpp_2m_sde_k" | "dpmpp_sde" | "dpmpp_sde_k" | "unipc" | "lcm"; /** * UNet * @description UNet (scheduler, LoRAs) */ - unet?: components['schemas']['UNetField']; + unet?: components["schemas"]["UNetField"]; /** Control */ - control?: components['schemas']['ControlField'] | components['schemas']['ControlField'][] | null; + control?: components["schemas"]["ControlField"] | components["schemas"]["ControlField"][] | null; /** * IP-Adapter * @description IP-Adapter to apply */ - ip_adapter?: components['schemas']['IPAdapterField'] | components['schemas']['IPAdapterField'][] | null; + ip_adapter?: components["schemas"]["IPAdapterField"] | components["schemas"]["IPAdapterField"][] | null; /** * T2I-Adapter * @description T2I-Adapter(s) to apply */ - t2i_adapter?: components['schemas']['T2IAdapterField'] | components['schemas']['T2IAdapterField'][] | null; + t2i_adapter?: components["schemas"]["T2IAdapterField"] | components["schemas"]["T2IAdapterField"][] | null; /** * CFG Rescale Multiplier * @description Rescale multiplier for CFG guidance, used for models trained with zero-terminal SNR @@ -3321,15 +3292,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 @@ -3360,13 +3331,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 @@ -3374,9 +3345,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. @@ -3395,14 +3366,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 @@ -3419,7 +3390,7 @@ export type components = { * @default depth_anything_image_processor * @constant */ - type: 'depth_anything_image_processor'; + type: "depth_anything_image_processor"; }; /** * Divide Integers @@ -3460,7 +3431,7 @@ export type components = { * @default div * @constant */ - type: 'div'; + type: "div"; }; /** * DownloadJob @@ -3500,7 +3471,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 @@ -3549,7 +3520,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 @@ -3594,7 +3565,7 @@ export type components = { * @default dynamic_prompt * @constant */ - type: 'dynamic_prompt'; + type: "dynamic_prompt"; }; /** DynamicPromptsResponse */ DynamicPromptsResponse: { @@ -3609,9 +3580,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. @@ -3630,18 +3601,14 @@ export type components = { */ use_cache?: boolean; /** @description The input image */ - image?: components['schemas']['ImageField']; + image?: components["schemas"]["ImageField"]; /** * Model Name * @description The Real-ESRGAN model to use * @default RealESRGAN_x4plus.pth * @enum {string} */ - model_name?: - | 'RealESRGAN_x4plus.pth' - | 'RealESRGAN_x4plus_anime_6B.pth' - | 'ESRGAN_SRx4_DF2KOST_official-ff704c30.pth' - | 'RealESRGAN_x2plus.pth'; + model_name?: "RealESRGAN_x4plus.pth" | "RealESRGAN_x4plus_anime_6B.pth" | "ESRGAN_SRx4_DF2KOST_official-ff704c30.pth" | "RealESRGAN_x2plus.pth"; /** * Tile Size * @description Tile size for tiled ESRGAN upscaling (0=tiling disabled) @@ -3653,14 +3620,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: { @@ -3693,7 +3660,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 @@ -3713,9 +3680,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. @@ -3734,7 +3701,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) @@ -3752,7 +3719,7 @@ export type components = { * @default face_identifier * @constant */ - type: 'face_identifier'; + type: "face_identifier"; }; /** * FaceMask @@ -3760,7 +3727,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. @@ -3779,7 +3746,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. @@ -3821,7 +3788,7 @@ export type components = { * @default face_mask_detection * @constant */ - type: 'face_mask_detection'; + type: "face_mask_detection"; }; /** * FaceMaskOutput @@ -3829,7 +3796,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 @@ -3845,9 +3812,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 @@ -3855,7 +3822,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. @@ -3874,7 +3841,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. @@ -3916,7 +3883,7 @@ export type components = { * @default face_off * @constant */ - type: 'face_off'; + type: "face_off"; }; /** * FaceOffOutput @@ -3924,7 +3891,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 @@ -3940,9 +3907,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 @@ -3987,7 +3954,7 @@ export type components = { * @default float_collection * @constant */ - type: 'float_collection'; + type: "float_collection"; }; /** * FloatCollectionOutput @@ -4004,7 +3971,7 @@ export type components = { * @default float_collection_output * @constant */ - type: 'float_collection_output'; + type: "float_collection_output"; }; /** * Float Primitive @@ -4039,7 +4006,7 @@ export type components = { * @default float * @constant */ - type: 'float'; + type: "float"; }; /** * Float Range @@ -4086,7 +4053,7 @@ export type components = { * @default float_range * @constant */ - type: 'float_range'; + type: "float_range"; }; /** * Float Math @@ -4116,7 +4083,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 @@ -4134,7 +4101,7 @@ export type components = { * @default float_math * @constant */ - type: 'float_math'; + type: "float_math"; }; /** * FloatOutput @@ -4151,7 +4118,7 @@ export type components = { * @default float_output * @constant */ - type: 'float_output'; + type: "float_output"; }; /** * Float To Integer @@ -4193,13 +4160,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: { @@ -4272,7 +4239,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. @@ -4302,7 +4269,7 @@ export type components = { * @default freeu * @constant */ - type: 'freeu'; + type: "freeu"; }; /** Graph */ Graph: { @@ -4316,141 +4283,13 @@ export type components = { * @description The nodes in this graph */ nodes: { - [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']; + [key: string]: components["schemas"]["SeamlessModeInvocation"] | components["schemas"]["MergeMetadataInvocation"] | components["schemas"]["ColorCorrectInvocation"] | components["schemas"]["LatentsToImageInvocation"] | components["schemas"]["MaskEdgeInvocation"] | components["schemas"]["PidiImageProcessorInvocation"] | components["schemas"]["FreeUInvocation"] | components["schemas"]["MergeTilesToImageInvocation"] | components["schemas"]["CanvasPasteBackInvocation"] | components["schemas"]["IntegerMathInvocation"] | components["schemas"]["ImageCropInvocation"] | components["schemas"]["ImageMultiplyInvocation"] | components["schemas"]["LineartImageProcessorInvocation"] | components["schemas"]["ScaleLatentsInvocation"] | components["schemas"]["FaceMaskInvocation"] | components["schemas"]["ESRGANInvocation"] | components["schemas"]["BooleanInvocation"] | components["schemas"]["FloatMathInvocation"] | components["schemas"]["VaeLoaderInvocation"] | components["schemas"]["MetadataItemInvocation"] | components["schemas"]["FloatLinearRangeInvocation"] | components["schemas"]["LatentsCollectionInvocation"] | components["schemas"]["NormalbaeImageProcessorInvocation"] | components["schemas"]["IdealSizeInvocation"] | components["schemas"]["CvInpaintInvocation"] | components["schemas"]["StringCollectionInvocation"] | components["schemas"]["ContentShuffleImageProcessorInvocation"] | components["schemas"]["StringJoinThreeInvocation"] | components["schemas"]["ColorMapImageProcessorInvocation"] | components["schemas"]["FaceOffInvocation"] | components["schemas"]["UnsharpMaskInvocation"] | components["schemas"]["FloatCollectionInvocation"] | components["schemas"]["MidasDepthImageProcessorInvocation"] | components["schemas"]["ImageChannelOffsetInvocation"] | components["schemas"]["InfillPatchMatchInvocation"] | components["schemas"]["DynamicPromptInvocation"] | components["schemas"]["CannyImageProcessorInvocation"] | components["schemas"]["InfillColorInvocation"] | components["schemas"]["NoiseInvocation"] | components["schemas"]["ImageToLatentsInvocation"] | components["schemas"]["InfillTileInvocation"] | components["schemas"]["LatentsInvocation"] | components["schemas"]["ConditioningInvocation"] | components["schemas"]["DepthAnythingImageProcessorInvocation"] | components["schemas"]["MultiplyInvocation"] | components["schemas"]["LoraLoaderInvocation"] | components["schemas"]["StringReplaceInvocation"] | components["schemas"]["CompelInvocation"] | components["schemas"]["CalculateImageTilesMinimumOverlapInvocation"] | components["schemas"]["IntegerInvocation"] | components["schemas"]["ResizeLatentsInvocation"] | components["schemas"]["LeresImageProcessorInvocation"] | components["schemas"]["SDXLModelLoaderInvocation"] | components["schemas"]["ImageWatermarkInvocation"] | components["schemas"]["CreateGradientMaskInvocation"] | components["schemas"]["RangeInvocation"] | components["schemas"]["ImagePasteInvocation"] | components["schemas"]["SDXLRefinerModelLoaderInvocation"] | components["schemas"]["ImageScaleInvocation"] | components["schemas"]["ZoeDepthImageProcessorInvocation"] | components["schemas"]["FloatToIntegerInvocation"] | components["schemas"]["PairTileImageInvocation"] | components["schemas"]["T2IAdapterInvocation"] | components["schemas"]["BooleanCollectionInvocation"] | components["schemas"]["RandomRangeInvocation"] | components["schemas"]["RoundInvocation"] | components["schemas"]["PromptsFromFileInvocation"] | components["schemas"]["LaMaInfillInvocation"] | components["schemas"]["StepParamEasingInvocation"] | components["schemas"]["CenterPadCropInvocation"] | components["schemas"]["CropLatentsCoreInvocation"] | components["schemas"]["SubtractInvocation"] | components["schemas"]["MaskCombineInvocation"] | components["schemas"]["IntegerCollectionInvocation"] | components["schemas"]["ControlNetInvocation"] | components["schemas"]["SDXLLoraLoaderInvocation"] | components["schemas"]["TileResamplerProcessorInvocation"] | components["schemas"]["CV2InfillInvocation"] | components["schemas"]["CollectInvocation"] | components["schemas"]["ImageInvocation"] | components["schemas"]["DWOpenposeImageProcessorInvocation"] | components["schemas"]["FaceIdentifierInvocation"] | components["schemas"]["ImageBlurInvocation"] | components["schemas"]["ImageChannelMultiplyInvocation"] | components["schemas"]["AddInvocation"] | components["schemas"]["SDXLCompelPromptInvocation"] | components["schemas"]["IterateInvocation"] | components["schemas"]["CalculateImageTilesInvocation"] | components["schemas"]["SDXLRefinerCompelPromptInvocation"] | components["schemas"]["ImageResizeInvocation"] | components["schemas"]["SchedulerInvocation"] | components["schemas"]["ImageCollectionInvocation"] | components["schemas"]["ShowImageInvocation"] | components["schemas"]["RandomFloatInvocation"] | components["schemas"]["StringSplitNegInvocation"] | components["schemas"]["StringSplitInvocation"] | components["schemas"]["ColorInvocation"] | components["schemas"]["ImageConvertInvocation"] | components["schemas"]["BlendLatentsInvocation"] | components["schemas"]["MediapipeFaceProcessorInvocation"] | components["schemas"]["CalculateImageTilesEvenSplitInvocation"] | components["schemas"]["CreateDenoiseMaskInvocation"] | components["schemas"]["ConditioningCollectionInvocation"] | components["schemas"]["SegmentAnythingProcessorInvocation"] | components["schemas"]["StringInvocation"] | components["schemas"]["DenoiseLatentsInvocation"] | components["schemas"]["RangeOfSizeInvocation"] | components["schemas"]["DivideInvocation"] | components["schemas"]["ImageLerpInvocation"] | components["schemas"]["FloatInvocation"] | components["schemas"]["MainModelLoaderInvocation"] | components["schemas"]["BlankImageInvocation"] | components["schemas"]["StringJoinInvocation"] | components["schemas"]["ClipSkipInvocation"] | components["schemas"]["ImageChannelInvocation"] | components["schemas"]["TileToPropertiesInvocation"] | components["schemas"]["ImageHueAdjustmentInvocation"] | components["schemas"]["HedImageProcessorInvocation"] | components["schemas"]["MetadataInvocation"] | components["schemas"]["IPAdapterInvocation"] | components["schemas"]["RandomIntInvocation"] | components["schemas"]["MaskFromAlphaInvocation"] | components["schemas"]["ImageNSFWBlurInvocation"] | components["schemas"]["MlsdImageProcessorInvocation"] | components["schemas"]["ImageInverseLerpInvocation"] | components["schemas"]["SaveImageInvocation"] | components["schemas"]["LineartAnimeImageProcessorInvocation"] | components["schemas"]["CoreMetadataInvocation"]; }; /** * Edges * @description The connections between nodes and their fields in this graph */ - edges: components['schemas']['Edge'][]; + edges: components["schemas"]["Edge"][]; }; /** * GraphExecutionState @@ -4463,9 +4302,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 @@ -4481,51 +4320,7 @@ export type components = { * @description The results of node executions */ results: { - [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']; + [key: string]: components["schemas"]["BooleanOutput"] | components["schemas"]["SDXLRefinerModelLoaderOutput"] | components["schemas"]["PairTileImageOutput"] | components["schemas"]["ColorCollectionOutput"] | components["schemas"]["IdealSizeOutput"] | components["schemas"]["String2Output"] | components["schemas"]["FloatCollectionOutput"] | components["schemas"]["ColorOutput"] | components["schemas"]["IPAdapterOutput"] | components["schemas"]["MetadataItemOutput"] | components["schemas"]["ConditioningCollectionOutput"] | components["schemas"]["NoiseOutput"] | components["schemas"]["ClipSkipInvocationOutput"] | components["schemas"]["ImageOutput"] | components["schemas"]["VAEOutput"] | components["schemas"]["MetadataOutput"] | components["schemas"]["StringCollectionOutput"] | components["schemas"]["ControlOutput"] | components["schemas"]["FaceOffOutput"] | components["schemas"]["StringOutput"] | components["schemas"]["SchedulerOutput"] | components["schemas"]["ImageCollectionOutput"] | components["schemas"]["TileToPropertiesOutput"] | components["schemas"]["LoraLoaderOutput"] | components["schemas"]["StringPosNegOutput"] | components["schemas"]["CollectInvocationOutput"] | components["schemas"]["ModelLoaderOutput"] | components["schemas"]["DenoiseMaskOutput"] | components["schemas"]["ConditioningOutput"] | components["schemas"]["CalculateImageTilesOutput"] | components["schemas"]["FaceMaskOutput"] | components["schemas"]["IntegerCollectionOutput"] | components["schemas"]["BooleanCollectionOutput"] | components["schemas"]["IntegerOutput"] | components["schemas"]["FloatOutput"] | components["schemas"]["CLIPOutput"] | components["schemas"]["SeamlessModeOutput"] | components["schemas"]["T2IAdapterOutput"] | components["schemas"]["UNetOutput"] | components["schemas"]["IterateInvocationOutput"] | components["schemas"]["SDXLModelLoaderOutput"] | components["schemas"]["LatentsOutput"] | components["schemas"]["SDXLLoraLoaderOutput"] | components["schemas"]["LatentsCollectionOutput"]; }; /** * Errors @@ -4559,7 +4354,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 */ @@ -4569,12 +4364,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 @@ -4582,9 +4377,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. @@ -4603,7 +4398,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 @@ -4627,7 +4422,7 @@ export type components = { * @default hed_image_processor * @constant */ - type: 'hed_image_processor'; + type: "hed_image_processor"; }; /** * HuggingFaceMetadata @@ -4654,17 +4449,19 @@ export type components = { * @description trigger phrases for this model */ trigger_phrases?: string[] | null; + /** @description default settings for this model */ + default_settings?: components["schemas"]["ModelDefaultSettings"] | 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 @@ -4695,18 +4492,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 @@ -4747,11 +4544,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 @@ -4797,12 +4594,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 @@ -4826,7 +4623,7 @@ export type components = { * @default ip_adapter * @constant */ - type: 'ip_adapter'; + type: "ip_adapter"; }; /** * IPAdapterMetadataField @@ -4834,9 +4631,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 @@ -4867,13 +4664,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 @@ -4910,7 +4707,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) @@ -4922,7 +4719,7 @@ export type components = { * @default ideal_size * @constant */ - type: 'ideal_size'; + type: "ideal_size"; }; /** * IdealSizeOutput @@ -4944,7 +4741,7 @@ export type components = { * @default ideal_size_output * @constant */ - type: 'ideal_size_output'; + type: "ideal_size_output"; }; /** * Blur Image @@ -4952,9 +4749,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. @@ -4973,7 +4770,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 @@ -4986,13 +4783,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 @@ -5005,16 +4802,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. @@ -5033,20 +4830,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 @@ -5054,9 +4851,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. @@ -5075,30 +4872,13 @@ export type components = { */ use_cache?: boolean; /** @description The image to adjust */ - image?: components['schemas']['ImageField']; + image?: components["schemas"]["ImageField"]; /** * Channel * @description Which channel to adjust * @enum {string} */ - channel?: - | 'Red (RGBA)' - | 'Green (RGBA)' - | 'Blue (RGBA)' - | 'Alpha (RGBA)' - | 'Cyan (CMYK)' - | 'Magenta (CMYK)' - | 'Yellow (CMYK)' - | 'Black (CMYK)' - | 'Hue (HSV)' - | 'Saturation (HSV)' - | 'Value (HSV)' - | 'Luminosity (LAB)' - | 'A (LAB)' - | 'B (LAB)' - | 'Y (YCbCr)' - | 'Cb (YCbCr)' - | 'Cr (YCbCr)'; + channel?: "Red (RGBA)" | "Green (RGBA)" | "Blue (RGBA)" | "Alpha (RGBA)" | "Cyan (CMYK)" | "Magenta (CMYK)" | "Yellow (CMYK)" | "Black (CMYK)" | "Hue (HSV)" | "Saturation (HSV)" | "Value (HSV)" | "Luminosity (LAB)" | "A (LAB)" | "B (LAB)" | "Y (YCbCr)" | "Cb (YCbCr)" | "Cr (YCbCr)"; /** * Scale * @description The amount to scale the channel by. @@ -5116,7 +4896,7 @@ export type components = { * @default img_channel_multiply * @constant */ - type: 'img_channel_multiply'; + type: "img_channel_multiply"; }; /** * Offset Image Channel @@ -5124,9 +4904,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. @@ -5145,30 +4925,13 @@ export type components = { */ use_cache?: boolean; /** @description The image to adjust */ - image?: components['schemas']['ImageField']; + image?: components["schemas"]["ImageField"]; /** * Channel * @description Which channel to adjust * @enum {string} */ - channel?: - | 'Red (RGBA)' - | 'Green (RGBA)' - | 'Blue (RGBA)' - | 'Alpha (RGBA)' - | 'Cyan (CMYK)' - | 'Magenta (CMYK)' - | 'Yellow (CMYK)' - | 'Black (CMYK)' - | 'Hue (HSV)' - | 'Saturation (HSV)' - | 'Value (HSV)' - | 'Luminosity (LAB)' - | 'A (LAB)' - | 'B (LAB)' - | 'Y (YCbCr)' - | 'Cb (YCbCr)' - | 'Cr (YCbCr)'; + channel?: "Red (RGBA)" | "Green (RGBA)" | "Blue (RGBA)" | "Alpha (RGBA)" | "Cyan (CMYK)" | "Magenta (CMYK)" | "Yellow (CMYK)" | "Black (CMYK)" | "Hue (HSV)" | "Saturation (HSV)" | "Value (HSV)" | "Luminosity (LAB)" | "A (LAB)" | "B (LAB)" | "Y (YCbCr)" | "Cb (YCbCr)" | "Cr (YCbCr)"; /** * Offset * @description The amount to adjust the channel by @@ -5180,7 +4943,7 @@ export type components = { * @default img_channel_offset * @constant */ - type: 'img_channel_offset'; + type: "img_channel_offset"; }; /** * Image Collection Primitive @@ -5208,13 +4971,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 @@ -5225,13 +4988,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 @@ -5239,9 +5002,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. @@ -5260,20 +5023,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 @@ -5281,9 +5044,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. @@ -5302,7 +5065,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 @@ -5332,7 +5095,7 @@ export type components = { * @default img_crop * @constant */ - type: 'img_crop'; + type: "img_crop"; }; /** * ImageDTO @@ -5355,9 +5118,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. @@ -5431,9 +5194,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. @@ -5452,7 +5215,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 @@ -5464,7 +5227,7 @@ export type components = { * @default img_hue_adjust * @constant */ - type: 'img_hue_adjust'; + type: "img_hue_adjust"; }; /** * Inverse Lerp Image @@ -5472,9 +5235,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. @@ -5493,7 +5256,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 @@ -5511,7 +5274,7 @@ export type components = { * @default img_ilerp * @constant */ - type: 'img_ilerp'; + type: "img_ilerp"; }; /** * Image Primitive @@ -5536,13 +5299,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 @@ -5550,9 +5313,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. @@ -5571,7 +5334,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 @@ -5589,7 +5352,7 @@ export type components = { * @default img_lerp * @constant */ - type: 'img_lerp'; + type: "img_lerp"; }; /** * Multiply Images @@ -5597,9 +5360,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. @@ -5618,15 +5381,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 @@ -5634,9 +5397,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. @@ -5655,13 +5418,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 @@ -5669,7 +5432,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 @@ -5685,7 +5448,7 @@ export type components = { * @default image_output * @constant */ - type: 'image_output'; + type: "image_output"; }; /** * Paste Image @@ -5693,9 +5456,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. @@ -5714,11 +5477,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 @@ -5742,7 +5505,7 @@ export type components = { * @default img_paste * @constant */ - type: 'img_paste'; + type: "img_paste"; }; /** * ImageRecordChanges @@ -5756,7 +5519,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. @@ -5780,9 +5543,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. @@ -5801,7 +5564,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) @@ -5820,13 +5583,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 @@ -5834,9 +5597,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. @@ -5855,7 +5618,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 @@ -5868,13 +5631,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 @@ -5899,9 +5662,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) @@ -5919,7 +5682,7 @@ export type components = { * @default i2l * @constant */ - type: 'i2l'; + type: "i2l"; }; /** * ImageUrlsDTO @@ -5948,9 +5711,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. @@ -5969,7 +5732,7 @@ export type components = { */ use_cache?: boolean; /** @description The image to check */ - image?: components['schemas']['ImageField']; + image?: components["schemas"]["ImageField"]; /** * Text * @description Watermark text @@ -5981,7 +5744,7 @@ export type components = { * @default img_watermark * @constant */ - type: 'img_watermark'; + type: "img_watermark"; }; /** ImagesDownloaded */ ImagesDownloaded: { @@ -6010,9 +5773,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. @@ -6031,7 +5794,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 { @@ -6041,13 +5804,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 @@ -6055,9 +5818,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. @@ -6076,7 +5839,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 @@ -6089,13 +5852,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 @@ -6103,9 +5866,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. @@ -6124,7 +5887,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) @@ -6142,14 +5905,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 @@ -6183,7 +5946,7 @@ export type components = { * @default integer_collection * @constant */ - type: 'integer_collection'; + type: "integer_collection"; }; /** * IntegerCollectionOutput @@ -6200,7 +5963,7 @@ export type components = { * @default integer_collection_output * @constant */ - type: 'integer_collection_output'; + type: "integer_collection_output"; }; /** * Integer Primitive @@ -6235,7 +5998,7 @@ export type components = { * @default integer * @constant */ - type: 'integer'; + type: "integer"; }; /** * Integer Math @@ -6265,7 +6028,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 @@ -6283,7 +6046,7 @@ export type components = { * @default integer_math * @constant */ - type: 'integer_math'; + type: "integer_math"; }; /** * IntegerOutput @@ -6300,7 +6063,7 @@ export type components = { * @default integer_output * @constant */ - type: 'integer_output'; + type: "integer_output"; }; /** InvocationCacheStatus */ InvocationCacheStatus: { @@ -6369,7 +6132,7 @@ export type components = { * @default iterate * @constant */ - type: 'iterate'; + type: "iterate"; }; /** * IterateInvocationOutput @@ -6396,7 +6159,7 @@ export type components = { * @default iterate_output * @constant */ - type: 'iterate_output'; + type: "iterate_output"; }; JsonValue: unknown; /** @@ -6405,9 +6168,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. @@ -6426,13 +6189,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 @@ -6460,13 +6223,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 @@ -6477,13 +6240,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 @@ -6525,13 +6288,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 @@ -6539,7 +6302,7 @@ export type components = { */ LatentsOutput: { /** @description Latents tensor */ - latents: components['schemas']['LatentsField']; + latents: components["schemas"]["LatentsField"]; /** * Width * @description Width of output (px) @@ -6555,7 +6318,7 @@ export type components = { * @default latents_output * @constant */ - type: 'latents_output'; + type: "latents_output"; }; /** * Latents to Image @@ -6563,9 +6326,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. @@ -6584,9 +6347,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) @@ -6604,7 +6367,7 @@ export type components = { * @default l2i * @constant */ - type: 'l2i'; + type: "l2i"; }; /** * Leres (Depth) Processor @@ -6612,9 +6375,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. @@ -6633,7 +6396,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` @@ -6669,7 +6432,7 @@ export type components = { * @default leres_image_processor * @constant */ - type: 'leres_image_processor'; + type: "leres_image_processor"; }; /** * LicenseRestrictions @@ -6695,7 +6458,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 @@ -6703,9 +6466,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. @@ -6724,7 +6487,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 @@ -6742,7 +6505,7 @@ export type components = { * @default lineart_anime_image_processor * @constant */ - type: 'lineart_anime_image_processor'; + type: "lineart_anime_image_processor"; }; /** * Lineart Processor @@ -6750,9 +6513,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. @@ -6771,7 +6534,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 @@ -6795,7 +6558,7 @@ export type components = { * @default lineart_image_processor * @constant */ - type: 'lineart_image_processor'; + type: "lineart_image_processor"; }; /** * LoRAConfig @@ -6813,18 +6576,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 @@ -6863,7 +6626,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 @@ -6898,7 +6661,7 @@ export type components = { * @default local * @constant */ - type?: 'local'; + type?: "local"; }; /** * LogLevel @@ -6916,7 +6679,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 @@ -6949,7 +6712,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 @@ -6960,18 +6723,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 @@ -6983,19 +6746,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 @@ -7013,19 +6776,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 @@ -7060,9 +6823,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 @@ -7095,19 +6858,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 @@ -7142,9 +6905,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 @@ -7156,7 +6919,7 @@ export type components = { */ ztsnr_training?: boolean; /** @default */ - repo_variant?: components['schemas']['ModelRepoVariant'] | null; + repo_variant?: components["schemas"]["ModelRepoVariant"] | null; }; /** * MainModelField @@ -7192,13 +6955,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 @@ -7206,9 +6969,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. @@ -7227,15 +6990,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 @@ -7243,9 +7006,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. @@ -7264,7 +7027,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 @@ -7290,7 +7053,7 @@ export type components = { * @default mask_edge * @constant */ - type: 'mask_edge'; + type: "mask_edge"; }; /** * Mask from Alpha @@ -7298,9 +7061,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. @@ -7319,7 +7082,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 @@ -7331,7 +7094,7 @@ export type components = { * @default tomask * @constant */ - type: 'tomask'; + type: "tomask"; }; /** * Mediapipe Face Processor @@ -7339,9 +7102,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. @@ -7360,7 +7123,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 @@ -7378,13 +7141,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. @@ -7411,13 +7174,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 @@ -7425,9 +7188,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. @@ -7449,14 +7212,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. @@ -7468,7 +7231,7 @@ export type components = { * @default merge_tiles_to_image * @constant */ - type: 'merge_tiles_to_image'; + type: "merge_tiles_to_image"; }; /** * MetadataField @@ -7502,13 +7265,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: { @@ -7560,7 +7323,7 @@ export type components = { * @default metadata_item * @constant */ - type: 'metadata_item'; + type: "metadata_item"; }; /** * MetadataItemOutput @@ -7568,24 +7331,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 @@ -7593,9 +7356,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. @@ -7614,7 +7377,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) @@ -7632,7 +7395,7 @@ export type components = { * @default midas_depth_image_processor * @constant */ - type: 'midas_depth_image_processor'; + type: "midas_depth_image_processor"; }; /** * MLSD Processor @@ -7640,9 +7403,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. @@ -7661,7 +7424,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 @@ -7691,22 +7454,29 @@ export type components = { * @default mlsd_image_processor * @constant */ - type: 'mlsd_image_processor'; + type: "mlsd_image_processor"; + }; + /** ModelDefaultSettings */ + ModelDefaultSettings: { + /** Vae */ + vae: string | null; + /** Vae Precision */ + vae_precision: string | null; + /** Scheduler */ + 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") | null; + /** Steps */ + steps: number | null; + /** Cfg Scale */ + cfg_scale: number | null; + /** Cfg Rescale Multiplier */ + cfg_rescale_multiplier: number | null; }; /** * 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: { /** @@ -7718,7 +7488,7 @@ export type components = { * @description Info to load submodel * @default null */ - submodel_type?: components['schemas']['SubModelType'] | null; + submodel_type?: components["schemas"]["SubModelType"] | null; }; /** * ModelInstallJob @@ -7734,7 +7504,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 @@ -7749,16 +7519,7 @@ export type components = { * Config Out * @description After successful installation, this will hold the configuration object. */ - config_out?: - | (components['schemas']['MainDiffusersConfig'] | components['schemas']['MainCheckpointConfig']) - | (components['schemas']['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 @@ -7769,11 +7530,7 @@ 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 @@ -7796,18 +7553,12 @@ 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 @@ -7828,23 +7579,23 @@ export type components = { * VAE * @description VAE */ - vae: components['schemas']['VaeField']; + vae: components["schemas"]["VaeField"]; /** * type * @default model_loader_output * @constant */ - type: 'model_loader_output'; + type: "model_loader_output"; /** * CLIP * @description CLIP (tokenizer, text encoder, LoRAs) and skipped layer count */ - clip: components['schemas']['ClipField']; + clip: components["schemas"]["ClipField"]; /** * UNet * @description UNet (scheduler, LoRAs) */ - unet: components['schemas']['UNetField']; + unet: components["schemas"]["UNetField"]; }; /** * ModelMetadataChanges @@ -7852,6 +7603,7 @@ export type components = { * * Only limited changes are valid: * - `trigger_phrases`: the list of trigger phrases for this model + * - `default_settings`: the user-configured default settings for this model */ ModelMetadataChanges: { /** @@ -7859,6 +7611,8 @@ export type components = { * @description The model's list of trigger phrases */ trigger_phrases?: string[] | null; + /** @description The user-configured default settings for this model */ + default_settings?: components["schemas"]["ModelDefaultSettings"] | null; [key: string]: unknown; }; /** @@ -7866,13 +7620,13 @@ export type components = { * @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. @@ -7884,11 +7638,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 @@ -7910,38 +7664,20 @@ 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 @@ -7982,7 +7718,7 @@ export type components = { * @default mul * @constant */ - type: 'mul'; + type: "mul"; }; /** NodeFieldValue */ NodeFieldValue: { @@ -8053,7 +7789,7 @@ export type components = { * @default noise * @constant */ - type: 'noise'; + type: "noise"; }; /** * NoiseOutput @@ -8061,7 +7797,7 @@ export type components = { */ NoiseOutput: { /** @description Noise tensor */ - noise: components['schemas']['LatentsField']; + noise: components["schemas"]["LatentsField"]; /** * Width * @description Width of output (px) @@ -8077,7 +7813,7 @@ export type components = { * @default noise_output * @constant */ - type: 'noise_output'; + type: "noise_output"; }; /** * Normal BAE Processor @@ -8085,9 +7821,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. @@ -8106,7 +7842,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 @@ -8124,7 +7860,7 @@ export type components = { * @default normalbae_image_processor * @constant */ - type: 'normalbae_image_processor'; + type: "normalbae_image_processor"; }; /** OffsetPaginatedResults[BoardDTO] */ OffsetPaginatedResults_BoardDTO_: { @@ -8147,7 +7883,7 @@ export type components = { * Items * @description Items */ - items: components['schemas']['BoardDTO'][]; + items: components["schemas"]["BoardDTO"][]; }; /** OffsetPaginatedResults[ImageDTO] */ OffsetPaginatedResults_ImageDTO_: { @@ -8170,7 +7906,7 @@ export type components = { * Items * @description Items */ - items: components['schemas']['ImageDTO'][]; + items: components["schemas"]["ImageDTO"][]; }; /** PaginatedResults[ModelSummary] */ PaginatedResults_ModelSummary_: { @@ -8198,7 +7934,7 @@ export type components = { * Items * @description Items */ - items: components['schemas']['ModelSummary'][]; + items: components["schemas"]["ModelSummary"][]; }; /** PaginatedResults[WorkflowRecordListItemDTO] */ PaginatedResults_WorkflowRecordListItemDTO_: { @@ -8226,7 +7962,7 @@ export type components = { * Items * @description Items */ - items: components['schemas']['WorkflowRecordListItemDTO'][]; + items: components["schemas"]["WorkflowRecordListItemDTO"][]; }; /** * Pair Tile with Image @@ -8251,26 +7987,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 @@ -8278,9 +8014,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. @@ -8299,7 +8035,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 @@ -8329,7 +8065,7 @@ export type components = { * @default pidi_image_processor * @constant */ - type: 'pidi_image_processor'; + type: "pidi_image_processor"; }; /** * Prompts from File @@ -8385,7 +8121,7 @@ export type components = { * @default prompt_from_file * @constant */ - type: 'prompt_from_file'; + type: "prompt_from_file"; }; /** * PruneResult @@ -8443,7 +8179,7 @@ export type components = { * @default rand_float * @constant */ - type: 'rand_float'; + type: "rand_float"; }; /** * Random Integer @@ -8484,7 +8220,7 @@ export type components = { * @default rand_int * @constant */ - type: 'rand_int'; + type: "rand_int"; }; /** * Random Range @@ -8537,7 +8273,7 @@ export type components = { * @default random_range * @constant */ - type: 'random_range'; + type: "random_range"; }; /** * Integer Range @@ -8584,7 +8320,7 @@ export type components = { * @default range * @constant */ - type: 'range'; + type: "range"; }; /** * Integer Range of Size @@ -8631,7 +8367,7 @@ export type components = { * @default range_of_size * @constant */ - type: 'range_of_size'; + type: "range_of_size"; }; /** * RemoteModelFile @@ -8692,7 +8428,7 @@ export type components = { */ use_cache?: boolean; /** @description Latents tensor */ - latents?: components['schemas']['LatentsField']; + latents?: components["schemas"]["LatentsField"]; /** * Width * @description Width of output (px) @@ -8709,7 +8445,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) @@ -8721,7 +8457,7 @@ export type components = { * @default lresize * @constant */ - type: 'lresize'; + type: "lresize"; }; /** * ResourceOrigin @@ -8732,7 +8468,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. @@ -8772,7 +8508,7 @@ export type components = { * @default round_float * @constant */ - type: 'round_float'; + type: "round_float"; }; /** * SDXL Prompt @@ -8842,18 +8578,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 @@ -8881,7 +8617,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 @@ -8892,23 +8628,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 @@ -8920,25 +8656,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 @@ -8963,13 +8699,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 @@ -8980,28 +8716,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 @@ -9058,13 +8794,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 @@ -9089,13 +8825,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 @@ -9106,38 +8842,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. @@ -9156,13 +8892,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 @@ -9187,7 +8923,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 @@ -9199,7 +8935,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) @@ -9211,7 +8947,7 @@ export type components = { * @default lscale * @constant */ - type: 'lscale'; + type: "lscale"; }; /** * Scheduler @@ -9241,36 +8977,13 @@ export type components = { * @default euler * @enum {string} */ - scheduler?: - | 'ddim' - | 'ddpm' - | 'deis' - | 'lms' - | 'lms_k' - | 'pndm' - | 'heun' - | 'heun_k' - | 'euler' - | 'euler_k' - | 'euler_a' - | 'kdpm_2' - | 'kdpm_2_a' - | 'dpmpp_2s' - | 'dpmpp_2s_k' - | 'dpmpp_2m' - | 'dpmpp_2m_k' - | 'dpmpp_2m_sde' - | 'dpmpp_2m_sde_k' - | 'dpmpp_sde' - | 'dpmpp_sde_k' - | 'unipc' - | 'lcm'; + scheduler?: "ddim" | "ddpm" | "deis" | "lms" | "lms_k" | "pndm" | "heun" | "heun_k" | "euler" | "euler_k" | "euler_a" | "kdpm_2" | "kdpm_2_a" | "dpmpp_2s" | "dpmpp_2s_k" | "dpmpp_2m" | "dpmpp_2m_k" | "dpmpp_2m_sde" | "dpmpp_2m_sde_k" | "dpmpp_sde" | "dpmpp_sde_k" | "unipc" | "lcm"; /** * type * @default scheduler * @constant */ - type: 'scheduler'; + type: "scheduler"; }; /** SchedulerOutput */ SchedulerOutput: { @@ -9279,43 +8992,20 @@ 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. @@ -9342,12 +9032,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 @@ -9365,7 +9055,7 @@ export type components = { * @default seamless * @constant */ - type: 'seamless'; + type: "seamless"; }; /** * SeamlessModeOutput @@ -9377,19 +9067,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 @@ -9397,9 +9087,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. @@ -9418,13 +9108,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: { @@ -9444,8 +9134,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: { @@ -9460,7 +9150,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 @@ -9511,11 +9201,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: { @@ -9530,7 +9220,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 @@ -9581,7 +9271,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: { @@ -9659,13 +9349,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 @@ -9695,38 +9385,7 @@ export type components = { * @default Linear * @enum {string} */ - easing?: - | 'Linear' - | 'QuadIn' - | 'QuadOut' - | 'QuadInOut' - | 'CubicIn' - | 'CubicOut' - | 'CubicInOut' - | 'QuarticIn' - | 'QuarticOut' - | 'QuarticInOut' - | 'QuinticIn' - | 'QuinticOut' - | 'QuinticInOut' - | 'SineIn' - | 'SineOut' - | 'SineInOut' - | 'CircularIn' - | 'CircularOut' - | 'CircularInOut' - | 'ExponentialIn' - | 'ExponentialOut' - | 'ExponentialInOut' - | 'ElasticIn' - | 'ElasticOut' - | 'ElasticInOut' - | 'BackIn' - | 'BackOut' - | 'BackInOut' - | 'BounceIn' - | 'BounceOut' - | 'BounceInOut'; + easing?: "Linear" | "QuadIn" | "QuadOut" | "QuadInOut" | "CubicIn" | "CubicOut" | "CubicInOut" | "QuarticIn" | "QuarticOut" | "QuarticInOut" | "QuinticIn" | "QuinticOut" | "QuinticInOut" | "SineIn" | "SineOut" | "SineInOut" | "CircularIn" | "CircularOut" | "CircularInOut" | "ExponentialIn" | "ExponentialOut" | "ExponentialInOut" | "ElasticIn" | "ElasticOut" | "ElasticInOut" | "BackIn" | "BackOut" | "BackInOut" | "BounceIn" | "BounceOut" | "BounceInOut"; /** * Num Steps * @description number of denoising steps @@ -9784,7 +9443,7 @@ export type components = { * @default step_param_easing * @constant */ - type: 'step_param_easing'; + type: "step_param_easing"; }; /** * String2Output @@ -9806,7 +9465,7 @@ export type components = { * @default string_2_output * @constant */ - type: 'string_2_output'; + type: "string_2_output"; }; /** * String Collection Primitive @@ -9841,7 +9500,7 @@ export type components = { * @default string_collection * @constant */ - type: 'string_collection'; + type: "string_collection"; }; /** * StringCollectionOutput @@ -9858,7 +9517,7 @@ export type components = { * @default string_collection_output * @constant */ - type: 'string_collection_output'; + type: "string_collection_output"; }; /** * String Primitive @@ -9893,7 +9552,7 @@ export type components = { * @default string * @constant */ - type: 'string'; + type: "string"; }; /** * String Join @@ -9934,7 +9593,7 @@ export type components = { * @default string_join * @constant */ - type: 'string_join'; + type: "string_join"; }; /** * String Join Three @@ -9981,7 +9640,7 @@ export type components = { * @default string_join_three * @constant */ - type: 'string_join_three'; + type: "string_join_three"; }; /** * StringOutput @@ -9998,7 +9657,7 @@ export type components = { * @default string_output * @constant */ - type: 'string_output'; + type: "string_output"; }; /** * StringPosNegOutput @@ -10020,7 +9679,7 @@ export type components = { * @default string_pos_neg_output * @constant */ - type: 'string_pos_neg_output'; + type: "string_pos_neg_output"; }; /** * String Replace @@ -10073,7 +9732,7 @@ export type components = { * @default string_replace * @constant */ - type: 'string_replace'; + type: "string_replace"; }; /** * String Split @@ -10114,7 +9773,7 @@ export type components = { * @default string_split * @constant */ - type: 'string_split'; + type: "string_split"; }; /** * String Split Negative @@ -10149,24 +9808,14 @@ 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 @@ -10206,14 +9855,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 @@ -10238,7 +9887,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 @@ -10263,12 +9912,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 @@ -10293,13 +9942,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: { @@ -10315,13 +9964,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 @@ -10339,18 +9988,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 @@ -10410,18 +10059,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 @@ -10457,9 +10106,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 @@ -10467,9 +10116,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. @@ -10488,7 +10137,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 @@ -10500,7 +10149,7 @@ export type components = { * @default tile_image_processor * @constant */ - type: 'tile_image_processor'; + type: "tile_image_processor"; }; /** * Tile to Properties @@ -10525,13 +10174,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: { @@ -10590,24 +10239,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 @@ -10617,7 +10266,7 @@ export type components = { * @description FreeU configuration * @default null */ - freeu_config?: components['schemas']['FreeUConfig'] | null; + freeu_config?: components["schemas"]["FreeUConfig"] | null; }; /** * UNetOutput @@ -10628,13 +10277,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 @@ -10653,7 +10302,7 @@ export type components = { * @default url * @constant */ - type?: 'url'; + type?: "url"; }; /** * Unsharp Mask @@ -10661,9 +10310,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. @@ -10682,7 +10331,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 @@ -10700,7 +10349,7 @@ export type components = { * @default unsharp_mask * @constant */ - type: 'unsharp_mask'; + type: "unsharp_mask"; }; /** Upscaler */ Upscaler: { @@ -10735,13 +10384,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 @@ -10759,19 +10408,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 @@ -10820,19 +10469,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 @@ -10868,7 +10517,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 @@ -10901,13 +10550,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: { @@ -10959,23 +10608,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. @@ -10986,7 +10635,7 @@ export type components = { * WorkflowCategory * @enum {string} */ - WorkflowCategory: 'user' | 'default' | 'project'; + WorkflowCategory: "user" | "default" | "project"; /** WorkflowMeta */ WorkflowMeta: { /** @@ -10998,7 +10647,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: { @@ -11028,7 +10677,7 @@ export type components = { */ opened_at: string; /** @description The workflow. */ - workflow: components['schemas']['Workflow']; + workflow: components["schemas"]["Workflow"]; }; /** WorkflowRecordListItemDTO */ WorkflowRecordListItemDTO: { @@ -11063,14 +10712,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: { /** @@ -11112,23 +10761,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 @@ -11136,9 +10785,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. @@ -11157,13 +10806,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 @@ -11173,7 +10822,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. @@ -11191,7 +10840,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. @@ -11200,17 +10849,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 @@ -11227,9 +10876,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 @@ -11249,10 +10898,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; }; @@ -11262,7 +10911,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. @@ -11301,7 +10950,7 @@ export type components = { * @description The node's classification * @default stable */ - classification: components['schemas']['Classification']; + classification: components["schemas"]["Classification"]; }; /** * UIType @@ -11330,59 +10979,7 @@ 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; @@ -11396,6 +10993,7 @@ type $defs = Record; type external = Record; export type operations = { + /** * Parse Dynamicprompts * @description Creates a batch process @@ -11403,20 +11001,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"]; }; }; }; @@ -11429,26 +11027,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"]; }; }; }; @@ -11464,30 +11062,22 @@ 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"]; }; }; }; @@ -11507,15 +11097,7 @@ 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 */ @@ -11529,7 +11111,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -11560,7 +11142,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -11590,30 +11172,14 @@ 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 */ @@ -11631,7 +11197,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -11648,20 +11214,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"]; }; }; }; @@ -11681,13 +11247,7 @@ 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 */ @@ -11697,7 +11257,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -11715,26 +11275,20 @@ export type operations = { }; requestBody: { content: { - 'application/json': components['schemas']['ModelMetadataChanges']; + "application/json": components["schemas"]["ModelMetadataChanges"]; }; }; responses: { /** @description Successful Response */ 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 The model metadata was updated successfully */ 201: { content: { - 'application/json': unknown; + "application/json": unknown; }; }; /** @description Bad request */ @@ -11744,7 +11298,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -11758,7 +11312,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - 'application/json': string[]; + "application/json": string[]; }; }; }; @@ -11775,7 +11329,7 @@ export type operations = { /** @description Directory scanned successfully */ 200: { content: { - 'application/json': components['schemas']['FoundModel'][]; + "application/json": components["schemas"]["FoundModel"][]; }; }; /** @description Invalid directory path */ @@ -11785,7 +11339,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -11805,13 +11359,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"]; }; }; }; @@ -11835,30 +11389,14 @@ 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 */ @@ -11872,7 +11410,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -11921,14 +11459,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 */ @@ -11942,7 +11480,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 */ @@ -11977,7 +11515,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - 'application/json': components['schemas']['ModelInstallJob'][]; + "application/json": components["schemas"]["ModelInstallJob"][]; }; }; }; @@ -11991,7 +11529,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - 'application/json': unknown; + "application/json": unknown; }; }; /** @description All completed and errored jobs have been pruned */ @@ -12020,7 +11558,7 @@ export type operations = { /** @description Success */ 200: { content: { - 'application/json': components['schemas']['ModelInstallJob']; + "application/json": components["schemas"]["ModelInstallJob"]; }; }; /** @description No such job */ @@ -12030,7 +11568,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -12050,7 +11588,7 @@ export type operations = { /** @description The job was cancelled successfully */ 201: { content: { - 'application/json': unknown; + "application/json": unknown; }; }; /** @description No such job */ @@ -12060,7 +11598,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -12077,7 +11615,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 */ @@ -12107,15 +11645,7 @@ 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 */ @@ -12133,7 +11663,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -12155,22 +11685,14 @@ 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 */ @@ -12188,7 +11710,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -12202,7 +11724,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - 'application/json': components['schemas']['DownloadJob'][]; + "application/json": components["schemas"]["DownloadJob"][]; }; }; }; @@ -12216,7 +11738,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - 'application/json': unknown; + "application/json": unknown; }; }; /** @description All completed jobs have been pruned */ @@ -12236,20 +11758,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"]; }; }; }; @@ -12269,7 +11791,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 */ @@ -12279,7 +11801,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -12299,7 +11821,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - 'application/json': unknown; + "application/json": unknown; }; }; /** @description Job has been cancelled */ @@ -12313,7 +11835,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -12327,7 +11849,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - 'application/json': unknown; + "application/json": unknown; }; }; /** @description Download jobs have been cancelled */ @@ -12344,7 +11866,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 */ @@ -12357,14 +11879,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 */ @@ -12374,7 +11896,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -12394,13 +11916,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"]; }; }; }; @@ -12420,13 +11942,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"]; }; }; }; @@ -12444,20 +11966,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"]; }; }; }; @@ -12471,7 +11993,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - 'application/json': number; + "application/json": number; }; }; }; @@ -12485,7 +12007,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - 'application/json': number; + "application/json": number; }; }; }; @@ -12505,13 +12027,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"]; }; }; }; @@ -12528,13 +12050,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"]; }; }; }; @@ -12554,7 +12076,7 @@ export type operations = { /** @description Return the full-resolution image */ 200: { content: { - 'image/png': unknown; + "image/png": unknown; }; }; /** @description Image not found */ @@ -12564,7 +12086,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -12584,7 +12106,7 @@ export type operations = { /** @description Return the image thumbnail */ 200: { content: { - 'image/webp': unknown; + "image/webp": unknown; }; }; /** @description Image not found */ @@ -12594,7 +12116,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -12614,13 +12136,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"]; }; }; }; @@ -12633,9 +12155,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. */ @@ -12650,13 +12172,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"]; }; }; }; @@ -12665,20 +12187,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"]; }; }; }; @@ -12687,20 +12209,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"]; }; }; }; @@ -12709,20 +12231,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"]; }; }; }; @@ -12731,20 +12253,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"]; }; }; }; @@ -12764,7 +12286,7 @@ export type operations = { /** @description Return the complete bulk download item */ 200: { content: { - 'application/zip': unknown; + "application/zip": unknown; }; }; /** @description Image not found */ @@ -12774,7 +12296,7 @@ export type operations = { /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -12798,15 +12320,13 @@ export type operations = { /** @description Successful Response */ 200: { content: { - 'application/json': - | components['schemas']['OffsetPaginatedResults_BoardDTO_'] - | components['schemas']['BoardDTO'][]; + "application/json": components["schemas"]["OffsetPaginatedResults_BoardDTO_"] | components["schemas"]["BoardDTO"][]; }; }; /** @description Validation Error */ 422: { content: { - 'application/json': components['schemas']['HTTPValidationError']; + "application/json": components["schemas"]["HTTPValidationError"]; }; }; }; @@ -12826,13 +12346,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"]; }; }; }; @@ -12852,13 +12372,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"]; }; }; }; @@ -12882,13 +12402,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"]; }; }; }; @@ -12906,20 +12426,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"]; }; }; }; @@ -12939,13 +12459,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"]; }; }; }; @@ -12957,20 +12477,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"]; }; }; }; @@ -12982,20 +12502,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"]; }; }; }; @@ -13007,20 +12527,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"]; }; }; }; @@ -13032,20 +12552,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"]; }; }; }; @@ -13056,7 +12576,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - 'application/json': components['schemas']['AppVersion']; + "application/json": components["schemas"]["AppVersion"]; }; }; }; @@ -13067,7 +12587,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - 'application/json': components['schemas']['AppDependencyVersions']; + "application/json": components["schemas"]["AppDependencyVersions"]; }; }; }; @@ -13078,7 +12598,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - 'application/json': components['schemas']['AppConfig']; + "application/json": components["schemas"]["AppConfig"]; }; }; }; @@ -13092,7 +12612,7 @@ export type operations = { /** @description The operation was successful */ 200: { content: { - 'application/json': components['schemas']['LogLevel']; + "application/json": components["schemas"]["LogLevel"]; }; }; }; @@ -13104,20 +12624,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"]; }; }; }; @@ -13131,7 +12651,7 @@ export type operations = { /** @description The operation was successful */ 200: { content: { - 'application/json': unknown; + "application/json": unknown; }; }; }; @@ -13145,7 +12665,7 @@ export type operations = { /** @description The operation was successful */ 200: { content: { - 'application/json': unknown; + "application/json": unknown; }; }; }; @@ -13159,7 +12679,7 @@ export type operations = { /** @description The operation was successful */ 200: { content: { - 'application/json': unknown; + "application/json": unknown; }; }; }; @@ -13173,7 +12693,7 @@ export type operations = { /** @description Successful Response */ 200: { content: { - 'application/json': components['schemas']['InvocationCacheStatus']; + "application/json": components["schemas"]["InvocationCacheStatus"]; }; }; }; @@ -13191,26 +12711,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"]; }; }; }; @@ -13225,7 +12745,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 */ @@ -13240,13 +12760,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"]; }; }; }; @@ -13266,13 +12786,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"]; }; }; }; @@ -13292,13 +12812,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"]; }; }; }; @@ -13316,20 +12836,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"]; }; }; }; @@ -13349,13 +12869,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"]; }; }; }; @@ -13375,13 +12895,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"]; }; }; }; @@ -13401,13 +12921,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"]; }; }; }; @@ -13427,13 +12947,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"]; }; }; }; @@ -13453,13 +12973,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"]; }; }; }; @@ -13481,13 +13001,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"]; }; }; }; @@ -13509,13 +13029,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"]; }; }; }; @@ -13537,13 +13057,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"]; }; }; }; @@ -13563,13 +13083,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"]; }; }; }; @@ -13589,13 +13109,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"]; }; }; }; @@ -13607,20 +13127,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"]; }; }; }; @@ -13637,11 +13157,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; }; @@ -13650,13 +13170,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"]; }; }; }; @@ -13668,20 +13188,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"]; }; }; };