Last active
January 20, 2024 07:05
-
-
Save safa-dayo/2b6dda244812d510063e2c7dfe63c7d7 to your computer and use it in GitHub Desktop.
FooocusをGoogle Colab上でセットアップして起動するためのコマンドです
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@title FooocusをGoogle Colabで起動するためのコマンド | |
#@markdown ## このColabノートブックについて | |
#@markdown [Fooocus](https://github.com/lllyasviel/Fooocus) をGoogle Colabで起動するためのノートブックとなります。 | |
#@markdown 利用したいモデルにチェックを入れた上で実行ボタンを押すことで、設定した内容でFooocusが起動します。 | |
#@markdown また各項目には公式ページへのリンクをつけています。利用の際は公式ページよりライセンスなどを確認した上でご利用ください。 | |
### Fooocusインストール | |
!pip install pygit2==1.12.2 | |
%cd /content | |
!git clone https://github.com/lllyasviel/Fooocus | |
%cd /content/Fooocus | |
!cp colab_fix.txt user_path_config.txt | |
#@markdown --- | |
#@markdown # プリセット選択 | |
#@markdown Fooocusではプリセットという仕組みがあり、予め選択することで生成したスタイルに沿った初期設定がFooocus上で行われます。以下のドロップダウンから希望のプリセットを選択してください。選択しない場合はNoneを選択してください。 | |
preset = "None" # @param["None", "Realistic", "Anime"] | |
#@markdown --- | |
#@markdown # モデル選択 | |
#@markdown 利用したいモデルにチェックを入れてください | |
#@markdown 生成される画像の傾向を事前に知りたい場合はリンク先のYouTube動画から確認が可能です(作成した動画の宣伝) | |
#@markdown --- | |
#@markdown ## 実写系モデル (Base: SD 1.5) | |
#@markdown ### chilled_remix v2 | |
#@markdown [公式ページ](https://huggingface.co/sazyou-roukaku/chilled_remix) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/c5N1zq6cSNE) | |
use_chilled_remix_v2 = False #@param {type: "boolean"} | |
if use_chilled_remix_v2: | |
!wget https://huggingface.co/sazyou-roukaku/chilled_remix/resolve/main/chilled_remix_v2.safetensors --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### chilled_reversemix v2 | |
#@markdown [公式ページ](https://huggingface.co/sazyou-roukaku/chilled_remix) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/c5N1zq6cSNE) | |
use_chilled_reversemix_v2 = False #@param {type: "boolean"} | |
if use_chilled_reversemix_v2: | |
!wget https://huggingface.co/sazyou-roukaku/chilled_remix/resolve/main/chilled_reversemix_v2.safetensors --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### BracingEvoMix(v1) | |
#@markdown [公式ページ](https://huggingface.co/sazyou-roukaku/BracingEvoMix) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/G6mZUq3S354) | |
use_bracing_evo_mix_v1 = False #@param {type: "boolean"} | |
if use_bracing_evo_mix_v1: | |
!wget https://huggingface.co/sazyou-roukaku/BracingEvoMix/resolve/main/BracingEvoMix_v1.safetensors --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### BracingEvoMix(v2) | |
#@markdown [公式ページ](https://huggingface.co/sazyou-roukaku/BracingEvoMix) | |
use_bracing_evo_mix_v2 = False #@param {type: "boolean"} | |
if use_bracing_evo_mix_v2: | |
!wget https://huggingface.co/sazyou-roukaku/BracingEvoMix/resolve/main/BracingEvoMix_v2.safetensors --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### BracingEvoMix - Another | |
#@markdown [公式ページ](https://huggingface.co/sazyou-roukaku/BracingEvoMix) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/hdQxapP2Y98) | |
use_bracing_evo_another_mix = False #@param {type: "boolean"} | |
if use_bracing_evo_another_mix: | |
!wget https://huggingface.co/sazyou-roukaku/BracingEvoMix/resolve/main/BracingEvoMix_Another_v1.safetensors --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### BracingEvoMix - Fast | |
#@markdown [公式ページ](https://huggingface.co/sazyou-roukaku/BracingEvoMix) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/hdQxapP2Y98) | |
use_bracing_evo_fast_mix = False #@param {type: "boolean"} | |
if use_bracing_evo_fast_mix: | |
!wget https://huggingface.co/sazyou-roukaku/BracingEvoMix/resolve/main/BracingEvoMix_Fast_v1.safetensors --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### Blessing Mix | |
#@markdown [公式ページ](https://civitai.com/models/94179/blessing-mix-aka-bracing-evo-mix-clone) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/hNU8CMaewqI) | |
use_blessing_mix = False #@param {type: "boolean"} | |
if use_blessing_mix: | |
!wget https://civitai.com/api/download/models/100468 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### yayoi_mix v2 | |
#@markdown [公式ページ](https://civitai.com/models/83096/yayoimix) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/OM678ZSygow) | |
use_yayoi_mix_v2 = False #@param {type: "boolean"} | |
if use_yayoi_mix_v2: | |
!wget https://civitai.com/api/download/models/112499 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### kisaragi_mix v22 | |
#@markdown [公式ページ](https://civitai.com/models/45757/kisaragimix) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/p1zvB-aXKaw) | |
use_kisaragi_mix_v22 = False #@param {type: "boolean"} | |
if use_kisaragi_mix_v22: | |
!wget https://civitai.com/api/download/models/97186 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### minaduki_mix | |
#@markdown [公式ページ](https://civitai.com/models/126041/minadukimix) | |
use_minaduki_mix = False #@param {type: "boolean"} | |
if use_minaduki_mix: | |
!wget https://civitai.com/api/download/models/137751 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### WeddingImperial v1 | |
#@markdown [公式ページ](https://huggingface.co/teasan/WeddingImperial) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/4dukNcNJ_fI) | |
use_wedding_imperial_v1 = False #@param {type: "boolean"} | |
if use_wedding_imperial_v1: | |
!wget https://huggingface.co/teasan/WeddingImperial/resolve/main/model/weddingImperial.safetensors --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### WeddingImperial v2 | |
#@markdown [公式ページ](https://huggingface.co/teasan/WeddingImperial) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/rBGYRNmznk8) | |
use_wedding_imperial_v2 = False #@param {type: "boolean"} | |
if use_wedding_imperial_v2: | |
!wget https://huggingface.co/teasan/WeddingImperial/resolve/main/model/weddingImperialV2.safetensors --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### Photon | |
#@markdown [公式ページ](https://civitai.com/models/84728/photon) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/eIYkdfiGx-Y) | |
use_photon = False #@param {type: "boolean"} | |
if use_photon: | |
!wget https://civitai.com/api/download/models/90072 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### DreamShaper v7 | |
#@markdown [公式ページ](https://civitai.com/models/4384/dreamshaper) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/u071zv1lxug) | |
use_dream_shaper_v7 = False #@param {type: "boolean"} | |
if use_dream_shaper_v7: | |
!wget https://civitai.com/api/download/models/109123 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### DreamShaper v8 | |
#@markdown [公式ページ](https://civitai.com/models/4384/dreamshaper) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/gIfmr12C4X8) | |
use_dream_shaper_v8 = False #@param {type: "boolean"} | |
if use_dream_shaper_v8: | |
!wget https://civitai.com/api/download/models/128713 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### AbsoluteReality v1.6 | |
#@markdown [公式ページ](https://civitai.com/models/81458/absolutereality) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/LlMlnkorC_k) | |
use_absolute_reality_v16 = False #@param {type: "boolean"} | |
if use_absolute_reality_v16: | |
!wget https://civitai.com/api/download/models/108576 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### AbsoluteReality v1.8.1 | |
#@markdown [公式ページ](https://civitai.com/models/81458/absolutereality) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/vUr99l5UReA) | |
use_absolute_reality_v181 = False #@param {type: "boolean"} | |
if use_absolute_reality_v181: | |
!wget https://civitai.com/api/download/models/132760 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### Soda Mix | |
#@markdown [公式ページ](https://civitai.com/models/47507/soda-mix) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/2QGdRREYMoo) | |
use_soda_mix = False #@param {type: "boolean"} | |
if use_soda_mix: | |
!wget https://civitai.com/api/download/models/52797 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### real-max-v3.4(补档) | |
#@markdown [公式ページ](https://civitai.com/models/60188/real-max-v34) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/PY8o7U4laSs) | |
use_real_max_v34 = False #@param {type: "boolean"} | |
if use_real_max_v34: | |
!wget https://civitai.com/api/download/models/64660 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### BRAV7 | |
#@markdown [公式ページ](https://civitai.com/models/25494?modelVersionId=177164) | |
use_bra_v7 = False #@param {type: "boolean"} | |
if use_bra_v7: | |
!wget https://civitai.com/api/download/models/177164 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### BRAV6 | |
#@markdown [公式ページ](https://huggingface.co/BanKaiPls/AsianModel) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/vcQplWWdyEk) | |
use_bra_v6 = False #@param {type: "boolean"} | |
if use_bra_v6: | |
!wget https://huggingface.co/BanKaiPls/AsianModel/resolve/main/Brav6.safetensors --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### BRAV5 | |
#@markdown [公式ページ](https://huggingface.co/BanKaiPls/AsianModel) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/g0i1_LSzrWQ) | |
use_bra_v5 = False #@param {type: "boolean"} | |
if use_bra_v5: | |
!wget https://huggingface.co/BanKaiPls/AsianModel/resolve/main/BRAV5finalfp16.safetensors --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### BRAV4 | |
#@markdown [公式ページ](https://civitai.com/models/25494?modelVersionId=51395) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/t6Nm0AUyqyU) | |
use_bra_v4 = False #@param {type: "boolean"} | |
if use_bra_v4: | |
!wget https://civitai.com/api/download/models/51395 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### OpenBra | |
#@markdown [公式ページ](https://huggingface.co/BanKaiPls/AsianModel) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/0ZK7O5EFqWA?si=nU1tMkXFv-cW6ZMA) | |
use_open_bra = False #@param {type: "boolean"} | |
if use_open_bra: | |
!wget https://huggingface.co/BanKaiPls/AsianModel/resolve/main/OpenBra.safetensors --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### MUSE_v1 | |
#@markdown [公式ページ](https://civitai.com/models/13564/musev1) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/Rc6v_2rOICA) | |
use_muse_v1 = False #@param {type: "boolean"} | |
if use_muse_v1: | |
!wget https://civitai.com/api/download/models/15980 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### majicMIX realistic(v2.5) | |
#@markdown [公式ページ](https://civitai.com/models/43331/majicmix-realistic) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/A9Gx28_r1RE) | |
use_majicmix_realistic_v6 = False #@param {type: "boolean"} | |
if use_majicmix_realistic_v6: | |
!wget https://civitai.com/api/download/models/126470 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### bellyberry1 | |
#@markdown [公式ページ](https://civitai.com/models/109458/bellyberry1) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/lNLn8gnR7SU?si=O243teqpETa8xnHp) | |
use_bellyberry1 = False #@param {type: "boolean"} | |
if use_bellyberry1: | |
!wget https://civitai.com/api/download/models/139410 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### SweetMuse | |
#@markdown [公式ページ](https://civitai.com/models/81668/sweetmuse) | |
use_sweet_muse = False #@param {type: "boolean"} | |
if use_sweet_muse: | |
!wget https://civitai.com/api/download/models/89839 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### RealBeautyMix | |
#@markdown [公式ページ](https://civitai.com/models/85156) | |
use_real_beauty_mix = False #@param {type: "boolean"} | |
if use_real_beauty_mix: | |
!wget https://civitai.com/api/download/models/90505 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### epiCRealism | |
#@markdown [公式ページ](https://civitai.com/models/25694?modelVersionId=134065) | |
use_epi_c_realism = False #@param {type: "boolean"} | |
if use_epi_c_realism: | |
!wget https://civitai.com/api/download/models/134065 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### Noble Mix Fix | |
#@markdown [公式ページ](https://civitai.com/models/65480/noble-mix-fix) | |
use_noble_mix_fix = False #@param {type: "boolean"} | |
if use_noble_mix_fix: | |
!wget https://civitai.com/api/download/models/92828 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### BlazingRealDrive | |
#@markdown [公式ページ](https://civitai.com/models/137909) | |
use_blazing_real_drive = False #@param {type: "boolean"} | |
if use_blazing_real_drive: | |
!wget https://civitai.com/api/download/models/202466 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### VoidnoiseCore(R1311) | |
#@markdown [公式ページ](https://huggingface.co/konapieces/VoidnoiseCore) | |
use_voidnoise_core_r1311 = False #@param {type: "boolean"} | |
if use_voidnoise_core_r1311: | |
!wget https://huggingface.co/konapieces/VoidnoiseCore/resolve/main/models/R1311/VoidnoiseCore_R1311.fp16.safetensors --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### Kawaii Realistic Asian Mix | |
#@markdown [公式ページ](https://civitai.com/models/83766/kawaii-realistic-asian-mix) | |
use_kawaii_realistic_asian_mix = False #@param {type: "boolean"} | |
if use_kawaii_realistic_asian_mix: | |
!wget https://civitai.com/api/download/models/170762 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### Meichidark_Mix | |
#@markdown [公式ページ](https://civitai.com/models/69158/meichidarkmix) | |
use_meichidark_mix = False #@param {type: "boolean"} | |
if use_meichidark_mix: | |
!wget https://civitai.com/api/download/models/147184 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### CyberRealistic | |
#@markdown [公式ページ](https://civitai.com/models/15003/cyberrealistic) | |
use_cyber_realistic = False #@param {type: "boolean"} | |
if use_cyber_realistic: | |
!wget https://civitai.com/api/download/models/198401 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
# CyberRealistic Negativeも併せてダウンロード | |
!wget https://civitai.com/api/download/models/82745 --content-disposition --directory-prefix=/content/Fooocus/models/embeddings/ | |
#@markdown ### Realistic Vision | |
#@markdown [公式ページ](https://civitai.com/models/4201) | |
use_realistic_vision = False #@param {type: "boolean"} | |
if use_realistic_vision: | |
!wget https://civitai.com/api/download/models/130072 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### XXMix_9realistic | |
#@markdown [公式ページ](https://civitai.com/models/47274/xxmix9realistic) | |
use_xxmix_9realistic = False #@param {type: "boolean"} | |
if use_xxmix_9realistic: | |
!wget https://civitai.com/api/download/models/102222 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### BellyUse | |
#@markdown [公式ページ](https://civitai.com/models/211708) | |
use_belly_use = False #@param {type: "boolean"} | |
if use_belly_use: | |
!wget https://civitai.com/api/download/models/265163 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### BlueberryMix | |
#@markdown [公式ページ](https://civitai.com/models/14323/blueberrymix) | |
use_blueberrymix = False #@param {type: "boolean"} | |
if use_blueberrymix: | |
!wget https://civitai.com/api/download/models/16859 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### ICBINP | |
#@markdown [公式ページ](https://civitai.com/models/28059/icbinp-i-cant-believe-its-not-photography) | |
use_icbinp = False #@param {type: "boolean"} | |
if use_icbinp: | |
!wget https://civitai.com/api/download/models/121557 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### ICBINP - LCM | |
#@markdown [公式ページ](https://civitai.com/models/28059/icbinp-i-cant-believe-its-not-photography) | |
use_icbinp_lcm = False #@param {type: "boolean"} | |
if use_icbinp_lcm: | |
!wget https://civitai.com/api/download/models/253668 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### t3 | |
#@markdown [公式ページ](https://civitai.com/models/110053/t3) | |
use_t3 = False #@param {type: "boolean"} | |
if use_t3: | |
!wget https://civitai.com/api/download/models/281273 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown --- | |
#@markdown ## 実写系モデル (Base: SD 2.1) | |
#@markdown ### Manga Diffusion PoC | |
#@markdown [公式ページ](https://huggingface.co/aipicasso/manga-diffusion-poc) | |
use_manga_diffusion_poc = False #@param {type: "boolean"} | |
if use_manga_diffusion_poc: | |
!wget https://huggingface.co/aipicasso/manga-diffusion-poc/resolve/main/poc.safetensors --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown --- | |
#@markdown ## 実写系モデル (Base: SDXL) | |
#@markdown ### SDXL base 1.0 | |
#@markdown [公式ページ](https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/IyXvmlhjjgM) | |
use_sdxl_base_1 = False #@param {type: "boolean"} | |
if use_sdxl_base_1: | |
!wget https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/resolve/main/sd_xl_base_1.0.safetensors --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### DreamShaper XL1.0 | |
#@markdown [公式ページ](https://civitai.com/models/112902) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/UAUhscKUvp8) | |
use_dream_shaper_xl_1 = False #@param {type: "boolean"} | |
if use_dream_shaper_xl_1: | |
!wget https://civitai.com/api/download/models/126688 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### fuduki_mix (v1.0) | |
#@markdown [公式ページ](https://civitai.com/models/129830) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/O2GNFwB2Ncg) | |
use_fuduki_mix_v1 = False #@param {type: "boolean"} | |
if use_fuduki_mix_v1: | |
!wget https://civitai.com/api/download/models/144615 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### haduki_mix | |
#@markdown [公式ページ](https://civitai.com/models/135476/hadukimix) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/LrSyTqXa_bU?si=PCKaBIJSeG7uGxcB) | |
use_haduki_mix = False #@param {type: "boolean"} | |
if use_haduki_mix: | |
!wget https://huggingface.co/Kotajiro/haduki_mix/resolve/main/haduki_mix_v10_FP16.safetensors --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### nagatsuki_mix | |
#@markdown [公式ページ](https://civitai.com/models/172781/nagatsukimix) | |
use_nagatsuki_mix = False #@param {type: "boolean"} | |
if use_nagatsuki_mix: | |
!wget https://civitai.com/api/download/models/194047 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### Copax TimeLessXL - SDXL1.0 | |
#@markdown [公式ページ](https://civitai.com/models/118111/copax-timelessxl-sdxl10) | |
use_copax_timelessxl_sdxl10 = False #@param {type: "boolean"} | |
if use_copax_timelessxl_sdxl10: | |
!wget https://civitai.com/api/download/models/172160 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### AfterRealXL | |
#@markdown [公式ページ](https://civitai.com/models/150212/afterrealxl) | |
use_after_real_xl = False #@param {type: "boolean"} | |
if use_after_real_xl: | |
!wget https://civitai.com/api/download/models/167881 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### NightVision XL | |
#@markdown [公式ページ](https://civitai.com/models/128607/nightvision-xl-photorealistic-or-portrait-or-photography-or-hyperreal-or-architecture-or-interior-design-no-refiner-needed) | |
use_nightvision_xl = False #@param {type: "boolean"} | |
if use_nightvision_xl: | |
!wget https://civitai.com/api/download/models/159982 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### Latent Consistency Model (LCM): SSD-1B | |
#@markdown [公式ページ](https://huggingface.co/latent-consistency/lcm-ssd-1b) | |
use_lcm_ssd_1b = False #@param {type: "boolean"} | |
if use_lcm_ssd_1b: | |
!wget https://huggingface.co/latent-consistency/lcm-ssd-1b/resolve/main/diffusion_pytorch_model.fp16.safetensors?download=true --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown --- | |
#@markdown ## イラスト系モデル (Base: SD 1.5) | |
#@markdown ### meinamix | |
#@markdown [公式ページ](https://civitai.com/models/7240/meinamix) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/LX7_3vmUImY) | |
use_meina_mix = False #@param {type: "boolean"} | |
if use_meina_mix: | |
!wget https://civitai.com/api/download/models/119057 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### BraveDawn | |
#@markdown [公式ページ](https://civitai.com/models/101932) | |
#@markdown VAEの `vae-ft-mse-840000-ema-pruned.ckpt` を併せて利用することが公式より推奨されています | |
use_brave_dawn = False #@param {type: "boolean"} | |
if use_brave_dawn: | |
!wget https://civitai.com/api/download/models/128200 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### Break the Darkness | |
#@markdown [公式ページ](https://civitai.com/models/105047/break-the-darkness) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/Slpt9bQ6884) | |
use_break_the_darkness = False #@param {type: "boolean"} | |
if use_break_the_darkness: | |
!wget https://civitai.com/api/download/models/123633 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### FlexDreamHK | |
#@markdown [公式ページ](https://huggingface.co/den2nova/FlexDreamHK) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/wiG9GbXpPis) | |
use_flex_dream_hk = False #@param {type: "boolean"} | |
if use_flex_dream_hk: | |
!wget https://huggingface.co/den2nova/FlexDreamHK/resolve/main/FlexDreamHK_v2.0.safetensors --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### ENCartoony | |
#@markdown [公式ページ](https://civitai.com/models/143113) | |
use_encartoony = False #@param {type: "boolean"} | |
if use_encartoony: | |
!wget https://civitai.com/api/download/models/158785 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### ENCLight-v1 | |
#@markdown [公式ページ](https://civitai.com/models/161452/enclight-v1) | |
use_enclight_v1 = False #@param {type: "boolean"} | |
if use_enclight_v1: | |
!wget https://civitai.com/api/download/models/181723 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown --- | |
#@markdown ## イラスト系モデル (Base: SDXL) | |
#@markdown ### BreakDomainXL | |
#@markdown [公式ページ](https://civitai.com/models/126259/breakdomainxl) | |
#@markdown VAEの `sdxl_vae` を併せて利用することが公式より推奨されています | |
use_break_domain_xl = False #@param {type: "boolean"} | |
if use_break_domain_xl: | |
!wget https://civitai.com/api/download/models/145893 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### LastpieceCoreXL | |
#@markdown [公式ページ](https://huggingface.co/konapieces/LastpieceCoreXL) | |
use_last_piece_core_xl = False #@param {type: "boolean"} | |
if use_last_piece_core_xl: | |
!wget https://huggingface.co/konapieces/LastpieceCoreXL/resolve/main/models/S0964/LastpieceCoreXL_S0964.fp16.safetensors --directory-prefix=/content/Fooocus/models/checkpoints | |
# 専用のVAEも併せて導入 | |
!wget https://huggingface.co/konapieces/LastpieceCoreXL/resolve/main/vae/lastpiece.xl.vae.safetensors --directory-prefix=/content/Fooocus/models/vae/ | |
#@markdown ### blue_pencil-XL | |
#@markdown [公式ページ](https://civitai.com/models/119012/bluepencil-xl) | |
use_blue_pencil_xl = False #@param {type: "boolean"} | |
if use_blue_pencil_xl: | |
!wget https://civitai.com/api/download/models/212090 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
# 推奨されるNegative Embeddingsも導入 | |
# unaestheticXL | Negative TI (_Jug6, _Sky3.1, _AYv1) | |
# URL: https://civitai.com/models/119032/unaestheticxl-or-negative-ti) | |
!wget https://civitai.com/api/download/models/207934 --content-disposition --directory-prefix=/content/Fooocus/models/embeddings | |
!wget https://civitai.com/api/download/models/175819 --content-disposition --directory-prefix=/content/Fooocus/models/embeddings | |
!wget https://civitai.com/api/download/models/162146 --content-disposition --directory-prefix=/content/Fooocus/models/embeddings | |
#@markdown ### blue_pencil-XL-LCM | |
#@markdown [公式ページ](https://civitai.com/models/202108/bluepencil-xl-lcm) | |
use_blue_pencil_xl_lcm = False #@param {type: "boolean"} | |
if use_blue_pencil_xl_lcm: | |
!wget https://civitai.com/api/download/models/227693 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### NekoRayXL | |
#@markdown [公式ページ](https://civitai.com/models/136719/nekorayxl) | |
use_neko_ray_xl = False #@param {type: "boolean"} | |
if use_neko_ray_xl: | |
!wget https://civitai.com/api/download/models/150826 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown ### Animagine XL V3 | |
#@markdown [公式ページ](https://civitai.com/models/260267/animagine-xl-v3) | |
use_animagine_xl_v3 = False #@param {type: "boolean"} | |
if use_animagine_xl_v3: | |
!wget https://civitai.com/api/download/models/293564 --content-disposition --directory-prefix=/content/Fooocus/models/checkpoints | |
#@markdown --- | |
#@markdown ## セミリアル系モデル (Base: SD 1.5) | |
#@markdown ### LittleStepMix v1 | |
#@markdown LittleStepMixを導入する際は併せて、【sr_SDv2vae_kl-f8anime2.safetensors】というVAEも一緒にインストールします | |
#@markdown [公式ページ](https://huggingface.co/sazyou-roukaku/LittleStepMix) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/a2X3oJB55nE) | |
use_little_step_mix_v1 = False #@param {type: "boolean"} | |
if use_little_step_mix_v1: | |
# モデルファイルのダウンロード(LittleStepMix_v1) | |
!wget https://huggingface.co/sazyou-roukaku/LittleStepMix/resolve/main/LittleStepMix_v1.safetensors --directory-prefix=/content/Fooocus/models/checkpoints | |
# VAEのダウンロード(sr_SDv2vae_kl-f8anime2.safetensors) - LittleStepMix_v1に必要 | |
!wget https://huggingface.co/sazyou-roukaku/LittleStepMix/resolve/main/VAE/sr_SDv2vae_kl-f8anime2.safetensors --directory-prefix=/content/Fooocus/models/vae/ | |
#@markdown --- | |
#@markdown ## refiner向けモデル (SDXL向け) | |
#@markdown ### SD-XL 1.0-refiner | |
#@markdown [公式ページ](https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0) | |
#@markdown [生成される画像を確認する(YouTube)](https://youtu.be/CNhrbc8VRSk?si=OSQVldOp7FMU--zL) | |
use_sdxl_1_refiner = False #@param {type: "boolean"} | |
if use_sdxl_1_refiner: | |
!wget https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/resolve/main/sd_xl_refiner_1.0.safetensors --directory-prefix=/content/Fooocus/models/checkpoints | |
# --------------------- | |
# Fooocus起動 | |
if preset == "None": | |
!python entry_with_update.py --share | |
elif preset == "Realistic": | |
!python entry_with_update.py --preset realistic --share | |
elif preset == "Anime": | |
!python entry_with_update.py --preset anime --share |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment