跳到正文
DEV Community· 犬小哈教程 www.quanxiaoha.com·· 1 小時前AI 評分49

NewKitchenAI 為照片改造產品挑選圖像編輯模型:4 款模型 A/B 測試

Picking an image-editing model for a photo-to-photo product: our 4-model A/B

AI 導讀

NewKitchenAI 團隊比較 4 款圖像編輯模型,評估它們將廚房照片改造成翻新預覽時保留原有佈局、執行風格及呈現真實感的表現。測試中,Flux 3 Klein 最能保留結構且成本最低;Seedream 4.5 的風格與真實感表現較佳,但把原本沒有窗戶的廚房生成了窗戶和玻璃門。產品最終以 Seedream 4.5 edit 為預設,並把 Flux Klein 作為成本及結構備選。

正文

犬小哈教程 www.quanxiaoha.com

We're building NewKitchenAI, a tool that turns a single photo of your kitchen into realistic remodel previews. The product has exactly one core promise: keep the room's real layout — the walls, the windows, the cabinet run — and only change what the user asked to change.

That promise lives or dies on which image-editing model sits behind the "Generate" button. So before writing much product code, we ran a small A/B across the image-editing APIs we could find on aggregator platforms (we tested through Kie.ai; most of these models are also on fal.ai or Replicate). This post is the raw write-up — maybe it saves you a weekend.

How we tested

  • One photo, one prompt, every model. Same L-shaped kitchen, same "modern remodel" instruction.
  • Ground truth first. Our test photo has no window and no island. This detail turned out to matter a lot — more below.
  • Three axes per output: structure fidelity (did the room stay the same room?), style execution, realism.
  • Total spend: about 7 credits of API cost. This is not an expensive experiment to run.

What we found

Seedream 4.5 (image edit) — The style execution was great and the output looked like a real photo. But it hallucinated a window and a glass door into a windowless kitchen. If your test photo already has a window, you will never catch this failure mode — the model "looks" perfect. This is the trap: evaluating on a photo that shares the model's favorite hallucinations hides the hallucinations.

Flux 3 Klein (1K edit) — The surprise winner on structure. Cheapest of everything we tested, fast (~18s), and across two runs it never invented a window. Style execution was good-not-stunning. We later saw run-to-run variance (one seed added an island, another didn't), so we treat it as "structure-safe but lock your seeds."

Nano Banana family — Beautiful images, genuinely the highest realism ceiling we saw. But for photo-to-edit they were the weakest at keeping the layout: our Gemini-generation runs all moved the architecture around. Great taste, unreliable bones (for our use case).

gpt-image-2 — Fine, mid-everything, slower and pricier than Flux for our task.

The three lessons we kept

  1. A/B with photos whose ground truth you know cold. A photo that already contains the thing the model likes to hallucinate will inflate your scores. Our "no window, no island" photo is now the standard test bench.
  2. Score structure against the before photo, not as standalone "does this look nice". A render can be a gorgeous photo of the wrong kitchen.
  3. Brand-name models don't win niche constraints. The strictest structure fidelity came from the cheapest model we tested. The "best" model on a leaderboard is the best on average, and your product doesn't live on average — it lives on the one constraint your users will notice.

Where this left the product

We shipped with Seedream 4.5 edit as the default (best style+realism balance for kitchen finishes) and kept Flux Klein wired behind an env flag as the cost/structure fallback. Every prompt in the product explicitly describes the room's fixed elements — walls, windows, openings — because we learned the models treat "unmentioned" as "negotiable".

If you're building anything photo-to-photo right now, run this exact experiment with your own ground-truth photo before you commit. It costs pennies and it will change your shortlist.

(We also wrote up the pricing math and the free-tier guardrails on the product blog — happy to answer questions in the comments.)

來源:DEV Community · dev.to