https://drive.google.com/file/d/16S7xGLkFpyDhjJtut7DvRoouePbO9dti/view?usp=drivesdk
This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/c71ad746-9d0c-4ae4-9769-51362d23f5b0
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - Run the app:
npm run dev
where to get gemini api key
You can get a Gemini API key by visiting Google AI Studio and signing in with your Google account. [1]
Steps to Generate Your Key
- Go to Google AI Studio.
- Sign in with your Google account.
- Accept the terms of service if prompted.
- Click Get API key in the lower-left or upper-left corner of the sidebar.
- Click Create API key.
- Choose an existing Google Cloud project or let the system create a default project for you.
If you'd like, let me know:
- What programming language or framework you plan to use
- Whether you need help setting up environment variables for security
I can provide a quick code snippet to test your new key!
0 Comments