导航

Stable Diffusion 反向提示词 Negative prompts

Posted on 2023-05-10 17:28  蝈蝈俊  阅读(2953)  评论(0编辑  收藏  举报

反向提示词(Negative prompts)用于描述图片中不希望出现的内容。常用于阻止生成特定的事物、样式或修复某些图像异常。

下面是一些例子

从“宁静的精灵森林” 中移除 “苔藓”

宁静的精灵森林

peaceful elven forest, thick forest, large living trees are visible in the background, by alan lee, michal karcz, smooth details, lord of the rings, game of thrones, smooth, detailed terrain, oil painting, trending artstation, concept art, fantasy matte painting
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 3376333067, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122

去除苔藓效果

peaceful elven forest, thick forest, large living trees are visible in the background, by alan lee, michal karcz, smooth details, lord of the rings, game of thrones, smooth, detailed terrain, oil painting, trending artstation, concept art, fantasy matte painting
Negative prompt: moss
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 3376333067, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122

去除 “重复”

猫虎兽

[cat|tiger]
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 3450602202, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122

上面出现了2只,我们如果期望只出现一只,去除重复。

[cat|tiger]
Negative prompt: duplicate
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 419914, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122

完全改变图像风格

哥特式幻想山谷,龙,火

a beautiful digital illustration painting of a detailed gothic fantasy valley and forest dragon fire fey unseelie, by benoit b. mandelbrot, steven belledin, martin johnson heade, lee madgwick, caspar david friedrich, and david rios ferreira. 8 k resolution trending on artstation concept art digital illustration
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 312689412, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122

排除 黑暗、雾、颗粒后,风格完全变了。

a beautiful digital illustration painting of a detailed gothic fantasy valley and forest dragon fire fey unseelie, by benoit b. mandelbrot, steven belledin, martin johnson heade, lee madgwick, caspar david friedrich, and david rios ferreira. 8 k resolution trending on artstation concept art digital illustration
Negative prompt: fog, darkness, grain
Steps: 20, Sampler: Euler a, CFG scale: 7, Seed: 312689412, Size: 512x512, Model hash: 4199bcdd14, Model: revAnimated_v122