If the "Generative Fill" option is greyed out in Photoshop, it may be because your image is not in RGB colour mode or your image is a Smart Object. Generative Fill is only available in RGB mode and cannot be used on Smart Objects. To fix this, go to Image Mode and select RGB Color if it's not already selected. If your image is a Smart Object, right-click on the layer and choose "Rasterize Layer" to convert it. Once you've made these adjustments, the Generative Fill option should become active and you can use it for your image.
![](https://i.ytimg.com/vi/XN4wNASY4w0/maxresdefault.jpg)