AI-102 Question 457
Select 3You are tasked with creating a proof-of-concept application that generates marketing visuals using Azure OpenAI's DALL-E model. The application must allow users to input text prompts to generate images and provide an interface to edit these images by inpainting specific areas. Which steps should you take to implement this solution?
- A
Use the Azure OpenAI Service to fine-tune the DALL-E model specifically for your marketing visuals.
- B
Enable the inpainting feature by specifying the 'edit' mode in the DALL-E API request.
- C
Pass user-provided text prompts to the DALL-E API to generate initial images.
- D
Use the Azure Computer Vision API to handle the inpainting edits.
- E
Store the generated images in Azure Blob Storage for user access and retrieval.
Show answer and explanation
Correct answers: B, C, E
Explanation
To implement the solution, you need to use the DALL-E model's 'edit' mode for inpainting, send user text prompts to the DALL-E API to generate images, and store the generated images in a scalable storage solution like Azure Blob Storage. Fine-tuning the DALL-E model is not supported, and the Azure Computer Vision API is unrelated to inpainting functionality.
- A. Incorrect.
Fine-tuning is not supported for the DALL-E model in Azure OpenAI Service. Instead, you use the model as is with appropriate API calls.
- B. Correct.
The 'edit' mode in the DALL-E API request enables inpainting, allowing users to modify specific areas of generated images.
- C. Correct.
The DALL-E API is used to generate images based on user-provided text prompts, fulfilling the requirement for text-based image generation.
- D. Incorrect.
While the Azure Computer Vision API provides image analysis capabilities, it doesn't support inpainting or editing functionalities needed for this scenario.
- E. Correct.
Azure Blob Storage is a suitable option for storing generated images, ensuring they are accessible for retrieval by users.