您现在的位置是:首页 >其他 >如何使用 ChatGPT 生成 Stable diffusion 提示词网站首页其他

如何使用 ChatGPT 生成 Stable diffusion 提示词

徐同保 2023-07-10 00:00:04
简介如何使用 ChatGPT 生成 Stable diffusion 提示词

chatgpt免费体验入口网址:

http://chat.xutongbao.top

一、教chatgpt写提示词

StableDiffusion是一款利用深度学习的文生图模型,支持通过使用提示词来产生新的图像,描述要包含或省略的元素。 我在这里引入StableDiffusion算法中的Prompt概念,又被称为提示符。 下面的prompt是用来指导AI绘画模型创作图像的。它们包含了图像的各种细节,如人物的外观、背景、颜色和光线效果,以及图像的主题和风格。这些prompt的格式经常包含括号内的加权数字,用于指定某些细节的重要性或强调。例如,"(masterpiece:1.5)"表示作品质量是非常重要的,多个括号也有类似作用。此外,如果使用中括号,如"{blue hair:white hair:0.3}",这代表将蓝发和白发加以融合,蓝发占比为0.3。 以下是用prompt帮助AI模型生成图像的例子:masterpiece,(bestquality),highlydetailed,ultra-detailed, cold , solo , ( 1girl ) , detailedeyes , shinegoldeneyes ) ( longliverhair ) expressionless , ( long sleeves , puffy sleeves ) , ( white wings ) , shinehalo , ( heavymetal : 1 . 2 ) , ( metaljewelry ) , cross-lacedfootwear ( chain ) , ( Whitedoves : 1 . 2 ) 可以选择的prompt包括: 颜色 light(明) dark(暗) pale(薄) deep(濃) 天气 时间 golden hour lighting (阳光照明) strong rim light (强边缘光照) intense shadows (强烈的阴影) in the rain (雨) rainy days (雨) sunset (日落) cloudy (多云) 建筑物 in the baroque architecture (巴洛克建筑 文艺复兴时期意大利的一种装修风格,外形自由,追求动感,喜好富丽) in the romanesque architecture streets (罗马式街道) in the palace (宫廷) at the castle(城的外观为背景) in the castle(城的内部为背景) in the street (在街上) in the cyberpunk city (在赛博朋克城市里) rainy night in a cyberpunk city with glowing neon lights (在雨天的赛博朋克城市,还有霓虹灯) at the lighthouse (在灯塔周围) in misty onsen (温泉) by the moon (月亮边上) in a bar, in bars (酒吧) in a tavern (居酒屋) Japanese arch (鳥居) in a locker room (在上锁的房间里) 山 on a hill(山上) the top of the hill(山顶) 海 on the beach (海滩上) over the sea (海边上) beautiful purple sunset at beach (海边的美丽日落) in the ocean (海中) on the ocean (船上)

仿照例子,并不局限于我给你的单词,给出一套详细描述“草长莺飞,风和日丽,中国风,汉服,纸伞,风吹杨柳(引号里的内容可以替换成你想要的场景)”的prompt,注意:masterpiece,(bestquality),highlydetailed,ultra-detailed,1 girl,必须放在前面,prompt不能超过80个。直接开始给出prompt不需要用自然语言描述。 

二、 使用提示词作画一

正向提示词:

masterpiece, (bestquality), highlydetailed, ultra-detailed, 1girl, (traditional Chinese setting:1.0), (Chinese style:1.0), (Hanfu:1.0), (paper umbrella:1.0), (gentle breeze:1.0), (willow trees:1.0), beautiful sunny day, (birds flying:1.0), lush green grass,(masterpiece:1,2), best quality, masterpiece, highres, original, extremely detailed wallpaper, perfect lighting,(extremely detailed CG:1.2), drawing, paintbrush,

反向提示词:

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))),

 

三、使用提示词作画二

正:

Best quality, masterpiece, ultra high res, (photorealistic:1.4), raw photo,masterpiece, (bestquality), highlydetailed, ultra-detailed, 1girl, (traditional Chinese setting:1.0), (Chinese style:1.0), (Hanfu:1.0), (paper umbrella:1.0), (gentle breeze:1.0), (willow trees:1.0), beautiful sunny day, (birds flying:1.0), lush green grass,(masterpiece:1,2), best quality, masterpiece, highres, original, extremely detailed wallpaper, perfect lighting,(extremely detailed CG:1.2), drawing, paintbrush,

反:

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))),

 

 

 

 

 

风语者!平时喜欢研究各种技术,目前在从事后端开发工作,热爱生活、热爱工作。