Skip to content

Latest commit

 

History

History

gemini-2

Gemini 2.0 Cookbook

This is a collection of examples and quickstarts for using the experimental Gemini 2.0 Flash model.

To learn about what’s new in the 2.0 model release and the new Google GenAI SDKs, check out the Gemini 2.0 model page. To start experimenting with the model now, head to Google AI Studio for prompting or to the Multimodal Live API demo to try the new Live capabilities.

Contents

Explore Gemini 2.0’s capabilities through the following notebooks using Google Colab.

Or explore on your own local machine.

  • Live API starter script - A locally runnable Python script using GenAI SDK that supports streaming audio + video (camera or screen) in and audio from your machine

Also find websocket-specific examples in the websockets directory.