The xAI Enterprise gRPC API is a robust, high-performance gRPC interface designed for seamless integration into existing systems.
The base url for all services is at api.x.ai. For all services, you have to authenticate with the header Authorization: Bearer <your xAI API key>.
Visit xAI API Protobuf Definitions to view and download our protobuf definitions.
Image Service
Proto file: xai/api/v1/image.proto
Service: xai_api.Image
Auth Service
Proto file: xai/api/v1/auth.proto
Service: xai_api.Auth