OpenAI is giving us functions and killing them the same day.
When you wanted to generate an image “based on an existing (already generated) image”, we could use seeds.
In the beginning, the seed was always fixed at 5.000
But for a couple of weeks we were able to set the seed by ourself, resulting in much more freedom of creation.
Seeds are gone
In the most recent update, the seed option is removed.
They are still used under the hood, and you can retrieve them, but you can’t set them yourself.
Instead of the seed, we now have the generation ID, which is another thing and somehow a container for all the parameters (including the seed, but not limited to) of an existing image.
The trick
You can however still use “seeds” without the ability to use them.
- Generate an image
- Ask for the generation ID (gen_id)
- Create another image and refer to this
gen_id
by the new parameterreferenced_image_ids
- Use the exact same prompt as the original image
- Clearly state “don’t change anything”
This will create an exact copy of the previous image, although there can be some minor changes (numeric noise, the digital equivalent of analogue grain / noise).
Important : generating by
gen_id
only works in the same session, since this super-global is not stored inbetween sessions
- If you want to use a
seed
for an existing image, you can addgrammatical noise
at the end of the original prompt - This “noise” is just a random string of numbers and digits
- The longer the string, the more the new image will be different from the original image
Example
This is the original image with ID YL7K6llhpo1tQGO5.
Refer to YL7K6llhpo1tQGO5 and add color to it… you see the image is quite different, but that’s because adding color is a major change, not subtle. The ID of this image is fnvkQGRhpkrIcJf4.
As a test, I created the same image by referring to it’s ID fnvkQGRhpkrIcJf4. The look almost the same, but there are small differences (numeric noise, see at the end of this post).
This is the exact same prompt and also refers to fnvkQGRhpkrIcJf4, but it has 8 useless characters at the end of the prompt
B4FYho2W
. The image has differences, but is close to the original.
This is the exact same prompt and also refers to fnvkQGRhpkrIcJf4, but it has 16 useless characters at the end of the prompt
xsltYKtzghO7OAds
. The image has even more differences, but is somehow close to the original.
This is the exact same prompt and also refers to fnvkQGRhpkrIcJf4, but it has 32 useless characters at the end of the prompt
Lx4Re5EjXCSxYUuPYZum6hZHxMZkRNMJ
. Now the image really starts to change, the look and feel become different (but it is in some way still the same image).
Conclusion
So the longer the end-string, the more difference are included.
If you want to create those random strings, you can head over to Strong Password Generator and set your length / difficulty.
As a bonus, I did refer once again to fnvkQGRhpkrIcJf4 and altered the JSON to be landscape, not square; it’s the same image, but the style has changed a bit.
And this is “the same image” by referring to it’s ID. There are differences, numeric noise, but that’s minor. E.g. the blue sleeve in the original has stripes and in the re-generation it’s solid. Also the cat’s tail in the middle is somehow different, as are some leaves. But it’s for 97.5% the same.