Install
openclaw skills install grok-api-search使用 Grok API 进行网络搜索。默认使用中转端点节省成本。
openclaw skills install grok-api-search使用 Grok 模型的网络搜索能力,获取实时信息。默认使用中转 API 端点,成本更低。
中转 API 是第三方提供的 API 代理服务,相比官方 API 有以下优势:
apipro.maynor1024.live(默认)
网站:https://apipro.maynor1024.live/
方式一:使用中转 API(推荐)
export GROK_API_KEY="your-api-key"
获取 API Key:
方式二:使用官方 xAI API
export GROK_API_KEY="your-xai-api-key"
export GROK_API_URL="https://api.x.ai/v1"
获取方式:访问 https://console.x.ai/
注意:官方 API 需要科学上网。
方式三:使用其他中转服务
支持任何 OpenAI 兼容的中转服务:
export GROK_API_KEY="your-api-key"
export GROK_API_URL="https://your-proxy.com/v1"
./grok-search.sh "搜索内容"
A: 选择可信的中转服务很重要。apipro.maynor1024.live 是社区常用的中转服务。
A:
A: 完全支持!Grok 对中文理解很好。