模型:

xyn-ai/waifu-diffusion

英文

waifu-diffusion v1.4 - 微薄传播

waifu-diffusion是一个潜在的文本到图像的传播模型,通过微调在高质量的动漫图片上进行了条件训练。

杰作,最高质量,1女孩,绿色头发,毛衣,凝视观众,上半身,小便帽,户外,水彩画,夜晚,高领

Original Weights

Gradio & Colab

我们还支持使用Diffusers在Gradio和Colab上运行Waifu Diffusion的Web UI:

模型说明

See here for a full model overview.

许可证

此模型是开放访问并可供所有人使用的,具有CreativeML OpenRAIL-M许可证,进一步规定了权利和使用方式。CreativeML OpenRAIL许可证规定:

  • 您不能使用该模型故意产生或分享非法或有害的输出或内容
  • 作者对您生成的输出不拥有任何权利,您可以自由使用它们,并对使用它们负责,但不能违反许可证中的规定
  • 您可以重新分发权重并将模型用于商业和/或服务。如果这样做,请注意您必须包含与许可证中相同的使用限制,并向所有用户共享CreativeML OpenRAIL-M的副本(请完整而仔细地阅读许可证) Please read the full license here
  • 下游用途

    该模型可用于娱乐目的和作为生成艺术助手。

    示例代码

    import torch
    from torch import autocast
    from diffusers import StableDiffusionPipeline
    
    pipe = StableDiffusionPipeline.from_pretrained(
        'hakurei/waifu-diffusion',
        torch_dtype=torch.float32
    ).to('cuda')
    
    prompt = "1girl, aqua eyes, baseball cap, blonde hair, closed mouth, earrings, green background, hat, hoop earrings, jewelry, looking at viewer, shirt, short hair, simple background, solo, upper body, yellow shirt"
    with autocast("cuda"):
        image = pipe(prompt, guidance_scale=6)["sample"][0]  
        
    image.save("test.png")
    

    团队成员和致谢

    这个项目不可能没有Stability AI和Novel AI的不可思议的工作。

    要与我们联系,请加入我们的 Discord server 。