xAI
xAI is an AI research lab founded by Elon Musk. The xAI API exposes Grok foundation models for chat, function calling, vision, voice, image generation, and video generation, alongside research outputs from the Colossus training supercluster.
APIs
xAI Chat Completions API
Generates conversational completions using Grok foundation models, including multi-turn conversations, function calling, structured outputs, and reasoning. OpenAI-compatible Cha...
xAI Responses API
The Responses API supports text generation, multi-turn conversations, reasoning, tool/function calling, and built-in tools (Live Search, code execution).
xAI Images API
Generates images from text prompts using the Grok Imagine image models. OpenAI-compatible image generation endpoint.
xAI Video Generation API
Generates video from text or image inputs using the Grok Imagine video models, with editing and detailed control options.
xAI Voice API
Realtime voice API supporting speech-to-text, text-to-speech, and bidirectional realtime voice interaction with Grok.
xAI Embeddings API
Generates vector embeddings of text and other inputs for retrieval, classification, and semantic search workflows.
xAI Models API
Lists available Grok models, model capabilities, context windows, and metadata.
xAI Batch API
Submits offline batch jobs of chat or embedding requests at a discount (20-50% off standard rates), with results returned out-of-band. Batch requests do not count toward rate li...