How do I replicate browser interface dalle 3 gpt behavior using the API?

When making a request to the generations api, I only receive an image_response object that has created: int and data: [Image] as its properties. Each image in data only has url, b64_json, and revised_prompt, from which I can extract using data.get