How do i get an open ai api key which is compatible with chatgpt-4 vision and dallE3

what type of costs are involved usually and what is the reason one needs an api key - am only asking because a digital product i bought requires me to have one

the api keys work with all models by default. in your code you just have to specify with model you want to use and pass it what you need. the new gpt4o and gpt4o-mini are multimodal meaning they can do all these but you still have to pass things correctly so that it can respond of create the image etc.

I did see under projects there is option to block model(s) so but as I mentioned by default all api keys work with all current models that are available.

1 Like