ianb / llm-garden

A number of experiments using GPT-3, delivered in a web app
https://llm.ianbicking.org
48 stars 8 forks source link

Add image generation #22

Closed ianb closed 1 year ago

ianb commented 1 year ago

To go with story generation, AI image generation would be nice for CYOA.

I imagine:

Midjourney is particularly good at this use case, but has no API.

It's possible that running it in the app will lose too much functionality (or will require recreating too much functionality), but I'd like to at least try.

This requires storing images in IndexedDB and/or JSON base64. Seems like it could get way too big. Not sure if I can just hotlink the images from an API, though that would be better both for hosting and to keep the image with the person who created it.

ianb commented 1 year ago

Implemented