Install
openclaw skills install pixelhub-api-toolsUse for Pixelhub API direct calls when users need image generation/editing, video generation/post-processing, or audio/music generation.
openclaw skills install pixelhub-api-toolsThis is a generic public skill package. It does not include any API key by default.
PENDING_USER_API_KEYhttps://www.pixellelabs.com/https://www.pixellelabs.com/user/api-keyspixelhub_api_runner.py (same folder as this SKILL.md)3.11+When this skill is used for the first time, the AI should follow this setup flow:
https://www.pixellelabs.com/.DEFAULT_API_KEY in pixelhub_api_runner.py.PENDING_USER_API_KEY to API_KEY_ADDED.Do not invent an API key. Do not switch to curl, manual HTTP requests, or any non-Python fallback.
Once the user's API key has been added, use the Python runner directly.
Runner order:
python -X utf8 "pixelhub_api_runner.py" toolspython -X utf8 "pixelhub_api_runner.py" tools --tool "grok_generate_image"python -X utf8 "pixelhub_api_runner.py" tools --tool "grok_generate_image" --tool "grok_video_i2v"python -X utf8 "pixelhub_api_runner.py" execute --tool "<tool_name>" --params '{...}'run to submit and get task_idpoll --task-id <task_id> for custom timeout or intervalPrefer execute for one-shot tasks when using runner.
Before using this skill, make sure Python is available locally.
python --version3.11+# List tool names grouped by category
python -X utf8 "pixelhub_api_runner.py" tools
# Show one tool's detailed params
python -X utf8 "pixelhub_api_runner.py" tools --tool "grok_generate_image"
# Show multiple tools' detailed params
python -X utf8 "pixelhub_api_runner.py" tools --tool "grok_generate_image" --tool "grok_video_i2v"
# Execute and wait
python -X utf8 "pixelhub_api_runner.py" execute --tool "z_image_turbo_mcp" --params '{"text":"cinematic portrait","width":1024,"height":1024}'
tools without --tool returns grouped tool names by category only.tools --tool "..." returns detailed params for the specified tool.--tool to inspect multiple tools in one command.tools and fix params.