{{theTime}}

Search This Blog

Total Pageviews

Google Gemini AI - How to test the API Key using CURL?

curl \
  -H 'Content-Type: application/json' \
  -d '{"contents":[{"parts":[{"text":"When was Google Gemeni API First Released?"}]}]}' \
  -X POST https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent?key=YOUR_API_KEY

No comments:

Java Sequenced Collection Java Sequenced Collection The Sequenced Collection feature was introduced in Jav...