AI画出你想要的图像stable diffusion生成图片的规则和咒语大揭秘

SD指南1年前 (2023)发布 一起用AI
698 0 0

stable diffusion是一种利用人工智能深度学习进行数字艺术创作的工具,它可以根据用户输入的提示词(prompt)生成各种风格和主题的图像。

stable diffusion的生成图片的规则主要有以下几点:- 提示词的顺序和数量会影响生成的画面的质量和内容,一般应该按照画面质量+主要元素(人物,主题,构图)+细节元素(饰品,特征,环境细节)的顺序输入。- 提示词可以使用英文括号()或中括号[]来增加或减少权重,括号内的提示词权重会乘以1.1或除以1.1,也可以在括号内使用冒号:加数字来指定权重数值,如(1girl:0.75)表示单人女孩词缀的权重为0.75。

– 提示词可以使用AND来连接多个词缀,使其聚合为一个提示位,如blue hair AND red hair表示蓝红混色染发。AND两端要加空格,并且可以在AND连接的词缀后使用冒号:加数字来标记其权重。- 提示词可以使用[from:to:when]来控制画面生成的顺序和步骤比例,如[male:female:0.2]表示前20%的步骤画男性,后80%的步骤画女性。当when为小于1的值时,表示总步骤数中的百分比;当when为大于1的值时,表示生成多少步。- 提示词可以使用[xx|xx|xx]来融合多个词缀生成单个元素,如[cow|horse]表示融合牛和马。

括号外加词缀表示融合过程中的共享元素,如[cow|horse]in a field表示田野里的牛和马交替生成。- 提示词可以使用emoji来增加表现力,如表示表情,可修手等。stable diffusion可以生成各种风格和主题的图像,只要用户输入合适的提示词。

以下是一些常用的咒语示例:- 赛博朋克风:Cyberpunk, 8k resolution, castle, the rose sea, dream-

水墨画风:a watercolor ink painting of a fallen angel with a broken halo wielding a jagged broken blade standing on top of a skyscraper in the style of anti – art trending on artstation deviantart pinterest detailed realistic hd 8 k high resolution-

油画风:portrait of bob barker playing twister with scarlett johansson, an oil painting by ross tran and thomas kincade-

水彩画风:a girl with lavender hair and black skirt, fairy tale style background, a beautiful half body illustration, top lighting, perfect shadow, soft painting, reduce saturation, leaning towards watercolor, art by hidari and krenz cushart and wenjun lin and akihiko yoshida-

中式风:masterpiece, Chinese style, night forest, (girl:0.8) walking, fireflies around her, beautiful moonlight, atmospheric scene, high quality image, pretty lighting, starry sky

以上就是stable diffusion生成图片的规则和一些常用的咒语的介绍。希望这篇文章对您有帮助。

© 版权声明

相关文章