Skip to content
Last updated

Product Shot Editing Best Practices

Product Shot Editing is built to automate “commerce-grade” workflows: cutouts, packshots, consistent shadows, and lifestyle scenes (via text or reference image).

The Big Picture: Pipeline Mindset

Before using the specific endpoints, it helps to understand the recommended workflow. Think in building blocks:

  1. Cutout (creates a clean alpha)
  2. Shadow (optional: adds consistent grounding)
  3. Output (creates a Packshot or Lifestyle scene)
Q: Why is this pipeline important?

The /shadow endpoint is explicitly designed to work with /cutout, /packshot, or Lifestyle endpoints. If your input isn’t already a clean cutout with a transparent background, you must use /cutout first to ensure high-quality edges in the final render.

Asynchronous endpoints: when to use async vs sync

The general recommendation is sync: false (async) for optimal performance. Async is required when using placement_type: automatic or when num_results > 1. Use sync: true only for simple single-result requests where you need an immediate response (like quick prototyping).


Catalog Workflows

POST /v1/product/cutout (or /v2/image/edit/product/cutout)

Use this whenever you need a clean product foreground (alpha channel) for reliable downstream composition. The output image is automatically cropped around the subject. The v2 cutout endpoint produces identical results with the v2 contract (async, image input, webhooks); new integrations should prefer it.

Q: What makes cutouts look better downstream?

Best practices for input photos:

  • High contrast between product and background (even if the background is messy).
  • Avoid motion blur on edges (handles, hair-like fibers, transparent glass rims).
  • Ensure the product is fully inside the frame (no cropped edges).
Q: When should I force background removal even if there’s already an alpha channel?

Use force_rmbg=true if the input alpha channel is low-quality (haloing / jagged edges) or if the alpha includes unwanted transparent regions.

POST /v1/product/shadow

Add a shadow when you want the product to feel grounded and consistent across a catalog. Requires a transparent-background cutout (alpha) as input.

Q: “Regular” vs “Float” shadow — which should users choose?

Use type="regular" for products that naturally sit on a surface (bottles, boxes, shoes). Use type="float" for “hover” aesthetics, beauty ads, or when you want an elliptical studio shadow.

Q: What are the 3 most important knobs for realism?
  • shadow_offset: Keep consistent direction across your whole catalog (e.g., [0, 15] default).
  • shadow_blur: Softer edges = more studio-like; too sharp looks cut-out.
  • shadow_intensity: Keep modest; over-dark shadows look pasted.
Designer tip

Avoid adding a standalone shadow if your next step is /image/edit/product/integrate or /image/edit/product/lifestyle_shot. Those endpoints handle blending and shadowing natively.

POST /v1/product/packshot

Use when you need a “store-ready” catalog asset. The endpoint outputs a professional standard 2000×2000 image with best-practice product sizing and placement.

Q: What is the best workflow to create a professional packshot?

Use this three-step pipeline:

  1. /product/cutout — isolate the product with a clean alpha.
  2. /product/shadow — add a realistic, consistent shadow.
  3. /product/packshot — output the final asset.

Skipping cutout risks poor edge quality. Skipping shadow produces a floating, ungrounded look.

Q: How do users get the cleanest packshots?

Start from a clean cutout, avoid extreme perspective distortion (like wide-angle phone shots), and use background_color intentionally (e.g., #FFFFFF for marketplaces, a brand hex code for hero tiles, or transparent for UI compositing).


Lifestyle Workflows

POST /v2/image/edit/product/lifestyle_shot

Use when you want Bria to shoot your product in a new scene you describe in words. Send the product photo and a prompt; the shot keeps the photo's framing and aspect ratio.

Q: How should users write the `prompt`?

Describe the scene: what the product stands on, what surrounds it and how it is lit. Example: "Place this perfume bottle on a wet black slate ledge by a rain-streaked window at dusk, lit by a warm lamp from the left."

Q: When should users turn on `preserve_product`?

When the product must stay pixel-exact, for example small label text or a logo. The product from the photo is pasted back over the shot, and the shot comes back at the photo's resolution when the photo is larger, up to 25 megapixels. Check product_preserved in the response: it is false when the product moved in the shot, which then comes back as generated.

POST /v1/product/lifestyle_shot_by_image

Use when you have a reference image that defines the scene (room, surface, visual style) and want the result to inherit that look rather than describing it in words.

Q: How does this differ from the lifestyle shot by prompt?

It takes a reference image instead of a prompt, and ref_image_influence controls how closely the result follows it (0.0 to 1.0).

Q: What are the best practices for reference strength?

If you want the exact positioning/place, start high (0.75–0.9). If you want an abstract style match without copying literal objects, start mid (0.5–0.75).

Q: What does `enhance_ref_image` do?

When true, it refines lighting, shadows, and textures for authenticity. However, if it introduces unwanted artifacts or hallucinates details, set it to false.

POST /v2/image/edit/product/integrate

Embed one or more products into a predefined scene at exact user-defined coordinates, while matching lighting, perspective, and aesthetics.

Q: How do users get realistic integration?

Make sure coordinates match the scene perspective (e.g., product size must be consistent with table depth). Iterate with a fixed seed until placement is correct, then vary the seed for alternative harmonizations.


Advanced Workflows (LLMs & Vision Models)

When the workflow needs extra automation upstream (prompting, layout planning, QA) rather than just better pixels, consider integrating other models alongside Bria:

Q: How can LLMs improve Bria workflows?
  • Prompt Generation: Use an LLM to generate 10–30 scene_description variants from a brand brief, then run Bria in high_control mode. (Note: Bria already includes optimize_description built with Meta Llama 3).
  • Automatic Placement: Use a vision model to detect surfaces/planes in an image, then feed those exact coordinates to /image/edit/product/integrate.
  • Batch QA: Use a vision model to score generated outputs for artifacts or brand rules before publishing.