Downloading Gemini API Code
Here's how:
Getting Your Gemini & OpenAI API Keys (Simple Guide)
You are not downloading a program. You are getting a key (like a password) that lets Lunera talk to AI services.
PART 1 — Gemini (Google AI)
Step 1 — Go to: https://aistudio.google.com/
Sign in with your Google account.
Step 2 — Create your API Key:
Click 'Get API Key' → 'Create API Key' → Copy it and save it somewhere safe.
Step 3 — That’s it (for Lunera users). No SDK (Software Development Kit) install needed unless you are coding.
Optional (Developers Only)
JavaScript:
npm install @google/genai
Python:
pip install -U google-genai
PART 2 — OpenAI API
Important: A ChatGPT subscription does NOT give you an API key automatically.
Step 1 — Go to: https://platform.openai.com/
Step 2 — Create API Key:
Go to https://platform.openai.com/api-keys → Create new secret key → Copy it.
Step 3 — Add Billing:
Go to https://platform.openai.com/settings/billing and add a payment method.
Summary
Gemini: Get key from Google AI Studio and paste into Lunera.
OpenAI: Create key, add billing, and paste into Lunera.