🚀 赛博朋克动漫扩散模型
这是一个能生成赛博朋克风格动漫角色的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 ♥
