Replacing a product photo background with a Foundry image model
AI-901
Identify AI concepts and capabilities
Medium
Question 50 of 50
You are preparing an image editing workflow by using a generative AI image model in Microsoft Foundry. You need to replace the background behind a product while keeping the foreground object completely unchanged.
Which component should you provide alongside the prompt to designate the region to replace?
Show answer and explanation
CA mask that defines the area of the image to edit
In generative AI image editing workflows such as inpainting, a mask is used to define the precise spatial region of the image that the model is allowed to edit while preserving the untouched areas. Bounding boxes specify rectangular coordinate boundaries typically used for object detection, but they cannot supply the pixel-level delineation required for seamless image synthesis. Negative prompts provide textual instructions describing concepts or styles to avoid, but they cannot isolate specific visual regions within an image. Temperature parameters control the randomness and variability of generated outputs across the entire image rather than restricting modifications to designated spatial boundaries.
Source: learn.microsoft.com/
Anonymous, no account needed. Your tally stays in this browser.