随机种子

随机种子(Random Seed)是计算机专业术语,一种以随机数作为对象的以真随机数(种子)为初始条件的随机数

一般计算机的随机数都是伪随机数,以一个真随机数(种子)作为初始条件,然后用一定的算法不停迭代产生随机数。

在Stable Diffusion中,这组”随机数”控制了AI如何为你扩散、生成一张图片。固定住随机种子,就能让这次生成过程被固定下来,从而使得你在修改提示词或一些基础选项时,图片大的“模样”可以保持相对的一致。

示例

1
2
3
4
1man, short hair, gold hair, blue eyes, beard, red plaid shirt, woolen hat,
(masterpiece:1.2), best quality, masterpiece, highres, original, extremely detailed wallpaper, perfect lighting,(extremely detailed CG:1.2),
Negative prompt: NSFW, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, (ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21), (tranny:1.331), mutated hands, (poorly drawn hands:1.5), blurry, (bad anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331), (missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many fingers:1.61051), (unclear eyes:1.331), lowers, bad hands, missing fingers, extra digit,bad hands, missing fingers, (((extra arms and legs))),
Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 8, Seed: 1922989588, Size: 800x800, Model hash: f75b19923f, Model: AbyssOrangeMix2_sfw, Denoising strength: 0.6, Clip skip: 2, Version: v1.5.2

1
2
3
4
SFW, (1girl:1.3), long hair, white hair, face, front, looking at viewer, white shirt, (green belt:1.5), red skirt, red hats, dancing, upper body, standing, (white background:1.5), hands at the back
(masterpiece:1.2), best quality, masterpiece, highres, original, extremely detailed wallpaper, perfect lighting,(extremely detailed CG:1.2),
Negative prompt: NSFW, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, (ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21), (tranny:1.331), mutated hands, (poorly drawn hands:1.5), blurry, (bad anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331), (missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many fingers:1.61051), (unclear eyes:1.331), lowers, bad hands, missing fingers, extra digit,bad hands, missing fingers, (((extra arms and legs))),
Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 8, Seed: 2115739576, Size: 600x600, Model hash: f75b19923f, Model: AbyssOrangeMix2_sfw, Denoising strength: 0.8, Clip skip: 2, Version: v1.5.2

二次元转真人,要换真实系模型

1
2
3
4
5
SFW, (1girl, solo:1.2), young, silver_hair, curve hair, short hair, [tousled hair], flowing hair, (covered eyes:1.2), yorha_no._2_type_b, blinder, (black_blindfold, blindfold:1.2), hairband, mole, mole_under_mouth, black_dress, black_hairband, cleavage_cutout, puffy_sleeves, clothing_cutout, medium_breasts, juliet_sleeves, pink_lips, feather-trimmed_sleeves, feather_trim, turtleneck, cleavage, tassel, nose, cloth texture, lace,
(8k, RAW photo_1.2),cinematic lighting, night, best quality, ultra high res, (photorealistic_1.5) ,
indoor, (simple background:1.2), depth of field, bloom, shine, ((perfect light)), cinematic lightning, light and shadow, dappled sunlight, light particles, winds,
Negative prompt: NSFW, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, (ugly:1.331), (duplicate:1.331), (morbid:1.21), (mutilated:1.21), (tranny:1.331), mutated hands, (poorly drawn hands:1.5), blurry, (bad anatomy:1.21), (bad proportions:1.331), extra limbs, (disfigured:1.331), (missing arms:1.331), (extra legs:1.331), (fused fingers:1.61051), (too many fingers:1.61051), (unclear eyes:1.331), lowers, bad hands, missing fingers, extra digit,bad hands, missing fingers, (((extra arms and legs))),
Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 10, Seed: 357109499, Size: 700x990, Model hash: e6415c4892, Model: 真实系:realisticVisionV20_v20, Denoising strength: 0.6, Clip skip: 2, Version: v1.5.2

随手画,也可以生成好看的照片

知识图谱(总结思维导图)