{{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:

BlockingQueue Applications

Java BlockingQueue is a versatile data structure that can be used in various real-time scenarios where multiple threads need to communicate ...