Google Gemini
Instructions for Testing Locally
You can also test your Google Gemini API key from your own machine using curl. This is useful for debugging or when you want to test API key authentication programmatically.
curl -X GET https://generativelanguage.googleapis.com/v1/models?key=AIza... \
-H "Content-Type: application/json"
Direct Google Gemini API request (read-only endpoint) to verify your key configuration.