chore: Rebuild API - base_model and type added

This commit is contained in:
blessedcoolant 2023-06-18 07:50:28 +12:00 committed by psychedelicious
parent ef83a2fffe
commit d2f3500e1b
9 changed files with 44 additions and 0 deletions

View File

@ -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');

View File

@ -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');

View File

@ -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)
};

View File

@ -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';

View File

@ -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';

View File

@ -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';

View File

@ -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';

View File

@ -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;

View File

@ -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');