You have to be granted access to models in order to access models. Some of that is requisite on having a paying account instead of a free trial, and for some that are newly released, models have come to those with higher account tiers first.
You can check your “limits” page in your platform.openai.com account, and see if the model you are attempting to interact with is even listed there. Then also follow links to read about and view your account’s current tier.
You can either “level up”, or wait for features to “level down”. I’m not sure where dall-e-3 is right now except for my own account.
It’s a paid account
I have a $120 limit for now. (Tier 4 if that helps)
As for the models, at first I tired to use Dalle 3, didn’t work. So I tired Dalle 2 and still didn’t work dispite that actually being usable for me.
I will try to go for the level up part but I feel like I’d do that easier with Dalle 3 rather than 2.
along with whatever openai says you can use from https://platform.openai.com/account/rate-limits, you can also call the openai.models.list() endpoint to see what all models are available to you, and also to double-check that your typing the model name correctly:
my_key = "sk-..."
openai.api_key = my_key
my_models = openai.models.list()
models_list = my_models.data
dalle_models = [model for model in models_list if 'dall-e' in model.id]
for model in dalle_models:
print(model)
this is a little snippet of python code from gpt-4 where if you provide your key, it will retrieve your available models and show you all of the dall-e versions you can access. For me, I get:
in some fashion to install the sdk in your environment. You might try following a youtube tutorial with a follow-along code notebook with examples. That’s how I got started from someone who knew zero python, and now I… sort of know a little bit of what I’m doing .
A lot of them were James Briggs, who is a Dev Advocate at Pinecone. None of them dealt with Dall-e, so while his videos are good for foundational topics, I don’t know how relevant they are for your use case. Also, any video older than Nov 6 is now slightly out of date due to the SDK update rolled out at DevDay.