粉发眼镜男,照片,运动体型,电影般的照明,明亮的眼睛,完美的面容,腮红,漂亮的鼻子,漂亮的眼睛,细致入微的眼睛
动漫扩散2是基于Vintedois(22h)扩散模型的潜在文本到图像扩散模型,该模型基于Danbou set + Demon slayer + 4ch的艺术作品的BLIP标题进行训练
该模型是开放访问的,可供所有人使用,使用了CreativeML OpenRAIL-M许可证对权利和使用进行进一步的说明。CreativeML OpenRAIL许可证规定:
该模型可用于娱乐目的,作为生成艺术助手
import torch
from torch import autocast
from diffusers import StableDiffusionPipeline
pipe = StableDiffusionPipeline.from_pretrained(
'AlexWortega/AnimeDiffuion2',
torch_dtype=torch.float32
).to('cuda')
negative_prompt = """low-res, duplicate, poorly drawn face, ugly, undetailed face"""
d = 'white girl'
prompt = f"pink hair guy in glasses, photograph, sporty body, cinematic lighting, clear eyes, perfect face, blush, beautiful nose, beautiful eyes, detailed eyes"
num_samples = 1
with torch.inference_mode():
images = pipe([prompt] * num_samples,
negative_prompt = [negative_prompt]*num_samples,
height=512, width=512,
num_inference_steps=50,
guidance_scale=8,
).images
images[0].save("test.png")
如果没有 CompVis Researchers 的不可思议的工作,这个项目就不可能实现。
为了联系我,这是我的博客: