mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore: Rebuild API - base_model and type added
This commit is contained in:
parent
ef83a2fffe
commit
d2f3500e1b
@ -2,9 +2,14 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { BaseModelType } from './BaseModelType';
|
||||
import type { ModelError } from './ModelError';
|
||||
import type { ModelType } from './ModelType';
|
||||
|
||||
export type ControlNetModelConfig = {
|
||||
name: string;
|
||||
base_model: BaseModelType;
|
||||
type: ModelType;
|
||||
path: string;
|
||||
description?: string;
|
||||
format: ('checkpoint' | 'diffusers');
|
||||
|
@ -2,9 +2,14 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { BaseModelType } from './BaseModelType';
|
||||
import type { ModelError } from './ModelError';
|
||||
import type { ModelType } from './ModelType';
|
||||
|
||||
export type LoRAModelConfig = {
|
||||
name: string;
|
||||
base_model: BaseModelType;
|
||||
type: ModelType;
|
||||
path: string;
|
||||
description?: string;
|
||||
format: ('lycoris' | 'diffusers');
|
||||
|
@ -25,10 +25,14 @@ import type { TextualInversionModelConfig } from './TextualInversionModelConfig'
|
||||
import type { VaeModelConfig } from './VaeModelConfig';
|
||||
|
||||
export type ModelsList = {
|
||||
<<<<<<< HEAD
|
||||
<<<<<<< HEAD
|
||||
models: Record<string, Record<string, Record<string, (StableDiffusion2DiffusersModelConfig | ControlNetModelConfig | LoraModelConfig | StableDiffusion1CheckpointModelConfig | TextualInversionModelConfig | StableDiffusion1DiffusersModelConfig | StableDiffusion2CheckpointModelConfig | VAEModelConfig)>>>;
|
||||
>>>>>>> 76dd749b1 (chore: Rebuild API)
|
||||
=======
|
||||
models: Record<string, Record<string, Record<string, (StableDiffusion1ModelDiffusersConfig | StableDiffusion2ModelCheckpointConfig | TextualInversionModelConfig | ControlNetModelConfig | VaeModelConfig | StableDiffusion2ModelDiffusersConfig | LoRAModelConfig | StableDiffusion1ModelCheckpointConfig)>>>;
|
||||
>>>>>>> 0f3b7d2b3 (chore: Rebuild API with new Model API names)
|
||||
=======
|
||||
models: Record<string, Record<string, Record<string, (TextualInversionModelConfig | StableDiffusion2ModelDiffusersConfig | ControlNetModelConfig | StableDiffusion2ModelCheckpointConfig | StableDiffusion1ModelCheckpointConfig | VaeModelConfig | StableDiffusion1ModelDiffusersConfig | LoRAModelConfig)>>>;
|
||||
>>>>>>> 24673fd85 (chore: Rebuild API - base_model and type added)
|
||||
};
|
||||
|
@ -2,10 +2,15 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { BaseModelType } from './BaseModelType';
|
||||
import type { ModelError } from './ModelError';
|
||||
import type { ModelType } from './ModelType';
|
||||
import type { ModelVariantType } from './ModelVariantType';
|
||||
|
||||
export type StableDiffusion1ModelCheckpointConfig = {
|
||||
name: string;
|
||||
base_model: BaseModelType;
|
||||
type: ModelType;
|
||||
path: string;
|
||||
description?: string;
|
||||
format: 'checkpoint';
|
||||
|
@ -2,10 +2,15 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { BaseModelType } from './BaseModelType';
|
||||
import type { ModelError } from './ModelError';
|
||||
import type { ModelType } from './ModelType';
|
||||
import type { ModelVariantType } from './ModelVariantType';
|
||||
|
||||
export type StableDiffusion1ModelDiffusersConfig = {
|
||||
name: string;
|
||||
base_model: BaseModelType;
|
||||
type: ModelType;
|
||||
path: string;
|
||||
description?: string;
|
||||
format: 'diffusers';
|
||||
|
@ -2,11 +2,16 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { BaseModelType } from './BaseModelType';
|
||||
import type { ModelError } from './ModelError';
|
||||
import type { ModelType } from './ModelType';
|
||||
import type { ModelVariantType } from './ModelVariantType';
|
||||
import type { SchedulerPredictionType } from './SchedulerPredictionType';
|
||||
|
||||
export type StableDiffusion2ModelCheckpointConfig = {
|
||||
name: string;
|
||||
base_model: BaseModelType;
|
||||
type: ModelType;
|
||||
path: string;
|
||||
description?: string;
|
||||
format: 'checkpoint';
|
||||
|
@ -2,11 +2,16 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { BaseModelType } from './BaseModelType';
|
||||
import type { ModelError } from './ModelError';
|
||||
import type { ModelType } from './ModelType';
|
||||
import type { ModelVariantType } from './ModelVariantType';
|
||||
import type { SchedulerPredictionType } from './SchedulerPredictionType';
|
||||
|
||||
export type StableDiffusion2ModelDiffusersConfig = {
|
||||
name: string;
|
||||
base_model: BaseModelType;
|
||||
type: ModelType;
|
||||
path: string;
|
||||
description?: string;
|
||||
format: 'diffusers';
|
||||
|
@ -2,9 +2,14 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { BaseModelType } from './BaseModelType';
|
||||
import type { ModelError } from './ModelError';
|
||||
import type { ModelType } from './ModelType';
|
||||
|
||||
export type TextualInversionModelConfig = {
|
||||
name: string;
|
||||
base_model: BaseModelType;
|
||||
type: ModelType;
|
||||
path: string;
|
||||
description?: string;
|
||||
format: null;
|
||||
|
@ -2,9 +2,14 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
|
||||
import type { BaseModelType } from './BaseModelType';
|
||||
import type { ModelError } from './ModelError';
|
||||
import type { ModelType } from './ModelType';
|
||||
|
||||
export type VaeModelConfig = {
|
||||
name: string;
|
||||
base_model: BaseModelType;
|
||||
type: ModelType;
|
||||
path: string;
|
||||
description?: string;
|
||||
format: ('checkpoint' | 'diffusers');
|
||||
|
Loading…
Reference in New Issue
Block a user