Tyranomaster
Guy who writes stuff
- Joined
- Oct 5, 2022
- Messages
- 335
- Points
- 108
While I find myself in the airport waiting to board my plane, I thought to pass the time by passing on some tips and tricks to generating AI art.
I'm going to separate this out into two sections, website generation, and own pc generation. Own pc generation assumes you already have things set up and are here for generation tips, not setting up ai generators on your own pc. I won't be posting it now, but when I get home and have access to my pc I will.
Websites
As many of you are aware, using websites for generation usually comes with some restrictions. Either limited generation, long queues, or a pricetag. So these tips are here to help you get the most from each generation!
The Basics
1. Formatting - You'd be surprised at just how much of a difference your prompt format makes. A good prompt breaks things into small information packets. A bad prompt is a run on sentence. Most important info first, separated by commas.
Good prompt example: masterpiece, 8k, highres, best quality, 1girl, ornate dress, aqua hair, ponytail, sitting, fancy table
Bad prompt example: a girl with an ornate dress and aqua hair in a ponytail sitting at a fancy table.
2. Quality modifiers - most websites add a few of these in at the start of any prompt. They perform best at the start as well. Things like masterpiece, 8k, etc. There are some hidden gems out there that help prompt quality when you add them, digging around on the internet will help.
3. Danbooru tagging - I'm on the fence myself on this one. They're a good starting point. Know that Danbooru is 18+, but the tags from there make good comma separated prompt items. There are lots of things that aren't on danbooru you can use as well, so experiment!
Intermediate Techniques
1. Check png meta data from websites to see what they use in positive and negative prompting. This is important to know for not duplicating those quality tags like masterpiece.
2. While there is no hard limit on the size of a prompt, 75 tokens is an advised limit not to go over. One comma separated tag represents between 1 and 5 tokens. When you start to cross 75 tokens, the quality usually tanks in my experience. (Many websites don't show you tokens.)
3. Parentheses - [Edit: Parentheses add emphasis on what is inside] () some people like to stack them (((blue eyes))). It's better to get in the habit instead of (blue eyes:1.3) which is approximately the same. One parentheses set is identical to (example:1.1). They can be nested in non linear ways ((blue) eyes:1.2). ((Blue eyes)) is (blue eyes:1.21) (1.1x1.1).
4. You can group items within a single comma, and the ai tends to get the idea.
Blue, sky isn't the same as blue sky.
5. Punk - you're familiar with this. Cyberpunk, steampunk, etc. But did you know that the ai basically generalized this? Punk still means punk (spiked hair, spikey clothes, black), but it also works as a modifier meaning genre. Things like tentaclepunk, firepunk, goldpunk. These are all different than using either word on their own.
6. Complex words - avoid them. IF the ai was trained with them, the sample is small, and will not help much. Words like Exasperated, or Differentiable
Advanced Techniques
1. Alternating prompt - [cat|dog] this format makes the ai alternate between cat and dog on every step. These can be nested and used in a lot of ways. Think of it as half and half.
2. Change partway - [cat:dog:5], on the fifth step, switch from cat to dog. This is much more useful. Wish you had a car shaped like a fish? Stop saying fish car, instead turn a fish into a car. You can also say [cat:dog:0.5] which will do the change halfway. (0.25 is a quarter etc). Know that different things manifest in different steps. Hair color is generally set in the first few steps.
3. Trimming - Have a prompt almost perfect, but just shy? Use the same seed, and modify the attention slightly. Maybe (boxing gloves:1.2) can be (boxing gloves:1.17). It can easily help perfect a close images.
(Edit) 4. Models - different models have different inbuilt importance on things. In one model, blue eyes might be fine, in another, blue eyes might try to hard bake blonde hair in as well. When you switch models, you might need to tinker with weights for your go-to prompts.
I'm sure I forgot some things, but my flight is here, so until then, enjoy!
I'm going to separate this out into two sections, website generation, and own pc generation. Own pc generation assumes you already have things set up and are here for generation tips, not setting up ai generators on your own pc. I won't be posting it now, but when I get home and have access to my pc I will.
Websites
As many of you are aware, using websites for generation usually comes with some restrictions. Either limited generation, long queues, or a pricetag. So these tips are here to help you get the most from each generation!
The Basics
1. Formatting - You'd be surprised at just how much of a difference your prompt format makes. A good prompt breaks things into small information packets. A bad prompt is a run on sentence. Most important info first, separated by commas.
Good prompt example: masterpiece, 8k, highres, best quality, 1girl, ornate dress, aqua hair, ponytail, sitting, fancy table
Bad prompt example: a girl with an ornate dress and aqua hair in a ponytail sitting at a fancy table.
2. Quality modifiers - most websites add a few of these in at the start of any prompt. They perform best at the start as well. Things like masterpiece, 8k, etc. There are some hidden gems out there that help prompt quality when you add them, digging around on the internet will help.
3. Danbooru tagging - I'm on the fence myself on this one. They're a good starting point. Know that Danbooru is 18+, but the tags from there make good comma separated prompt items. There are lots of things that aren't on danbooru you can use as well, so experiment!
Intermediate Techniques
1. Check png meta data from websites to see what they use in positive and negative prompting. This is important to know for not duplicating those quality tags like masterpiece.
2. While there is no hard limit on the size of a prompt, 75 tokens is an advised limit not to go over. One comma separated tag represents between 1 and 5 tokens. When you start to cross 75 tokens, the quality usually tanks in my experience. (Many websites don't show you tokens.)
3. Parentheses - [Edit: Parentheses add emphasis on what is inside] () some people like to stack them (((blue eyes))). It's better to get in the habit instead of (blue eyes:1.3) which is approximately the same. One parentheses set is identical to (example:1.1). They can be nested in non linear ways ((blue) eyes:1.2). ((Blue eyes)) is (blue eyes:1.21) (1.1x1.1).
4. You can group items within a single comma, and the ai tends to get the idea.
Blue, sky isn't the same as blue sky.
5. Punk - you're familiar with this. Cyberpunk, steampunk, etc. But did you know that the ai basically generalized this? Punk still means punk (spiked hair, spikey clothes, black), but it also works as a modifier meaning genre. Things like tentaclepunk, firepunk, goldpunk. These are all different than using either word on their own.
6. Complex words - avoid them. IF the ai was trained with them, the sample is small, and will not help much. Words like Exasperated, or Differentiable
Advanced Techniques
1. Alternating prompt - [cat|dog] this format makes the ai alternate between cat and dog on every step. These can be nested and used in a lot of ways. Think of it as half and half.
2. Change partway - [cat:dog:5], on the fifth step, switch from cat to dog. This is much more useful. Wish you had a car shaped like a fish? Stop saying fish car, instead turn a fish into a car. You can also say [cat:dog:0.5] which will do the change halfway. (0.25 is a quarter etc). Know that different things manifest in different steps. Hair color is generally set in the first few steps.
3. Trimming - Have a prompt almost perfect, but just shy? Use the same seed, and modify the attention slightly. Maybe (boxing gloves:1.2) can be (boxing gloves:1.17). It can easily help perfect a close images.
(Edit) 4. Models - different models have different inbuilt importance on things. In one model, blue eyes might be fine, in another, blue eyes might try to hard bake blonde hair in as well. When you switch models, you might need to tinker with weights for your go-to prompts.
I'm sure I forgot some things, but my flight is here, so until then, enjoy!
Last edited: