使用ChatGPT为Stable Diffusion生成画面的关键词

在使用SD进行绘图的时候常常苦于某个换面想不到关键词,可以通过ChatGPT模板批量生成关键词。

先来看下演示效果。
在这里插入图片描述

案例结果

这个例子是根据古诗《陋室铭》编写的关键词描述。

仿照例子,并不局限于我给你的单词,给出一套详细描述“山不在高,有仙则名。”的prompt,注意:masterpiece,(bestquality),highlydetailed,ultra-detailed,1 girl,必须放在前面,prompt不能超过80个。直接开始给出prompt不需要用自然语言描述。
(masterpiece:1.5), highlydetailed, (bestquality), mystic, serene, (1girl), fairy-like, floating, (long hair:0.8), delicate, (white dress:0.6), on a rock, surrounded by mist, (ethereal:1.2), peaceful, (luminous:0.8), (glowing:0.7), with a flute, (magical:1.3), (dreamy:0.9), (harmony:1.1), (transcendent:1.5), (ethereal music), (gentle breeze:0.5), (white flowers:0.3), (harmonious colors:1.1). 

仿照例子,并不局限于我给你的单词,给出一套详细描述“水不在深,有龙则灵。”的prompt,注意:masterpiece,(bestquality),highlydetailed,ultra-detailed,1 girl,必须放在前面,prompt不能超过80个。直接开始给出prompt不需要用自然语言描述。 
(masterpiece:1.5), (bestquality:1.2), highlydetailed, ultra-detailed, (1girl:1.5), (blue eyes), (flowing hair:0.8), (water dragon:1.5), (scales:0.8), (pearl:0.5), (crystal:0.5), (ripple effect), (submerged), (aquatic plants:0.7), (glowing:0.7), (deep blue:1.2), (mystical), (calm), (ethereal), (magical), (serene), (peaceful), (quiet), (subtle), (underwater lighting), (water reflections), (misty atmosphere)

仿照例子,并不局限于我给你的单词,给出一套详细描述“斯是陋室,惟吾德馨。”的prompt,注意:masterpiece,(bestquality),highlydetailed,ultra-detailed,1 girl,必须放在前面,prompt不能超过80个。直接开始给出prompt不需要用自然语言描述。
(masterpiece:1.5), (bestquality), highlydetailed, ultra-detailed, 1 girl, (dimlight:0.8), (bookshelf:0.5), (woodenfloor:0.7), (candles:0.9), (oldbook:1.2), (quill:0.8), (inkpot:0.7), (pen:0.5), (scroll:0.6), (tea:0.4), (hourglass:0.5), (spectacles:0.6), (featherbed:0.8), (tapestry:0.6), (calligraphy:0.7), (classic:0.9), (intellectual:1.2)

仿照例子,并不局限于我给你的单词,给出一套详细描述“苔痕上阶绿,草色入帘青。”的prompt,注意:masterpiece,(bestquality),highlydetailed,ultra-detailed,1 girl,必须放在前面,prompt不能超过80个。直接开始给出prompt不需要用自然语言描述。
(masterpiece:1.5), (bestquality), highlydetailed, ultra-detailed, 1girl, green moss on steps, (bright green:0.8), (dark green:0.2), grassy color on curtains, (light green:0.8), (dark green:0.2), soft sunlight, (golden hour lighting:1.5), (gentle:0.5), (warm:0.5)

仿照例子,并不局限于我给你的单词,给出一套详细描述“谈笑有鸿儒,往来无白丁。”的prompt,注意:masterpiece,(bestquality),highlydetailed,ultra-detailed,1 girl,必须放在前面,prompt不能超过80个。直接开始给出prompt不需要用自然语言描述。
(masterpiece:1.5), (bestquality:1.3), highlydetailed, ultra-detailed, (1girl:1.2), wise and knowledgeable, friendly expression, (long hair:0.9), (white robe:0.8), (book:0.7), (ink brush:0.6), (bamboo hat:0.5), serene environment, in a traditional Chinese study, (mountains:0.9), (bamboo:0.8), (birds:0.7), (flowing water:0.6)

仿照例子,并不局限于我给你的单词,给出一套详细描述“可以调素琴,阅金经。”的prompt,注意:masterpiece,(bestquality),highlydetailed,ultra-detailed,1 girl,必须放在前面,prompt不能超过80个。直接开始给出prompt不需要用自然语言描述。
(masterpiece:1.5),(bestquality),(highlydetailed),(ultra-detailed),1girl,(long hair),(white dress),(calm expression),(book in hand),(sitting on a cushion),(candlelight),(golden hour lighting),(soft music),(lotus flower),(buddhist altar),(ancient architecture),(carved wood),(red and gold decor),(incense burning),(peaceful ambiance)

仿照例子,并不局限于我给你的单词,给出一套详细描述“无丝竹之乱耳,无案牍之劳形。”的prompt,注意:masterpiece,(bestquality),highlydetailed,ultra-detailed,1 girl,必须放在前面,prompt不能超过80个。直接开始给出prompt不需要用自然语言描述。 
masterpiece,(bestquality),highlydetailed,ultra-detailed,1 girl, light, in the moonlight, at a peaceful garden, wearing a flowing white dress, with delicate floral crown, holding a book, standing by a small pond, surrounded by blooming flowers, a serene and contemplative expression.

仿照例子,并不局限于我给你的单词,给出一套详细描述“南阳诸葛庐,西蜀子云亭。”的prompt,注意:masterpiece,(bestquality),highlydetailed,ultra-detailed,1 girl,必须放在前面,prompt不能超过80个。直接开始给出prompt不需要用自然语言描述。
(masterpiece:1.5), (bestquality), highlydetailed, ultra-detailed, (1girl), golden hour lighting, pale, in the palace, on a hill, (bamboo:0.8), (calligraphy:0.5), (traditional chinese clothing), (long hair), (fan), (ink wash painting:1.2), (mountain:0.8), (river:0.5), expressionless, (jade:0.5), (pearl), (lotus flower:0.5), (white crane:0.5)

仿照例子,并不局限于我给你的单词,给出一套详细描述“孔子云:“何陋之有?””的prompt,注意:masterpiece,(bestquality),highlydetailed,ultra-detailed,1 girl,必须放在前面,prompt不能超过80个。直接开始给出prompt不需要用自然语言描述。 
(masterpiece:1.5), (bestquality), highlydetailed, ultra-detailed, light, (1 girl), wise eyes, serene expression, (traditional clothing:0.8), (ancient architecture:0.7), (bamboo:0.5), (calligraphy brush:0.3), (wisdom:1.2), (philosophy:1.2), (teaching:1.2), (Confucianism:1.2)

关键词模板

复制下面的内容先到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,注意:<这里是你要保留的关键信息>必须放在前面,prompt不能超过80个。直接开始给出prompt不需要用自然语言描述。 

例如这样。

仿照例子,并不局限于我给你的单词,给出一套详细描述“山不在高,有仙则名。”的prompt,注意:masterpiece,(bestquality),highlydetailed,ultra-detailed,1 girl,必须放在前面,prompt不能超过80个。直接开始给出prompt不需要用自然语言描述。 

出来结果就如何所示。

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qq_20288327/article/details/129711234