Question 30
Domain 3: Implement Generative AI SolutionsA content team uses DALL-E 3 to generate marketing images. They want all images to be in "hd" quality and in landscape orientation for website banners. Which API parameters achieve this?
Correct answer: B
Explanation
DALL-E 3 supports a "quality" setting of "hd" for higher-detail images, and the landscape banner format is the "1792x1024" size. Setting "n=1" generates a single image, matching the request for one banner image.
Why each option is right or wrong
A. quality="hd", size="1024x1024", style="vivid"
B. quality="hd", size="1792x1024", n=1
DALL-E 3’s image generation parameters include `quality`, where `hd` requests the higher-detail mode, and `size`, where `1792x1024` is the supported landscape aspect ratio suitable for website banners. The `n` parameter controls how many images are returned; `n=1` is the correct setting when only one banner image is needed.
C. quality="standard", size="1024x1792", n=1
D. quality="hd", size="1792x1024", n=3