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 */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
import type { BaseModelType } from './BaseModelType';
|
||||||
import type { ModelError } from './ModelError';
|
import type { ModelError } from './ModelError';
|
||||||
|
import type { ModelType } from './ModelType';
|
||||||
|
|
||||||
export type ControlNetModelConfig = {
|
export type ControlNetModelConfig = {
|
||||||
|
name: string;
|
||||||
|
base_model: BaseModelType;
|
||||||
|
type: ModelType;
|
||||||
path: string;
|
path: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
format: ('checkpoint' | 'diffusers');
|
format: ('checkpoint' | 'diffusers');
|
||||||
|
@ -2,9 +2,14 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
import type { BaseModelType } from './BaseModelType';
|
||||||
import type { ModelError } from './ModelError';
|
import type { ModelError } from './ModelError';
|
||||||
|
import type { ModelType } from './ModelType';
|
||||||
|
|
||||||
export type LoRAModelConfig = {
|
export type LoRAModelConfig = {
|
||||||
|
name: string;
|
||||||
|
base_model: BaseModelType;
|
||||||
|
type: ModelType;
|
||||||
path: string;
|
path: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
format: ('lycoris' | 'diffusers');
|
format: ('lycoris' | 'diffusers');
|
||||||
|
@ -25,10 +25,14 @@ import type { TextualInversionModelConfig } from './TextualInversionModelConfig'
|
|||||||
import type { VaeModelConfig } from './VaeModelConfig';
|
import type { VaeModelConfig } from './VaeModelConfig';
|
||||||
|
|
||||||
export type ModelsList = {
|
export type ModelsList = {
|
||||||
|
<<<<<<< HEAD
|
||||||
<<<<<<< HEAD
|
<<<<<<< HEAD
|
||||||
models: Record<string, Record<string, Record<string, (StableDiffusion2DiffusersModelConfig | ControlNetModelConfig | LoraModelConfig | StableDiffusion1CheckpointModelConfig | TextualInversionModelConfig | StableDiffusion1DiffusersModelConfig | StableDiffusion2CheckpointModelConfig | VAEModelConfig)>>>;
|
models: Record<string, Record<string, Record<string, (StableDiffusion2DiffusersModelConfig | ControlNetModelConfig | LoraModelConfig | StableDiffusion1CheckpointModelConfig | TextualInversionModelConfig | StableDiffusion1DiffusersModelConfig | StableDiffusion2CheckpointModelConfig | VAEModelConfig)>>>;
|
||||||
>>>>>>> 76dd749b1 (chore: Rebuild API)
|
>>>>>>> 76dd749b1 (chore: Rebuild API)
|
||||||
=======
|
=======
|
||||||
models: Record<string, Record<string, Record<string, (StableDiffusion1ModelDiffusersConfig | StableDiffusion2ModelCheckpointConfig | TextualInversionModelConfig | ControlNetModelConfig | VaeModelConfig | StableDiffusion2ModelDiffusersConfig | LoRAModelConfig | StableDiffusion1ModelCheckpointConfig)>>>;
|
models: Record<string, Record<string, Record<string, (StableDiffusion1ModelDiffusersConfig | StableDiffusion2ModelCheckpointConfig | TextualInversionModelConfig | ControlNetModelConfig | VaeModelConfig | StableDiffusion2ModelDiffusersConfig | LoRAModelConfig | StableDiffusion1ModelCheckpointConfig)>>>;
|
||||||
>>>>>>> 0f3b7d2b3 (chore: Rebuild API with new Model API names)
|
>>>>>>> 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 */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
import type { BaseModelType } from './BaseModelType';
|
||||||
import type { ModelError } from './ModelError';
|
import type { ModelError } from './ModelError';
|
||||||
|
import type { ModelType } from './ModelType';
|
||||||
import type { ModelVariantType } from './ModelVariantType';
|
import type { ModelVariantType } from './ModelVariantType';
|
||||||
|
|
||||||
export type StableDiffusion1ModelCheckpointConfig = {
|
export type StableDiffusion1ModelCheckpointConfig = {
|
||||||
|
name: string;
|
||||||
|
base_model: BaseModelType;
|
||||||
|
type: ModelType;
|
||||||
path: string;
|
path: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
format: 'checkpoint';
|
format: 'checkpoint';
|
||||||
|
@ -2,10 +2,15 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
import type { BaseModelType } from './BaseModelType';
|
||||||
import type { ModelError } from './ModelError';
|
import type { ModelError } from './ModelError';
|
||||||
|
import type { ModelType } from './ModelType';
|
||||||
import type { ModelVariantType } from './ModelVariantType';
|
import type { ModelVariantType } from './ModelVariantType';
|
||||||
|
|
||||||
export type StableDiffusion1ModelDiffusersConfig = {
|
export type StableDiffusion1ModelDiffusersConfig = {
|
||||||
|
name: string;
|
||||||
|
base_model: BaseModelType;
|
||||||
|
type: ModelType;
|
||||||
path: string;
|
path: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
format: 'diffusers';
|
format: 'diffusers';
|
||||||
|
@ -2,11 +2,16 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
import type { BaseModelType } from './BaseModelType';
|
||||||
import type { ModelError } from './ModelError';
|
import type { ModelError } from './ModelError';
|
||||||
|
import type { ModelType } from './ModelType';
|
||||||
import type { ModelVariantType } from './ModelVariantType';
|
import type { ModelVariantType } from './ModelVariantType';
|
||||||
import type { SchedulerPredictionType } from './SchedulerPredictionType';
|
import type { SchedulerPredictionType } from './SchedulerPredictionType';
|
||||||
|
|
||||||
export type StableDiffusion2ModelCheckpointConfig = {
|
export type StableDiffusion2ModelCheckpointConfig = {
|
||||||
|
name: string;
|
||||||
|
base_model: BaseModelType;
|
||||||
|
type: ModelType;
|
||||||
path: string;
|
path: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
format: 'checkpoint';
|
format: 'checkpoint';
|
||||||
|
@ -2,11 +2,16 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
import type { BaseModelType } from './BaseModelType';
|
||||||
import type { ModelError } from './ModelError';
|
import type { ModelError } from './ModelError';
|
||||||
|
import type { ModelType } from './ModelType';
|
||||||
import type { ModelVariantType } from './ModelVariantType';
|
import type { ModelVariantType } from './ModelVariantType';
|
||||||
import type { SchedulerPredictionType } from './SchedulerPredictionType';
|
import type { SchedulerPredictionType } from './SchedulerPredictionType';
|
||||||
|
|
||||||
export type StableDiffusion2ModelDiffusersConfig = {
|
export type StableDiffusion2ModelDiffusersConfig = {
|
||||||
|
name: string;
|
||||||
|
base_model: BaseModelType;
|
||||||
|
type: ModelType;
|
||||||
path: string;
|
path: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
format: 'diffusers';
|
format: 'diffusers';
|
||||||
|
@ -2,9 +2,14 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
import type { BaseModelType } from './BaseModelType';
|
||||||
import type { ModelError } from './ModelError';
|
import type { ModelError } from './ModelError';
|
||||||
|
import type { ModelType } from './ModelType';
|
||||||
|
|
||||||
export type TextualInversionModelConfig = {
|
export type TextualInversionModelConfig = {
|
||||||
|
name: string;
|
||||||
|
base_model: BaseModelType;
|
||||||
|
type: ModelType;
|
||||||
path: string;
|
path: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
format: null;
|
format: null;
|
||||||
|
@ -2,9 +2,14 @@
|
|||||||
/* tslint:disable */
|
/* tslint:disable */
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
|
|
||||||
|
import type { BaseModelType } from './BaseModelType';
|
||||||
import type { ModelError } from './ModelError';
|
import type { ModelError } from './ModelError';
|
||||||
|
import type { ModelType } from './ModelType';
|
||||||
|
|
||||||
export type VaeModelConfig = {
|
export type VaeModelConfig = {
|
||||||
|
name: string;
|
||||||
|
base_model: BaseModelType;
|
||||||
|
type: ModelType;
|
||||||
path: string;
|
path: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
format: ('checkpoint' | 'diffusers');
|
format: ('checkpoint' | 'diffusers');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user