模型:

dmillar/wsj-hedcut-v1

英文

《华尔街日报》hedcut风格的稳定扩散

《华尔街日报》(WSJ)的读者熟悉这种独特的风格,用于创作他们的作家和主题的肖像。这是一个经过精细调整的稳定扩散模型,可以使用提示"wsj hedcut of "来创建hedcut风格的图像。该模型还可以用于DreamBooth环境,为定制和独特的hedcut训练人脸或其他主题。

* 如果您使用了这个模型,请努力归功于训练图像的主要艺术家Noli Novak,以及根据许可证要求的其他披露和限制。
#!pip install diffusers transformers scipy torch
from diffusers import StableDiffusionPipeline
import torch
model_id = "dmillar/wsj-hedcut-v1"
pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
pipe = pipe.to("cuda")
prompt = "wsj hedcut of a woman"
image = pipe(prompt).images[0]
image.save("./woman_hedcut.png")

样本图片

提示:"wsj hedcut of 奥黛丽·赫本,肖像,详细,锐利,黑白,赏心悦目,白色背景",步骤:20,采样器:"Euler a",CFG缩放:7,种子:231828633 提示:"wsj hedcut of 基利安·姆巴佩,男性,肖像,详细,锐利,黑白,赏心悦目,白色背景",步骤:20,采样器:"Euler a",CFG缩放:7,种子:1863052262 提示:"wsj hedcut of 汤姆·汉克斯,肖像,详细,锐利,黑白,赏心悦目,白色背景",步骤:20,采样器:Euler a, CG缩放:7,种子:224907260