|
''' |
|
文件路径说明: |
|
|
|
- []内的是下载文件的目标目录,可以是相对目录也可以是觉得路径 |
|
- []的下一行就是文件列表,可以是下载地址、git仓库、文件路径、文件夹路径,且支持通配符 |
|
- 如果需要对下载的文件重命名,可以在下载链接前面写上文件名后加一个:分开文件名和下载地址 |
|
- 如果需要下载到其他目录,可以使用同样的格式写其他目录 |
|
''' |
|
|
|
|
|
before_downloading = ''' |
|
[extensions] # 插件 |
|
https://github.com/dtlnor/stable-diffusion-webui-localization-zh_CN.git |
|
https://github.com/AlUlkesh/stable-diffusion-webui-images-browser.git |
|
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git |
|
https://github.com/Mikubill/sd-webui-controlnet.git |
|
https://github.com/LianZiZhou/sd-webui-pixink-console.git |
|
https://github.com/ilian6806/stable-diffusion-webui-state.git |
|
https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111.git |
|
https://github.com/Bing-su/adetailer.git |
|
https://github.com/civitai/sd_civitai_extension.git |
|
https://github.com/zanllp/sd-webui-infinite-image-browsing.git |
|
https://github.com/viyiviyi/stable-diffusion-webui-zoomimage.git |
|
|
|
# 如果你有模型文件需要在启动前加载,可以写在这个下面对应位置 |
|
|
|
[models/Stable-diffusion] # 大模型列表 |
|
|
|
[models/hypernetworks] # hypernetworks文件列表 |
|
|
|
[models/embeddings] # embeddings文件列表 |
|
|
|
[models/Lora] # Lora文件列表 |
|
|
|
[models/VAE] # VAE文件列表 |
|
|
|
[extensions/sd-webui-controlnet/models] # controlnet插件的模型列表 |
|
|
|
''' |
|
|
|
|
|
async_downloading=''' |
|
[extensions] # 插件 如果你没有使用ngrok或者frpc,请不要把插件放在这里加载,因为这里的文件可能在webui启动后才加载完成 |
|
|
|
[models/Stable-diffusion] # 大模型列表 |
|
https://huggingface.co/viyi/testing_models/resolve/main/mg-LBG.safetensors |
|
容华_国风_SDXL.safetensors:https://civitai.com/api/download/models/151978 |
|
|
|
[models/hypernetworks] # hypernetworks文件列表 |
|
|
|
[models/embeddings] # embeddings文件列表 |
|
|
|
[models/Lora] # Lora文件列表 |
|
Genshin_Impact_all-in-one.safetensors:https://civitai.com/api/download/models/116970 |
|
https://civitai.com/api/download/models/117151 # Clothing +/- Adjuster 衣物增/减 LoRA |
|
https://civitai.com/api/download/models/62833 # Detail Tweaker LoRA (细节调整LoRA) |
|
|
|
[models/VAE] # VAE文件列表 |
|
{input_path}/vae-ft-ema-prunedsafetensors/vae-ft-ema-560000-ema-pruned.safetensors |
|
{input_path}/vae-ft-ema-prunedsafetensors/vae-ft-mse-840000-ema-pruned.safetensors |
|
https://huggingface.co/stabilityai/sd-vae-ft-ema-original/resolve/main/vae-ft-ema-560000-ema-pruned.safetensors |
|
https://huggingface.co/WarriorMama777/OrangeMixs/resolve/main/VAEs/orangemix.vae.pt |
|
sdxl_vae.safetensors:https://civitai.com/api/download/models/130720?type=VAE # sdxl模型需要sdxl的vae |
|
|
|
[extensions/sd-webui-controlnet/models] # controlnet插件的模型列表 |
|
https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_ip2p_fp16.safetensors |
|
https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11e_sd15_shuffle_fp16.safetensors |
|
https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11f1e_sd15_tile_fp16.safetensors |
|
https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11f1p_sd15_depth_fp16.safetensors |
|
https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_canny_fp16.safetensors |
|
https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_inpaint_fp16.safetensors |
|
https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_lineart_fp16.safetensors |
|
https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_mlsd_fp16.safetensors |
|
https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_normalbae_fp16.safetensors |
|
https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_openpose_fp16.safetensors |
|
https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_scribble_fp16.safetensors |
|
https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_seg_fp16.safetensors |
|
https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15_softedge_fp16.safetensors |
|
https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11p_sd15s2_lineart_anime_fp16.safetensors |
|
https://huggingface.co/comfyanonymous/ControlNet-v1-1_fp16_safetensors/resolve/main/control_v11u_sd15_tile_fp16.safetensors |
|
''' |
|
|
|
|
|
before_start_sync_downloading = ''' |
|
|
|
# 如果你需要每次启动都加载一下文件,可以写在这。(比如测试路径是否正确的时候) |
|
|
|
[models/Stable-diffusion] # 大模型列表 |
|
|
|
[models/hypernetworks] # hypernetworks文件列表 |
|
|
|
[models/embeddings] # embeddings文件列表 |
|
|
|
[models/Lora] # Lora文件列表 |
|
|
|
[models/VAE] # VAE文件列表 |
|
|
|
[extensions/sd-webui-controlnet/models] # controlnet插件的模型列表 |
|
|
|
''' |
|
|
|
|
|
sd_start_args=''' |
|
# --ckpt=mg-Tender.safetensors # 默认模型名称,路径不能包含空格 |
|
--disable-safe-unpickle |
|
--deepdanbooru |
|
--no-hashing |
|
--no-download-sd-model |
|
--administrator |
|
--skip-torch-cuda-test |
|
--skip-version-check |
|
--disable-nan-check |
|
# --opt-sdp-attention |
|
--opt-sdp-no-mem-attention |
|
--xformers-flash-attention |
|
--xformers |
|
--api |
|
--listen |
|
--lowram |
|
--no-gradio-queue |
|
--share |
|
--disable-console-progressbars |
|
--no-half-vae |
|
# --no-half #关闭半精度 |
|
# --enable-console-prompts |
|
# --nowebui |
|
# --api-auth=2333:6666 # api密码 |
|
# --gradio-auth=2333:6666 # webui密码 |
|
''' |
|
|
|
useGooglrDrive = True |
|
|
|
useNgrok=True |
|
|
|
useFrpc=True |
|
|
|
|
|
ngrok_config_or_file = ''' |
|
{input_path}/configs/ngrok_token.txt |
|
''' |
|
frp_config_or_file = ''' |
|
{input_path}/configs/frpc_litechat.ini |
|
''' |
|
frp_ssl_dir = ''' |
|
{input_path}/configs/litechat_nginx |
|
''' |
|
|
|
|
|
server_port=7860 |
|
|
|
|
|
|
|
sd_git_repo='https://github.com/viyiviyi/stable-diffusion-webui.git -b local' |
|
|
|
sd_config_git_repu = 'https://github.com/viyiviyi/sd-configs.git' |
|
|
|
setting_file = '{output_path}/configs/config.json' |
|
ui_config_file = '{output_path}/configs/ui-config.json' |
|
|
|
git_proxy="https://ghproxy.com/" |
|
|
|
link_instead_of_copy = True |
|
hidden_console_info = False |
|
|
|
reLoad = True |
|
|
|
reLoad = False |
|
|
|
skip_start = False |
|
|
|
|
|
|
|
output_path = '/root/autodl-fs/sd_output' |
|
|
|
input_path = '/root/autodl-fs/sd_input' |
|
|