A marketplace wants AI-generated lifestyle photos of sellers' own products. How do you keep the product itself accurate: LoRA, IP-Adapter, ControlNet, or an editing model?
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
Do not let the generator redraw the product at all if you can avoid it. Segment the product from the seller's photo, generate or edit only the background and lighting around a fixed mask, then composite the original product pixels back and harmonise edges and shadows. Logos, small text and exact colour are precisely what diffusion models get subtly wrong, and a marketplace that alters the label on a listed item has a trust and legal problem, not a quality problem.
Full worked answer
Do not let the generator redraw the product at all if you can avoid it. Segment the product from the seller's photo, generate or edit only the background and lighting around a fixed mask, then composite the original product pixels back and harmonise edges and shadows. Logos, small text and exact colour are precisely what diffusion models get subtly wrong, and a marketplace that alters the label on a listed item has a trust and legal problem, not a quality problem.
When the product must change pose or appear in a genuinely new scene, pick the conditioning tool by what you need to control:
- ControlNet-style conditioning fixes structure. Edge, depth or pose maps steer layout through a trainable copy of the denoiser's encoder, joined by zero-initialized layers so the base model starts unchanged. It controls geometry, not identity.
- IP-Adapter-style image prompts add a separate cross-attention path for reference-image features. No per-subject training, so it scales to millions of products, but identity is approximate: shape and colour, not readable text.
- Per-subject fine-tuning (DreamBooth, usually trained as a LoRA of a few to tens of MB) on ~10-30 photos gives the best identity, but costs GPU-minutes per subject plus storage and moderation for every adapter. Right for a brand's hero products, wrong for a long-tail catalogue.
- Instruction-based editing models (FLUX.1 Kontext, Qwen-Image-Edit, and the Gemini and GPT image models) take reference images in context and handle "same product, on a marble counter" with no training. Since 2025 this is the default starting point, with the composite step still guarding the exact pixels.
Evaluation has to target the failure that matters, which is product fidelity, not aesthetics. Check it automatically: OCR the label and compare it with the original, measure colour difference inside the product region, and score embedding or VLM similarity against the source photo. Auto-reject below threshold and sample the rest for human review, because a beautiful image of the wrong product is the worst output this feature can produce.
What a good answer covers
- Do not let the generator redraw the product at all if you can avoid it
- Segment the product from the seller's photo, generate or edit only the background and lighting around a…
- Logos, small text and exact colour are precisely what diffusion models get subtly wrong, and a…
- ControlNet-style conditioning fixes structure
- IP-Adapter-style image prompts add a separate cross-attention path for reference-image features
Key terms: ControlNet-style conditioning · IP-Adapter-style image prompts · Per-subject fine-tuning · Instruction-based editing models
In the glossary: Diffusion · Fine-tuning · LoRA · VLM
Interviewer follow-ups to expect
How would you harmonise lighting and shadows when compositing original product pixels into a generated scene?
A seller uploads one blurry photo: which of these approaches still works, and what do you tell the seller?
How would you detect that an editing model subtly changed the text on a label?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep