Stable Diffusion提示詞訣竅(二)

2023/04/05閱讀時間約 6 分鐘
今天來説説常用的兩個提示詞訣竅:
  1. 如何使用A1111抓出提示詞
  2. 如何把圖片的提示詞匯入img2img

如何使用A1111抓出提示詞

當我們在瀏覽諸如civitai.com的時候,會看到一些Model製作者做出的範例圖片,例如這個:
在右下角有一個"Copy Generation Data"的按鈕,按下去之後就能得到完整的提示詞,甚至連他使用的Model跟Sampler都能看到:
8k portrait of beautiful cyborg with brown hair, intricate, elegant, highly detailed, majestic, digital photography, art by artgerm and ruan jia and greg rutkowski surreal painting gold butterfly filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr
Negative prompt: canvas frame, cartoon, 3d, ((disfigured)), ((bad art)), ((deformed)),((extra limbs)),((close up)),((b&w)), wierd colors, blurry, (((duplicate))), ((morbid)), ((mutilated)), [out of frame], extra fingers, mutated hands, ((poorly drawn hands)), ((poorly drawn face)), (((mutation))), (((deformed))), ((ugly)), blurry, ((bad anatomy)), (((bad proportions))), ((extra limbs)), cloned face, (((disfigured))), out of frame, ugly, extra limbs, (bad anatomy), gross proportions, (malformed limbs), ((missing arms)), ((missing legs)), (((extra arms))), (((extra legs))), mutated hands, (fused fingers), (too many fingers), (((long neck))), Photoshop, video game, ugly, tiling, poorly drawn hands, poorly drawn feet, poorly drawn face, out of frame, mutation, mutated, extra limbs, extra legs, extra arms, disfigured, deformed, cross-eye, body out of frame, blurry, bad art, bad anatomy, 3d render
ENSD: 31337, Size: 512x960, Seed: 132340231, Model: DreamShaper_4BakedVae, Steps: 25, Sampler: DPM++ SDE Karras, CFG scale: 7, Clip skip: 2, Model hash: 7f16bbcd80, Hires steps: 25, Hires upscale: 1.8, Hires upscaler: Latent (bicubic antialiased), Denoising strength: 0.5
其實這些資訊都存在原始PNG圖片檔案的開頭,如果你將你從Automatic1111生成的圖片用文字編輯器開啟,也能看到這些資訊。
而Automatic1111也提供了一個PNG Info的標籤,讓你將原始PNG檔案上傳之後,他能將那些原始數據打開給你看:
下面也提供了Send to txt2img等按鈕讓你把抓到的提示詞送到不同的功能裡直接使用。

如何把圖片的提示詞匯入img2img

承接上一個訣竅,無論你將civitai的美圖的提示詞用"Copy Generation Data"拷貝一份,還是用PNG Info擷取出來的提示詞送到txt2img,他們在這些頁面上都還是一大塊放在Positive Prompt區域的文字,這時你可以按下這個按鈕:
紅框的按鈕按下去,瞬間搞定!
如果這些提示詞符合Automatic1111的預期,他們就會被整整齊齊地安放到該有的位置,省下我們一大堆時間!
連長、寬、Sampler跟Seed都放上去了!

提示詞訣竅列表:
為什麼會看到廣告
7.7K會員
222內容數
寫奇幻小說,畫圖,心得,各式各樣作品的故鄉。
留言0
查看全部
發表第一個留言支持創作者!