导航

Stable Diffusion 的随机种子 seed

Posted on 2023-05-10 21:42  蝈蝈俊  阅读(1643)  评论(1编辑  收藏  举报

seed 参数允许您指定一个随机种子,将用于初始化图像生成过程。

相同的种子值每次都会产生相同的图像集,这对于再现性和一致性很有用。如果将种子值保留为 -1 ,则每次运行文本-图像特性时将生成一个随机种子。

最重要的是,具有相同参数、prompt 和 seed 将产生完全相同的图像。多亏了这一点,我们可以生成图片的多个相似变体固定seed,调整prompt来生成不同表情的照片)。

不同表情的女孩

我们的基本原图是 “一个女孩的肖像” 和 3646265433 种子。

portrait of a girl
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 3646265433, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122

1、微笑

增加 “微笑” 提示词

portrait of a girl , Smiling
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 3646265433, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122

2、生气

增加 “生气” 提示词

portrait of a girl , Angry
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 3646265433, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122

3、兴奋

增加 “兴奋” 提示词

portrait of a girl , Excited
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 3646265433, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122

一年四季的公园

1、春天

park , spring
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 1214639448, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122

2、夏天

park , summer
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 1214639448, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122

3、秋天

park , autumn
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 1214639448, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122

4、冬天

park , winter
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 1214639448, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122

不同画风的 Musk

由不同艺术家创作的埃隆·马斯克。

1、文森特·梵高 画风

painting of elon musk in the style of Vincent van Gogh
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 88989970, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122

2、巴勃罗·毕加索 画风

painting of elon musk in the style of picasso
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 88989970, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122

3、萨尔瓦多达利 画风

painting of elon musk in the style of Salvador Dalí
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 88989970, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122

4、瓦西里·康定斯基 画风

painting of elon musk in the style of Wassily Kandinsky
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 88989970, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122