Install
openclaw skills install @takhoffman/openclaw-inferUse the OpenClaw `infer` CLI for provider-backed model, image, audio transcription, TTS, video, web-search, and embedding tasks.
openclaw skills install @takhoffman/openclaw-inferPrefer openclaw infer ... as the first-party CLI for inference work.
Use --json when output should be machine-readable or piped into another step. The normal local path does not require the gateway to be running.
Requires binary: openclaw on PATH.
Install if missing:
npm install -g openclaw
Quick verification:
openclaw infer model providers --json
If working from a local OpenClaw checkout instead of a global install, use that checkout's built openclaw CLI.
openclaw infer model run --prompt "Reply with exactly: smoke-ok" --jsonopenclaw infer model providers --jsonopenclaw infer image generate --prompt "friendly lobster illustration" --jsonopenclaw infer image describe --file ./photo.jpg --jsonopenclaw infer audio transcribe --file ./memo.m4a --language en --prompt "Focus on names and action items" --jsonopenclaw infer tts convert --text "hello from openclaw" --output ./hello.mp3 --jsonopenclaw infer tts providers --jsonopenclaw infer video generate --prompt "cinematic sunset over the ocean" --jsonopenclaw infer video describe --file ./clip.mp4 --jsonopenclaw infer web search --query "OpenClaw docs" --jsonopenclaw infer web providers --jsonopenclaw infer embedding create --text "friendly lobster" --jsonopenclaw infer embedding providers --jsoninfer over older wrapper skills or provider-specific CLIs unless the user explicitly asks for that provider or workflow.--provider or --model provider/model only when the user asks for a specific backend.infer image ...infer audio ...infer tts ...infer video ...infer web ...infer embedding ...