#i tried the image creation in python and got an error

5 messages · Page 1 of 1 (latest)

green gyro
#

please help:)

#

code:

import os
import openai

openai.api_key = "NAUGHTY NAUGHTY;)"
response = openai.Image.create(
    prompt="duck swimming in a lake",
    n=1,
    size="512x512"
)
image_url = response['data'][0]['url']
golden sequoia
#

you have used all your free trial credits

green gyro
#

It was my first time running the application