AbsoluteJS

@absolutejs/voice-gemini

@absolutejs/voice-geminiv0.0.1-beta.44betaVoice & Media

Gemini Live realtime adapter for @absolutejs/voice

#Installation

BASH
bun add @absolutejs/voice-gemini

#Capabilities

Overview

Gemini Live realtime adapter for @absolutejs/voice.

The adapter targets the Google AI Gemini Live WebSocket API and normalizes input transcripts, output transcripts, assistant audio, turn completion, and errors into the shared RealtimeAdapter contract.

Outcomes

What you can build

Build on the supported package contract

Use @absolutejs/voice-gemini through its supported public entry points.

Hardening checklist

Production guidance

Make every external boundary explicitPin the deployed @absolutejs/voice-gemini version, replace example or memory-backed dependencies with durable implementations, bound external calls, protect credentials, and emit enough evidence to retry or recover safely.

Follow in order

Troubleshooting path

1
Trace from the first failed boundary
Reproduce the smallest canonical @absolutejs/voice-gemini example, confirm the supported entry point and version in the API explorer, then inspect the first boundary that did not produce its documented result.

#@absolutejs/voice-gemini quick start

Partial snippet

# @absolutejs/voice-gemini

TS
import { gemini } from "@absolutejs/voice-gemini";

const realtime = gemini({
  apiKey: process.env.GEMINI_API_KEY!,
  model: "gemini-2.5-flash-native-audio-preview-12-2025",
});

#Public entry points

Supported entry points declared by this package manifest.

Package entry point declared in package.json.

@absolutejs/voice-gemini@absolutejs/voice-gemini/manifest@absolutejs/voice-gemini/manifest.json

#Package commands

Scripts declared by this package manifest.

bun run buildrm -rf dist && bun build ./src/index.ts ./src/manifest.ts --outdir dist --target bun --external @absolutejs/manifest --external '@absolutejs/manifest/*' --external @absolutejs/voice --external '@absolutejs/voice/*' --external @sinclair/typebox --external '@sinclair/typebox/*' && tsc --emitDeclarationOnly --project tsconfig.json && absolute-manifest emit
bun run check:packagebun run format && bun run typecheck && bun run test && bun run verify-package && bun run build && bun run verify-package --artifacts
bun run formatprettier --write "./**/*.{js,ts,json,md}"
bun run testbun test
bun run typecheckbun run tsc --noEmit

#API reference

Search the declarations exported by the current package type files. Expand a symbol to inspect its source-backed signature.

5 symbols
geminiexportPermalinkSource
TS
gemini
Exported from @absolutejs/voice-gemini