| # ------------------IMPORTANT NOTE------------------ | |
| # this config is where you set the models url link | |
| # and then will download everything inside a "userdata" folder with structure like this | |
| # | |
| # userdata | |
| # βββ models | |
| # βββ ui | |
| # | |
| # "models" will have your models downloaded to it | |
| # "ui" will have some your webui element | |
| # | |
| # for "ui" it will be explained in each webui section | |
| # | |
| # -----------------------NOTE----------------------- | |
| # most of the config will use YAML BLOCK SEQUENCE | |
| # if you don't understand it, its recommended to read some tutorial for it | |
| # | |
| # default template (for most part, unless its not) | |
| # - name: (file name.safetensors / file name.pt / file name.ckpt etc) | |
| # url: (file url) | |
| # | |
| # you can copy the template as many as you want for example | |
| # - name: model1.safetensors | |
| # url: http://example.com/model1 | |
| # - name: model2.pt | |
| # url: http://example.com/model2 | |
| # | |
| # -------------------------------------------------- | |
| # this is the auth section for your bearer key | |
| # | |
| # auth template: | |
| # site.com: (key string) | |
| # | |
| # example: | |
| # github.com: blablakey | |
| # civitai.com: blablakey | |
| # | |
| auth: | |
| # this is a common section | |
| # common section will be shared each webui section to be downloaded | |
| # | |
| common: | |
| models: | |
| - name: AOM3_orangemixs.safetensors | |
| url: https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/Models/AbyssOrangeMix3/AOM3_orangemixs.safetensors | |
| vae: | |
| # - name: | |
| # url: | |
| lora: | |
| # - name: | |
| # url: | |
| embeddings: | |
| # - name: | |
| # url: | |
| hypernetwork: | |
| # - name: | |
| # url: | |
| controlnet: | |
| # - name: | |
| # url: | |
| # ------------------DIFFUSERS NOTE------------------ | |
| # because of how funny the diffusers models structure is (different each version, e.g sd1.5, sdxl etc) | |
| # i gave up | |
| # | |
| # but that alone still won't stop me to support this | |
| # remember to follow the example very carefully otherwise it won't work | |
| # | |
| # | |
| # diffuser template: | |
| # - url: (repo url, only huggingface.co are allowed) | |
| # branch: (branch name OPTIONAL) | |
| # | |
| # thats it ? yes but that is just the important part | |
| # | |
| # you see, above config doesn't do anything unless you specify what file to download | |
| # see this example | |
| # | |
| # example: | |
| # - url: https://huggingface.co/JamesFlare/pastel-mix | |
| # branch: main | |
| # feature_extractor: | |
| # preprocessor_config.json: | |
| # safety_checker: | |
| # config.json: | |
| # pytorch_model.bin: | |
| # scheduler: | |
| # scheduler_config.json: | |
| # text_encoder: | |
| # config.json: | |
| # pytorch_model.bin: | |
| # tokenizer: | |
| # merges.txt: | |
| # special_tokens_map.json: | |
| # tokenizer_config.json: | |
| # vocab.json: | |
| # unet: | |
| # config.json: | |
| # diffusion_pytorch_model.bin: | |
| # vae: | |
| # config.json: | |
| # diffusion_pytorch_model.bin: | |
| # model_index.json: | |
| # | |
| # this is the complete config | |
| # | |
| # compare the mapping above with the directory structure in the repo itself | |
| # it should be the same | |
| # | |
| # inside feature_extractor there is a file named preprocessor_config.json, scheduler scheduler_config.json and so on | |
| # | |
| # you need to provide the directory structure for what file that need to be downloaded | |
| # add anything you like since there is no limit (as long you follow the format above) | |
| # think this as a "tree" command | |
| # | |
| # also you don't need to set any value to it, just make it empty or you can set it into something (whatever you want) | |
| # | |
| # but do remember, mind the indentation, and mind the file name | |
| # | |
| # and mind that diffusers only be downloaded when the webui supports it | |
| # for now only invokeai, comfyui and sdnext are support diffusers format | |
| # | |
| # oh yea, this come with another flaw on invokeai | |
| # the models name will always be the branch name | |
| # this is because of how sd.next implement the diffusers detection | |
| # while invokeai and comfyui seems do autodetect (both has no problem with the file path) | |
| # but atleast, on invokeai, you can rename the model without doing anything about file path | |
| diffusers: | |
| # - url: https://huggingface.co/JamesFlare/pastel-mix | |
| # branch: main | |
| # feature_extractor: | |
| # preprocessor_config.json: | |
| # safety_checker: | |
| # config.json: | |
| # pytorch_model.bin: | |
| # scheduler: | |
| # scheduler_config.json: | |
| # text_encoder: | |
| # config.json: | |
| # pytorch_model.bin: | |
| # tokenizer: | |
| # merges.txt: | |
| # special_tokens_map.json: | |
| # tokenizer_config.json: | |
| # vocab.json: | |
| # unet: | |
| # config.json: | |
| # diffusion_pytorch_model.bin: | |
| # vae: | |
| # config.json: | |
| # diffusion_pytorch_model.bin: | |
| # model_index.json: | |
| # this is a section for stable diffusion webui | |
| # "ui" folder will have this structure | |
| # | |
| # ui | |
| # βββ sd | |
| # βββ configs | |
| # β βββ . | |
| # βββ extensions | |
| # β βββ . | |
| # βββ models | |
| # β βββ . | |
| # βββ outputs | |
| # β βββ . | |
| # βββ scripts | |
| # β βββ . | |
| # βββ config.json | |
| # βββ ui-config.json | |
| # | |
| # in case you want to add something to stable diffusion, e.g custom script | |
| sd: | |
| # extensions will use git to download | |
| # | |
| # git template | |
| # - name: (folder name/repo name) | |
| # url: (repo url) | |
| # branch: (branch name OPTIONAL) | |
| # commit: (commit hash OPTIONAL) | |
| # | |
| # example | |
| # - name: extension1 | |
| # url: https://example.com/gituser/extension1 | |
| # - name: extension2 | |
| # url: https://example.com/gituser/extension2 | |
| # branch: dev | |
| # | |
| # branch and commit are optional | |
| # if not present then will download the latest commit on the main branch | |
| # | |
| # oh yea controlnet will be installed whether you want it or not (even if you don't include it) | |
| extensions: | |
| - name: sd-webui-controlnet | |
| url: https://github.com/Mikubill/sd-webui-controlnet | |
| # | |
| # custom_download same as name url format but with dir | |
| # | |
| # example | |
| # - dir: models/sam | |
| # name: sam_model.pth | |
| # url: https://example.com/sam_model.pth | |
| # | |
| # do remember, dir will always "ui" folder subdirectory | |
| # so, with the example above it will download to ui/sd/models/sam/sam_model.pth | |
| # | |
| # if you happen to put a full path e.g /root/somedir, it will download to a warning folder in "ui" folder | |
| # | |
| # this is useful when you want to download extra models but its not covered in common section e.g upscale model | |
| # | |
| custom_download: | |
| # - dir: | |
| # name: | |
| # url: | |
| # | |
| # if you want to use your pre-configured config.json or ui-config.json | |
| # you can put the json download url here | |
| # | |
| # by doing this, you can reduce the amount of time need to setup the webui to your liking | |
| # | |
| config_json: # https://example.com/config.json | |
| ui_config_json: # https://example.con/ui-config.json | |
| # | |
| # env stand for Environment | |
| # args stand for Arguments | |
| # both env and args are using this template | |
| # - (a text) | |
| # | |
| # for example | |
| # - EXAMPLE_ENV=examplevalue | |
| # - --example-arg examplevalue | |
| # | |
| # please see https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Command-Line-Arguments-and-Settings | |
| # for more explain about what env and arg can be used | |
| # | |
| env: | |
| # - --EXAMPLE_ENV=examplevalue | |
| # - --EXAMPLE_ENV2=examplevalue2 | |
| args: | |
| # - --example-arg examplevalue | |
| # - --example-arg2 examplevalue2 | |
| # this is a section for invokeai | |
| # "ui" folder will have this structure | |
| # | |
| # ui | |
| # βββ invokeai | |
| # βββ <invokeai root files and folders> | |
| # βββ invokeai.yml | |
| # | |
| # this "ui" is also the default for --root option | |
| # https://invoke-ai.github.io/InvokeAI/features/CONFIGURATION | |
| invokeai: | |
| # | |
| # this controlnet is for diffusers controlnet, so you need to use diffusers format in common section | |
| # controlnet from common section still be downloaded though (this just an addition) | |
| # | |
| controlnet: | |
| # | |
| # read sd section about custom_download | |
| # | |
| custom_download: | |
| # | |
| # env and args same as sd section but for invokeai | |
| # https://invoke-ai.github.io/InvokeAI/features/CONFIGURATION | |
| # | |
| env: | |
| args: | |
| # this is a section for comfyui | |
| # "ui" folder will have this structure | |
| # | |
| # ui | |
| # βββ comfyui | |
| # βββ custom_nodes | |
| # β βββ . | |
| # βββ models | |
| # β βββ . | |
| # βββ input | |
| # β βββ . | |
| # βββ output | |
| # βββ . | |
| # | |
| # in case you want to add something to comfyui, e.g custom_nodes | |
| comfyui: | |
| # | |
| # custom_nodes behave the same as extensions in sd section | |
| # it also has the same options (branch and commit) | |
| # | |
| custom_nodes: | |
| # | |
| # read sd section about custom_download | |
| # | |
| custom_download: | |
| # | |
| # env and args same as sd section but for comfyui | |
| # https://github.com/comfyanonymous/ComfyUI/blob/master/comfy/cli_args.py | |
| # | |
| env: | |
| args: | |
| # this is a section for sdnext | |
| # "ui" folder will have this structure | |
| # | |
| # ui | |
| # βββ sdnext | |
| # βββ configs | |
| # β βββ . | |
| # βββ extensions | |
| # β βββ . | |
| # βββ models | |
| # β βββ . | |
| # βββ outputs | |
| # β βββ . | |
| # βββ scripts | |
| # β βββ . | |
| # βββ config.json | |
| # βββ ui-config.json | |
| # | |
| # in case you want to add something to sdnext, e.g custom script | |
| # | |
| # for most part, sdnext is same as stable diffusion | |
| # so you can add stable diffusion extension to this | |
| sdnext: | |
| # | |
| # read sd section about diffusers | |
| # | |
| extensions: | |
| # | |
| # read sd section about custom_download | |
| # | |
| custom_download: | |
| # | |
| # read sd section about config_json and ui_config_json | |
| # | |
| config_json: | |
| ui_config_json: | |
| # | |
| # env and args same as sd section but for sdnext | |
| # https://github.com/vladmandic/automatic?tab=readme-ov-file#run | |
| # | |
| env: | |
| args: | |