infsh-cli
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseRun 250+ AI apps in the cloud with a simple CLI. No GPU required.

通过简单的CLI在云端运行250+款AI应用,无需GPU。

Install CLI
安装CLI
bash
curl -fsSL https://cli.inference.sh | sh
infsh loginWhat does the installer do? The install script detects your OS and architecture, downloads the correct binary from, verifies its SHA-256 checksum, and places it in your PATH. That's it — no elevated permissions, no background processes, no telemetry. If you have cosign installed, the installer also verifies the Sigstore signature automatically.dist.inference.shManual install (if you prefer not to pipe to sh):bash# 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
bash
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
Quick Examples
快速示例
bash
undefinedbash
undefinedGenerate an image
生成图像
infsh app run falai/flux-dev-lora --input '{"prompt": "a cat astronaut"}'
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"}'
infsh app run google/veo-3-1-fast --input '{"prompt": "drone over mountains"}'
Call Claude
调用Claude
infsh app run openrouter/claude-sonnet-45 --input '{"prompt": "Explain quantum computing"}'
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"}'
infsh app run tavily/search-assistant --input '{"query": "latest AI news"}'
Post to Twitter
发布到Twitter
infsh app run x/post-tweet --input '{"text": "Hello from AI!"}'
infsh app run x/post-tweet --input '{"text": "Hello from AI!"}'
Generate 3D model
生成3D模型
infsh app run infsh/rodin-3d-generator --input '{"prompt": "a wooden chair"}'
undefinedinfsh app run infsh/rodin-3d-generator --input '{"prompt": "a wooden chair"}'
undefinedLocal File Uploads
本地文件上传
The CLI automatically uploads local files when you provide a path instead of a URL:
bash
undefined当你提供文件路径而非URL时,CLI会自动上传本地文件:
bash
undefinedUpscale a local image
放大本地图像
infsh app run falai/topaz-image-upscaler --input '{"image": "/path/to/photo.jpg", "upscale_factor": 2}'
infsh app run falai/topaz-image-upscaler --input '{"image": "/path/to/photo.jpg", "upscale_factor": 2}'
Image-to-video from local file
基于本地图像生成视频
infsh app run falai/wan-2-5-i2v --input '{"image": "./my-image.png", "prompt": "make it move"}'
infsh app run falai/wan-2-5-i2v --input '{"image": "./my-image.png", "prompt": "make it move"}'
Avatar with local audio and image
使用本地音频和图像生成虚拟形象
infsh app run bytedance/omnihuman-1-5 --input '{"audio": "/path/to/speech.mp3", "image": "/path/to/face.jpg"}'
infsh app run bytedance/omnihuman-1-5 --input '{"audio": "/path/to/speech.mp3", "image": "/path/to/face.jpg"}'
Post tweet with local media
发布带本地媒体的推文
infsh app run x/post-create --input '{"text": "Check this out!", "media": "./screenshot.png"}'
undefinedinfsh app run x/post-create --input '{"text": "Check this out!", "media": "./screenshot.png"}'
undefinedCommands
命令
| Task | Command |
|---|---|
| List all apps | |
| Search apps | |
| Filter by category | |
| Get app details | |
| Generate sample input | |
| Run app | |
| Run without waiting | |
| Check task status | |
| 任务 | 命令 |
|---|---|
| 列出所有应用 | |
| 搜索应用 | |
| 按分类筛选 | |
| 获取应用详情 | |
| 生成示例输入 | |
| 运行应用 | |
| 异步运行应用 | |
| 检查任务状态 | |
What's Available
可用应用分类
| Category | Examples |
|---|---|
| Image | FLUX, Gemini 3 Pro, Grok Imagine, Seedream 4.5, Reve, Topaz Upscaler |
| Video | 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, any OpenRouter model |
| Search | 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 |
| Utilities | Media merger, caption videos, image stitching, audio extraction |
| 分类 | 示例 |
|---|---|
| 图像 | 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 |
| 工具类 | 媒体合并、视频加字幕、图像拼接、音频提取 |
Related Skills
相关技能
bash
undefinedbash
undefinedImage generation (FLUX, Gemini, Grok, Seedream)
图像生成(FLUX、Gemini、Grok、Seedream)
npx skills add inference-sh/skills@ai-image-generation
npx skills add inference-sh/skills@ai-image-generation
Video generation (Veo, Seedance, Wan, OmniHuman)
视频生成(Veo、Seedance、Wan、OmniHuman)
npx skills add inference-sh/skills@ai-video-generation
npx skills add inference-sh/skills@ai-video-generation
LLMs (Claude, Gemini, Kimi, GLM via OpenRouter)
大语言模型(通过OpenRouter调用Claude、Gemini、Kimi、GLM)
npx skills add inference-sh/skills@llm-models
npx skills add inference-sh/skills@llm-models
Web search (Tavily, Exa)
网页搜索(Tavily、Exa)
npx skills add inference-sh/skills@web-search
npx skills add inference-sh/skills@web-search
AI avatars & lipsync (OmniHuman, Fabric, PixVerse)
AI虚拟形象与唇同步(OmniHuman、Fabric、PixVerse)
npx skills add inference-sh/skills@ai-avatar-video
npx skills add inference-sh/skills@ai-avatar-video
Twitter/X automation
Twitter/X自动化
npx skills add inference-sh/skills@twitter-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
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
undefinednpx skills add inference-sh/skills@image-upscaling
npx skills add inference-sh/skills@background-removal
undefinedReference Files
参考文件
- Authentication & Setup
- Discovering Apps
- Running Apps
- CLI Reference
- 认证与设置
- 发现应用
- 运行应用
- CLI参考
Documentation
文档
- Agent Skills Overview - The open standard for AI capabilities
- Getting Started - Introduction to inference.sh
- What is inference.sh? - Platform overview
- Apps Overview - Understanding the app ecosystem
- CLI Setup - Installing the CLI
- Workflows vs Agents - When to use each
- Why Agent Runtimes Matter - Runtime benefits
- Agent Skills 概述 - AI能力的开放标准
- 快速入门 - inference.sh入门介绍
- 什么是inference.sh? - 平台概述
- 应用概述 - 了解应用生态
- CLI设置 - 安装CLI
- 工作流 vs Agent - 何时使用各自
- 为什么Agent运行时很重要 - 运行时的优势