🚀 賽博朋克動漫擴散模型
這是一個能生成賽博朋克風格動漫角色的AI模型!它基於微調的Waifu Diffusion V1.3模型,結合了Stable Diffusion V1.5的新Vae,並在Dreambooth中進行訓練。
該模型由 DGSpitzer 開發。
🚀 快速開始
模型介紹
本倉庫包含.ckpt和Diffuser模型文件,它可以像任何Stable Diffusion模型一樣使用,支持標準的 Stable Diffusion Pipelines。
你可以將此模型轉換為 ONNX、MPS 和/或 FLAX/JAX 格式。
代碼示例
from diffusers import StableDiffusionPipeline
import torch
model_id = "DGSpitzer/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")
✨ 主要特性
- 能夠生成賽博朋克風格的動漫角色。
- 基於微調的Waifu Diffusion V1.3模型,結合Stable Diffusion V1.5的新Vae。
- 支持多種格式轉換,如ONNX、MPS和FLAX/JAX。
📦 模型獲取
AI模型權重可在huggingface獲取:https://huggingface.co/DGSpitzer/Cyberpunk-Anime-Diffusion
💻 使用示例
基礎用法
模型加載完成後,在提示詞中使用關鍵詞 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
對於賽博機器人男性角色,你可以添加 muscular male 來改善輸出效果。
示例2:
a photo of muscular beard soldier male in dgs illustration style, half-body, holding robot arms, strong chest
高級用法(使用Stable Diffusion WebUI)
如果你使用 AUTOMATIC1111的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。這樣可以得到與上述示例圖片相同的風格。
📚 在線演示
你可以嘗試使用基於 Gradio 構建的在線Web UI演示,或者使用Colab Notebook:
-
我的在線空間演示

-
anzorq的微調擴散WebUI演示

-
Colab Notebook


📄 許可證
使用此模型意味著你接受Stable Diffusion的 CreativeML Open RAIL - M許可證。
模型展示


支持作者
如果你喜歡這個項目,給我買杯咖啡吧 ;P ♥
