# Google Gemini API Cookbook Reference
**Source:** https://github.com/google-gemini/cookbook
**Cloned:** 2025-10-09
**Purpose:** Comprehensive reference of all recipes, examples, and quickstarts from the official Google Gemini cookbook
---
## Overview
The Gemini API Cookbook provides structured learning paths through quickstarts (step-by-step feature guides) and examples (practical use cases combining multiple features).
**Official Documentation:** https://ai.google.dev/gemini-api/docs
---
## Quickstarts (64 total)
### Core Features
- [Get_started.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started.ipynb) - Basic prompting and multimodal input
- [Get_started_LearnLM.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_LearnLM.ipynb) - LearnLM model introduction
- [Get_started_OpenAI_Compatibility.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_OpenAI_Compatibility.ipynb) - OpenAI compatibility layer
- [Authentication.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Authentication.ipynb) - API key setup
- [Authentication_with_OAuth.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Authentication_with_OAuth.ipynb) - OAuth authentication
- [Models.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Models.ipynb) - Model discovery and capabilities
- [Prompting.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Prompting.ipynb) - Prompt engineering techniques
- [System_instructions.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/System_instructions.ipynb) - System-level instructions
### New Capabilities (Gemini 2+)
- [Get_started_thinking.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_thinking.ipynb) - Thinking models (Gemini 2.5)
- [Get_started_thinking_REST.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_thinking_REST.ipynb) - Thinking via REST API
- [New_in_002.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/New_in_002.ipynb) - Gemini 2.0 features
- [gemini-robotics-er.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/gemini-robotics-er.ipynb) - Robotics spatial understanding
### Content Generation
- [Streaming.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Streaming.ipynb) - Streaming responses
- [Asynchronous_requests.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Asynchronous_requests.ipynb) - Async API calls
- [Function_calling.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Function_calling.ipynb) - Tool use and function calling
- [Code_Execution.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Code_Execution.ipynb) - Execute Python code dynamically
- [JSON_mode.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/JSON_mode.ipynb) - Structured JSON outputs
- [Enum.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Enum.ipynb) - Enumeration handling
### Multimodal Input
- [Audio.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Audio.ipynb) - Audio input processing
- [Video_understanding.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Video_understanding.ipynb) - Video analysis
- [PDF_Files.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/PDF_Files.ipynb) - PDF document processing
- [File_API.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/File_API.ipynb) - File management API
- [Spatial_understanding.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Spatial_understanding.ipynb) - 3D spatial reasoning
### Media Generation
- [Get_started_imagen.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_imagen.ipynb) - Imagen image generation (SDK)
- [Get_started_imagen_rest.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_imagen_rest.ipynb) - Imagen via REST
- [Image_out.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Image_out.ipynb) - Native image generation (Gemini Image/nano banana)
- [Get_started_Veo.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_Veo.ipynb) - Veo video generation (SDK)
- [Get_started_Veo_REST.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_Veo_REST.ipynb) - Veo via REST
- [Get_started_TTS.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_TTS.ipynb) - Text-to-speech synthesis
- [Get_started_LyriaRealTime.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_LyriaRealTime.ipynb) - Lyria music/podcast generation (SDK)
- [Get_started_LyriaRealTime.py](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_LyriaRealTime.py) - Lyria Python implementation
### Live & Real-Time APIs
- [Get_started_LiveAPI.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_LiveAPI.ipynb) - Multimodal Live API overview
- [Get_started_LiveAPI.py](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_LiveAPI.py) - Python Live API client
- [Get_started_LiveAPI_NativeAudio.py](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_LiveAPI_NativeAudio.py) - Native audio Live API
- [Get_started_LiveAPI_tools.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Get_started_LiveAPI_tools.ipynb) - Live API with tools
- [websockets/Get_started_LiveAPI.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/websockets/Get_started_LiveAPI.ipynb) - WebSocket Live API
- [websockets/Get_started_LiveAPI.py](https://github.com/google-gemini/cookbook/blob/main/quickstarts/websockets/Get_started_LiveAPI.py) - WebSocket Python client
- [websockets/Get_started_LiveAPI_tools.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/websockets/Get_started_LiveAPI_tools.ipynb) - WebSocket with tools
- [websockets/Get_started_LyriaRealTime_websockets.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/websockets/Get_started_LyriaRealTime_websockets.ipynb) - Lyria via WebSocket
- [websockets/LiveAPI_streaming_in_colab.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/websockets/LiveAPI_streaming_in_colab.ipynb) - Colab streaming demo
### Advanced Features
- [Grounding.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Grounding.ipynb) - Google Search grounding
- [Search_Grounding.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Search_Grounding.ipynb) - Search-based grounding
- [Caching.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Caching.ipynb) - Context caching
- [Batch_mode.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Batch_mode.ipynb) - Batch processing (50% discount)
- [Counting_Tokens.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Counting_Tokens.ipynb) - Token counting utilities
- [Safety.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Safety.ipynb) - Safety settings configuration
- [Error_handling.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Error_handling.ipynb) - Error handling patterns
### REST API Examples (14 quickstarts)
- [rest/Models_REST.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/rest/Models_REST.ipynb) - Model operations
- [rest/Streaming_REST.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/rest/Streaming_REST.ipynb) - Streaming via REST
- [rest/Function_calling_REST.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/rest/Function_calling_REST.ipynb) - Function calling
- [rest/Function_calling_config_REST.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/rest/Function_calling_config_REST.ipynb) - Function call configuration
- [rest/System_instructions_REST.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/rest/System_instructions_REST.ipynb) - System instructions
- [rest/Prompting_REST.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/rest/Prompting_REST.ipynb) - Prompt engineering
- [rest/Audio_REST.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/rest/Audio_REST.ipynb) - Audio processing
- [rest/Video_REST.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/rest/Video_REST.ipynb) - Video processing
- [rest/Imagen_REST.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/rest/Imagen_REST.ipynb) - Imagen via REST
- [rest/JSON_mode_REST.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/rest/JSON_mode_REST.ipynb) - JSON mode
- [rest/Caching_REST.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/rest/Caching_REST.ipynb) - Context caching
- [rest/Safety_REST.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/rest/Safety_REST.ipynb) - Safety configuration
- [rest/Embeddings_REST.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/rest/Embeddings_REST.ipynb) - Embeddings generation
- [rest/Search_Grounding.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/rest/Search_Grounding.ipynb) - Search grounding
### Templates & Utilities
- [Template.ipynb](https://github.com/google-gemini/cookbook/blob/main/quickstarts/Template.ipynb) - Notebook template
- [file-api/sample.py](https://github.com/google-gemini/cookbook/blob/main/quickstarts/file-api/sample.py) - File API Python sample
---
## Examples (70+ practical use cases)
### AI Agents & Tools
- [Agents_Function_Calling_Barista_Bot.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Agents_Function_Calling_Barista_Bot.ipynb) - Conversational agent
- [Browser_as_a_tool.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Browser_as_a_tool.ipynb) - Web browser integration
- [Search_Wikipedia_using_ReAct.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Search_Wikipedia_using_ReAct.ipynb) - ReAct reasoning pattern
- [LiveAPI_plotting_and_mapping.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/LiveAPI_plotting_and_mapping.ipynb) - Live API + code execution
### Content Creation
- [Book_illustration.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Book_illustration.ipynb) - Generate book illustrations
- [Animated_Story_Video_Generation_gemini.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Animated_Story_Video_Generation_gemini.ipynb) - Animated video creation
- [Story_Writing_with_Prompt_Chaining.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Story_Writing_with_Prompt_Chaining.ipynb) - Multi-step story generation
- [Market_a_Jet_Backpack.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Market_a_Jet_Backpack.ipynb) - Marketing content generation
- [Tag_and_caption_images.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Tag_and_caption_images.ipynb) - Image annotation
- [Working_with_Charts_Graphs_and_Slide_Decks.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Working_with_Charts_Graphs_and_Slide_Decks.ipynb) - Data visualization
### Video Analysis
- [Analyze_a_Video_Classification.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Analyze_a_Video_Classification.ipynb) - Video classification
- [Analyze_a_Video_Historic_Event_Recognition.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Analyze_a_Video_Historic_Event_Recognition.ipynb) - Historical event detection
- [Analyze_a_Video_Summarization.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Analyze_a_Video_Summarization.ipynb) - Video summarization
- [Apollo_11.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Apollo_11.ipynb) - Historical video analysis
### Embeddings & Search
- [Embeddings.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Embeddings.ipynb) - Text embeddings basics
- [Classify_text_with_embeddings.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Classify_text_with_embeddings.ipynb) - Text classification
- [clustering_with_embeddings.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/clustering_with_embeddings.ipynb) - Clustering analysis
- [Anomaly_detection_with_embeddings.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Anomaly_detection_with_embeddings.ipynb) - Anomaly detection
- [document_search.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/document_search.ipynb) - Document retrieval
- [Talk_to_documents_with_embeddings.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Talk_to_documents_with_embeddings.ipynb) - Document Q&A
- [Search_reranking_using_embeddings.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Search_reranking_using_embeddings.ipynb) - Search result reranking
- [Search_grounding_for_research_report.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Search_grounding_for_research_report.ipynb) - Research with grounding
### Spatial & Visual Understanding
- [Spatial_understanding_3d.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Spatial_understanding_3d.ipynb) - 3D scene understanding
- [Guess_the_shape.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Guess_the_shape.ipynb) - Shape recognition
- [Virtual_Try_On.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Virtual_Try_On.ipynb) - Virtual try-on application
- [multi_spectral_remote_sensing.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/multi_spectral_remote_sensing.ipynb) - Remote sensing analysis
### Structured Data Extraction
- [Entity_Extraction.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Entity_Extraction.ipynb) - Entity recognition
- [Pdf_structured_outputs_on_invoices_and_forms.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Pdf_structured_outputs_on_invoices_and_forms.ipynb) - Invoice/form parsing
### JSON Capabilities (5 examples)
- [json_capabilities/Entity_Extraction_JSON.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/json_capabilities/Entity_Extraction_JSON.ipynb) - JSON entity extraction
- [json_capabilities/Sentiment_Analysis.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/json_capabilities/Sentiment_Analysis.ipynb) - Sentiment analysis
- [json_capabilities/Text_Classification.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/json_capabilities/Text_Classification.ipynb) - Text classification
- [json_capabilities/Text_Summarization.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/json_capabilities/Text_Summarization.ipynb) - Summarization
- [json_capabilities/README.md](https://github.com/google-gemini/cookbook/blob/main/examples/json_capabilities/README.md) - JSON mode documentation
### Prompting Techniques (12 examples)
- [prompting/Zero_shot_prompting.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/prompting/Zero_shot_prompting.ipynb) - Zero-shot learning
- [prompting/Few_shot_prompting.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/prompting/Few_shot_prompting.ipynb) - Few-shot learning
- [prompting/Chain_of_thought_prompting.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/prompting/Chain_of_thought_prompting.ipynb) - CoT reasoning
- [prompting/Self_ask_prompting.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/prompting/Self_ask_prompting.ipynb) - Self-questioning
- [prompting/Role_prompting.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/prompting/Role_prompting.ipynb) - Role-playing
- [prompting/Adding_context_information.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/prompting/Adding_context_information.ipynb) - Context enhancement
- [prompting/Providing_base_cases.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/prompting/Providing_base_cases.ipynb) - Base case examples
- [prompting/Basic_Classification.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/prompting/Basic_Classification.ipynb) - Classification tasks
- [prompting/Basic_Code_Generation.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/prompting/Basic_Code_Generation.ipynb) - Code generation
- [prompting/Basic_Evaluation.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/prompting/Basic_Evaluation.ipynb) - Evaluation methods
- [prompting/Basic_Information_Extraction.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/prompting/Basic_Information_Extraction.ipynb) - Information extraction
- [prompting/Basic_Reasoning.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/prompting/Basic_Reasoning.ipynb) - Reasoning tasks
- [prompting/README.md](https://github.com/google-gemini/cookbook/blob/main/examples/prompting/README.md) - Prompting guide
### Third-Party Integrations
#### LangChain (5 examples)
- [langchain/Gemini_LangChain_QA_Chroma_WebLoad.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/langchain/Gemini_LangChain_QA_Chroma_WebLoad.ipynb) - Q&A with ChromaDB
- [langchain/Gemini_LangChain_QA_Pinecone_WebLoad.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/langchain/Gemini_LangChain_QA_Pinecone_WebLoad.ipynb) - Q&A with Pinecone
- [langchain/Gemini_LangChain_Summarization_WebLoad.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/langchain/Gemini_LangChain_Summarization_WebLoad.ipynb) - Web summarization
- [langchain/Code_analysis_using_Gemini_LangChain_and_DeepLake.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/langchain/Code_analysis_using_Gemini_LangChain_and_DeepLake.ipynb) - Code analysis
- [langchain/Chat_with_SQL_using_langchain.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/langchain/Chat_with_SQL_using_langchain.ipynb) - SQL database chat
- [langchain/README.md](https://github.com/google-gemini/cookbook/blob/main/examples/langchain/README.md) - LangChain guide
#### LlamaIndex (2 examples)
- [llamaindex/Gemini_LlamaIndex_QA_Chroma_WebPageReader.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/llamaindex/Gemini_LlamaIndex_QA_Chroma_WebPageReader.ipynb) - Web Q&A with Chroma
- [llamaindex/README.md](https://github.com/google-gemini/cookbook/blob/main/examples/llamaindex/README.md) - LlamaIndex guide
#### Vector Databases
- [chromadb/Vectordb_with_chroma.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/chromadb/Vectordb_with_chroma.ipynb) - ChromaDB integration
- [chromadb/README.md](https://github.com/google-gemini/cookbook/blob/main/examples/chromadb/README.md) - ChromaDB guide
- [qdrant/Qdrant_similarity_search.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/qdrant/Qdrant_similarity_search.ipynb) - Qdrant similarity search
- [qdrant/Hybrid_Search_Legal.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/qdrant/Hybrid_Search_Legal.ipynb) - Legal document hybrid search
- [qdrant/Movie_Recommendation.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/qdrant/Movie_Recommendation.ipynb) - Movie recommendations
- [qdrant/README.md](https://github.com/google-gemini/cookbook/blob/main/examples/qdrant/README.md) - Qdrant guide
- [weaviate/personalized_description_with_weaviate_and_gemini_api.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/weaviate/personalized_description_with_weaviate_and_gemini_api.ipynb) - Personalized descriptions
- [weaviate/query-agent-as-a-tool.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/weaviate/query-agent-as-a-tool.ipynb) - Agent with Weaviate
- [weaviate/README.md](https://github.com/google-gemini/cookbook/blob/main/examples/weaviate/README.md) - Weaviate guide
#### MLflow (2 examples)
- [mlflow/MLflow_Observability.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/mlflow/MLflow_Observability.ipynb) - MLflow observability
- [mlflow/README.md](https://github.com/google-gemini/cookbook/blob/main/examples/mlflow/README.md) - MLflow integration guide
#### Google ADK (2 examples)
- [google-adk/Getting_started_with_ADK.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/google-adk/Getting_started_with_ADK.ipynb) - ADK quickstart
- [google-adk/README.md](https://github.com/google-gemini/cookbook/blob/main/examples/google-adk/README.md) - ADK documentation
### Specialized Applications
- [Opossum_search.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Opossum_search.ipynb) - Custom search implementation
- [Translate_a_Public_Domain_Book.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Translate_a_Public_Domain_Book.ipynb) - Book translation
- [Voice_memos.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Voice_memos.ipynb) - Voice memo processing
- [Upload_files_to_Colab.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Upload_files_to_Colab.ipynb) - Colab file upload
- [anomaly_detection.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/anomaly_detection.ipynb) - Anomaly detection
- [fastrtc_ui.py](https://github.com/google-gemini/cookbook/blob/main/examples/fastrtc_ui.py) - FastRTC UI implementation
- [gradio_audio.py](https://github.com/google-gemini/cookbook/blob/main/examples/gradio_audio.py) - Gradio audio interface
- [Google_IO2025_Live_Coding.ipynb](https://github.com/google-gemini/cookbook/blob/main/examples/Google_IO2025_Live_Coding.ipynb) - Google I/O demo
### Platform-Specific
- [Apps_script_and_Workspace_codelab/README.md](https://github.com/google-gemini/cookbook/blob/main/examples/Apps_script_and_Workspace_codelab/README.md) - Google Workspace integration
- [iot/esp32/voice_led_controller/README.md](https://github.com/google-gemini/cookbook/blob/main/examples/iot/esp32/voice_led_controller/README.md) - IoT voice control
---
## JavaScript Quickstarts (6 examples)
- [Get_Started.js](https://github.com/google-gemini/cookbook/blob/main/quickstarts-js/Get_Started.js) - Basic usage
- [Get_started_LearnLM.js](https://github.com/google-gemini/cookbook/blob/main/quickstarts-js/Get_started_LearnLM.js) - LearnLM model
- [Audio.js](https://github.com/google-gemini/cookbook/blob/main/quickstarts-js/Audio.js) - Audio processing
- [Counting_Tokens.js](https://github.com/google-gemini/cookbook/blob/main/quickstarts-js/Counting_Tokens.js) - Token counting
- [File_API.js](https://github.com/google-gemini/cookbook/blob/main/quickstarts-js/File_API.js) - File management
- [Image_out.js](https://github.com/google-gemini/cookbook/blob/main/quickstarts-js/Image_out.js) - Image generation
- [README.md](https://github.com/google-gemini/cookbook/blob/main/quickstarts-js/README.md) - JavaScript quickstarts guide
---
## Key Highlights
### Latest Features (Gemini 2.5 / 2025)
- **Thinking models** - Extended reasoning with intermediate thoughts
- **Gemini Image** - Native image generation (nano banana)
- **Veo** - Video generation model
- **Lyria** - Music and podcast generation
- **Live API** - Real-time multimodal streaming
- **Batch mode** - 50% discount for non-time-sensitive requests
- **Grounding** - Google Search, YouTube, URL context tools
- **Spatial 3D** - Robotics and 3D scene understanding
### SDK Information
**New SDK (v1.0):** `google-genai` (Python) - Full Gemini 2+ support
**Legacy SDK:** `google-generativeai` - Gemini 1.x + limited Gemini 2
**Other Official SDKs:**
- Python, Go, Node.js, Dart/Flutter, Android, Swift
### REST API Support
All features available via REST API (see [quickstarts/rest/](https://github.com/google-gemini/cookbook/tree/main/quickstarts/rest) directory)
---
## Usage Statistics
- **Total Quickstarts:** 64 (52 Python notebooks + 6 JS + 6 Python scripts)
- **Total Examples:** 70+ practical applications
- **REST Guides:** 14 REST-specific tutorials
- **Integration Examples:** LangChain (5), Qdrant (4), Weaviate (3), ChromaDB (2), LlamaIndex (2), MLflow (2)
---
## Related Resources
- **Official Docs:** https://ai.google.dev/gemini-api/docs
- **API Keys:** https://aistudio.google.com/app/apikey
- **Developer Forum:** https://discuss.ai.google.dev/
- **Vertex AI:** https://github.com/GoogleCloudPlatform/generative-ai
- **Cookbook Repository:** https://github.com/google-gemini/cookbook
- **Migration Guide:** https://ai.google.dev/gemini-api/docs/migrate
---
**Last Updated:** 2025-10-09
**Cookbook Commit:** Latest from main branch
**Total Recipes:** 140+ (64 quickstarts + 70+ examples + 6 JS)