今天來説説常用的兩個提示詞訣竅:
- 如何使用A1111抓出提示詞
- 如何把圖片的提示詞匯入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的預期,他們就會被整整齊齊地安放到該有的位置,省下我們一大堆時間!
提示詞訣竅列表: