With this Google Colab Python script you can create image from a prompt for free.
Try it out yourself here:
https://colab.research.google.com/drive/14Ek96qus8t_dxs-d1Nfg8xDq_1JSME3H?usp=sharing
Youtube video with explanation of this turorial.