File size: 2,882 Bytes
92c3f3c 089b847 7d12d2c 2c53fa3 089b847 2c53fa3 089b847 fd80a52 2c53fa3 20a774c a022871 bc5d541 f3c22ab cf62629 2c53fa3 c4bb421 cf62629 974e71d cf62629 974e71d c4bb421 9220b0d a557882 974e71d fd80a52 024988b 089b847 2c53fa3 92c3f3c 2c53fa3 92c3f3c |
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 |
import os
def download_file(url, save_directory):
command = f'aria2c --console-log-level=error -c -x 16 -s 16 -k 1M {url} -d {save_directory}'
os.system(command)
print(f"File downloaded to: {save_directory}")
# URLリスト
urls = [
# noobmerge_bV05
#"https://civitai.com/api/download/models/1096333?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# noobmerge_bV07-A
#"https://civitai.com/api/download/models/1354901?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# noobmerge_bV1.0-A
#"https://civitai.com/api/download/models/1500882?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# novaAnimeXL_ilV30HappyNewYear
#"https://civitai.com/api/download/models/1225516?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# novaAnimeXL_v4.0 Happy Valentine
#"https://civitai.com/api/download/models/1352077?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# novaAnimeXL_ilv5.0B
"https://civitai.com/api/download/models/1500882?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# Obsession (Illustrious-XL) v-pred_v1.1
#"https://civitai.com/api/download/models/1494740?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# songMix v1.5
#"https://civitai.com/api/download/models/1526201?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# Vixon's Noob Illust Merge v14
#"https://civitai.com/api/download/models/1484298?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# シンプルスタイル
# Mistoon_Anime v1.0 noobai
#"https://civitai.com/api/download/models/1540184?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# Shiitake-Mix v1.0
#"https://civitai.com/api/download/models/1196701?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# Silence_Mix v3.0
#"https://civitai.com/api/download/models/1472143?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# Nonnette v050
#"https://civitai.com/api/download/models/1506467?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# CottonNoob v2.0
#"https://civitai.com/api/download/models/1538503?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# [PVC Style Model]Movable figure model XL EPS NBXL-1.2
#"https://civitai.com/api/download/models/1117799?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# novaOrangeXL_v40
#"https://civitai.com/api/download/models/1196911?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# pornmasterAnime_noobxlV3
#"https://civitai.com/api/download/models/1188818?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# waiNSFWIllustrious_v90
#"https://civitai.com/api/download/models/1283437?token=12878a3fa383ed9c0072d68b7b7b3a7e",
# cocoIllustriousNoobai_v55
#"https://civitai.com/api/download/models/1297493?token=12878a3fa383ed9c0072d68b7b7b3a7e"
]
# 保存先ディレクトリ
save_directory = "/content/ReForge/models/Stable-diffusion"
# 各URLからファイルをダウンロード
for url in urls:
download_file(url, save_directory)
|