Q12: OpenAI Image Generation JSON Builder
Build a JSON request for OpenAI's image generation API
1
How to Submit Your Answer- Find the image prompt in your question (after "Use the following prompt to generate the image:")
- Paste the exact image prompt below
- Select the required options from the dropdowns
- Click Copy on the generated JSON
- Paste the JSON into the answer field on the exam website
- Click Check to submit your answer
2
Configure Your Request3
Generated JSON✅ Make sure to copy the entire JSON, including all curly braces
{
"model": "gpt-image-1",
"prompt": "A sample image prompt",
"n": 1,
"size": "256x256",
"response_format": "b64_json"
}