SuperAPI AI 工具集

agent-tools

智能体与模型

查看项目

更新于 10-16 02:24

技能介绍

用途

agent-tools 旨在通过一个统一的命令行工具 inference.sh CLI(命令为 infsh),在云端运行 150 多个 AI 应用,覆盖图像生成、视频创作、大语言模型、搜索、3D 生成与 Twitter/X 自动化等类别,无需本地 GPU。

主要能力

该技能提供的应用类别及示例如下:

  • 图像:FLUX、Gemini 3 Pro、Grok Imagine、Seedream 4.5、Reve、Topaz Upscaler
  • 视频:Veo 3.1、Seedance 1.5、Wan 2.5、OmniHuman、Fabric、HunyuanVideo Foley
  • 大语言模型:Claude Opus/Sonnet/Haiku、Gemini 3 Pro、Kimi K2、GLM-4,以及任意 OpenRouter 模型
  • 搜索:Tavily Search、Tavily Extract、Exa Search、Exa Answer、Exa Extract
  • 3D:Rodin 3D Generator
  • Twitter/X:post-tweet、post-create、dm-send、user-follow、post-like、post-retweet
  • 实用工具:媒体合并、视频字幕、图像拼接、音频提取

使用方式

安装 CLI:

curl -fsSL https://cli.inference.sh | sh
infsh login

安装脚本会检测操作系统与架构,从 dist.inference.sh 下载对应二进制文件,校验 SHA-256 校验和,并将其放入 PATH。它不需要提权、不启动后台进程、不收集遥测;若已安装 cosign,还会自动验证 Sigstore 签名。

手动安装(如不希望直接管道执行):

# Download the binary and checksums
curl -LO https://dist.inference.sh/cli/checksums.txt
curl -LO $(curl -fsSL https://dist.inference.sh/cli/manifest.json | grep -o '"url":"[^"]*"' | grep $(uname -s | tr A-Z a-z)-$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') | head -1 | cut -d'"' -f4)
# Verify checksum
sha256sum -c checksums.txt --ignore-missing
# Extract and install
tar -xzf inferencesh-cli-*.tar.gz
mv inferencesh-cli-* ~/.local/bin/inferencesh

快速示例:

# Generate an image
infsh app run falai/flux-dev-lora --input '{"prompt": "a cat astronaut"}'

# Generate a video
infsh app run google/veo-3-1-fast --input '{"prompt": "drone over mountains"}'

# Call Claude
infsh app run openrouter/claude-sonnet-45 --input '{"prompt": "Explain quantum computing"}'

# Web search
infsh app run tavily/search-assistant --input '{"query": "latest AI news"}'

# Post to Twitter
infsh app run x/post-tweet --input '{"text": "Hello from AI!"}'

# Generate 3D model
infsh app run infsh/rodin-3d-generator --input '{"prompt": "a wooden chair"}'

常用命令:

  • 列出所有应用:infsh app list
  • 搜索应用:infsh app list --search "flux"
  • 按类别筛选:infsh app list --category image
  • 获取应用详情:infsh app get google/veo-3-1-fast
  • 生成示例输入:infsh app sample google/veo-3-1-fast --save input.json
  • 运行应用:infsh app run google/veo-3-1-fast --input input.json
  • 不等待运行:infsh app run <app> --input input.json --no-wait
  • 查看任务状态:infsh task get <task-id>

相关技能

# Image generation (FLUX, Gemini, Grok, Seedream)
npx skills add inference-sh/skills@ai-image-generation

# Video generation (Veo, Seedance, Wan, OmniHuman)
npx skills add inference-sh/skills@ai-video-generation

# LLMs (Claude, Gemini, Kimi, GLM via OpenRouter)
npx skills add inference-sh/skills@llm-models

# Web search (Tavily, Exa)
npx skills add inference-sh/skills@web-search

# AI avatars & lipsync (OmniHuman, Fabric, PixVerse)
npx skills add inference-sh/skills@ai-avatar-video

# Twitter/X automation
npx skills add inference-sh/skills@twitter-automation

# Model-specific
npx skills add inference-sh/skills@flux-image
npx skills add inference-sh/skills@google-veo

# Utilities
npx skills add inference-sh/skills@image-upscaling
npx skills add inference-sh/skills@background-removal

适用场景

需要在命令行或自动化流程中调用多种云端 AI 能力(图像、视频、LLM、搜索、3D、社媒自动化),且希望避免管理 GPU 环境的开发者与用户。

限制

资料未提供价格、免费额度、速率限制、具体平台要求等信息。