Merge branch 'finetuning' of https://github.com/AIrjen/OneButtonPrompt into finetuning

This commit is contained in:
AIrjen
2024-01-13 09:39:40 +01:00
2 changed files with 27 additions and 7 deletions
@@ -16,9 +16,17 @@ You can also for example, set something LoRA specific in the subject field, and
### Smart Subject
Smart Subject is standardly activated, and this will try to interpret your prompt, and turn off any related lists.
For example, if you set the subject to: "Obese man wearing a kimono", it will see that "obese" is an existing body type, so it won't generate another.
For example, if you set the subject to: __"Obese man with red hair, hard light"__, it will see that "obese" is an existing body type, so it won't generate another. The same goes for the lighting.
"wearing" is a keyword that turns off outfit generation. Other keywords such as "hair" and "pose" are also in.
"hair" is a keyword that turns off outfit generation. Other keywords such as "wearing" and "pose" are also in.
It also has a feature called __subject magic__. You can use the magic word __"subject"__ in the override subject field. The subject value is replace by the actual generation process. It is like a wildcard, that does a little bit more. It puts the intended subejct in its place.
This then allows for subjet overrides like this: __"scandanavian subject with platinum hair, soft light"__. In the example below, you can see it transforms into "scandanavian elegant Woman of Paradox with platinum hair, soft light"
<img src="https://github.com/AIrjen/OneButtonPrompt/assets/130234949/7b865b1e-56d0-430f-a209-108c5297c512).png" alt="Override subject with subject magic" width="60%" height="60%">
> Concept art, scandanavian elegant Woman of Paradox with platinum hair, soft light, very bored, Geass, Earring, Summer, shallow depth of field, Cel shaded, Kodak Ektar, sfumato, Liminal dream
Basically, leave this on. Especially if you are trying to do something more specific.
+17 -5
View File
@@ -10,15 +10,17 @@ One Button Prompt can be found under the One Button tab:
## Main differences
There is currently not way to generate directly. You need to add the prompts to the prompt field first.
The __Instant OPB__ button adds the prompt to the prompt field AND starts generating rigt away.
The __Create Random Prompt__ adds the prompt to the prompt field.
The __Add To Prompt__ adds an additional prompt to the prompt field. In RuinedFooocus you can string multiple prompts together with ---
There is a kind of workaround, which is via wildcards.
## One Button Prompt Wildcard integration
### One Button Prompt Subject Wildcard integration
There is logic, to use One Button Prompt via wildcards in RuinedFooocus.
There is logic, to use One Button Prompt via wildcards in RuinedFooocus. These are great to be used in conjuction with styles!
These are the OneButtonPrompt style wildcards that can be used:
@@ -31,12 +33,22 @@ These are the OneButtonPrompt style wildcards that can be used:
`__onebuttonanimal__, __onebuttonlandscape__, __onebuttonobject__, __onebuttonconcept__`, same as above, but for those specific types.
All __onebutton wildcards work with subject override, it can be typed like this:
`__onebuttonprompt:keanu reeves__`
`__onebuttonprompt:daenerys targaryen__`
or
`__onebuttonanimal:cute dog__`
### One Button Prompt Artist Wildcard integration
There is also a `__onebuttonartist__` integration, which runs the artist generation part of One Button Prompt. Default it is similar to using the 'all' setting of artists.
It is possible to override this in the following way:
__onebuttonartist:fantasy__` or __onebuttonartist:character__`
### Example of `__onebuttonprompt__` wildcard
![image](https://github.com/AIrjen/OneButtonPrompt/assets/130234949/cbd59c11-b27c-4ba3-b46f-f1ef45cfad69)
### Example of `__onebuttonmale:Keanu Reeves__' wildcard
![image](https://github.com/AIrjen/OneButtonPrompt/assets/130234949/fa492e0e-c442-4096-9a9a-ea78e8d9935a)
### Example of `__onebuttonfemale:daenerys targaryen__' wildcard and 'Style:sai-fantasy art'
![image](https://github.com/AIrjen/OneButtonPrompt/assets/130234949/5426d85f-2dea-4da7-a4ad-0eace2971e04)