diff --git a/.gitignore b/.gitignore index 584ff547..fa367d22 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ output/* py/run_test.py .vscode/ cache/ +path_mappings.yaml diff --git a/path_mappings.yaml.example b/path_mappings.yaml.example new file mode 100644 index 00000000..60f434a8 --- /dev/null +++ b/path_mappings.yaml.example @@ -0,0 +1,71 @@ +# Path mappings configuration for ComfyUI-Lora-Manager +# This file allows you to customize how base models and Civitai tags map to directories when downloading models + +# Base model mappings +# Format: "Original Base Model": "Custom Directory Name" +# +# Example: If you change "Flux.1 D": "flux" +# Then models with base model "Flux.1 D" will be stored in a directory named "flux" +# So the final path would be: /flux//model_file.safetensors +base_models: + "SD 1.4": "SD 1.4" + "SD 1.5": "SD 1.5" + "SD 1.5 LCM": "SD 1.5 LCM" + "SD 1.5 Hyper": "SD 1.5 Hyper" + "SD 2.0": "SD 2.0" + "SD 2.1": "SD 2.1" + "SDXL 1.0": "SDXL 1.0" + "SD 3": "SD 3" + "SD 3.5": "SD 3.5" + "SD 3.5 Medium": "SD 3.5 Medium" + "SD 3.5 Large": "SD 3.5 Large" + "SD 3.5 Large Turbo": "SD 3.5 Large Turbo" + "Pony": "Pony" + "Flux.1 S": "Flux.1 S" + "Flux.1 D": "Flux.1 D" + "Flux.1 Kontext": "Flux.1 Kontext" + "AuraFlow": "AuraFlow" + "SDXL Lightning": "SDXL Lightning" + "SDXL Hyper": "SDXL Hyper" + "Stable Cascade": "Stable Cascade" + "SVD": "SVD" + "PixArt a": "PixArt a" + "PixArt E": "PixArt E" + "Hunyuan 1": "Hunyuan 1" + "Hunyuan Video": "Hunyuan Video" + "Lumina": "Lumina" + "Kolors": "Kolors" + "Illustrious": "Illustrious" + "Mochi": "Mochi" + "LTXV": "LTXV" + "CogVideoX": "CogVideoX" + "NoobAI": "NoobAI" + "Wan Video": "Wan Video" + "Wan Video 1.3B t2v": "Wan Video 1.3B t2v" + "Wan Video 14B t2v": "Wan Video 14B t2v" + "Wan Video 14B i2v 480p": "Wan Video 14B i2v 480p" + "Wan Video 14B i2v 720p": "Wan Video 14B i2v 720p" + "HiDream": "HiDream" + "Other": "Other" + +# Civitai model tag mappings +# Format: "Original Tag": "Custom Directory Name" +# +# Example: If you change "character": "characters" +# Then models with tag "character" will be stored in a directory named "characters" +# So the final path would be: //characters/model_file.safetensors +model_tags: + "character": "character" + "style": "style" + "concept": "concept" + "clothing": "clothing" + "base model": "base model" + "poses": "poses" + "background": "background" + "tool": "tool" + "vehicle": "vehicle" + "buildings": "buildings" + "objects": "objects" + "assets": "assets" + "animal": "animal" + "action": "action"