Install
openclaw skills install minimax-videoClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.
Use Zhipu (智谱) web search API for searching the internet. Use when user asks for web search, latest news, or needs current information.
openclaw skills install minimax-videoUse Zhipu's web search API to search the internet.
This skill requires MINIMAX_API_KEY environment variable to be set before use.
# Set API key as environment variable
export MINIMAX_API_KEY="your_api_key"
Get your API key from: https://www.bigmodel.cn/usercenter/proj-mgmt/apikeys
export MINIMAX_API_KEY="your_key"
curl -s -X POST "https://open.bigmodel.cn/api/paas/v4/chat/completions" \
-H "Authorization: Bearer $MINIMAX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-4-flash",
"messages": [{"role": "user", "content": "搜索: YOUR_QUERY"}],
"tools": [{"type": "web_search", "web_search": {"search_query": "YOUR_QUERY"}}]
}' | jq -r '.choices[0].message.content'
export MINIMAX_API_KEY="your_key"
./search.sh "搜索内容"
ps aux
https://open.bigmodel.cn (official Zhipu API)| Feature | Implementation |
|---|---|
| JSON escaping | jq --arg prevents injection |
| Input validation | Query length ≤500 chars |
| TLS | Force TLS 1.2+ |
| Error handling | Generic messages, no leaks |
| Timeout | 30 second curl timeout |
Official: https://open.bigmodel.cn/api/paas/v4/chat/completions