A text to image foundation model that can be adapted for a wide range of image generation tasks. The model accepts a prompt which is some text describing the image you want to generate. The output images tend to get better as you add more descriptive words to the prompt. The output JSON object contains a key called output which represents the generated image as a base64 string. 1import requests 2i