mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-29 08:58:53 -03:00
Implement automatic fetching of base models from Civitai API to keep data up-to-date without manual updates. Backend: - Add CivitaiBaseModelService with 7-day TTL caching - Add /api/lm/base-models endpoints for fetching and refreshing - Merge hardcoded and remote models for backward compatibility - Smart abbreviation generation for unknown models Frontend: - Add civitaiBaseModelApi client for API communication - Dynamic base model loading on app initialization - Update SettingsManager to use merged model lists - Add support for 8 new models: Anima, CogVideoX, LTXV 2.3, Mochi, Pony V7, Wan Video 2.5 T2V/I2V API Endpoints: - GET /api/lm/base-models - Get merged models - POST /api/lm/base-models/refresh - Force refresh - GET /api/lm/base-models/categories - Get categories - GET /api/lm/base-models/cache-status - Check cache status Closes #854
167 lines
3.5 KiB
JSON
167 lines
3.5 KiB
JSON
{
|
|
"ModelType": [
|
|
"Checkpoint",
|
|
"TextualInversion",
|
|
"Hypernetwork",
|
|
"AestheticGradient",
|
|
"LORA",
|
|
"LoCon",
|
|
"DoRA",
|
|
"Controlnet",
|
|
"Upscaler",
|
|
"MotionModule",
|
|
"VAE",
|
|
"Poses",
|
|
"Wildcards",
|
|
"Workflows",
|
|
"Detection",
|
|
"Other"
|
|
],
|
|
"ModelFileType": [
|
|
"Model",
|
|
"Text Encoder",
|
|
"Pruned Model",
|
|
"Negative",
|
|
"Training Data",
|
|
"VAE",
|
|
"Config",
|
|
"Archive"
|
|
],
|
|
"ActiveBaseModel": [
|
|
"Anima",
|
|
"AuraFlow",
|
|
"Chroma",
|
|
"CogVideoX",
|
|
"Flux.1 S",
|
|
"Flux.1 D",
|
|
"Flux.1 Krea",
|
|
"Flux.1 Kontext",
|
|
"Flux.2 D",
|
|
"Flux.2 Klein 9B",
|
|
"Flux.2 Klein 9B-base",
|
|
"Flux.2 Klein 4B",
|
|
"Flux.2 Klein 4B-base",
|
|
"HiDream",
|
|
"Hunyuan 1",
|
|
"Hunyuan Video",
|
|
"Illustrious",
|
|
"Kolors",
|
|
"LTXV",
|
|
"LTXV2",
|
|
"LTXV 2.3",
|
|
"Lumina",
|
|
"Mochi",
|
|
"NoobAI",
|
|
"Other",
|
|
"PixArt a",
|
|
"PixArt E",
|
|
"Pony",
|
|
"Pony V7",
|
|
"Qwen",
|
|
"SD 1.4",
|
|
"SD 1.5",
|
|
"SD 1.5 LCM",
|
|
"SD 1.5 Hyper",
|
|
"SD 2.0",
|
|
"SD 2.1",
|
|
"SDXL 1.0",
|
|
"SDXL Lightning",
|
|
"SDXL Hyper",
|
|
"Wan Video 1.3B t2v",
|
|
"Wan Video 14B t2v",
|
|
"Wan Video 14B i2v 480p",
|
|
"Wan Video 14B i2v 720p",
|
|
"Wan Video 2.2 TI2V-5B",
|
|
"Wan Video 2.2 I2V-A14B",
|
|
"Wan Video 2.2 T2V-A14B",
|
|
"Wan Video 2.5 T2V",
|
|
"Wan Video 2.5 I2V",
|
|
"ZImageTurbo",
|
|
"ZImageBase"
|
|
],
|
|
"BaseModel": [
|
|
"Anima",
|
|
"AuraFlow",
|
|
"Chroma",
|
|
"CogVideoX",
|
|
"Flux.1 S",
|
|
"Flux.1 D",
|
|
"Flux.1 Krea",
|
|
"Flux.1 Kontext",
|
|
"Flux.2 D",
|
|
"Flux.2 Klein 9B",
|
|
"Flux.2 Klein 9B-base",
|
|
"Flux.2 Klein 4B",
|
|
"Flux.2 Klein 4B-base",
|
|
"HiDream",
|
|
"Hunyuan 1",
|
|
"Hunyuan Video",
|
|
"Illustrious",
|
|
"Imagen4",
|
|
"Kling",
|
|
"Kolors",
|
|
"LTXV",
|
|
"LTXV2",
|
|
"LTXV 2.3",
|
|
"Lumina",
|
|
"Mochi",
|
|
"Nano Banana",
|
|
"NoobAI",
|
|
"ODOR",
|
|
"OpenAI",
|
|
"Other",
|
|
"PixArt a",
|
|
"PixArt E",
|
|
"Playground v2",
|
|
"Pony",
|
|
"Pony V7",
|
|
"Qwen",
|
|
"Stable Cascade",
|
|
"SD 1.4",
|
|
"SD 1.5",
|
|
"SD 1.5 LCM",
|
|
"SD 1.5 Hyper",
|
|
"SD 2.0",
|
|
"SD 2.0 768",
|
|
"SD 2.1",
|
|
"SD 2.1 768",
|
|
"SD 2.1 Unclip",
|
|
"SD 3",
|
|
"SD 3.5",
|
|
"SD 3.5 Large",
|
|
"SD 3.5 Large Turbo",
|
|
"SD 3.5 Medium",
|
|
"Sora 2",
|
|
"SDXL 0.9",
|
|
"SDXL 1.0",
|
|
"SDXL 1.0 LCM",
|
|
"SDXL Lightning",
|
|
"SDXL Hyper",
|
|
"SDXL Turbo",
|
|
"SDXL Distilled",
|
|
"Seedance",
|
|
"Seedream",
|
|
"SVD",
|
|
"SVD XT",
|
|
"Veo 3",
|
|
"Vidu Q1",
|
|
"Wan Video",
|
|
"Wan Video 1.3B t2v",
|
|
"Wan Video 14B t2v",
|
|
"Wan Video 14B i2v 480p",
|
|
"Wan Video 14B i2v 720p",
|
|
"Wan Video 2.2 TI2V-5B",
|
|
"Wan Video 2.2 I2V-A14B",
|
|
"Wan Video 2.2 T2V-A14B",
|
|
"Wan Video 2.5 T2V",
|
|
"Wan Video 2.5 I2V",
|
|
"ZImageTurbo",
|
|
"ZImageBase"
|
|
],
|
|
"BaseModelType": [
|
|
"Standard",
|
|
"Inpainting",
|
|
"Refiner",
|
|
"Pix2Pix"
|
|
]
|
|
} |