Until recently, it wasn’t possible to generate images from scratch from within Photoshop. There were workarounds to cheat it, but it wasn’t officially supported. Now, if you start with a blank canvas, you have the option to generatively fill the space.
A little expectation setting first. The resolution of generated images is still limited to around 1,500 x 1,500 pixels. It can generate images in other aspect ratios, to be clear, but if you’re hoping that you’re going to use Firefly to generate something that you can