The relevant code is linked below and is a mess, but the idea is:
1. Generate a base image
2. Use inpainting to expand the left-hand side of the root image. You can do this by submitting an image whose left side is transparent and whose right side is the left side of the root image
3. Ditto for right-hand side
4. Stitch the three separate images together
https://github.com/charlesjlee/twitter_dalle2_bot/blob/main/...
The relevant code is linked below and is a mess, but the idea is: 1. Generate a base image 2. Use inpainting to expand the left-hand side of the root image. You can do this by submitting an image whose left side is transparent and whose right side is the left side of the root image 3. Ditto for right-hand side 4. Stitch the three separate images together https://github.com/charlesjlee/twitter_dalle2_bot/blob/main/...