How can I change the background color while retaining the model's shadows realistically?
2 min read
Quick Answer
Don't erase the background, generate a new one. In Nightjar, open the image in the Edit tab and describe the new color in plain English, or use a one-click setup called the Recolor Edit Shortcut that pre-fills a structured prompt with a
/colorpill for an exact hex value. The system rebuilds the surface and is designed to cast a contact shadow that follows the original light direction, so the subject stays grounded instead of floating.
The "Floating Product" Problem
A standard "magic wand" or background-removal tool clips the contact shadow, the dark area where the subject meets the ground. Without that shadow the product or model looks pasted in. The fix is to replace the surface, not subtract it.
How to do it in Nightjar
- Edit, do not remove. Drop the image into Nightjar's Edit tab, the plain-English editor where Assets are referenced as
@image1,@image2, and so on. Describe the change in one sentence, for example "place the subject on a pastel pink surface." - Use the Recolor Edit Shortcut or the
/colorpill. Edit Shortcuts are one-click setups that drop a structured prompt into the editor for common edits. Recolor pre-fills the right inputs for color changes and includes a/colorpill (Nightjar's inline control for exact hex values) so the new background can be driven to a specific brand color. - Set the surface as a Background ingredient instead. For Create-tab work rather than a one-off edit, Nightjar treats the surface behind a product as a reusable Background, with custom hex support. Picking the same hex Background across SKUs is the simplest way to keep a catalog on one color.
- Light direction is designed to carry over. The system reads the lighting from the source image and is built to render a contact shadow in the same direction, which is what keeps the result believable.
- Reflective surfaces. If the new color reads as glossy, a soft reflection of the subject helps the product look seated on the surface rather than pasted onto it.
For catalog-wide consistency, save the setup as a Recipe (Nightjar's saved Create-form setup that captures the Photography Style, Composition, model choice, Background, and output settings) and apply the same background treatment to the next product without rebuilding the brief.
Consistent and on brand AI photoshoots, optimized for conversion.
Nightjar