🚀 賽博朋克動漫擴散模型
這是一個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許可證。
