hot.dev/xai — xAI (Grok) API bindings for Hot. Includes Responses (Chat), Models, Collections (RAG), Images, Live Search (Web/X), and Video APIs.
Add to your project
"hot.dev/xai": "1.0.4"
Add this to your deps in hot.hot
Namespaces
::xai
| Namespace | Functions | Types | Description |
|---|---|---|---|
::api | 2 | 1 | Make an authenticated HTTP request to the xAI API. |
::collections | 12 | 11 | Make an HTTP request with Management API Key. |
::images | 6 | 6 | Generate images from a text prompt. |
::models | 2 | 2 | List available models from the xAI API. |
::responses | 11 | 18 | Create a response (non-streaming). |
::search | 5 | 3 | Create a web search tool configuration for the Responses API. |