Hello. I have a Google Cloud account with billing enabled. I created an API key in Google AI Studio for my project myFace. However, the generated key starts with IQ..., not AIza... as stated in your documentation. When I try to use it with the google-generativeai library or the new google-genai SDK, I get an error: API key not valid.
Could you please clarify:
-
Is the
IQ...key format correct for the Gemini API? -
If not, how can I obtain a key starting with
AIza...for the same project that already has a prepaid balance? -
Do I need to enable the API in a different section of the console?
Thank you.