You need to replace only the background of a generated product image. What fits?
Why C is the answer
Inpainting with a mask
Mask-based editing changes the selected region and leaves the rest.
In detail
- Inpainting with a mask changes only the selected area.
- Masks must cover exactly what should change.
Use case
An illustrative scenario, not a real incident.
A retailer wants a new background behind a product. Inpainting with a mask changes only that area, and the product stays the same.
See it in different ways
flowchart TD
A{"What do you need?"} -->|"New image or video"| B["Generation model"]
A -->|"Change part of an image"| C["Inpainting with a mask"]
A -->|"Describe an image"| D["Multimodal model"]
A -->|"Structured output from video"| E["Content Understanding"]flowchart LR S0["Image"] --> S1["Mask the background"] --> S2["Prompt"] --> S3["New background"]
Key point: Inpainting edits only the masked area.
Why the other options are wrong
- A. Speech to text
- Speech to text works on audio.
- B. Prompt Shields with a document attack scan
- Prompt Shields detect attacks.
- D. Full-text search
- Search finds content, and does not edit images.

