
Generate videos from text prompts, animate still images, or edit existing videos with natural language. The API supports configurable duration, aspect ratio, and resolution for generated videos — with the SDK handling the asynchronous polling automatically.

Generate images from text prompts with Grok Imagine models. The API supports batch generation of multiple images, and control over aspect ratio and resolution.
Xai flagship model for code and everything else: agentic tool calling, minimal hallucinations, configurable reasoning.

Grok 4.3 is a general-purpose AI model designed for strong reasoning, real-time information processing, and conversational intelligence. It delivers improved accuracy and responsiveness, making it suitable for coding, analysis, and everyday productivity tasks.

Grok 4.20 release introduces a multi-agent architecture (multiple specialized agents coordinated in real time), expanded context modes, and focused improvements to instruction-following, hallucination reduction, and structured/tooled outputs.