Practical overview
When it fits
Use it to inspect the structure and source of its tutorials, notebooks, demos and examples; use the linked current resources when seeking maintained materials.
Who it is for
- Developers reviewing source materials for Gemini API or Gemma tutorials.
- Readers comparing the repository’s small concept examples with its larger demo apps.
Documented uses
- Browse notebooks and other content used on the generative AI developer site.
- Inspect a larger demo app or a small, single-purpose example.
- Locate the repository’s named current documentation and cookbook destinations.
Requirements & limits
The repository is public and licensed under Apache License 2.0. It is deprecated and no longer maintained.
- Materials are divided into site content and notebooks, larger demos, and smaller single-purpose examples.
- The repository’s stated deprecated and unmaintained status makes its linked current resources relevant for ongoing learning.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Create a text interaction with the Gemini API
Send a text prompt to a Gemini model and print its text response using the Python SDK.
Before you start
- A Gemini API key available as GEMINI_API_KEY.
- The Python Google Gen AI SDK, imported as
from google import genai.
Steps
Create a client with
client = genai.Client().Create an interaction with
client.interactions.create(model="gemini-3.8-flash", input="Explain how AI works in a few words").Print the response with
print(interaction.output_text).
Expected outcome
The example prints the model's text response to the prompt.
Guide limitations
- This recipe follows the documented Python example; no SDK installation procedure is provided here.
- The repository README says the repository is deprecated and no longer maintained; it points to the active Gemini documentation.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 11 October 2026
- Original website title
- google/generative-ai-docs · Official homepage title · retained in its source language
Related options
Gemini Documentation — The repository points to ai.google.dev/gemini-api/docs as the active Gemini API documentation.
Gemini Cookbook — Named by the repository as an active resource.
Gemma Cookbook — Named by the repository as an active resource.

