Text-to-Image Models
This notebook will go over text-to-image models, which are diffusion models that take in text as input and output image(s)
Base Models
Let’s first see how we can generate images with Stable Diffusion XL:
All parameters are optional other than prompt
. For more information on base models offered, see here.
Custom Models
Next, let’s see how we can generate images with custom models made on Flush:
We get an array of image links as output.
All parameters are optional other than prompt
and model_id
. For more information on how to create custom models to deploy, see here.
DALLE
Flush also supports interaction with DALLE-2. In this case, we use DALLE’s image generation endpoint. We show an example of this below:
It is important to note that DALLE only supports image sizes 256x256, 512x512, or 1024x1024. All parameters are optional other than prompt
.