Image variations #595
morganavr
started this conversation in
Feature suggestions
Replies: 3 comments
-
This is already implemented though? |
Beta Was this translation helpful? Give feedback.
0 replies
-
This has already been implemented in PR #307, and it's behavior around batch operations with variant seeds was improved in PR #574. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry, I did not see variations in a list of features in README.md that's why I opened this discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It's a very powerful and addicting feature.
Example of generated images from "variations" function:
This feature allows to control variations amount via
-v
parameter allowing to get infinite variations of a generated image.First, you generate an image and remember it's Seed.
Then you can create variation of the original image with this prompt:
"chinese girl" -S 777777777 -v 0.005
0.005 means that you will get the image that will be different on 0.5% compared to original. Important thing to understand is that variations work great with txt2img module, no need to provide initial image like in img2img module.
This functionality is already here: invoke-ai/InvokeAI#277
But it requires complex prompts like
"chinese girl" -S3357757885 -V3647897225,0.1;1614299449,0.02;-V3647347225,0.15;;-V364756225,0.3;;-V32447897225,0.0055;;-V3647897225,0.003;;-V3647897225,0.0038;;-V3647897225,0.0018; -v0.05 -n6
Originally it was implemented at invoke-ai/InvokeAI#184 but it had a problem that variations of variations of variations images could not be created but I fixed it with this code: invoke-ai/InvokeAI#184 (comment) and you can just type
"chinese girl" -S 777777777 -v 0.005
to create variations of variations. Short prompt is possible because I save tensor data in files placed next to images.Variations can be improved even more if combined with masking (to freeze parts of the variation image you don't want to be changed). Discussion of adding a masking feature to variation is here: invoke-ai/InvokeAI#269
Beta Was this translation helpful? Give feedback.
All reactions