← 返回
未分类 中文

OpenClaw Infer

Use the OpenClaw `infer` CLI for provider-backed model, image, audio transcription, TTS, video, web-search, and embedding tasks.
使用 OpenClaw `infer` CLI 处理 provider 支持的模型、图像、音频转录、语音合成、视频、网络搜索和嵌入任务。
takhoffman takhoffman 来源
未分类 clawhub v1.0.1 1 版本 100000 Key: 无需
★ 0
Stars
📥 398
下载
💾 0
安装
1
版本
#latest

概述

OpenClaw Infer

Prefer 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.

Setup

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.

Core commands

  • Run text/model calls:
  • openclaw infer model run --prompt "Reply with exactly: smoke-ok" --json
  • openclaw infer model providers --json
  • Generate or inspect images:
  • openclaw infer image generate --prompt "friendly lobster illustration" --json
  • openclaw infer image describe --file ./photo.jpg --json
  • Transcribe audio:
  • openclaw infer audio transcribe --file ./memo.m4a --language en --prompt "Focus on names and action items" --json
  • Synthesize speech:
  • openclaw infer tts convert --text "hello from openclaw" --output ./hello.mp3 --json
  • openclaw infer tts providers --json
  • Generate or inspect video:
  • openclaw infer video generate --prompt "cinematic sunset over the ocean" --json
  • openclaw infer video describe --file ./clip.mp4 --json
  • Search the web:
  • openclaw infer web search --query "OpenClaw docs" --json
  • openclaw infer web providers --json
  • Create embeddings:
  • openclaw infer embedding create --text "friendly lobster" --json
  • openclaw infer embedding providers --json

Selection rules

  • Prefer infer over older wrapper skills or provider-specific CLIs unless the user explicitly asks for that provider or workflow.
  • Prefer explicit --provider or --model provider/model only when the user asks for a specific backend.
  • Keep the command family flat:
  • infer image ...
  • infer audio ...
  • infer tts ...
  • infer video ...
  • infer web ...
  • infer embedding ...

版本历史

共 1 个版本

  • v1.0.1 当前
    2026-05-07 06:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 326,755
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 195 📥 67,533
dev-programming

YouTube

byungkyu
使用托管OAuth集成YouTube Data API,支持搜索视频、管理播放列表、获取频道数据及评论互动,适用于用户需要时使用此技能。
★ 142 📥 41,462