4 ms·
Shortly after stable diffusion was released, I realized that an enormous number of non-ML people were suddenly interested in using an ML model. However, APIs a
by tehsauce 4y ago
Shortly after stable diffusion was released, I realized that an enormous number of non-ML people were suddenly interested in using an ML model.
However, APIs are insanely expensive and not very developer friendly, and running it yourself required pretty fancy hardware. The goal was to make the technology absolutely as accessible as possible.
So I launched https://computerender.com https://computerender.com with the simplest API possible - just a URL that points to an image like:
https://api.computerender.com/generate/cupcake-of-the-sky.jpg https://api.computerender.com/generate/cupcake-of-the-sky.jp...
I monitor the prices on vast.ai and runpod to find the cheapest GPUs and run the service nearly at cost (as little as $0.0001 per image). No subscriptions, only pay for what you use.
Recently hit 700k images generated, and am excited to continue expanding the service.
- Y_Y 4y agohttps://api.computerender.com/generate/fart-compiler.jpg https://api.computerender.com/generate/fart-compiler.jpg Is it supposed to work even without an API key?
- tehsauce 4y agoYeah! For demo and testing purposes. Feel free to play around/build toy apps with it. There is a small global rate limit for all unauthenticated users though so don't rely on it :)
- nimchimpsky 4y ago[dead]
- dopeboy 4y agoExcellent idea. Love the ease of use of your "API".
- Ephil012 4y agoOut of curiosity, how do you handle traffic surges? Do you just have to manually add more servers? Or did you write a script to auto purchases more servers on vast.ai since there isn't any autoscaling feature there (that I am aware of)
- n1c 4y agoNice! I sent this message to a friend last week: > Feels like one of those "feature of a bigger product" things. But I wonder if there'd be a market for a service where you can get ai generated images just via url. "thingy.com/?prompt=weird picture of a cat with frog ears" or whatever and it returns the image. Rad to see it validated in the wild & a clever approach to optimising your costs.