ai newsDo., 15. Okt.
EilmeldungMeta and Apple team up to make Muse AI models run better on Macs

What it costs to run an AI baby-photo generator: ~4¢ an image, and an honest promise

I build small browser-first tools. One of them, OurBaby , answers the oldest question couples ask — what will our baby look like? — by blending one photo of each parent into an imagined baby portrait. Two questions come up from other developers every time I describe it, so here are both answers wit

dev.toDonnerstag 17:00 · 15.10.2 Min. Lesezeit
Bild: dev.to

I build small browser-first tools. One of them, OurBaby, answers the oldest question couples ask — what will our baby look like? — by blending one photo of each parent into an imagined baby portrait.

Two questions come up from other developers every time I describe it, so here are both answers with real numbers.

Generation runs on a multi-image model of the "nano-banana" class via fal.ai. The actual billed cost per image, from my fal usage export:

So the math is simple: a $2.99 pack of 5 photos is ~80%+ gross margin, and the free tier is a bounded acquisition cost rather than a leak. The free tier is deliberately small and capped three ways:

That last one matters. An earlier project of mine shipped an AI endpoint without a daily cap and someone found it within hours — the cap is the difference between a marketing cost and an incident.

Photos never touch my servers as files: the browser downscales each to a 768px JPEG, sends them as data URIs, and a Cloudflare Pages Function makes a single queued call to the model with both references. The interesting part is not the plumbing, it's the prompt: the model is told to inherit specific features (eye color and shape, nose, smile, hair color and texture, skin tone) from both references, rather than averaging two faces — averaging is why first-generation "baby generators" produced children that looked like nobody.

Here's where I have to argue against my own product category. A baby's face cannot be predicted — by my tool or any other. Appearance is polygenic: eye color alone involves several genes (the OCA2/HERC2 region does most of the work, not all of it), and each parent passes on one of two copies of every gene. The recombination is random. Even two full genomes don't compute a face.

What a good generator can honestly claim is fidelity to the parents — the imagined child should visibly inherit from both of you — not prediction of the child. So the copy on the site says exactly that: the result is a fictional, imagined person, and the page even explains why prediction is impossible. It turns out that honesty is also good SEO: it's the question people actually type.

If you're building anything that eats faces (headshots, restorations, family photos), I'd treat this as the baseline, not a feature.

If you want to see the result, the generator is at ourbaby.shop — first preview free, no signup, and the free tier is documented in plain numbers.

Quelle: dev.to (dev.to). Original öffnen