Six months ago I added "generate an image" to a side project. I assumed the hard part would be the UI. It wasn't. The hard part was picking a model and then living with that decision.
This post is the decision matrix I wish I'd had. No benchmarks claiming one model is "best" — just the tradeoffs that actually bit me, and the questions worth asking before you commit.
The five things that actually differ
Everyone compares models on sample images. That tells you very little, because the samples are cherry-picked and the prompts are flattering. What differed in practice:
1. Text rendering inside the image. If your product ever puts words in an image — a poster, a UI mockup, a product label — the gap between models is enormous. Older diffusion pipelines produce plausible-looking glyph soup. Newer ones render legible text reliably. Test with a prompt containing a specific short string, then look at it at 100% zoom.
2. Aspect ratio flexibility. Some models are trained heavily on 1:1 and degrade badly at 16:9 or 9:16. If you're generating social assets, this matters more than raw quality. Check that the model supports your aspect ratios natively instead of centre-cropping a square.
3. Instruction following on negatives. "A cat, no collar, no text" — does the model respect the negatives, or does mentioning "collar" make a collar more likely? Diffusion models historically ignore negation. Test it. Some newer ones handle it, most don't, and if they don't you need to restructure your prompt logic instead of trusting it.
4. Latency distribution, not latency. The number that matters isn't the average, it's the 95th percentile. A model that averages 4 seconds but occasionally takes 45 will break your UX unless you've built for it. Whatever you pick, build the async job pattern from day one — you cannot escape it.
5. Cost per accepted image. This is the one everyone gets wrong. If model A costs $0.02 and model B costs $0.05, but model A requires three regenerations to get something usable, model A is more expensive. You can only know this ratio from your own data, so instrument it: log every generation, and log whether the user kept or discarded the result.
The architecture that saved me
The thing I'd do differently from the start: do not hardcode a model. Wrap every provider behind one internal interface:
generate(prompt, { aspect, model, refs }) -> { taskId } poll(taskId) -> { status, urls } Two reasons this matters more than it sounds:
- Models appear and disappear on a scale of months. A provider you picked in January may be deprecated by August, or a better one may undercut it by 60%.
- You will want to A/B them per prompt category. Photorealistic portraits and flat illustration respond very differently to the same model, and your users know it before you do.
If your abstraction is right, switching a model is a config change. If it isn't, it's a sprint.
The multi-provider shortcut
I eventually stopped integrating providers one by one. Not because it's hard, but because it's tedious — each has its own auth, its own async model, its own file retention policy, its own creative interpretation of the word "seed."
So I moved the integration layer to a single aggregator: one API surface, one credit balance, one asset store, where GPT Image, FLUX.2, Nano Banana, Seedream and Qwen Image sit behind the same prompt box, and Veo, Kling, Seedance and Sora are reachable from the same asset library you just generated an image into. That last part is the underrated bit — you can generate a still and feed it straight into an image-to-video model without re-uploading or re-authenticating anywhere.
Two honest caveats on that approach:
- You inherit their rate limits and their outages, and you have less visibility into what's happening when something is slow.
- Per-image pricing is usually not the cheapest possible. You're paying for the abstraction.
For a small team shipping a feature, that trade has been worth it. For a product where image generation is the product, integrate directly.
Prompt scratchpad
If you're going to test models, test them properly. A few prompts that separate models quickly:
1. A wooden sign reading "OPEN 24H", photographed head-on → text rendering 2. The same subject at 1:1, 16:9, and 9:16 → aspect handling 3. A red cube, no shadow, plain white background → negation + control 4. Two reference images, combine the lighting from A into B → multi-reference 5. A prompt with a typo and a contradiction → robustness, not quality Keep the results. In three months, when a new model launches and everyone on social media says it's incredible, you'll have a baseline instead of an impression.
What I'd tell someone starting today
- Instrument accept/reject from day one. It's the only metric that maps to cost.
- Build for async. There is no synchronous image generation at scale.
- Keep the prompt, the seed, and the model ID for every generation you keep. Reproducibility is a debugging tool, not a nicety.
- Expect to change models within a year. Design for it.
- Pick the boring option for your first integration. The exotic one will still be there in six months, and you'll know more about what you actually need.
The model is not your moat. Your prompt library, your accept-rate data, and the workflow around it are.
What's your current pick, and what made you switch? I'm particularly curious whether anyone has good data on accepted-image rates across providers — that's the number I'd most like to compare.
