AI-901 AI concepts and capabilities MEDIUM
PRODUCTION SCENARIO
A marketing team has a finished product photo and wants a generative image model to replace only the background, leaving the bottle pixels untouched.

How should the team indicate which region the model may change?

Answering here is anonymous. Nothing is saved unless you sign in.

Show answer and explanation

Answer: Supply a PNG mask with transparent pixels over the editable area

The image edit API takes a mask that defines the area of the image the model is allowed to edit, marked with fully transparent pixels, and the mask must be a PNG with the same dimensions as the input image. Prompt wording alone does not constrain which pixels change.
Free

Keep practicing AI-901

undefined original AI-901 practice questions, each with an explanation and a source link. No account needed.

Start free practice set → Timed, explained, free