QuestionQ44

VerifiedImplement generative AI and agentic solutions

You have a Microsoft Foundry project that generates product marketing images from text prompts.

After several images are published, your company's legal team identifies a competitor's logo on a sign in the background of one of the images.

You need to remove only the logo while preserving the rest of the image.

What should you do?

Explanation

Mask-based inpainting lets you constrain an edit to a specific region by supplying a mask over just the logo, so only the pixels inside that region are regenerated while the rest of the image is left unchanged. Increasing prompt guidance strength, editing the prompt, or changing the random seed all cause the model to regenerate the image broadly (or produce a different image entirely), with no guarantee that only the logo is affected and the rest of the composition is preserved.

Learn more

Community Discussion

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