Select any text or shape and then select the Generative Fill (beta) icon from the Contextual Task Bar. You can also use the Text to Image panel drop-down to switch to Generative Fill (beta).
To use Generative Fill (beta) on text, ensure that the text is single-line text under 25 characters with a font size greater than or equal to 48 pts.