xAI API gives developers OpenAI-compatible endpoints for the Grok family of language, vision and image-generation models.