ESP Component Registry
Open main menu
Docs
Blog
Sign in
plaipin
/xai
0.1.0
Latest
uploaded 5 days ago
Production-ready ESP-IDF component for xAI Grok API - 25+ models, streaming chat, vision, web/X/RSS search, function calling, image generation, and Responses API optimized for ESP32
Readme
Dependencies
2
Dependents
0
Examples
7
Versions
1
basic_chat
This example demonstrates the simplest way to use the xAI ESP32 SDK to send a message to Grok and receive a response. It connects to WiFi, creates an…
Archive size ~ 3.75 KB
conversation
Demonstrates the conversation helper API for managing multi-turn conversations with automatic message history, featuring system prompts for AI…
Archive size ~ 3.14 KB
image_generation
Demonstrates AI-powered text-to-image generation with xAI Grok, allowing users to create multiple image variations using the grok-2-image model while…
Archive size ~ 4.65 KB
streaming_chat
This example demonstrates real-time streaming responses from xAI Grok models using Server-Sent Events (SSE), featuring real-time incremental response…
Archive size ~ 4.36 KB
tools
This example demonstrates client-side tool/function calling where the AI model suggests tools to execute, and the ESP32 executes them locally. It…
Archive size ~ 4.47 KB
vision
Demonstrates image understanding with xAI Grok vision models, featuring image analysis from URLs, multi-image comparison, and multi-modal…
Archive size ~ 3.27 KB
web_search
Demonstrates real-time web/X/news search grounding with citation support, including features such as web search with citations, X (Twitter) search,…
Archive size ~ 3.08 KB