Nightjar Logo
Creative Editing And Scene Generation

How do I use AI to generate comparison 'Before & After' photos for marketing?

4 min read

Quick Answer

Generate two images of the same subject with only one variable changed (state, placement, or styling) and hold the camera, lighting, and framing constant so the rest of the frame doesn't drift between shots. In Nightjar, the cleanest path is to save the look once and reuse it for both shots, or to pair the "before" and "after" inputs together in the multi-image editor and let the model treat them as one comparison. Combine the two final outputs side by side in any layout tool.

Two ways to make a paired comparison in Nightjar

Nightjar has two surfaces that fit a before/after job. Pick the one that matches the input you have.

Option A: Generate the pair from the same saved setup

Use this when both frames are AI-generated from a product image and you want clean control over what changes between them.

The drift problem in generic AI tools: each new prompt re-rolls the camera, lighting, mood, and framing, so the "before" and "after" look like two different shoots. Nightjar treats those variables as reusable ingredients you set once.

  • Nightjar separates the photographic look (camera, lighting, mood, color) into a Photography Style, and the framing, angle, and product placement into a Composition. Setting both anchors the look.
  • Save the Create-form setup as a Recipe, a Team-owned reusable Create-form setup that captures the Photography Style, Composition, model choice, background, and output settings so the second shot starts from the same brief without rebuilding it.
  • Run the first Generation (one user-initiated request to create images) for the "before" frame.
  • Apply the same Recipe and run a second Generation for the "after" frame, changing only the variable you want to compare. Use Custom Directions, the free-form sentence layered on top of the Recipe, to describe the single change. Examples: "leave the product out of the scene," "place the product in the model's hand," "match the kitchen scene with the new packaging."

This approach is best when both shots are fully synthetic and the comparison is about presence, placement, styling, or scene state.

Option B: Pair both shots in the multi-image editor

Use this when you already have a real product photo or a fixed reference and want the second frame derived from the first.

Nightjar's Edit tab is a plain-English, multi-image editor: add up to 8 reference images to a board, then refer to them inside the prompt as @image1, @image2, and so on. Common edits have a one-click prefilled prompt Nightjar calls an Edit Shortcut (Try On, Recolor, Product Placement, Reframe, Change Format).

  • Add the "before" image to the board as @image1.
  • Either generate the "after" frame directly from @image1 (for example: "show @image1 with the product placed on the kitchen counter, same camera angle, same lighting, /ratio 1:1") or add a second reference as @image2 and ask for a transformation that uses both.
  • Use the inline /ratio and /format controls to keep both outputs at the same shape and file format. Matching aspect ratio is what makes the side-by-side composite read as a fair comparison.

Edit-tab pairing is best when the "before" must be the real product photo a customer would recognize and the "after" should clearly come from it.

Combining the two outputs

The side-by-side composite (split frame, drag slider, captions, brand frame) is a layout job: drop both files into your design tool of choice. Keep the aspect ratio and crop the same so the eye reads only the changed variable, not a layout shift.

Truth-in-advertising rules apply to every before/after claim

US FTC truth-in-advertising rules treat any before/after image as a performance claim: brands need a reasonable basis for the claim, and the image cannot misrepresent the result a typical buyer should expect. The FTC's December 2025 warning letters under the Consumer Review Rule confirm AI-generated marketing assets are in scope. Regulated categories (skincare, beauty, health, weight loss, supplements) face stricter substantiation rules, but the underlying rule is general.

Practical guardrails:

  • Use AI before/after for illustrative concept work, social storytelling, or scene comparisons, not as evidence of a product's clinical or measurable effect.
  • Disclose AI generation where local rules require it. The EU AI Act Article 50 obligations become enforceable on August 2, 2026, and a New York synthetic-performer disclosure law takes effect on June 9, 2026. See the legal guide for AI product photography for the operational checklist.
  • Keep an audit trail of how each image was made (source inputs, ingredients, prompt) so you can defend the claim if challenged. Nightjar's Library stores that metadata on every generated Asset.
  • Talk to a lawyer in your jurisdiction before publishing before/after creative for any regulated category.

Consistent and on brand AI photoshoots, optimized for conversion.

Nightjar