AWS Certified AI Practitioner (AIF-C01) — Question 93
A company is using Retrieval Augmented Generation (RAG) with Amazon Bedrock and Stable Diffusion to generate product images based on text descriptions. The results are often random and lack specific details. The company wants to increase the specificity of the generated images.
Which solution meets these requirements?
Answer options
- A. Increase the number of generation steps.
- B. Use the MASK_IMAGE_BLACK mask source option.
- C. Increase the classifier-free guidance (CFG) scale.
- D. Increase the prompt strength.
Correct answer: C
Explanation
Increasing the classifier-free guidance (CFG) scale allows for a more pronounced influence of the text prompts on the generated images, leading to greater specificity. The other options, such as increasing generation steps or prompt strength, may not directly address the issue of detail, while the MASK_IMAGE_BLACK option is unrelated to enhancing image specifics.