hot.dev/gemini — Google Gemini API bindings for Hot. Includes GenerateContent, Models, Embeddings, Files, Cached Content, and Image Generation (Imagen) APIs.

Version: 1.3.0

Author: Hot Dev

License: Apache-2.0

Add to your project

"hot.dev/gemini": "1.3.0"

Add this to your deps in hot.hot

Namespaces

NamespaceFunctionsTypesDescription
::gemini0—

::gemini

NamespaceFunctionsTypesDescription
::api121Transport for the Gemini API: the `x-goog-api-key` header, the base URL,
::cachedcontents538List cached contents.
::chat1122Generate content (non-streaming).
::chat-tools192Gemini adapter that satisfies the `::ai::chat/run-loop` contract:
::files415Get metadata for a specific uploaded file by its resource name.
::images56Generate images using Imagen model.
::models767List available Gemini models.