API
Gemini AI cURL Integration
Use cURL to integrate Gemini AI with Helicone to log your Gemini AI usage.
Proxy Integration
1
2
Create Google Generative AI API Key
Visit the Google Generative AI API Key page. Follow the instructions to create a new API key. Make sure to save the key as you will need it for the next steps.
3
Set API keys as environment variables
4
Send a request using cURL
Use the following cURL command to send a request to the Google Generative AI API through the Helicone proxy:
Was this page helpful?