模型:
Everything V1 是基于 Anything V3 细调的模型。它使用 Dreambooth 进行训练,并使用 Merge Block Weighted 进行合并。与其他动漫风格的 Stable Diffusion 模型一样,它也支持使用 danbooru 标签生成图片。
例如:1girl,白发,蓝眼睛,猫耳朵,户外,城市
SHOW IMAGE
git lfs install git clone https://huggingface.co/TheRafal/everything-v1
这个模型可以像其他 Stable Diffusion 模型一样使用。
import torch
from torch import autocast
from diffusers import StableDiffusionPipeline
pipe = StableDiffusionPipeline.from_pretrained('TheRafal/everything-v1', torch_dtype=torch.float32).to('cuda')
prompt = "masterpiece, 1girl, blonde hair, blue eyes, colorful, cumulonimbus clouds, lighting, short hair, city, hoodie, night"
with autocast("cuda"):
image = pipe(prompt, num_inference_steps=50, guidance_scale=7.5)["images"][0]
image.save(prompt.replace(" ", "_") + ".png")
SHOW IMAGE 下面是使用这个模型生成的一些图片示例:
SHOW IMAGES1girl, red hair, blue eyes, short hair, jacket, winter clothes, scarf, outdoors, tokyo \(city\), snow, snowing, gloves, pants, looking at viewer, cowboy shot Steps: 50, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 2436148258, Size: 768x768
1boy, black hair, green eyes, bishounen, casual, indoors, sitting, coffee shop, sitting, bokeh Steps: 50, Sampler: DPM++ 2M Karras, CFG scale: 7, Seed: 4225599226, Size: 768x768
此模型是开放获取的,适用于所有用户,采用 CreativeML OpenRAIL-M 许可证进一步明确权利和使用方式。CreativeML OpenRAIL 许可证包括以下规定: