Install
openclaw skills install minimax-apiProvides image analysis and description from URLs or local files plus real-time web search using MiniMax's Token Plan API.
openclaw skills install minimax-apiProvides two capabilities via MiniMax's Token Plan API:
API base URL: https://api.minimaxi.com
Analyzes an image and returns a text description.
Input:
image_url: HTTP/HTTPS URL or absolute local file path (e.g., /home/user/photo.png, D:\images\photo.png)prompt: What to ask about the imageOutput: Text description from the VLM.
Script: scripts/minimax_image.py
Usage:
export MINIMAX_API_KEY="your_api_key"
python3 skills/minimax-api/scripts/minimax_image.py \
--prompt "Describe this image briefly" \
--image-url "https://example.com/photo.jpg"
# Or with local file
python3 skills/minimax-api/scripts/minimax_image.py \
--prompt "Extract text from this image" \
--image-url "/home/user/documents/receipt.png"
Performs a web search and returns formatted results.
Input:
query: Search query stringOutput: JSON with organic results, related searches, and metadata.
Script: scripts/minimax_search.py
Usage:
export MINIMAX_API_KEY="your_api_key"
python3 skills/minimax-api/scripts/minimax_search.py \
--query "MiniMax M2.7 release notes"
Required: A MiniMax API key from platform.minimaxi.com.
Set it as an environment variable:
export MINIMAX_API_KEY="your_api_key_here"
Add the above line to your ~/.bashrc (or .zshrc) to make it permanent.
Alternatively, pass --api-key directly on the command line (not recommended — exposes key in shell history).
See references/api_spec.md for full API documentation including request/response schemas, error codes, and headers.