official doc https://ai.google.dev/gemini-api/docs/get-started/tutorial?lang=python&hl=zh-cn and key for free <https://aistudio.google.com/app/apikey>