Dear Support Team,
I encountered an issue while attempting to generate an image using the
dall-e-3 model as per the latest documentation. After the announcement made on 06/11 regarding image generation capabilities, I tried to use the
dall-e-3 model with the OpenAI Python client. However, I received an error indicating that the model does not exist.
Here is the snippet of the code I used:
from openai import OpenAI client = OpenAI(api_key="XXX") response = client.images.generate( model="dall-e-3", prompt="A cute baby sea otter", n=1, size="1024x1024" )
TypeError: Images.generate() got an unexpected keyword argument ‘model’