Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I automated the generation of 2048 x 1024 images and started a Twitter bot: https://twitter.com/Bible_or_anime

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/...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: