AWS Certified AI Practitioner (AIF-C01) — Question 341
A company is using an Amazon Nova Canvas model to generate images. The model generates images successfully.
The company needs to prevent the model from including specific items in the generated images.
Which solution will meet this requirement?
Answer options
- A. Use a higher temperature value.
- B. Use a more detailed prompt.
- C. Use a negative prompt.
- D. Use another foundation model (FM).
Correct answer: C
Explanation
A negative prompt allows users to specify elements, styles, or objects that should be excluded from the generated image in Amazon Nova Canvas. Increasing the temperature (Option A) alters creativity and randomness but does not guarantee the exclusion of specific items, while a more detailed positive prompt (Option B) focuses on what to include rather than what to exclude. Switching to a different foundation model (Option D) is unnecessary since Amazon Nova Canvas natively supports negative prompting to achieve this outcome.