How to use OpenAI with or without an API key

If I enter my openai API key I get varying error messages

If I try to use preview without an API key I get this

However I have credit

Hey, it looks like you’re trying to provide an image in a chat with a model that doesn’t support it.