Following the landmark general availability launch of Gemini 4 Carbon earlier on November 10, Google rolled out version 3.1.0 for both official client SDKs: JavaScript/TypeScript (@google/genai) and Python (google-genai). The update elevates Gemini Omni 1.2 Flash (gemini-omni-1.2-flash) to the official video CLI/SDK default, introduces autonomous proactiveVideo eventing in the Multimodal Live API, and types gemini-4-carbon directly into the native Model enum.
Until now, bidirectional visual streaming via the Gemini Live API required human conversational initiation: even when users streamed 30fps camera feeds over WebSockets, the model remained passive until an audio speech turn or an explicit text prompt triggered a response. While proactiveAudio (introduced in earlier preview builds) allowed Gemini to filter background babble or jump in when someone finished speaking, streaming camera video remained purely reactive.
With Gen AI SDK v3.1.0, Google introduces proactiveVideo inside ProactivityConfig. When enabled alongside proactiveAudio, the system can autonomously trigger generation turns directly from changes in received video frames—enabling true ambient AI assistants, automated industrial quality-control sentinels, and surgical or mechanical oversight without requiring the user to say a word.
| Component / API | SDK v3.0.0 Behavior | SDK v3.1.0 Behavior | Impact on Developers |
|---|---|---|---|
| Video CLI & SDK Default | gemini-omni-1.1-flash |
gemini-omni-1.2-flash (GA) |
gemini-api video commands and default video processing pipelines automatically use the faster, sharper Omni 1.2 Flash. |
| Live API Proactivity | proactiveAudio?: boolean |
proactiveAudio?: booleanproactiveVideo?: boolean |
Agents can spontaneously generate audio/text insights upon detecting significant visual events in incoming video streams. |
| Interactions Model Enum | Omitted Carbon & Omni 1.2 (required loose string casting) | gemini-4-carbon & gemini-omni-1.2-flash strictly typed |
Full autocomplete, compiler type-checking, and zero string fallback warnings in TypeScript and Python IDEs. |
| Enterprise Embeddings Telemetry | Generic embedding return | usageMetadata (including trafficType) & truncated flag |
Auditing visibility for provisioned vs. on-demand traffic and detection of silent input truncation on massive documents. |
| Documentation Endpoints | Redirected to legacy ai.google.dev |
Direct routing to aistudio.google.com/docs |
Unified API reference directly inside Google AI Studio workspace. |
In SDK v3.1.0, Google officially promotes gemini-omni-1.2-flash to the default model for the gemini-api video CLI command and native video analysis helpers (commit cd31e9f in JS, 8e9cce3 in Python). The previous default, gemini-omni-1.1-flash, as well as gemini-omni-flash-preview, remain fully available via explicit --model flags.
// In @google/genai v3.1.0:
// gemini-omni-1.2-flash is now natively typed in the Model enum:
export type Model =
| "gemini-3.7-flash"
| "gemini-3.8-flash"
| "gemini-4-argon"
| "gemini-4-carbon"
| "gemini-omni-1.2-flash"
| "gemini-omni-1.1-flash"
| ...
proactiveVideo: Autonomous Vision EventingThe headline feature of v3.1.0 is the addition of proactiveVideo to the ProactivityConfig interface (commit 2164fe7 in JS, 97d0678 in Python). Google's official type definition documents the behavior and architectural prerequisites:
export interface ProactivityConfig {
/** If enabled, allows the model to ignore out-of-context speech or stay
silent if the user did not make a request yet. */
proactiveAudio?: boolean;
/** If enabled, the system might trigger a generation on each received
image. This requires that `proactiveAudio` is enabled. The rate
of generation depends on the rate of incoming images and can cause a
significant increase in cost. */
proactiveVideo?: boolean;
}
Enabling proactiveVideo turns video streaming into an active generation trigger. Because each video frame is evaluated for conversational salience, developers streaming 10–30 fps can incur rapid token burns if frame sampling is unthrottled. Google recommends client-side frame subsampling (e.g., 1–2 fps for ambient monitoring, or event-driven keyframe bursts) when proactiveVideo: true is active.
With Gemini 4 Carbon reaching General Availability on November 10, v3.1.0 updates the Model enum across both SDKs to include gemini-4-carbon natively. Developers using client.interactions.create() can now pass model: "gemini-4-carbon" without casting through string & {}, unlocking full type completion for tunable thinking levels (low, medium, high) and multi-turn interaction loops.
For enterprise developers building massive RAG pipelines and vector indices, commit 81d42ca surfaces two critical fields on EmbedContentResponse:
truncated?: boolean: Signals whether an ingested document exceeded the embedding model's context ceiling and was silently truncated before vector generation.usageMetadata.trafficType?: TrafficType: Telemetry identifying whether the embedding request was processed via standard shared infrastructure, provisioned throughput, or batch billing.