I have discovered some very interesting things with Generative Fill in Photoshop. I’ll share them here. Please watch the video to see it in action. These written steps provide a reference as well as some clarity in areas where people might be confused.
We are working on Photoshop 2024 on the Mac. It works the same on Windows.
The first part is (somewhat) common knowledge, but I quickly build from there into new territory. I started with the knowledge that you can apply art effects to images if you use a 40% density with Generative Fill. I then ran with that piece of info and experimented with a number of things and came up with the tutorial you see here. Don’t worry if you don’t understand what I just said, it will be explained.
When we generate these effects, these are the 5 steps we will take every time. It’s actually very fast and easy once you have done it a couple of times. (This is a reference, I will walk you through it). We will start with a photo.
1. Press Q for Quick mask (Takes us into Quick Mask Mode)
2. Choose a foreground color (a shade of gray)
3. Press Alt+Backspace – Option+Delete on Mac (Fills the canvas with the Foreground color)
4. Press Q key once again (Takes us out of Quick mask and turns the Mask into a selection, You won’t see the selection because it’s filled with less than 50% gray)
5. Choose Generate and enter text into the prompt
In this tutorial, I will be setting the Brightness in the color picker to set the density (transparency of mask selection)
The number depends on a Photoshop setting.
Double click the Quick mask tool. What is your Quick Mask option set to?
If you are set to Color Indicates: Masked Areas then enter the same amount as the desired density. You know like normal. If you want 40% density, enter 40 int the B box. If you want 7%, enter 7. (If in doubt, use this option, it’s the easiest)
BUT If you are set to Color Indicates: Selected Areas then enter the opposite amount from 100 as the desired density. For example is you want 40% Density, enter 60 (100-60=40). If you want 7% density, enter 93 (100-93=7). If you wanted 20% density, enter 80 (100-80=20) (100-B=Density).
Sorry if some people got confused. Hopefully this clears it up. Not everyone has the Mask options set the same, so we have to have this explanation. So depending on your preferences, choose the correct number.
I have my preference set to Color Indicates: Selected Areas in this tutorial. So either change your preference now and follow along exactly. Or make the adjustments to the B (Brightness) number. Chart below to help.
Let’s demonstrate the effect now.
Starting with a photo
Press the Q key, or click on Quick mask to enter quick mask mode. (In quick mask you can paint or fill with color. These will be converted to selections when we exit Quick Mask).
Now we want to set the density for the mask (transparency). We want to start with 40% (The number everyone uses for this effect)
Let’s choose a Foreground color
Click on the foreground color picker
Choose the lightness from 0-100. The color doesn’t matter because masks don’t support color. Only tones.
See the 3 HSB (Hue, Saturation, Brightness) radial buttons? We will enter our number into the B field. This is the Brightness and its all we care about.
In this case I am entering 60.
This will give me 60% brightness, but 40% density because my Quick Mask mode is set to selected. (If yours is set to Masked, then just enter the desired density as the same Brightness amount (the opposite). If this doesn’t make sense, read the part above labeled “ok hold on one second…”
Click ok
Now fill the quick mask with the foreground color
Press Alt/Option+Backspace, You will see a pink color overlaying (this is the mask)
Press Q once again, or click Quick Mask to convert the mask to a selection and leave Quick mask.
You might see a warning saying selection won’t show because there is nothing selected over 50%. This is expencted. You won’t see the marching Ants selection, but the selection is active and everything is selected at 40% density (transparency).
Now, click the Generative Fill button on the taskbar
In the field, enter Watercolor into the prompt.
You will see a result, that looks like water color and takes on the shape and form of your photo. (We are about to make it look a whole lot better.. hold on)
Ok this is where most people stop with converting photos to art in Generative fill and getting just ok results.
Lets see what I have discovered that makes it a whole lot better.
Lets start with changing the density (This isn’t even the good bit yet.. stay with me)
I wondered, why does everyone who does this stick to 40%? Surely there must be other numbers that work too? And sure there are, here is the result of my first discovery (more coming as this tut progresses).
Let’s do these steps again
1. Press Q for Quick mask (Takes us into Quick Mask Mode)
2. Choose a foreground color (a shade of gray)
This time we only want 7% density: enter 93% (or 7% depending on your mask setting)
3. Press Alt+Backspace – Option+Delete on Mac (Fills the canvas with the Foreground color)
4. Press Q key once again (Takes us out of Quick mask and turns the Mask into a selection, You won’t see the selection because it’s filled with less than 50% gray)
5. Choose Generate and enter watercolor into the prompt
Now look at this much better result. (This still isn’t even the good bit)
What I have discovered here is the density changes the result
The lower the density, the closer the result is to the original image. The Higher the density, the more the result will stray from the original.
THIS IS A HIDDEN AMOUNT SLIDER (The Density) But when you see why in a second, the lights will come on.
Here I performed the same 5 steps, but changed the text prompt to watercolor instead of watercolor and got an oil painted result.
We also tried it with Pencil Sketch for another art effect, this is at 30% density.
Here I used the same Pencil sketch prompt, but at 10% density. Experiment with different densities for different results.
Ok, if you stuck with me this far (And didn’t assume you already knew this and bounced) get ready for a huge payoff.
It struck me that Photoshop uses Firefly as the engine that runs Generative fill. So therefore, it seems Generative Fill must understand the Firefly settings? Let’s see.
Go to Firefly.adobe.com
Click on Text to Image
Just to get something going to populate the interface, I entered Street and Firefly generated these images. (Firefly is now on Model Version 2 and vastly improved image generation – No V2 isn’t in Photoshop yet).
Look at the settings on the right side of the interface, this is the magic.
Notice a strength slider? We are emulating this by changing the density back in Photoshop.
Scroll down and see more settings.
Let look at Movements (These are art styles or movements such as Art Deco, Art Nouveau (predecessor to Art Deco), Steampunk, cyberpunk etc)
Ok, lets go back to Photoshop.
Open a Photo of a street.
Q for Quick mask
Choose foreground color. Choose 40% density. Either 60 or 40 into your B box depending on your Quick masks settings
Click ok
Fill with foreground color Alt/Option+Backspace
Press Q to convert to selection
Remember the movements in Firefly?
Enter Art Deco
Now our photo is converted to exactly the same scene, but in an art deco style! Mind blown!
Let’s try a different one. Steampunk.
Yes! This works beautifully too.
So, all the movements work. Lets try a different category.
Back in Firefly I see a concepts tab
Ohh futuristic looks interesting. Lets try that
I entered Futuristic in the prompt in Photoshop and Generative fill gave me exactly what I wanted.
Just for fun I opened another of my images I shot a while back
Entering Futuristic into the Prompt transformed this exact scene into a futuristic diner concept. Ok, it’s far from perfect. But start to think about the possibilites!
I encourage you to experiment with this and see what you can do. Go to Firefly for inspiration and see what you can generate.
I hope you found this tutorial helpful!
If you want to learn more about Generative Fill, check out my course here
Great to see you here at the CAFE
Colin
This site uses Akismet to reduce spam. Learn how your comment data is processed.
In this Photoshop tutorial, I’ll show you 2 ways to combine images and 4 ways to seamlessly blend them together....
This weeks Photoshop tutorial, I'm going to show you how to make the portrait text effect. This takes a photo...
Nearly anyone can create a bevel on type, but not many realize that from this foundation we can create glass,...
Nice tutorial Colin!
Great, even though you totally flumox me. Plus the fact that I cannot afford any of this modern Photoshop stuff, so I will stick to living out my retirement just altering the basic. Keep up the good work for those who know what they are doing.
Thanks so much for the written accompaniment to the YouTube tutorial. Now the steps are clearer to me (wrt that section re: what density/Brightness % to enter for the style effects to work using the underlying image). I was totally boggled before. But thanks to the clarifying reply in the YT vid Comments and this process description, now I’m excited to try the capability out (even if I know my results won’t be up to the caliber of yours…). Take care – Happy Holidays.
Thanks for explaining these extra functionalities in Photoshop generative fill.
A tip: “TK Gen Fill” from Tony Kuyper can help to implement this tutorial. It’s a free panel.
Keep on discovering new ways we can use Photoshop. You’re a real inspiration to me.
Great Video Colin, ran into a problem, I can never get the 3rd layer (blank) no mater how I tried. I was going to make an action out of your tutorial. Think I need another mug of coffee 🙂
Yopu dont need the blank layer
Wow, Colin. This is great!! I’ve spent all afternoon playing with some of my landscape photos and am seeing results that Monet would approve. Many thanks .
I followed the tutorial: Quick mask, set density, fill, and then exit quick mask. All good so far. Now, I didn’t have the generative fill box floating like you did so I went to Edit=>Generative Fill, entered watercolor, and clicked generate. A new layer was created and it didn’t use my selection rather it created a new layer with what appear to be random paints! Where did I go wrong?
Use the opposite settings for brightness/density
I always enjoy your tutorials! This technique with the quick mask is going to be a game changer for me!
Thanks for all you do, my friend!
Cheers!
One new step to consider taking after choosing the desired generated image and restore some to all of the underlying image (good for faces): Activate the layer mask that is on the new generated layer and use a black brush (at up to 100% Opacity) to paint away some or all of the generated change to the original image. PS: Thank you Colin for the years of great information and tutorials.
good tip