My Dall-E python script ignores the n value I specified

As the title says, my Dall-E script ignores the n value I set in my code. Instead of generating the 4 images I specified, it only generates one. Can Dall-E only send one image URL at a time? Am I missing something?
Here’s the code:

import openai

# Your DALL-E API key
openai.api_key = "[REDACTED]"

input1 = input("Enter your input: ")

# Generate an image
response = openai.Image.create(

# Print the URL of the generated image

I think it has something to do with the print function at the bottom, but I’m not exactly sure

2 posts were merged into an existing topic: "An error occured: ‘url’ " error I’m trying to run GUI image generation Python script