Loading...
Loading...
通过inference.sh CLI运行250+款AI应用——涵盖图像生成、视频创作、大语言模型(LLMs)、搜索、3D建模、Twitter自动化等。支持的模型包括FLUX、Veo、Gemini、Grok、Claude、Seedance、OmniHuman、Tavily、Exa、OpenRouter等众多模型。适用于运行AI应用、生成图像/视频、调用LLMs、网页搜索或自动化Twitter操作场景。触发关键词:inference.sh、infsh、ai model、run ai、serverless ai、ai api、flux、veo、claude api、image generation、video generation、openrouter、tavily、exa search、twitter api、grok
npx skill4agent add skillssh/skills infsh-cli
curl -fsSL https://cli.inference.sh | sh
infsh login安装脚本做了什么? 安装脚本会检测你的操作系统和架构,从下载对应的二进制文件,验证其SHA-256校验和,并将其放入你的PATH中。仅此而已——无需提升权限,无后台进程,无遥测数据。如果你安装了cosign,安装脚本还会自动验证Sigstore签名。dist.inference.sh手动安装(如果你不想通过管道执行sh):bash# 下载二进制文件和校验和 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) # 验证校验和 sha256sum -c checksums.txt --ignore-missing # 解压并安装 tar -xzf inferencesh-cli-*.tar.gz mv inferencesh-cli-* ~/.local/bin/inferencesh
# 生成图像
infsh app run falai/flux-dev-lora --input '{"prompt": "a cat astronaut"}'
# 生成视频
infsh app run google/veo-3-1-fast --input '{"prompt": "drone over mountains"}'
# 调用Claude
infsh app run openrouter/claude-sonnet-45 --input '{"prompt": "Explain quantum computing"}'
# 网页搜索
infsh app run tavily/search-assistant --input '{"query": "latest AI news"}'
# 发布到Twitter
infsh app run x/post-tweet --input '{"text": "Hello from AI!"}'
# 生成3D模型
infsh app run infsh/rodin-3d-generator --input '{"prompt": "a wooden chair"}'# 放大本地图像
infsh app run falai/topaz-image-upscaler --input '{"image": "/path/to/photo.jpg", "upscale_factor": 2}'
# 基于本地图像生成视频
infsh app run falai/wan-2-5-i2v --input '{"image": "./my-image.png", "prompt": "make it move"}'
# 使用本地音频和图像生成虚拟形象
infsh app run bytedance/omnihuman-1-5 --input '{"audio": "/path/to/speech.mp3", "image": "/path/to/face.jpg"}'
# 发布带本地媒体的推文
infsh app run x/post-create --input '{"text": "Check this out!", "media": "./screenshot.png"}'| 任务 | 命令 |
|---|---|
| 列出所有应用 | |
| 搜索应用 | |
| 按分类筛选 | |
| 获取应用详情 | |
| 生成示例输入 | |
| 运行应用 | |
| 异步运行应用 | |
| 检查任务状态 | |
| 分类 | 示例 |
|---|---|
| 图像 | 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 |
| 大语言模型(LLMs) | 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 |
| 工具类 | 媒体合并、视频加字幕、图像拼接、音频提取 |
# 图像生成(FLUX、Gemini、Grok、Seedream)
npx skills add inference-sh/skills@ai-image-generation
# 视频生成(Veo、Seedance、Wan、OmniHuman)
npx skills add inference-sh/skills@ai-video-generation
# 大语言模型(通过OpenRouter调用Claude、Gemini、Kimi、GLM)
npx skills add inference-sh/skills@llm-models
# 网页搜索(Tavily、Exa)
npx skills add inference-sh/skills@web-search
# AI虚拟形象与唇同步(OmniHuman、Fabric、PixVerse)
npx skills add inference-sh/skills@ai-avatar-video
# Twitter/X自动化
npx skills add inference-sh/skills@twitter-automation
# 特定模型技能
npx skills add inference-sh/skills@flux-image
npx skills add inference-sh/skills@google-veo
# 工具类技能
npx skills add inference-sh/skills@image-upscaling
npx skills add inference-sh/skills@background-removal