QuestionQ61

VerifiedImplement computer vision solutions

You are building an image-editing workflow in a Microsoft Foundry project.

The workflow must meet the following requirements:

  • Background objects can be removed by applying a mask-based inpainting edit.
  • The original lighting and style of the edited images are preserved.
  • The built-in image editing controls are used, NOT a custom model.

You need to ensure that image edits are applied exclusively inside the masked area.

How should you configure the workflow?

Explanation

Mask-based inpainting is the built-in image-editing mode designed to constrain edits to a specific region: you supply the original image together with a mask that marks exactly which pixels may change, and the model regenerates content only inside the masked region while leaving everything outside it — including the surrounding lighting and style — untouched. image_variation and text_to_image regenerate broadly without any mask constraint, and image_to_image at high strength regenerates the entire image rather than a bounded region.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!