I'm working on an app that allows users to upload a photo and select a preview for generating an edited version. However, I'm running into issues with API costs. I've tried a few, but Wall-E-2 is underwhelming, and while GPT-image-1-mini is somewhat decent, it's still pricey. The full GPT-image-1 is great, but way too expensive for my budget. I'm looking for an alternative API that can take in a JPG along with a prompt and return a generated edited JPG without breaking the bank. I'm using React Native for the project, and the entire pipeline is already developed. I just need help finding a cost-effective API.
5 Answers
Honestly, I'm confused about what you mean by 'teleportation' in relation to your app. It doesn’t really make sense to me.
Self-hosting is definitely the way to go if you want to save money. Just get a decent GPU and you'll be set for cost-effective image processing!
Did you seriously wait until building your whole image generation setup to figure out there might not be a cheap API? Also, have you checked if the ChatGPT app could work for your needs? It seems like it could already do what you're aiming for.
If you're trying to use an LLM for image generation, you'll probably end up losing a lot unless you find a way to pass those costs onto the users by having them use their own API keys.
You might want to check out FLUX Kontext Pro; it seems like it fits your needs perfectly. If you're looking for an even more economical option, consider self-hosting models like FLUX Kontext Dev. It has open weights and can run on a 4090, so the cost per image is mainly just your GPU time.

Exactly! It might be smart to give users a couple of sample images and then ask them to provide their own keys for generation.