#dall-e not working
1 messages · Page 1 of 1 (latest)
having exactly the same issue, for some time now.
Were you able to solve it?
I was able to solve the issue by using the API directly:
https://platform.openai.com/docs/guides/images/usage
My Code:
from openai import OpenAI
client = OpenAI(api_key="INSERT YOUR API KEY HERE")
response = client.images.generate(
model="dall-e-3",
prompt="a white siamese cat",
size="1024x1024",
quality="standard",
n=1,
)
image_url = response.data[0].url
print (image_url)