Light Blue Gradient Background ID Photo Cutout
Based on the author's pipeline for 851-labs/background-remover, this demonstrates a preprocessing step for ID photo background replacement: input an original formal portrait photo, and the model automatically separates the foreground person from the background, outputting a clean cutout result for subsequent use in replacing with a light blue gradient background. This model focuses on the single task of background removal, implemented based on InSPyReNet and transparent-background, with configurable output background type and hard segmentation threshold, suitable as a background cleanup step for batch ID photos, avatars, and e-commerce assets. The work submits only the required image_url without introducing additional parameters, making it easy for developers to reproduce directly against the real input snapshot. Applicable scenarios: ID photo background unification, batch processing of job-seeking avatars, and transparent layer preprocessing before design and layout.
Style portrait-retouch · ID Photo · Background Replacement
Reference inputs

image_url
Prompt
Input: a formal business portrait of an adult, head-and-shoulders framing, centered, neutral expression, looking straight at the camera, wearing a dark tailored suit jacket over a light shirt, soft even studio lighting, sharp focus on the face and hair edges, no accessories covering the face. The source photo contains a plain cluttered indoor background; the intended result is the person cleanly isolated as a foreground cutout with a transparent area where the original background was, so a light blue gradient can be composited behind. Keep natural hair strands and shoulder contours intact, no halos, no color spill, 3:4 portrait framing.
Copy the full prompt and adapt it for your own generation.
Tags