Google AI Studio is cutting-edge technology research and development center specializing in artificial intelligence
To generate your API key, you can follow the URL.
https://aistudio.google.com/app/apikey
Use this URL to generate a code template using Python or another language.