Belajar Python
Belajar Python
The Gemini API gives you access to Gemini models created by Google DeepMind. Gemini
models are built from the ground up to be multimodal, so you can reason seamlessly
across text, images, code, and audio.
• Use a quickstart for Python, or call the REST API using curl.
• Play with Gemini multimodal outputs, mixing text and images in an iterative way.
• Learn how to analyze images and detect items in your pictures using Gemini (bonus,
there's a 3D version as well!).
• Unlock the power of Gemini thinking model, capable of solving complex task with its
inner thoughts.
• Create illustrations based on a whole book using Gemini large context window and
Imagen.
To learn more, check out the Gemini cookbook or visit the Gemini API documentation.
Colab now has AI features powered by Gemini. The video below provides information on
how to use these features, whether you're new to Python, or a seasoned veteran.
What is Colab?
Colab, or "Colaboratory", allows you to write and execute Python in your browser, with
• Easy sharing
Whether you're a student, a data scientist or an AI researcher, Colab can make your work
easier. Watch Introduction to Colab or Colab Features You May Have Missed to learn more,
or just get started below!
Getting started
The document you are reading is not a static web page, but an interactive environment
called a Colab notebook that lets you write and execute code.
For example, here is a code cell with a short Python script that computes a value, stores it
in a variable, and prints the result: