Recommendations for an image storage service
Unanswered
American Crocodile posted this in #help-forum
American CrocodileOP
I have a website that generates AI-powered images. I need a service that allows me to store these images and retrieve them when required. Additionally, I want to store other data associated with the images, such as prompt text, and have them linked together.
Currently, I am using Supabase for authentication, which provides storage options. However, its free tier has a limitation of 1GB. I am also using Sanity for my blog, and its free tier offers 100GB storage. But I am unsure if I should use it for storing images, and whether it is possible to post data outside the Sanity Studio.
What would you recommend in this situation?
Currently, I am using Supabase for authentication, which provides storage options. However, its free tier has a limitation of 1GB. I am also using Sanity for my blog, and its free tier offers 100GB storage. But I am unsure if I should use it for storing images, and whether it is possible to post data outside the Sanity Studio.
What would you recommend in this situation?
14 Replies
aws s3
or cloudflare r2
for storing your images
idk about integration with sanity
but if you're writing nextjs code for uploading and managinig images
its standard s3 operations
take a look at my
next-upload package on npm/github if you need some abstractions around s3 file uploading@linesofcode take a look at my `next-upload` package on npm/github if you need some abstractions around s3 file uploading
American CrocodileOP
if I use aws s3, will there be a way to store text and have it linked to the image? for example, fetching the image and the prompt that created it.
you can store metadata in s3
but I suggest storing a reference to your s3 object
and saving it in your db
and then storing the text in there
the package i mentioned does that for you btw