I'm creating a web application that accepts a user's prompt and then uses the dall E 2 api to generate an image. The issue that I'm running into is that once the image is generated. I want to store it in MongoDB so that I can retrieve it later to be displayed on a web gallery. My problem is that I cant use the URL of the image because it expires after an hour. So is there a way to store it without the URL into mongodb
So im using node.js and javascript. I have a couple of ideas to try but dont know if they work. I want to see if anyone else has had this issue and how did they get through it.
Via Active questions tagged javascript - Stack Overflow https://ift.tt/Q1fIK3O
Comments
Post a Comment