File size: 9,695 Bytes
240ddbe |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 |
# ------------------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:
|