🚀 サイバーパンクアニメ拡散
このAIモデルは、サイバーパンクアニメキャラクターを生成します!
このモデルは、Waifu Diffusion V1.3モデルを微調整し、Stable Diffusion V1.5の新しいVaeを使用し、Dreamboothでトレーニングされています。
DGSpitzerによる開発
🚀 クイックスタート
このモデルを使用することで、サイバーパンクアニメキャラクターを生成できます。以下に、Diffusersライブラリを使用した基本的な使い方を示します。
✨ 主な機能
- サイバーパンクアニメキャラクターを生成することができます。
- .ckptとDiffuserのモデルファイルを含んでおり、Stable Diffusionモデルとして使用可能です。
- ONNX、MPS、FLAX/JAXに変換することができます。
📦 インストール
Diffusersライブラリを使用するために、必要なパッケージをインストールします。
💻 使用例
基本的な使用法
from diffusers import StableDiffusionPipeline
import torch
model_id = "AdamOswald1/Cyberpunk-Anime-Diffusion"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
prompt = "a beautiful perfect face girl in dgs illustration style, Anime fine details portrait of school girl in front of modern tokyo city landscape on the background deep bokeh, anime masterpiece, 8k, sharp high quality anime"
image = pipe(prompt).images[0]
image.save("./cyberpunk_girl.png")
高度な使用法
モデルを読み込んだ後、プロンプトにキーワード dgs と illustration style を使用すると、より良い結果が得られます。サンプラーには Euler A を使用すると最適な結果が得られます(DDIM もある程度機能します)。CFG Scaleは7、ステップ数は20程度が適切です。
例1: サイバーパンク都市で働く女性兵士のポートレート
portrait of a girl in dgs illustration style, Anime girl, female soldier working in a cyberpunk city, cleavage, ((perfect femine face)), intricate, 8k, highly detailed, shy, digital painting, intense, sharp focus
例2: 筋肉質な男性兵士の写真
a photo of muscular beard soldier male in dgs illustration style, half-body, holding robot arms, strong chest
例3: Stable Diffusion WebUIを使用する場合
AUTOMATIC1111's Stable Diffusion WebUI を使用する場合は、以下のように設定します。
- プロンプト:
an anime girl in dgs illustration style
- ネガティブプロンプト:
out of focus, scary, creepy, evil, disfigured, missing limbs, ugly, gross, missing fingers
- サンプラー: Euler A
- CFG Scale: 7
- ステップ数: 20
- 出力解像度: 704 x 704px
これにより、上記のサンプル画像と同じスタイルの画像が生成されます。
📚 ドキュメント
このリポジトリには、.ckptとDiffuserのモデルファイルが含まれており、標準的なStable Diffusion Pipelinesを使用して、他のStable Diffusionモデルと同じように使用できます。また、このモデルをONNX、MPS、および/またはFLAX/JAXに変換することもできます。
📄 ライセンス
このモデルの使用には、Stable DiffusionのCreativeML Open RAIL-M licenseの承認が必要です。



*オンラインデモ*
- *My Online Space Demo*
[](https://huggingface.co/spaces/DGSpitzer/DGS-Diffusion-Space)
- *Finetuned Diffusion WebUI Demo by anzorq*
[](https://huggingface.co/spaces/anzorq/finetuned_diffusion)
- *Colab Notebook*
[](https://colab.research.google.com/github/HelixNGC7293/cyberpunk-anime-diffusion/blob/main/cyberpunk_anime_diffusion.ipynb)[](https://github.com/HelixNGC7293/cyberpunk-anime-diffusion)
- *Buy me a coffee if you like this project ;P ♥*
[](https://www.buymeacoffee.com/dgspitzer)

**AIモデルの重みはこちらで入手可能**: https://huggingface.co/AdamOswald1/Cyberpunk-Anime-Diffusion
