最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

教會AI為你生成AI作畫提示詞

2023-02-23 22:50 作者:xpeter80  | 我要投稿

StableDiffusion是一款利用深度學(xué)習(xí)的文生圖模型,支持通過使用提示詞來產(chǎn)生新的圖像,描述要包含或省略的元素。

我在這里引入StableDiffusion算法中的Prompt概念,又被稱為提示符。

下面的prompt是用來指導(dǎo)AI繪畫模型創(chuàng)作圖像的。它們包含了圖像的各種細(xì)節(jié),如人物的外觀、背景、顏色和光線效果,以及圖像的主題和風(fēng)格。這些prompt的格式經(jīng)常包含括號內(nèi)的加權(quán)數(shù)字,用于指定某些細(xì)節(jié)的重要性或強(qiáng)調(diào)。例如,"(masterpiece:1.5)"表示作品質(zhì)量是非常重要的,多個括號也有類似作用。此外,如果使用中括號,如"{blue hair:white hair:0.3}",這代表將藍(lán)發(fā)和白發(fā)加以融合,藍(lán)發(fā)占比為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(?。?/p>

? ? deep(濃)

天氣 時間

? ? golden hour lighting? (陽光照明)

? ? strong rim light? ? ? (強(qiáng)邊緣光照)

? ? intense shadows? (強(qiáng)烈的陰影)

? ? in the rain? ? ? ? ? ? (雨)

? ? rainy days? ? ? ? ? ? ? (雨)

? ? sunset? ? ? ? ? ? ? ? ? (日落)

? ? cloudy? ? ? ? ? ? ? ? ? ?(多云)

建筑物

? ? in the baroque architecture? ? ?(巴洛克建筑 文藝復(fù)興時期意大利的一種裝修風(fēng)格,外形自由,追求動感,喜好富麗)

? ? in the romanesque architecture streets? ? ? ? (羅馬式街道)

? ? in the palace? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?(宮廷)

? ? at the castle(城的外觀為背景)

? ? in the castle(城的內(nèi)部為背景)

? ? 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? ? ? ? ? (船上)

仿照例子,并不局限于我給你的單詞,給出一套詳細(xì)描述“床前明月光,疑是地上霜。舉頭望明月,低頭思故鄉(xiāng)”的prompt,注意:masterpiece,(bestquality),highlydetailed,ultra-detailed,1 girl,1 moon必須放在前面,prompt不能超過20個。直接開始給出prompt不需要用自然語言描述。

------------------------------------

拷貝分界線上面的文字到ChatGPT,替換紅色字為你要畫的內(nèi)容,生成后肯定需要自己微調(diào),AI現(xiàn)在還只是助手不能完全替代你的腦力勞動,最終效果還是取決于你的模型。


教會AI為你生成AI作畫提示詞的評論 (共 條)

分享到微博請遵守國家法律
利辛县| 台湾省| 丹凤县| 江西省| 五华县| 吐鲁番市| 岳西县| 昌吉市| 平阴县| 焉耆| 长治市| 湘乡市| 凤冈县| 山西省| 大兴区| 临城县| 积石山| 万山特区| 建水县| 团风县| 廊坊市| 沈丘县| 镇赉县| 禄劝| 宁远县| 永平县| 东乡族自治县| 横山县| 呈贡县| 乐业县| 平果县| 平舆县| 邢台县| 吴堡县| 马鞍山市| 阿城市| 昌平区| 临汾市| 清河县| 息烽县| 萍乡市|