hot.dev/gemini — Google Gemini API bindings for Hot. Includes GenerateContent, Models, Embeddings, Files, Cached Content, and Image Generation (Imagen) APIs.
Add to your project
"hot.dev/gemini": "1.0.4"
Add this to your deps in hot.hot
Namespaces
::gemini
| Namespace | Functions | Types | Description |
|---|---|---|---|
::api | 2 | 1 | Make an authenticated HTTP request to the Gemini API. |
::cachedcontents | 5 | 32 | List cached contents. |
::chat | 11 | 13 | Generate content (non-streaming). |
::files | 4 | 14 | Get metadata for a specific uploaded file by its resource name. |
::images | 5 | 6 | Generate images using Imagen model. |
::models | 7 | 61 | List available Gemini models. |