
アニメ特化モデルAnimagine XL登場!プロンプト公開&画像比較とおまけ付き
皆様ご機嫌いかがですか、新宮ラリです。
本日は、SDXL用アニメ特化モデルを御紹介します。
二次絵アーティストさんは必見です😤
Animagine XLは高解像度モデルです。
優れた品質のアニメスタイルの厳選されたデータセット上で、バッチサイズ16で27000のグローバルステップを経て、4e-7の学習率を使用して微調整されています モデルはSDXL1.0から派生しています。
Animagin XLとは
高解像度画像: 1024x1024の解像度で学習。NovelAI アスペクトレシオ Bucketing Toolを使用し、正方形以外の解像度でも学習可能。
アニメスタイルの生成。 与えられたテキストプロンプトに基づき、モデルは高品質のアニメスタイルの画像を作成することができます。
微調整されたDiffusionプロセス: このモデルは、高品質でユニークな画像出力を保証するために、微調整されたDiffusionプロセスを利用しています。
Animagine XL、アニマジンと読むんでしょうか?
アニ魔神??😅
モデルのダウンロード
モデルダウンロードはこちらのサイトから
Civitaiにはもうちょっとしたら来るそうです😄今来たようです🫠
Huggingfaceでダウンロードする場合は、ページに移動したら上の(赤四角の)Files and versionsを押しましょう!

モデルダウンロードはanimagine-xl.safetensors右の黄色四角の下矢印⬇で
アニ魔神ダウンロード開始!

ダウンロードしたモデルを置く場所
WebUIを使っている人は
stable-diffusion-webui\models\Stable-diffusion
のフォルダ内にanimagine-xl.safetensorsを移動。

ComfyUIを使ってる人は
ComfyUIフォルダ内の
ComfyUI_windows_portable_nvidia_cu118_or_cpu\ComfyUI_windows_portable\ComfyUI\models\checkpoints
のフォルダ内にanimagine-xl.safetensorsを移動。

Animagine XLのComfyUI,WebUIでの画像比較
Animagine XLは自然言語的なプロンプトだけでなく、従来のStable Diffusion1.5やNovelAIなどのDanbooruタグでの使い方もサポートしています。
Refinerは無いのでBASEモデルだけの画像生成です。
※モデル開発者は一応ComfyUIでの使用を推奨しています。
比較しやすいように並べてまとめました。
ComfyUIとWebUIで使用プロンプトは同じです。
ComfyUIのサンプラーは基本eular_uncestral、スケジューラーはnormal
WebUIのサンプラーはEular-aを使っています。

比較画像1 少女


Prompt:
face focus, cute, masterpiece, best quality, 1girl, blue hair, parka, looking at viewer, upper body, beanie, outdoors, night, turtleneck
Negative Prompt:
lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry
比較画像2 少女


Prompt:
face focus, cute, masterpiece, best quality, 1girl, silver short hair, parka, looking at viewer,upper body, beanie, outdoors, night, turtleneck
Negative Prompt:
lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry
比較画像3 少女

Prompt:
face focus, cute, masterpiece, best quality, 1girl, silver short hair, parka, upper body, beanie, outdoors, night
Negative Prompt:
lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry
※この画像はComfyUIに限り、プロンプトを分けずに「言語的プロンプト」欄にまとめたら、水彩画風になりました。

比較画像4 少年

Prompt:
face focus, cute, masterpiece, best quality, 1boy, white and blonde short hair, hoody, looking at viewer, upper body, beanie, outdoors, daylight
Negative Prompt:
lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry
※こちらはプロンプトを言語的とサポート単語に分けたのに、水彩画風になりました。ComfyUIは気まぐれなんでしょうか?😅

比較画像5 少年

Prompt:
face focus, cute, masterpiece, best quality, 1boy, white and blonde short hair, hoody, looking at viewer, upper body, beanie, outdoors, daylight
Negative Prompt:
lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry
比較画像6 少年

Prompt:
face focus, cute, masterpiece, best quality, 1boy, white and blonde short hair, hoody, looking at viewer, upper body, beanie, outdoors, daylight
Negative Prompt:
lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry
比較画像7 少年

Prompt:
face focus, cool, masterpiece, best quality, 1boy, gray short hair, hoody, looking at viewer,upper body, beanie, cyberpunk, night
Negative Prompt:
lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry
比較画像8 少女

Prompt:
face focus, cute, masterpiece, best quality, 1girl, black background, light particle, solo, standing, pixiv, depth of field, cinematic compotision, best lighting, looking up
Negative Prompt:
lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry

比較画像9 少年

Prompt:
face focus, cute, masterpiece, best quality, 1boy, black background, light particle, solo, standing, pixiv, depth of field, cinematic compotision, best lighting, looking up
Negative Prompt:
lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry
使い比べてみた感想(まとめ)
実際にComfyUIとWebUIで作って比較したところ、ComfyUIの方が繊細に表現出来ている感じがしました。
一方でWebUIではStableDiffusion 1.5で作った画像のような、SDXLの高画質さが少しスポイルされているような印象を受けました😚
少女2,3の作例では作者の違うアニメ画のような、
また作例6,7,8,9では明らかに画風やプロンプトの捉え方が違っていて、一概にどちらが良いかとは言えませんが(制作者が何を求めているかにもよるので)、光の表現に関してはComfyUIの方が繊細に見えます。
やはりSDXLのフルパワーを使うにはComfyUIがベストなんでしょうかね?
(でもご自身が求めてる絵が出るのはComfyUIかWebUIか、比べて見るのもいいと思います🤗)
あと、画像サイズによっても実際に出てくる画像が変わりますので、色々試してみてください。
768 x 1344: Vertical (9:16)
915 x 1144: Portrait (4:5)
1024 x 1024: Square (1:1)
1182 x 886: Photo (4:3)
1254 x 836: Landscape (3:2)
1365 x 768: Widescreen (16:9)
1564 x 670: Cinematic (21:9)
あと、masterpiece, best qualityのプロンプトを前に付け加えると、画質があがるのもSD1.5と同じようです。
ちなみに私が作ったComfyUIを使いたいという方は、解説はこちらの動画でご覧いただけます
ComfyUIのUpscaler付きjsonファイルはこちらからダウンロード出来ます。
Google Colab用のWebUIとComfyUIの解説はこちらで。
よかったらYoutubeのチャンネル登録、よろしくお願いします🤗
記事が気に入りましたら、フォローとイイね!
そしてよろしければ投げコーヒーをポイっと☕💨サポートして頂けましたら助かります🙏
おまけ(いつもの)
「ワイはモデルダウンロードもComfyUIとかも面倒なんや!!
でも今すぐ高画質アニメモデルを使いたいんやっ!😫」
という欲張りセット好きの方に置いておきます。
Huggingfaceのはプロンプト入れるだけですぐ使えて、ネガティブプロンプトも既に入れてくれてます!
しかもUse Prompt2のチェックを入れたらComfyUIの用に2つのプロンプト入力欄が出現します!
もうこれは完全に上げ膳据え膳仕様ですね😋

⬇Animagine XLがすぐに使えるやつ
Colab版が好きな方はこちら。