AI-900 · Question #312
You have the following REST API request. Which Azure OpenAI model should you use to process the request?
The correct answer is A. DALL-E. A DALL-E REST API example using parameters like prompt, size, style, and n (number of images) can be used to generate images. Here's how: Example Request Body (JSON): "prompt": "A cat wearing a hat, standing on a skateboard", "size": "1024x1024", // Supported values…
Question
Exhibit
Options
- ADALL-E
- BCodex
- CGPT
- DWhisper
How the community answered
(41 responses)- A88% (36)
- B2% (1)
- C7% (3)
- D2% (1)
Explanation
A DALL-E REST API example using parameters like prompt, size, style, and n (number of images) can be used to generate images. Here's how: Example Request Body (JSON): "prompt": "A cat wearing a hat, standing on a skateboard", "size": "1024x1024", // Supported values: "1024x1024", "1792x1024", "1024x1792" "style": "natural", // DALL-E 3 supports "natural" and "vivid" styles "n": 1 // DALL-E 3 only supports n=1 https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/dall-e
Topics
Community Discussion
No community discussion yet for this question.
