hello friends! new(ish)!
Stable Diffusion: Difference between revisions
>WeeabooFromHell |
>WeeabooFromHell |
||
Line 54: | Line 54: | ||
* [https://github.com/TencentARC/GFPGAN GFPGAN]: Tool for fixing faces | * [https://github.com/TencentARC/GFPGAN GFPGAN]: Tool for fixing faces | ||
* [https://www.krea.ai/ krea.ai]: Website that lets you explore keywords | * [https://www.krea.ai/ krea.ai]: Website that lets you explore keywords | ||
* [https://promptomania.com/stable-diffusion-prompt-builder/ promptoMANIA prompt builder] | |||
* [https://github.com/rom1504/clip-retrieval clip-retrieval]: Project that lets you determine the relationship between images and keywords, works in either direction. Online version [https://rom1504.github.io/clip-retrieval/ here] | * [https://github.com/rom1504/clip-retrieval clip-retrieval]: Project that lets you determine the relationship between images and keywords, works in either direction. Online version [https://rom1504.github.io/clip-retrieval/ here] |
Revision as of 12:32, 22 August 2022
Stable Diffusion is an open-source diffusion model for generating images from textual descriptions. Note: as of writing there is rapid development both on the software and user side. Take everything you read here with a grain of salt.
How to Use
- beta.dreamstudio.ai: official web service
- Official Github page
- K DIFFUSION RETARD GUIDE: step-by-step instructions for running Stable Diffusion on Windows with the newest features.
- basujindal fork: fork that uses less VRAM at the cost of speed
- waifu-diffusion fork: fork that ???
Example Prompts
Prompt Design
Guidelines for creating better prompts.
Prompt Length
Be descriptive. The model does better if you give it longer, more detailed descriptions of what you want. Use redundant descriptions for parts of the prompt that you care about.
Note however, that there is a hard limit regarding the length of prompts. Everything after a certain point - 75 or 76 CLIP tokens depending on how you count - is simply cut off. As a consequence it is preferable to use keywords that describe what you want concisely and to avoid keywords that are unrelated to the image you want. Words that use unicode characters (for example Japanese characters) require more tokens than words that use ASCII characters.
Punctuation
Use it. Separating keywords by commas, periods, or even null characters ("\0") improves image quality. It's not yet clear which type of punctuation or which combination works best.
Emphasis
Putting a keyword in square brackets or appending an exclamation mark increases its effect. Putting a keyword in round brackets decreases its effect. Using more brackets or exclamation marks results in a stronger change.
Keywords
Known good keywords (as determined by using keywords as prompts without other keywords).
- Anime-style images: avoid "anime", "manga", and "waifu". Instead try "アニメ" (Japanese way to write anime), "chibi", "Kyoto Animation", "light novel illustration", "Pixiv fanbox", "shonen", "Studio Ghibli", "visual novel CG", or "visual novel cover art". Order of recommended keywords is simply alphabetical; style differs slightly.
- "Ikemen": handsome Japanese men. Avoid "イケ面" (Japanese spelling).
- "Gothic Lolita": frilly black dresses.
- "oneshota": cute anime boys.
- "serafuku": sailor-style female school uniform.
- "Sweet Lolita": frilly pink dresses.
- "Touhou": characters from the franchise. Avoid "東方" and "Touhou Project".
- "Zettai Ryouiki": short skirt in combination with stockings or socks, visible thighs. Avoid "絶対領域" (kanji spelling).
- "美人": Japanese women, classical beauty standard.
- "美女": Japanese women, relatively modern beauty standard.
- "巨乳", "おっぱい": Japanese women with large breasts, either topless or wearing a bra.
Useful Links
- GFPGAN: Tool for fixing faces
- krea.ai: Website that lets you explore keywords
- promptoMANIA prompt builder
- clip-retrieval: Project that lets you determine the relationship between images and keywords, works in either direction. Online version here