Upload 6 files
Browse files
LoRA_colab_Civitai_Forge-Classic.py
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
|
| 3 |
+
def download_file(url, save_directory):
|
| 4 |
+
command = f'aria2c --console-log-level=error -c -x 16 -s 16 -k 1M --max-tries=5 --retry-wait=5 {url} -d {save_directory}'
|
| 5 |
+
os.system(command)
|
| 6 |
+
print(f"File downloaded to: {save_directory}")
|
| 7 |
+
|
| 8 |
+
# URLリスト
|
| 9 |
+
urls = [
|
| 10 |
+
# [ILXL/PDXL] Alisa Mikhailovna Kujou (Alya) アリサ・ミハイロヴナ・九条
|
| 11 |
+
"https://civitai.com/api/download/models/1295249?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 12 |
+
# [ILXL/PDXL] Maria Mikhailovna Kujou (Masha) マリヤ・ミハイロヴナ・九条
|
| 13 |
+
"https://civitai.com/api/download/models/1308411?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 14 |
+
# [ILXL/PDXL] Yuki Suou 周防 有希
|
| 15 |
+
"https://civitai.com/api/download/models/1295354?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 16 |
+
|
| 17 |
+
# ■ Shiiro's Styles ■
|
| 18 |
+
# ma1ma1helmes | Shiiro's Styles | Niji stlye_A(xxx667_illu,glowing,sketch)
|
| 19 |
+
"https://civitai.com/api/download/models/1356500?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 20 |
+
# ma1ma1helmes | Shiiro's Styles | Niji stlye_B(ma1ma1helmes_b_illu,sketch)
|
| 21 |
+
"https://civitai.com/api/download/models/1447126?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 22 |
+
# Fjsmu | Style LoRa(fj7mu_illu,oil painting \(medium\))
|
| 23 |
+
"https://civitai.com/api/download/models/1333808?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 24 |
+
# Aosiai123 | Shiiro's Styles(traditional media,aosiai123_illu)
|
| 25 |
+
"https://civitai.com/api/download/models/1520880?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 26 |
+
# Pikuson | Shiiro's Styles(pikus0n_style,sketch)
|
| 27 |
+
"https://civitai.com/api/download/models/1479809?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 28 |
+
# Bright | Shiiro's Styles(Bright_illu,sparkle,too many light particles)
|
| 29 |
+
"https://civitai.com/api/download/models/1570117?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 30 |
+
# LeIsT0 | Shiiro's Styles(LeIsT0_illu)
|
| 31 |
+
"https://civitai.com/api/download/models/1551338?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 32 |
+
# Kafka | Style LoRa(kafka02_illu,abstract,abstract background)
|
| 33 |
+
"https://civitai.com/api/download/models/1219519?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 34 |
+
# R754496 | Shiiro's Styles | Niji(r17329_illu,sketch)
|
| 35 |
+
"https://civitai.com/api/download/models/1352742?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 36 |
+
# 748cm | Shiiro's Styles | Niji(7481llu)
|
| 37 |
+
"https://civitai.com/api/download/models/1375651?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 38 |
+
# 00118_ | Shiiro's Styles(00118_illu,abstract shapes,abstract,blurry,shapes)
|
| 39 |
+
"https://civitai.com/api/download/models/1370907?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 40 |
+
# Wasabi Natsume | Shiiro's Styles(wasabi_natsume_illu,abstract,surreal)
|
| 41 |
+
"https://civitai.com/api/download/models/1592120?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 42 |
+
|
| 43 |
+
# Flat Color - Style v2.0 Illustrious
|
| 44 |
+
"https://civitai.com/api/download/models/1311848?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 45 |
+
# 薄塗り / USNR STYLE(USNR)
|
| 46 |
+
"https://civitai.com/api/download/models/1552087?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 47 |
+
# (IL Slider | Tweaker) Color Temperature, Saturation, Brightness | 色温 亮度 饱和度 (IL/Noob调节滑块) color_temp
|
| 48 |
+
"https://civitai.com/api/download/models/1227713?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 49 |
+
# Aesthetic Quality Modifiers - Masterpiece v1.0 Illustrious
|
| 50 |
+
"https://civitai.com/api/download/models/1050644?token=12878a3fa383ed9c0072d68b7b7b3a7e"
|
| 51 |
+
]
|
| 52 |
+
|
| 53 |
+
# 保存先ディレクトリ
|
| 54 |
+
save_directory = "/content/Forge-Classic/models/Lora"
|
| 55 |
+
|
| 56 |
+
# 各URLからファイルをダウンロード
|
| 57 |
+
for url in urls:
|
| 58 |
+
download_file(url, save_directory)
|
LoRA_colab_Forge-Classic.py
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
|
| 3 |
+
def download_file(url, save_path):
|
| 4 |
+
command = f'aria2c --console-log-level=error -c -x 16 -s 16 -k 1M -d {os.path.dirname(save_path)} -o {os.path.basename(save_path)} {url}'
|
| 5 |
+
os.system(command)
|
| 6 |
+
print(f"File downloaded: {save_path}")
|
| 7 |
+
|
| 8 |
+
# URLと対応するファイル名のリスト
|
| 9 |
+
urls_and_names = [
|
| 10 |
+
|
| 11 |
+
#■目の形状、新バージョン■
|
| 12 |
+
#タレ目
|
| 13 |
+
("https://huggingface.co/JujoHotaru/lora/resolve/main/sdxl/eyecollexl/eyecolle_xl_code127.safetensors", "eyecolle_xl_code127.safetensors"),
|
| 14 |
+
("https://huggingface.co/JujoHotaru/lora/resolve/main/sdxl/eyecollexl/eyecolle_xl_code244.safetensors", "eyecolle_xl_code244.safetensors"),
|
| 15 |
+
("https://huggingface.co/JujoHotaru/lora/resolve/main/sdxl/eyecollexl/eyecolle_xl_code245.safetensors", "eyecolle_xl_code245.safetensors"),
|
| 16 |
+
("https://huggingface.co/JujoHotaru/lora/resolve/main/sdxl/eyecollexl/eyecolle_xl_code247.safetensors", "eyecolle_xl_code247.safetensors"),
|
| 17 |
+
("https://huggingface.co/JujoHotaru/lora/resolve/main/sdxl/eyecollexl/eyecolle_xl_code703.safetensors", "eyecolle_xl_code703.safetensors"),
|
| 18 |
+
("https://huggingface.co/JujoHotaru/lora/resolve/main/sdxl/eyecollexl/eyecolle_xl_code722.safetensors", "eyecolle_xl_code722.safetensors"),
|
| 19 |
+
#ツリ目
|
| 20 |
+
("https://huggingface.co/JujoHotaru/lora/resolve/main/sdxl/eyecollexl/eyecolle_xl_code172.safetensors", "eyecolle_xl_code172.safetensors"),
|
| 21 |
+
("https://huggingface.co/JujoHotaru/lora/resolve/main/sdxl/eyecollexl/eyecolle_xl_code185.safetensors", "eyecolle_xl_code185.safetensors"),
|
| 22 |
+
("https://huggingface.co/JujoHotaru/lora/resolve/main/sdxl/eyecollexl/eyecolle_xl_code708.safetensors", "eyecolle_xl_code708.safetensors"),
|
| 23 |
+
("https://huggingface.co/JujoHotaru/lora/resolve/main/sdxl/eyecollexl/eyecolle_xl_code732.safetensors", "eyecolle_xl_code732.safetensors"),
|
| 24 |
+
#("https://huggingface.co/JujoHotaru/lora/resolve/main/sdxl/eyecollexl/eyecolle_xl_NEW.safetensors", "eyecolle_xl_NEW.safetensors"),
|
| 25 |
+
|
| 26 |
+
# ■画風変化■
|
| 27 |
+
("https://huggingface.co/Drditone/LoRA/resolve/main/FMT%200.2v.safetensors", "style_FMT-0.2v.safetensors"),
|
| 28 |
+
("https://huggingface.co/Drditone/LoRA/resolve/main/dw1291.safetensors", "style_VanillawarePony.safetensors"),
|
| 29 |
+
("https://huggingface.co/Drditone/LoRA/resolve/main/odmswn.safetensors", "style_sdxl_fkey_v1.safetensors"),
|
| 30 |
+
("https://huggingface.co/Drditone/LoRA/resolve/main/0s2xb6.safetensors", "style_sdxl_ushiyama_ame_v1.safetensors")
|
| 31 |
+
]
|
| 32 |
+
|
| 33 |
+
# 保存先ディレクトリ
|
| 34 |
+
save_directory = "/content/Forge-Classic/models/Lora"
|
| 35 |
+
|
| 36 |
+
# 各URLからファイルをダウンロード
|
| 37 |
+
for url, file_name in urls_and_names:
|
| 38 |
+
save_path = os.path.join(save_directory, file_name)
|
| 39 |
+
download_file(url, save_path)
|
dynamic-prompts_colab_Forge-Classic.py
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
|
| 3 |
+
def download_file(url, save_path):
|
| 4 |
+
command = f'aria2c --console-log-level=error -c -x 16 -s 16 -k 1M -d {os.path.dirname(save_path)} -o {os.path.basename(save_path)} {url}'
|
| 5 |
+
os.system(command)
|
| 6 |
+
print(f"File downloaded: {save_path}")
|
| 7 |
+
|
| 8 |
+
# URLと対応するファイル名のリスト
|
| 9 |
+
urls_and_names = [
|
| 10 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/Frieren_character.txt", "Frieren_character.txt"),
|
| 11 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/Frieren_character_female.txt", "Frieren_character_female.txt"),
|
| 12 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/order_hair-bangs.txt", "order_hair-bangs.txt"),
|
| 13 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/order_natural-hair-color.txt", "order_natural-hair-color.txt"),
|
| 14 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/order_natural-hair-style.txt", "order_natural-hair-style.txt"),
|
| 15 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/style_LoRA.txt", "style_LoRA.txt"),
|
| 16 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/Style_LoRA_b.txt", "Style_LoRA_b.txt"),
|
| 17 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/style_LoRA_mix.txt", "style_LoRA_mix.txt"),
|
| 18 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/XL_LoRA.txt", "XL_LoRA.txt"),
|
| 19 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/x.txt", "x.txt"),
|
| 20 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/x_2.txt", "x_2.txt"),
|
| 21 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/x_3.txt", "x_3.txt"),
|
| 22 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/x_4.txt", "x_4.txt"),
|
| 23 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/x_face.txt", "x_face.txt"),
|
| 24 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/x_first.txt", "x_first.txt"),
|
| 25 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/x_second.txt", "x_second.txt"),
|
| 26 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/x_position.txt", "x_position.txt"),
|
| 27 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/clothing.txt", "clothing.txt"),
|
| 28 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/covering.txt", "covering.txt"),
|
| 29 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/basic_motion.txt", "basic_motion.txt"),
|
| 30 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/extra_motion.txt", "extra_motion.txt"),
|
| 31 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/grabbing.txt", "grabbing.txt"),
|
| 32 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/hand_gesture.txt", "hand_gesture.txt"),
|
| 33 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/leg_gesture.txt", "leg_gesture.txt"),
|
| 34 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/memories.txt", "memories.txt"),
|
| 35 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/fujimiya.txt", "fujimiya.txt"),
|
| 36 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/facial_expression.txt", "facial_expression.txt"),
|
| 37 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/background_outdoor.txt", "background_outdoor.txt"),
|
| 38 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/background_indoors.txt", "background_indoors.txt"),
|
| 39 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/order_character.txt", "order_character.txt"),
|
| 40 |
+
("https://huggingface.co/datasets/Drditone/Dynamic_prompt/resolve/main/order_situation.txt", "order_situation.txt")
|
| 41 |
+
]
|
| 42 |
+
|
| 43 |
+
# 保存先ディレクトリ
|
| 44 |
+
save_directory = "/content/Forge-Classic/extensions/sd-dynamic-prompts/wildcards"
|
| 45 |
+
|
| 46 |
+
# 各URLからファイルをダウンロード
|
| 47 |
+
for url, file_name in urls_and_names:
|
| 48 |
+
save_path = os.path.join(save_directory, file_name)
|
| 49 |
+
download_file(url, save_path)
|
extensions_colab_Forge-Classic.py
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
|
| 3 |
+
def clone_repo(url, save_path):
|
| 4 |
+
command = f'git clone {url} {save_path}'
|
| 5 |
+
os.system(command)
|
| 6 |
+
print(f"Repository cloned: {save_path}")
|
| 7 |
+
|
| 8 |
+
# 複数のURLリスト
|
| 9 |
+
urls = [
|
| 10 |
+
"https://github.com/AUTOMATIC1111/stable-diffusion-webui-wildcards",
|
| 11 |
+
"https://github.com/adieyal/sd-dynamic-prompts",
|
| 12 |
+
"https://github.com/Physton/sd-webui-prompt-all-in-one",
|
| 13 |
+
"https://github.com/Katsuyuki-Karasawa/stable-diffusion-webui-localization-ja_JP"
|
| 14 |
+
]
|
| 15 |
+
|
| 16 |
+
# 対応するファイル名リスト
|
| 17 |
+
file_names = [
|
| 18 |
+
"stable-diffusion-webui-wildcards",
|
| 19 |
+
"sd-dynamic-prompts",
|
| 20 |
+
"sd-webui-prompt-all-in-one",
|
| 21 |
+
"stable-diffusion-webui-localization-ja_JP"
|
| 22 |
+
]
|
| 23 |
+
|
| 24 |
+
# 保存先ディレクトリ
|
| 25 |
+
save_directory = "/content/Forge-Classic/extensions"
|
| 26 |
+
|
| 27 |
+
# 各URLからリポジトリをクローン
|
| 28 |
+
for url, file_name in zip(urls, file_names):
|
| 29 |
+
save_path = os.path.join(save_directory, file_name)
|
| 30 |
+
clone_repo(url, save_path)
|
model_colab_Forge-Classic.py
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
|
| 3 |
+
def download_file(url, save_directory):
|
| 4 |
+
command = f'aria2c --console-log-level=error -c -x 16 -s 16 -k 1M --max-tries=5 --retry-wait=5 {url} -d {save_directory}'
|
| 5 |
+
os.system(command)
|
| 6 |
+
print(f"File downloaded to: {save_directory}")
|
| 7 |
+
|
| 8 |
+
# URLリスト
|
| 9 |
+
urls = [
|
| 10 |
+
# noobmerge_bV05
|
| 11 |
+
"https://civitai.com/api/download/models/1096333?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 12 |
+
# noobmerge_bV07-A
|
| 13 |
+
#"https://civitai.com/api/download/models/1354901?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 14 |
+
# noobmerge_bV1.0-A
|
| 15 |
+
#"https://civitai.com/api/download/models/1500882?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 16 |
+
|
| 17 |
+
# Flanime Illustrious-XL - High-Quality Flat Anime v1.5
|
| 18 |
+
#"https://civitai.com/api/download/models/1765815?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 19 |
+
|
| 20 |
+
# miruku~ v3
|
| 21 |
+
#"https://civitai.com/api/download/models/1790024?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 22 |
+
# NAL v6.0
|
| 23 |
+
#"https://civitai.com/api/download/models/1844770?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 24 |
+
|
| 25 |
+
# novaAnimeXL_ilV30HappyNewYear
|
| 26 |
+
#"https://civitai.com/api/download/models/1225516?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 27 |
+
# novaAnimeXL_v4.0 Happy Valentine
|
| 28 |
+
#"https://civitai.com/api/download/models/1352077?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 29 |
+
# novaAnimeXL_ilv5.0B
|
| 30 |
+
#"https://civitai.com/api/download/models/1500882?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 31 |
+
# novaAnimeXL_ilv6.0
|
| 32 |
+
#"https://civitai.com/api/download/models/1610231?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 33 |
+
|
| 34 |
+
# waiNSFWIllustrious_v9.0
|
| 35 |
+
#"https://civitai.com/api/download/models/1283437?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 36 |
+
# waiNSFWIllustrious_v12.0
|
| 37 |
+
#"https://civitai.com/api/download/models/1490781?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 38 |
+
|
| 39 |
+
# Plant Milk Coconut
|
| 40 |
+
#"https://civitai.com/api/download/models/1549172?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 41 |
+
# Plant Milk 🌿 - Model Suite Hemp
|
| 42 |
+
#"https://civitai.com/api/download/models/1550322?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 43 |
+
# Plant Milk 🌿 - Model Suite Vanilla
|
| 44 |
+
#"https://civitai.com/api/download/models/1547520?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 45 |
+
|
| 46 |
+
# cocoIllustriousNoobai_v55
|
| 47 |
+
#"https://civitai.com/api/download/models/1297493?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 48 |
+
# coco-Illustrious-XL v6.0
|
| 49 |
+
#"https://civitai.com/api/download/models/1522862?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 50 |
+
|
| 51 |
+
# pornmasterAnime_noobxlV3
|
| 52 |
+
#"https://civitai.com/api/download/models/1188818?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 53 |
+
# PornMaster-Anime 色情大师 - Illustrious / noob NoobXL-v4-vae
|
| 54 |
+
#"https://civitai.com/api/download/models/1463869?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 55 |
+
|
| 56 |
+
# songMix v1.5
|
| 57 |
+
#"https://civitai.com/api/download/models/1526201?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 58 |
+
# songMix v2.01
|
| 59 |
+
#"https://civitai.com/api/download/models/1562452?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 60 |
+
# songMix v2.1
|
| 61 |
+
#"https://civitai.com/api/download/models/1589457?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 62 |
+
|
| 63 |
+
# Hadrian Delice SDXL ILL nsfw v3.0
|
| 64 |
+
#"https://civitai.com/api/download/models/1619646?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 65 |
+
# Hadrian Delice SDXL ILL nsfw v4.0
|
| 66 |
+
#"https://civitai.com/api/download/models/1743474?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 67 |
+
|
| 68 |
+
# Vixon's Noob Illust Merge v14
|
| 69 |
+
#"https://civitai.com/api/download/models/1484298?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 70 |
+
|
| 71 |
+
# Obsession (Illustrious-XL) v-pred_v1.1
|
| 72 |
+
#"https://civitai.com/api/download/models/1494740?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 73 |
+
# Unholy Desire Mix - Sinister Aesthetic (Illustrious) v4.0
|
| 74 |
+
#"https://civitai.com/api/download/models/1577892?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 75 |
+
# Amanatsu (Illustrious) v1.1
|
| 76 |
+
#"https://civitai.com/api/download/models/1496755?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 77 |
+
# Unholy Desire Mix - Sinister Aesthetic (Illustrious) v5.0
|
| 78 |
+
#"https://civitai.com/api/download/models/1723898?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 79 |
+
|
| 80 |
+
# Hassaku XL (Illustrious) v2.1
|
| 81 |
+
#"https://civitai.com/api/download/models/1483080?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 82 |
+
# Stabilizer illustriousXL/NoobAI illus01 v1.72
|
| 83 |
+
#"https://civitai.com/api/download/models/1538622?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 84 |
+
# DREAMBOX v3.0
|
| 85 |
+
#"https://civitai.com/api/download/models/1547582?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 86 |
+
# T-illunai3 v8.0
|
| 87 |
+
#"https://civitai.com/api/download/models/1460600?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 88 |
+
# ZUKI anime ILL v4.0
|
| 89 |
+
#"https://civitai.com/api/download/models/1518828?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 90 |
+
# Dvine v3.4
|
| 91 |
+
#"https://civitai.com/api/download/models/1451512?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 92 |
+
# Async's MIX ILLUSTRIOUS LI v3.0
|
| 93 |
+
#"https://civitai.com/api/download/models/1405506?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 94 |
+
# CottonNoob v2.0
|
| 95 |
+
#"https://civitai.com/api/download/models/1538503?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 96 |
+
# WAI-Mature-illustrious v1.0
|
| 97 |
+
#"https://civitai.com/api/download/models/1535857?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 98 |
+
# CAT - Citron Anime Treasure [Illustrious & NoobAI & SDXL & SD1.5] Illustrious v5
|
| 99 |
+
#"https://civitai.com/api/download/models/1329693?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 100 |
+
# Hadrian Delice SDXL-ILL v3.0
|
| 101 |
+
#"https://civitai.com/api/download/models/1619646?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 102 |
+
# AnyIllustrious-XL(for LoRA training) v1.1.0
|
| 103 |
+
#"https://civitai.com/api/download/models/1564750?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 104 |
+
# IllumiYume XL (Illustrious) v2.0
|
| 105 |
+
#"https://civitai.com/api/download/models/1623762?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 106 |
+
# Sweet-mix Illustrious/XL v1.4
|
| 107 |
+
#"https://civitai.com/api/download/models/1724867?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 108 |
+
# Pornzilla Hentai v4.5
|
| 109 |
+
#"https://civitai.com/api/download/models/1745464?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 110 |
+
|
| 111 |
+
|
| 112 |
+
# ■ NoobAIモデル(V-Pred) ■
|
| 113 |
+
# Cat Tower (NoobAI XL checkpoint) v1.7(vPred)
|
| 114 |
+
#"https://civitai.com/api/download/models/1495826?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 115 |
+
# Tales Hentai v2.0
|
| 116 |
+
#"https://civitai.com/api/download/models/1526420?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 117 |
+
# SilvermoonMix-Illustrious-Evolved v3.0 V-pred
|
| 118 |
+
#"https://civitai.com/api/download/models/1576741?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 119 |
+
# CAT - Citron Anime Treasure [Illustrious & NoobAI & SDXL & SD1.5] NoobAI
|
| 120 |
+
#"https://civitai.com/api/download/models/1592873?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 121 |
+
# Ikastrious (NoobAI-XL) v9.5
|
| 122 |
+
#"https://civitai.com/api/download/models/1655234?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
# ■ シンプルスタイル ■
|
| 126 |
+
# Mistoon_Anime v1.0 noobai
|
| 127 |
+
#"https://civitai.com/api/download/models/1540184?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 128 |
+
# Shiitake-Mix v1.0
|
| 129 |
+
#"https://civitai.com/api/download/models/1196701?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 130 |
+
# Silence_Mix v3.0
|
| 131 |
+
#"https://civitai.com/api/download/models/1472143?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 132 |
+
# Nonnette v050
|
| 133 |
+
#"https://civitai.com/api/download/models/1506467?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 134 |
+
# CottonNoob v2.0
|
| 135 |
+
#"https://civitai.com/api/download/models/1538503?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 136 |
+
|
| 137 |
+
# ■ フィギュアモデル ■
|
| 138 |
+
# [PVC Style Model]Movable figure model XL ESP NBXL-1.0
|
| 139 |
+
#"https://civitai.com/api/download/models/1026901?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 140 |
+
# [PVC Style Model]Movable figure model XL EPS NBXL-1.2
|
| 141 |
+
#"https://civitai.com/api/download/models/1117799?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 142 |
+
# [PVC Style Model]Movable figure model XL NBXL_V-Pred_v1.0
|
| 143 |
+
#" https://civitai.com/api/download/models/1223484?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 144 |
+
# [PVC Style Model]Movable figure model XL ESP NBXL-1.3A(realistic)
|
| 145 |
+
#"https://civitai.com/api/download/models/1438553?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 146 |
+
|
| 147 |
+
# ■ リアル系 ■
|
| 148 |
+
# Reijality v1.0
|
| 149 |
+
#"https://civitai.com/api/download/models/1593257?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 150 |
+
# beret mix Real v5.0
|
| 151 |
+
#"https://civitai.com/api/download/models/1687551?token=12878a3fa383ed9c0072d68b7b7b3a7e",
|
| 152 |
+
|
| 153 |
+
|
| 154 |
+
# novaOrangeXL_v40
|
| 155 |
+
#"https://civitai.com/api/download/models/1196911?token=12878a3fa383ed9c0072d68b7b7b3a7e"
|
| 156 |
+
|
| 157 |
+
|
| 158 |
+
|
| 159 |
+
]
|
| 160 |
+
|
| 161 |
+
# 保存先ディレクトリ
|
| 162 |
+
save_directory = "/content/Forge-Classic/models/Stable-diffusion"
|
| 163 |
+
|
| 164 |
+
# 各URLからファイルをダウンロード
|
| 165 |
+
for url in urls:
|
| 166 |
+
download_file(url, save_directory)
|
wildcards_colab_Forge-Classic.py
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import os
|
| 2 |
+
|
| 3 |
+
def download_file(url, save_path):
|
| 4 |
+
command = f'aria2c --console-log-level=error -c -x 16 -s 16 -k 1M -d {os.path.dirname(save_path)} -o {os.path.basename(save_path)} {url}'
|
| 5 |
+
os.system(command)
|
| 6 |
+
print(f"File downloaded: {save_path}")
|
| 7 |
+
|
| 8 |
+
# URLと対応するファイル名のリスト
|
| 9 |
+
urls_and_names = [
|
| 10 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/camera.txt", "camera.txt"),
|
| 11 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/camera_b.txt", "camera_b.txt"),
|
| 12 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/camera-long.txt", "camera-long.txt"),
|
| 13 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/camera-all.txt", "camera-all.txt"),
|
| 14 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/camera-full.txt", "camera-full.txt"),
|
| 15 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/gaze.txt", "gaze.txt"),
|
| 16 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/gesture.txt", "gesture.txt"),
|
| 17 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/gesture_a.txt", "gesture_a.txt"),
|
| 18 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/time.txt", "time.txt"),
|
| 19 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/place.txt", "place.txt"),
|
| 20 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/date-spot.txt", "date-spot.txt"),
|
| 21 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/famous-place.txt", "famous-place.txt"),
|
| 22 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/pose.txt", "pose.txt"),
|
| 23 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/character.txt", "character.txt"),
|
| 24 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/character_02.txt", "character_02.txt"),
|
| 25 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/character_03.txt", "character_03.txt"),
|
| 26 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/character_04.txt", "character_04.txt"),
|
| 27 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/fantasy-character.txt", "fantasy-character.txt"),
|
| 28 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/fantasy-character_b.txt", "fantasy-character_b.txt"),
|
| 29 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/effect.txt", "effect.txt"),
|
| 30 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/color.txt", "color.txt"),
|
| 31 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/costume.txt", "costume.txt"),
|
| 32 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/sexy-costumes.txt", "sexy-costumes.txt"),
|
| 33 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/kimono.txt", "kimono.txt"),
|
| 34 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/kimono-hana.txt", "kimono-hana.txt"),
|
| 35 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/kimono-hana_b.txt", "kimono-hana_b.txt"),
|
| 36 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/clothing.txt", "clothing.txt"),
|
| 37 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/clothing_b.txt", "clothing_b.txt"),
|
| 38 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/clothing_c.txt", "clothing_c.txt"),
|
| 39 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/clothing_d.txt", "clothing_d.txt"),
|
| 40 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/clothing_e.txt", "clothing_e.txt"),
|
| 41 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/tights.txt", "tights.txt"),
|
| 42 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/cute-loungewear.txt", "cute-loungewear.txt"),
|
| 43 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/school-clothing.txt", "school-clothing.txt"),
|
| 44 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/morning-routine.txt", "morning-routine.txt"),
|
| 45 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/pajamas.txt", "pajamas.txt"),
|
| 46 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/sleepy.txt", "sleepy.txt"),
|
| 47 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/casual-gesture.txt", "casual-gesture.txt"),
|
| 48 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/fruits-feelings.txt", "fruits-feelings.txt"),
|
| 49 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/lunch-box.txt", "lunch-box.txt"),
|
| 50 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/facial-expression.txt", "facial-expression.txt"),
|
| 51 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/facial-expression_b.txt", "facial-expression_b.txt"),
|
| 52 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/facial-expression_c.txt", "facial-expression_c.txt"),
|
| 53 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/facial-expression_d.txt", "facial-expression_d.txt"),
|
| 54 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/facial-expression_e.txt", "facial-expression_e.txt"),
|
| 55 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/looking-away.txt", "looking-away.txt"),
|
| 56 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/accessory.txt", "accessory.txt"),
|
| 57 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/clothing-bottoms.txt", "clothing-bottoms.txt"),
|
| 58 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/clothing-outerwear.txt", "clothing-outerwear.txt"),
|
| 59 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/clothing-tops.txt", "clothing-tops.txt"),
|
| 60 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/facal-expression_x.txt", "facal-expression_x.txt"),
|
| 61 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/hair-accessory.txt", "hair-accessory.txt"),
|
| 62 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/idol-hair-accessory.txt", "idol-hair-accessory.txt"),
|
| 63 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/hair-bangs.txt", "hair-bangs.txt"),
|
| 64 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/hair-color.txt", "hair-color.txt"),
|
| 65 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/natural-hair-color.txt", "natural-hair-color.txt"),
|
| 66 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/hair-length.txt", "hair-length.txt"),
|
| 67 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/hair-style.txt", "hair-style.txt"),
|
| 68 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/camera_new.txt", "camera_new.txt"),
|
| 69 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/focus.txt", "focus.txt"),
|
| 70 |
+
# ("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/NEW.txt", "NEW.txt"),
|
| 71 |
+
("https://huggingface.co/datasets/Drditone/wildcards/resolve/main/situation.txt", "situation.txt")
|
| 72 |
+
]
|
| 73 |
+
|
| 74 |
+
# 保存先ディレクトリ
|
| 75 |
+
save_directory = "/content/Forge-Classic/extensions/stable-diffusion-webui-wildcards/wildcards"
|
| 76 |
+
|
| 77 |
+
# 各URLからファイルをダウンロード
|
| 78 |
+
for url, file_name in urls_and_names:
|
| 79 |
+
save_path = os.path.join(save_directory, file_name)
|
| 80 |
+
download_file(url, save_path)
|