DEV Community

Cover image for A better Google Gemini API "Hello World!" sample

A better Google Gemini API "Hello World!" sample

Wesley Chun (@wescpy) on February 12, 2024

TL;DR: The Gemini API can be accessed from 2 different Google platforms, so they provide an API QuickStart sample from each platform to ...
Collapse
 
arthur-101 profile image
Saurav Kumar

Thanks for making this documentation. I wanted to check out the AI/ML world, and was looking for something like this. This post of yours really, really, really helped with that. (Fun Fact : I joined dev.to just today). Thanks again!!

Collapse
 
wescpy profile image
Wesley Chun (@wescpy)

Congrats Saurav, welcome to the community, and glad the sample really, really, really helped! :-) If you are new to AI/ML, Google (Cloud/GCP) has other tools you can consider: APIs backed by pre-trained models. As long as you (a developer) can call an API, you can leverage the power of machine learning, even if you're new to it. I gave a quick half-hour seminar on it a few years ago: youtu.be/ja4E9Dzr0Gw Hope that helps too!

Collapse
 
arthur-101 profile image
Saurav Kumar

Yeah, Thanks!

Collapse
 
anammari profile image
Ahmad Ammari

Thanks for sharing!
We access Gemini Ultra through the Gemini chatbot (formerly Bard) but is there a way to access Gemini Ultra through the API?

Collapse
 
wescpy profile image
Wesley Chun (@wescpy)

According to the documention at ai.google.dev/models/gemini Gemini Ultra is not available via API yet, but if it does, it will show up on this page, so stay tuned!