🚀 赛博朋克动漫扩散模型
这是一个AI模型,能够生成赛博朋克风格的动漫角色!它基于微调后的Waifu Diffusion V1.3模型,结合了Stable Diffusion V1.5的新变分自编码器(VAE),并通过Dreambooth进行训练。
模型信息
属性 |
详情 |
模型类型 |
赛博朋克动漫角色生成AI模型 |
训练数据 |
Nerfgun3/cyberware_style、Nerfgun3/bad_prompt |
许可证 |
CreativeML Open RAIL - M |
库名称 |
Diffusers |
模型预览

🚀 快速开始
扩散器(Diffusers)
本仓库同时包含.ckpt和Diffuser模型文件。它可以像任何Stable Diffusion模型一样使用,采用标准的Stable Diffusion Pipelines。
你可以将此模型转换为ONNX、MPS和/或FLAX/JAX。
💻 使用示例
基础用法
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")
🌐 在线演示
你可以尝试使用基于Gradio构建的在线Web UI演示,或者使用此处的Colab Notebook:
-
我的在线空间演示

-
由anzorq提供的微调扩散WebUI演示

-
Colab Notebook


支持作者
如果你喜欢这个项目,不妨请作者喝杯咖啡~

🤖 模型
AI模型权重可在Hugging Face获取:https://huggingface.co/AdamOswald1/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
示例3(使用Stable Diffusion WebUI)
如果你使用的是AUTOMATIC1111的Stable Diffusion WebUI,可以按以下设置:
an anime girl in dgs illustration style
- 采样器:Euler A
- CFG Scale:7
- 步数:20
- 输出分辨率:704 x 704px
同时,将 负向提示词 设置为以下内容可使面部更清晰:
out of focus, scary, creepy, evil, disfigured, missing limbs, ugly, gross, missing fingers
这样可以得到与上述示例图片相同风格的图像。
⚠️ 重要提示
使用此模型即表示你接受Stable Diffusion的CreativeML Open RAIL - M许可证。
