AI Image Model Comparison: Instruction Following and Editing Performance Tested
This article compares AI image generation and editing models through four observable metrics: instruction following, fidelity, run-to-run consistency, and output compliance. It explains why "which image looks better" is a poor evaluation question, presents a reproducible, configuration-as-code evaluation setup, and breaks down five typical scenarios with prompt examples, common failure modes, and engineering recommendations. It concludes with model selection guidance and a practical checklist for developers.
1. Evaluation Background: Why “Which Image Looks Better” Is the Wrong Question
As generative vision models iterate quickly, model selection discussions often degrade into “aesthetic voting.” From an engineering perspective, however, the core of image editing tasks is not aesthetics but constraint satisfaction: whether the model strictly preserves regions that were not asked to change, whether it executes the requested edits precisely, and whether it stays stable across multiple samples. These three factors directly determine whether a model can enter a production pipeline.
This article therefore restructures the comparison into four observable metrics:
- Instruction following: whether all semantic elements are fully realized, and whether the model “improvises.”
- Fidelity (identity and structure preservation): whether a person’s identity, hand structure, text, and perspective relationships are unintentionally damaged.
- Consistency (run-to-run stability): the variance of results across repeated generations with the same prompt.
- Output compliance: whether resolution, aspect ratio, color, and noise meet expectations.
It is important to note that any model’s performance on a specific prompt is inherently random, and a single result is not enough to support a conclusion. A more reliable engineering practice is to fix the prompt set, fix the sampling parameters, and run multiple samples per case to compute a pass rate.
2. Evaluation Environment and Reproducible Method
To make the conclusions reproducible, the evaluation should be structured as “configuration as code.” For example:
eval_set:- id: style_transferprompt_file: prompts/style.txtreference: assets/portrait_01.pngruns: 5pass_criteria:identity_similarity: ">=0.85"aspect_ratio: "1:1"- id: inpaint_removeprompt_file: prompts/remove.txtmask: masks/audience.pngruns: 5pass_criteria:text_ocr_removal: trueedge_seam_visible: false
The key point is that every case must have explicit pass criteria, such as an identity similarity threshold, aspect ratio, whether text was mistakenly altered, and whether visible seams exist at the edges. A comparison without acceptance criteria is essentially just an image exhibition.
3. Hands-On Breakdown of Five Typical Scenarios
Scenario 1: Style Transfer and Aesthetic Rewriting
Example prompt:
Change the style of the "image" to: 1990s Hong Kong film aesthetic, auteur cinematic lighting,motion blur, retro film grain, high contrast, neon light sources, emotional atmosphere, close-up shot.Keep the subject's facial structure and the composition unchanged.
Two failure modes are common in practice. The first is over-generation: the model adds elements not present in the original, such as signs or light boxes, rewriting the narrative of the scene. The second is underfitting: only slight color grading is applied, and the style characteristics are not obvious. The former breaks fidelity; the latter fails to satisfy the instruction. The engineering recommendation is to write “keep the composition unchanged” and “do not add new elements” as explicit negative constraints, and to sample style intensity in tiers to find the balance point between style and fidelity.
Scenario 2: Portrait Skin Texture Retouching
Example prompt:
For the "image," preserve skin pore texture and realistic skin quality, remove temporary blemishes,soft studio lighting, native photo quality, no plastic look or over-smoothing.Do not change facial proportions, hairstyle, or clothing details.
This scenario best exposes a model’s “structural robustness.” The ideal result removes blemishes while keeping texture; unacceptable results include skin smoothed into a plastic look, drifting facial proportions, and incorrect redrawing of small high-frequency structures such as hands. The latter is especially common in group photos and half-body compositions, so acceptance checks should include finger count, accessory shape, and hair edges as mandatory items.
Scenario 3: Makeup and Stylized Beautification
Example prompt:
Apply a Y2K tipsy makeup look to the "image": large-area blended pink-purple blush sweeping from under the eyes to the cheekbones;eye makeup with fine shimmer; glossy glass lips; light-colored contact lenses.Bold makeup colors, strong wet finish, sweet-and-spicy style, keep the original facial structure.
Makeup is a large-area overlay of color and material and demands strong semantic understanding. Typical deviations include misplaced blush, harsh blending boundaries, or an overall color tone that overwhelms the subject’s own features, causing the result to drift from the original’s character. A workable improvement is to break the makeup into a three-part description of “area—color—texture,” constraining each part separately to avoid semantic dilution from one long description.
Scenario 4: Expression and Demeanor Rewriting
Example prompt:
Change the expression in the "image" to a meaningful smile, subtle gaze, slightly raised corners of the mouth,keep the head angle, lighting direction, and background unchanged.
Abstract emotion words (such as “meaningful”) map very differently across models and can easily produce expressions that do not match the semantics or even carry negative connotations. In engineering, abstract emotions should be translated into executable muscle and lighting cues: the degree of mouth-corner elevation, eyelid opening, gaze direction, and facial highlight position. This both improves hit rate and makes regression testing easier.
Scenario 5: Element Removal and Effects Compositing
Example prompt:
Remove all audience members in the front row of the "image," keep everything else unchanged, fill in the occluded areas,maintain continuous ground material, lighting, and perspective.
Add high-speed motion blur, drifting smoke, and speed lines to the "image," dynamic composition, strong visual impact.
Element removal is essentially masked image inpainting. The difficulty is that occluded regions lack information, so the model must “reasonably fabricate” content; text, repeating textures, and perspective lines are therefore the most failure-prone. It is normal for results to remain imperfect after multiple sampling rounds; in that case, shrink the mask area, process in blocks, and then feather the stitching edges. Effects compositing is the opposite—a scenario that encourages generation—so the focus shifts to intensity control and subject recognizability.
4. Cross-Scenario Conclusions and Selection Recommendations
Across the scenarios above, three stable patterns emerge:
- Local editing and identity fidelity: the greatest gains come from an engineering workflow of “explicit negative constraints + small-area masks”; prompts alone cannot achieve stability.
- Semantic abstraction: the more abstract the emotion and aesthetic words, the larger the cross-model differences, so they must be translated into observable cues.
- Output compliance: aspect ratio and resolution drift are high-frequency problems and should be handled with unified post-processing and validation on the calling side, rather than relying on the model’s self-discipline.
To carry this kind of capability in your own system, a recommended approach is to combine general-purpose cloud capabilities: use object storage to store assets and results, a container platform to handle batch inference and concurrent scheduling, a message queue for task decoupling and peak shaving, and logging services with monitoring and alerting to track pass rates, latency, and failure distribution. Baidu AI Cloud offers corresponding product forms in these general categories and can serve as an architecture reference.
5. Implementation Checklist for Developers
- Build a fixed evaluation set of at least 30 cases covering five categories: style, portraits, text, occlusion, and effects.
- Run multiple samples per case and record pass rates rather than single-image quality.
- Structure prompts in four parts: “object + change + preservation items + negative constraints.”
- Perform unified aspect-ratio cropping, resolution normalization, and edge feathering on the calling side.
- Set up automatic validation for identity similarity and text integrity, with automatic retries below thresholds.
- Incorporate evaluation results into version regression, and check the pass-rate curve first whenever the model or prompts change.
