
ウマ娘のAIイラストを生成したい!
どうやって生成できるの?
ウマ娘の画像生成をしたい場合は、CivitAIのサイトからモデルをダウンロードして導入することで生成することができます。
この記事では、Google Colabでウマ娘モデルを使ってAIイラストを生成する方法とおすすめのLoRAモデルについて解説します。
- ウマ娘のCheckpointモデル導入方法
- ウマ娘のLoRA&LyCORISモデル
- 紹介したウマ娘モデルのコード(Google Colab)
- ウマ娘の特定キャラクターモデル
- スペシャルウィーク
- サイレンススズカ
- トウカイテイオー
- ダイイチルビー
- ライスシャワー
- ダーレーアラビアン
- ゴドルフィンバルブ
- バイアリーターク
- ドゥラメンテ
- ヴィブロス
- ヴィルシーナ
- ゴールドシチー
- ヤマニンゼファー
- ヒシミラクル
- マチカネタンホイザ
- サトノクラウン
- ナカヤマフェスタ
- メイショウドトウ
- シュヴァルグラン
- ナイスネイチャ
- ナリタトップロード
- オグリキャップ
- ミホノブルボン
- スーパークリーク
- サクラローレル
- サクラチヨノオー
- キタサンブラック
- ファインモーション
- カレンチャン
- グラスワンダー
- タマモクロス
- マヤノトップガン
- ニシノフラワー
- ツインターボ
- ハルウララ
- ワンダーアキュート
- エイシンフラッシュ
- メジロマックイーン
- メジロドーベル
- メジロアルダン
- スイープトウショウ
- CivitAIからウマ娘モデルを探す場合
- まとめ
ウマ娘のCheckpointモデル導入方法

ここではウマ娘を生成することができるCheckpointモデルの「UmaMusume ウマ娘」の導入方法について解説します。
Checkpointモデルの「UmaMusume ウマ娘」は以下のリンクからダウンロードすることが出来ます。
ローカル環境の場合
Stable Diffusion Web UIをローカル環境で使っている方は、右側にある「Download」ボタンをクリックすることでファイルをダウンロードすることが出来ます。
ファイルは「models/Stable-diffusion/」の中に入れてください。

Google Colabの場合
Google ColabではダウンロードURLが必要になるのでコピーしましょう。
右側にある「Download」の場所にマウスカーソルを合わせてから右クリックしてください。

GoogleChromeの場合ですが、「リンクのアドレスをコピー」をクリックするとダウンロードURLをコピーすることが出来ます。
コピーしたらメモ帳などに貼っておきましょう。

Google Colabでコードを追加する

Google Colabにアクセスしてください。
「ファイル」をクリックしてから「ノートブックを新規作成」を押してください。

「編集」をクリックしてから「ノートブックの設定」を押してください。

ハードウェア アクセラレータの項目で「GPU」に設定してから「保存」をクリックしてください。

以下の画像のように「UmaMusume ウマ娘」CheckpointモデルのダウンロードURLを使用してコードを追加してから、左側にある実行ボタンを押してください。
先ほどコピーしたダウンロードURLを、以下にある(ダウンロードURL)の場所にペーストしてからコード内に追加すると使用することができます。
!wget (ダウンロードURL) -O /content/stable-diffusion-webui/models/Stable-diffusion/umamusume.safetensors
ペースト後は以下のようになります。
!wget https://civitai.com/api/download/models/15954 -O /content/stable-diffusion-webui/models/Stable-diffusion/umamusume.safetensors

コードが分からない人は以下のコードを全てコピペすることで、Stable Diffusion Web UIの導入、「UmaMusume ウマ娘」のCheckpointモデル、Stable Diffusion Web UIの起動までを行うことが出来るので参考にしてみてください。
!pip install -q torch==2.0.0+cu118 torchvision==0.15.1+cu118 torchaudio==2.0.1+cu118 torchtext==0.15.1 torchdata==0.6.0 --extra-index-url https://download.pytorch.org/whl/cu118 -U
!pip install -q xformers==0.0.19 triton==2.0.0 -U
#automatic1111 stable diffusion web uiのダウンロード
!git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
%cd /content/stable-diffusion-webui
#UmaMusume ウマ娘 【Checkpointモデル】
!wget https://civitai.com/api/download/models/15954 -O /content/stable-diffusion-webui/models/Stable-diffusion/umamusume.safetensors
#stable diffusion web uiの起動
!python launch.py --share --xformers --enable-insecure-extension-access
こちらは生成した結果になります。

ウマ娘のLoRA&LyCORISモデル

ウマ娘はCheckpointモデル以外にも、LoRAとLyCORISモデルがあります。
(LoRAとLyCORISの使い方は同じになります)
ここではウマ娘を生成することが出来るおすすめのLoRAとLyCORISモデルについて紹介します。
LoRAモデルの導入方法・使い方については、以下の記事で解説しているので合わせて読んでみてください。
“Uma Musume Pretty Derby” Lora
ウマ娘のキャラクターを多く生成することが出来るおすすめのLoRAモデルに「”Uma Musume Pretty Derby” Lora」があります。

以下のリンクからダウンロードすることが出来ます。
Google Colabを使っている人は、以下のコードをコピペすることで使用することが出来ます。
・Google Colab用コード
#"Uma Musume Pretty Derby" Lora 【LoRAモデル】
!wget https://civitai.com/api/download/models/9624 -O /content/stable-diffusion-webui/models/Lora/umamusume_prettyderby.safetensors
以下の画像は「”Uma Musume Pretty Derby”Lora」モデルを使用して生成結果になります。
このようにクオリティの高い画像を生成することが出来るのでおすすめのLoRAモデルです。

Snowy Integrity outfits from Umamusume ウマ娘
2つ目のウマ娘モデルは「Snowy Integrity outfits from Umamusume ウマ娘」のLoraモデルになります。

・Google Colab用コード
#Snowy Integrity outfits from Umamusume ウマ娘 【LoRAモデル】
!wget https://civitai.com/api/download/models/108180 -O /content/stable-diffusion-webui/models/Lora/snowy_integrity_outfits.safetensors
以下の画像は生成した結果になります。
「”Uma Musume Pretty Derby” Lora」のモデルと同等の高クオリティな画像生成をすることができます。

UmaMusume-LoCon ウマ娘

・Google Colab用コード
#UmaMusume-LoCon ウマ娘 【LyCORISモデル】
!wget https://civitai.com/api/download/models/18560 -O /content/stable-diffusion-webui/models/Lora/umamusume_locon.safetensors
以下は画像生成した結果になります。
Checkpointモデルである「UmaMusume ウマ娘」を使用してLoraモデルを組み合わせて使ったのですが、相性が悪いのかよく分からない画像生成がされました。

Checkpointモデルの「AnyLora」に変更して使用してみると、以下の画像のようにクオリティの高い画像生成をすることができました。
組み合わせるCheckpointモデルによってはよく分からない画像生成になったりする場合があるので、対処法として別のCheckpointモデルに変更して画像生成してみてください。

UmaMusume All In One LoRA

・Google Colab用コード
#UmaMusume All In One LoRA 【LyCORISモデル】
!wget https://civitai.com/api/download/models/108113 -O /content/stable-diffusion-webui/models/Lora/umamusume_all_in_one.safetensors
こちらも紹介した3つのLoraモデルに負けず可愛いウマ娘の画像生成をすることが出来ます。

紹介したウマ娘モデルのコード(Google Colab)
今回の記事で紹介したCheckpointモデルとLoRAモデルのウマ娘が使用できるコードを以下に載せているので、コードが分からない人はコピペして参考にしてみてください。
!pip install -q torch==2.0.0+cu118 torchvision==0.15.1+cu118 torchaudio==2.0.1+cu118 torchtext==0.15.1 torchdata==0.6.0 --extra-index-url https://download.pytorch.org/whl/cu118 -U
!pip install -q xformers==0.0.19 triton==2.0.0 -U
#automatic1111 stable diffusion web uiのダウンロード
!git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
%cd /content/stable-diffusion-webui
#UmaMusume ウマ娘 【Checkpointモデル】
!wget https://civitai.com/api/download/models/15954 -O /content/stable-diffusion-webui/models/Stable-diffusion/umamusume.safetensors
#Loraモデルを入れるためのディレクトリの作成
%mkdir -p /content/stable-diffusion-webui/models/Lora/
#"Uma Musume Pretty Derby" Lora 【Loraモデル】
!wget https://civitai.com/api/download/models/9624 -O /content/stable-diffusion-webui/models/Lora/umamusume_prettyderby.safetensors
#Snowy Integrity outfits from Umamusume ウマ娘 【Loraモデル】
!wget https://civitai.com/api/download/models/108180 -O /content/stable-diffusion-webui/models/Lora/snowy_integrity_outfits.safetensors
#UmaMusume-LoCon ウマ娘 【Lycorisモデル】
!wget https://civitai.com/api/download/models/18560 -O /content/stable-diffusion-webui/models/Lora/umamusume_locon.safetensors
#UmaMusume All In One LoRA 【Lycorisモデル】
!wget https://civitai.com/api/download/models/108113 -O /content/stable-diffusion-webui/models/Lora/umamusume_all_in_one.safetensors
#mejiro ardan from umamusume メジロアルダン ウマ娘 【Loraモデル】
!wget https://civitai.com/api/download/models/101647 -O /content/stable-diffusion-webui/models/Lora/mejiro_ardan_umamusume.safetensors
#Sweep Tosho (Umamusume) LoRA 【Loraモデル】
!wget https://civitai.com/api/download/models/12656 -O /content/stable-diffusion-webui/models/Lora/sweep_tosho_umamusume.safetensors
#stable diffusion web uiの起動
!python launch.py --share --xformers --enable-insecure-extension-access
ウマ娘の特定キャラクターモデル

ここからはウマ娘の特定のキャラクターのみを生成することが出来るモデルを紹介します。
詳しい使い方やトリガーワードなどは各モデルサイト内にある説明欄に記載されているので確認してください。
キャラの特徴や服装などは、モデルサイト内にあるサンプル画像などからプロンプト内容を参照してみてください。
スペシャルウィーク

・Google Colab用コード
#特别周 | special week \(umamusume\)
!wget https://civitai.com/api/download/models/34216 -O /content/stable-diffusion-webui/models/Lora/or-special-week-umamusume.safetensors
サイレンススズカ
-1024x487.png)
・Google Colab用コード
#SilenceSizuka 無聲鈴鹿 (umamusume)
!wget https://civitai.com/api/download/models/125313 -O /content/stable-diffusion-webui/models/Lora/silencesizuka-umamusume.safetensors
トウカイテイオー
TokaiTeio 東海帝王 (umamusume)

・Google Colab用コード
#TokaiTeio 東海帝王 (umamusume)
!wget https://civitai.com/api/download/models/125541 -O /content/stable-diffusion-webui/models/Lora/tokaiteio-umamusume.safetensors
Tokai Teio (umamusume)

・Google Colab用コード
#Tokai Teio (umamusume)
!wget https://civitai.com/api/download/models/125541 -O /content/stable-diffusion-webui/models/Lora/tokai-teio-umamusume.safetensors
ダイイチルビー
[umamusume]Daiichi Ruby

・Google Colab用コード
#[umamusume]Daiichi Ruby
!wget https://civitai.com/api/download/models/223798 -O /content/stable-diffusion-webui/models/Lora/umamusumedaiichi-ruby.safetensors
Daiichi Ruby (Umamusume) LORA

・Google Colab用コード
#Daiichi Ruby (Umamusume) LORA
!wget https://civitai.com/api/download/models/168112 -O /content/stable-diffusion-webui/models/Lora/daiichi-ruby-umamusume-lora.safetensors
ライスシャワー
rice shower (umamusume)

・Google Colab用コード
#rice shower (umamusume)
!wget https://civitai.com/api/download/models/40729 -O /content/stable-diffusion-webui/models/Lora/rice-shower-umamusume.safetensors
[Character] Rice Shower (Umamusume)

・Google Colab用コード
#[Character] Rice Shower (Umamusume)
!wget https://civitai.com/api/download/models/204168 -O /content/stable-diffusion-webui/models/Lora/character-rice-shower-umamusume.safetensors
ダーレーアラビアン
-1024x497.png)
・Google Colab用コード
#【Umamusume】Darley Arabian Charecter LoRA(達利·阿拉伯人物模組)
!wget https://civitai.com/api/download/models/56237 -O /content/stable-diffusion-webui/models/Lora/umamusumedarley-arabian-charecter-lora.safetensors
ゴドルフィンバルブ
-1024x374.png)
・Google Colab用コード
#【Umamusume】Godolphin Barb Charecter LoRA(高多芬·阿拉伯人物模組)
!wget https://civitai.com/api/download/models/56271 -O /content/stable-diffusion-webui/models/Lora/umamusumegodolphin-barb-charecter-lora.safetensors
バイアリーターク
-1024x482.png)
・Google Colab用コード
#【Umamusume】Byerley Turk Charecter LoRA(拜耶爾·土耳其人物模組)
!wget https://civitai.com/api/download/models/56283 -O /content/stable-diffusion-webui/models/Lora/umamusumebyerley-turk-charecter-lora.safetensors
ドゥラメンテ

・Google Colab用コード
#Duramente (umamusume)
!wget https://civitai.com/api/download/models/181594 -O /content/stable-diffusion-webui/models/Lora/duramente-umamusume.safetensors
ヴィブロス

・Google Colab用コード
#Vivlos (umamusume)
!wget https://civitai.com/api/download/models/240155 -O /content/stable-diffusion-webui/models/Lora/vivlos-umamusume.safetensors
ヴィルシーナ

・Google Colab用コード
#Verxina (umamusume)
!wget https://civitai.com/api/download/models/242256 -O /content/stable-diffusion-webui/models/Lora/verxina-umamusume.safetensors
ゴールドシチー
Gold City (Umamusume) LORA

・Google Colab用コード
#Gold City (Umamusume) LORA
!wget https://civitai.com/api/download/models/168214 -O /content/stable-diffusion-webui/models/Lora/gold-city-umamusume-lora.safetensors
GoldCity 黃金城市 (umamusume)
-1024x406.png)
・Google Colab用コード
#GoldCity 黃金城市 (umamusume)
!wget https://civitai.com/api/download/models/138513 -O /content/stable-diffusion-webui/models/Lora/goldcity-umamusume.safetensors
ヤマニンゼファー

・Google Colab用コード
#Yamanin Zephyr (Umamusume) LORA
!wget https://civitai.com/api/download/models/168302 -O /content/stable-diffusion-webui/models/Lora/yamanin-zephyr-umamusume-lora.safetensors
ヒシミラクル

・Google Colab用コード
#Hishi Miracle (Umamusume) LORA
!wget https://civitai.com/api/download/models/168221 -O /content/stable-diffusion-webui/models/Lora/hishi-miracle-umamusume-lora.safetensors
マチカネタンホイザ
Matikane Tannhauser (umamusume) | 待兼诗歌剧 赛马娘 | マチカネタンホイザ (ウマ娘)

・Google Colab用コード
#Matikane Tannhauser (umamusume) | 待兼诗歌剧 赛马娘 | マチカネタンホイザ (ウマ娘)
!wget https://civitai.com/api/download/models/129953 -O /content/stable-diffusion-webui/models/Lora/matikane-tannhauser-umamusume.safetensors
Matikane Tannhauser from Uma Musume – LORA

・Google Colab用コード
#Matikane Tannhauser from Uma Musume - LORA
!wget https://civitai.com/api/download/models/20599 -O /content/stable-diffusion-webui/models/Lora/matikane-tannhauser-from-uma-musume-lora.safetensors
Matikanetannhauser 待兼诗歌剧 (umamusume)
-1024x475.png)
・Google Colab用コード
#Matikanetannhauser 待兼诗歌剧 (umamusume)
!wget https://civitai.com/api/download/models/131505 -O /content/stable-diffusion-webui/models/Lora/matikanetannhauser-umamusume.safetensors
サトノクラウン

・Google Colab用コード
#Satono Crown (umamusume)
!wget https://civitai.com/api/download/models/207081 -O /content/stable-diffusion-webui/models/Lora/satono-crown-umamusume.safetensors
ナカヤマフェスタ

・Google Colab用コード
#Nakayama Festa (Umamusume) LORA
!wget https://civitai.com/api/download/models/168323 -O /content/stable-diffusion-webui/models/Lora/nakayama-festa-umamusume-lora.safetensors
メイショウドトウ

・Google Colab用コード
#[Character] Meisho Doto (Umamusume)
!wget https://civitai.com/api/download/models/204303 -O /content/stable-diffusion-webui/models/Lora/character-meisho-doto-umamusume.safetensors
シュヴァルグラン

・Google Colab用コード
#Cheval Grand (umamusume)
!wget https://civitai.com/api/download/models/189628 -O /content/stable-diffusion-webui/models/Lora/cheval-grand-umamusume.safetensors
ナイスネイチャ

・Google Colab用コード
#Nice Nature | Uma Musume
!wget https://civitai.com/api/download/models/12752 -O /content/stable-diffusion-webui/models/Lora/nice-nature-or-uma-musume.safetensors
ナリタトップロード
Narita Top Road (umamusume)

・Google Colab用コード
#Narita Top Road (umamusume)
!wget https://civitai.com/api/download/models/192466 -O /content/stable-diffusion-webui/models/Lora/narita-top-road-umamusume.safetensors
NaritaTopRoad 成田上路 (umamusume)
-1024x485.png)
・Google Colab用コード
#NaritaTopRoad 成田上路 (umamusume)
!wget https://civitai.com/api/download/models/130748 -O /content/stable-diffusion-webui/models/Lora/naritatoproad-umamusume.safetensors
オグリキャップ

・Google Colab用コード
#OguriCap 小栗帽 (umamusume)
!wget https://civitai.com/api/download/models/129177 -O /content/stable-diffusion-webui/models/Lora/oguricap-umamusume.safetensors
ミホノブルボン
-1024x321.png)
・Google Colab用コード
#MihonoBourbon 美浦波旁 (umamusume)
!wget https://civitai.com/api/download/models/126475 -O /content/stable-diffusion-webui/models/Lora/mihonobourbon-umamusume.safetensors
スーパークリーク

・Google Colab用コード
#[Character] Super Creek (Umamusume)
!wget https://civitai.com/api/download/models/205493 -O /content/stable-diffusion-webui/models/Lora/character-super-creek-umamusume.safetensors
サクラローレル

・Google Colab用コード
#Sakura Laurel (umamusume)
!wget https://civitai.com/api/download/models/196713 -O /content/stable-diffusion-webui/models/Lora/sakura-laurel-umamusume.safetensors
サクラチヨノオー
-1024x483.png)
・Google Colab用コード
#Sakura Chiyono O 櫻花千代王 (umamusume)
!wget https://civitai.com/api/download/models/132344 -O /content/stable-diffusion-webui/models/Lora/sakura-chiyono-o-umamusume.safetensors
キタサンブラック

・Google Colab用コード
#Kitasan Black (umamusume)
!wget https://civitai.com/api/download/models/208190 -O /content/stable-diffusion-webui/models/Lora/kitasan-black-umamusume.safetensors
ファインモーション
-1024x427.png)
・Google Colab用コード
#FineMotion 美妙姿勢 (umamusume)
!wget https://civitai.com/api/download/models/133365 -O /content/stable-diffusion-webui/models/Lora/finemotion-umamusume.safetensors
カレンチャン
Curren Chan (Umamusume) LoRA

・Google Colab用コード
#Curren Chan (Umamusume) LoRA
!wget https://civitai.com/api/download/models/195732 -O /content/stable-diffusion-webui/models/Lora/curren-chan-umamusume-lora.safetensors
CurrenChan 真機伶 (umamusume)
-1024x458.png)
・Google Colab用コード
#CurrenChan 真機伶 (umamusume)
!wget https://civitai.com/api/download/models/126844 -O /content/stable-diffusion-webui/models/Lora/currenchan-umamusume.safetensors
グラスワンダー
-1024x452.png)
・Google Colab用コード
#GrassWonder 草上飛 (umamusume)
!wget https://civitai.com/api/download/models/126259 -O /content/stable-diffusion-webui/models/Lora/grasswonder-umamusume.safetensors
タマモクロス
-1024x492.png)
・Google Colab用コード
#TamamoCross 玉藻十字 (umamusume)
!wget https://civitai.com/api/download/models/123281 -O /content/stable-diffusion-webui/models/Lora/tamamocross-umamusume.safetensors
マヤノトップガン
-1024x484.png)
・Google Colab用コード
#MayanoTopGun 摩耶重炮 (umamusume)
!wget https://civitai.com/api/download/models/124975 -O /content/stable-diffusion-webui/models/Lora/mayanotopgun-umamusume.safetensors
ニシノフラワー
-1024x491.png)
・Google Colab用コード
#NishinoFlower 西野花 (umamusume)
!wget https://civitai.com/api/download/models/127301 -O /content/stable-diffusion-webui/models/Lora/nishinoflower-umamusume.safetensors
ツインターボ

・Google Colab用コード
#Twin Turbo | Uma Musume
!wget https://civitai.com/api/download/models/12754 -O /content/stable-diffusion-webui/models/Lora/twin-turbo-or-uma-musume.safetensors
ハルウララ

・Google Colab用コード
#Haru Urara | Uma Musume
!wget https://civitai.com/api/download/models/12874 -O /content/stable-diffusion-webui/models/Lora/haru-urara-or-uma-musume.safetensors
ワンダーアキュート

・Google Colab用コード
#Wonder Acute from Uma Musume - LORA
!wget https://civitai.com/api/download/models/6290 -O /content/stable-diffusion-webui/models/Lora/wonder-acute-from-uma-musume-lora.safetensors
エイシンフラッシュ
-1024x478.png)
・Google Colab用コード
#EishinFlash 榮進閃耀 (umamusume)
!wget https://civitai.com/api/download/models/124613 -O /content/stable-diffusion-webui/models/Lora/eishinflash-umamusume.safetensors
メジロマックイーン
-1024x479.png)
・Google Colab用コード
#MejiroMcQueen 目白麥昆 (umamusume)
!wget https://civitai.com/api/download/models/122962 -O /content/stable-diffusion-webui/models/Lora/mejiromcqueen-umamusume.safetensors
メジロドーベル
-1024x483.png)
・Google Colab用コード
#MejiroDober 目白多伯 (umamusume)
!wget https://civitai.com/api/download/models/126049 -O /content/stable-diffusion-webui/models/Lora/mejirodober-umamusume.safetensors
メジロアルダン
mejiro ardan from umamusume メジロアルダン ウマ娘

・Google Colab用コード
!wget https://civitai.com/api/download/models/101647 -O /content/stable-diffusion-webui/models/Lora/mejiroardan.safetensors

MejiroArdan 目白阿爾丹 (umamusume)
-1024x476.png)
・Google Colab用コード
#MejiroArdan 目白阿爾丹 (umamusume)
!wget https://civitai.com/api/download/models/129964 -O /content/stable-diffusion-webui/models/Lora/mejiroardan-umamusume.safetensors
スイープトウショウ
Sweep Tosho (Umamusume) LoRA

・Google Colab用コード
#Sweep Tosho (Umamusume) LoRA
!wget https://civitai.com/api/download/models/12656 -O /content/stable-diffusion-webui/models/Lora/sweeptosho.safetensors

SweepTosho 東商變革 (umamusume)
-1024x480.png)
・Google Colab用コード
#SweepTosho 東商變革 (umamusume)
!wget https://civitai.com/api/download/models/125567 -O /content/stable-diffusion-webui/models/Lora/sweeptosho-umamusume.safetensors
CivitAIからウマ娘モデルを探す場合

CivitAIにアクセスしてください。
ウマ娘モデルをCivitAIから探す場合は、トップページにある上部の検索欄をクリックしてください。

そして、上部のテキストに「UmaMusume」と入力することでヒットします。

または、日本語で「ウマ娘」と入力してもモデルが表示されます。
英語と日本語の検索では表示されるモデルが変わるので、どちらも検索して探してみてください。

まとめ

以上でウマ娘のモデルを使ってAIイラストを生成させる方法を解説しました。
紹介したおすすめのLoRAモデルでは
どれもクオリティの高い画像生成をすることが出来るので、是非参考にして画像生成してみてください!
以下の記事では、アニメキャラが生成できるおすすめモデルをまとめて紹介しているので良ければ読んでみてください。