模型:
这是在乐高积木图像上进行微调的稳定扩散模型。在提示中使用LegoStyle样式标记以实现效果。
通过A1111 Colab fast-Colab-A1111 测试概念
这个概念的样例图片:
Positive: LegoStyle style, smooth objects, high resolution Negative: curve, circle, blurry, drawing, cartoon illustration
这个模型可以像其他稳定扩散模型一样使用。更多信息,请参阅 Stable Diffusion
您还可以将模型导出到 ONNX , MPS 和/或 FLAX/JAX
from diffusers import StableDiffusionPipeline
import torch
model_id = "sivar/legostyle1-5"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
prompt = "LegoStyle style, smooth objects, high resolution"
image = pipe(prompt).images[0]
image.save("./lego.png")
这个模型是开放访问的,所有人都可以使用,具有CreativeML OpenRAIL-M许可证进一步指定权利和使用情况。CreativeML OpenRAIL许可证规定: