跳到正文
Andrew Milich· @milichab · X·· 3 小时前AI 评分55
AI 导读

xAI 发布实验性 TypeScript SDK,可通过 npm install @xai-official/sdk 安装,在一个 SDK 内调用最新 Grok 模型获取文本、语音、图像和视频。SDK 还提供运行在其服务器上的工具,包括实时 X 搜索、网页搜索、代码执行和远程 MCP。

正文

Use the new TypeScript SDK for image, video, voice, and text AI

引用eric zakariasson@ericzakariasson
we're releasing an experimental @SpaceXAI typescript sdk! npm install @xai-official/sdk get text, voice, image and video in one sdk, with the latest grok models and tools that run on our servers, like real-time X search, web search, code execution and remote mcp
在 X 查看被引用的帖子

来源:Andrew Milich · x.com