curl https://generativelanguage.googleapis.com/v1beta/models/gemini-1.0-pro:generateContent -H “Content-Type: application/json” -H “X-Goog-Api-Key: my_google_api_key” -d ‘{“generationConfig”:{},“safetySettings”:,“contents”:[{“role”:“user”,“parts”:[{“text”:“Testing. Just say hi and nothing else.”}]}]}’
This is cursor curl command for verifying gemini API key.
But google didn’t support gemini-1.0-pro anymore.
And there is no way to change above curl command.