Generate new image from Chatgpt completion with image input

I’m using the Image Input Type in Chatgpt and I want to generate an image with text on top of the selected background image. How do I connect the image generator correctly? It is not working correctly.