---
id: sm-infsh-cli
name: "infsh-cli"
url: https://skills.yangsir.net/skill/sm-infsh-cli
author: inferen-sh
domain: ai-dev-tools-workflow
tags: ["cli-tools", "command-line-interface", "devops-automation", "scripting", "infrastructure-management"]
install_count: 93700
rating: 4.70 (2000 reviews)
github: https://github.com/inferen-sh/skills
---

# infsh-cli

> inference.sh提供的命令行接口（CLI）代理技能，赋能DevOps工程师通过API高效管理和自动化操作。

**Stats**: 93,700 installs · 4.7/5 (2000 reviews)

## Before / After 对比

### CLI工具自动化运维效率提升

## Readme

# infsh-cli

# [inference.sh](https://inference.sh)

Run 150+ AI apps in the cloud with a simple CLI. No GPU required.

## Install CLI

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

```

**What does the installer do?** The [install script](https://cli.inference.sh) detects your OS and architecture, downloads the correct binary from `dist.inference.sh`, 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](https://docs.sigstore.dev/cosign/system_config/installation/) installed, the installer also verifies the Sigstore signature automatically.

**Manual install** (if you prefer not to pipe to sh):

```
# 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

```

## Quick Examples

```
# 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"}'

```

## Local File Uploads

The CLI automatically uploads local files when you provide a path instead of a URL:

```
# Upscale a local image
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"}'

# Avatar with local audio and image
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"}'

```

## Commands

Task
Command

List all apps
`infsh app list`

Search apps
`infsh app list --search "flux"`

Filter by category
`infsh app list --category image`

Get app details
`infsh app get google/veo-3-1-fast`

Generate sample input
`infsh app sample google/veo-3-1-fast --save input.json`

Run app
`infsh app run google/veo-3-1-fast --input input.json`

Run without waiting
`infsh app run <app> --input input.json --no-wait`

Check task status
`infsh task get <task-id>`

## 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

## Related Skills

```
# 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

```

## Reference Files

- [Authentication & Setup](https://github.com/inferen-sh/skills/blob/HEAD/tools/infsh-cli/references/authentication.md)

- [Discovering Apps](https://github.com/inferen-sh/skills/blob/HEAD/tools/infsh-cli/references/app-discovery.md)

- [Running Apps](https://github.com/inferen-sh/skills/blob/HEAD/tools/infsh-cli/references/running-apps.md)

- [CLI Reference](https://github.com/inferen-sh/skills/blob/HEAD/tools/infsh-cli/references/cli-reference.md)

## Documentation

- [Agent Skills Overview](https://inference.sh/blog/skills/skills-overview) - The open standard for AI capabilities

- [Getting Started](https://inference.sh/docs/getting-started/introduction) - Introduction to inference.sh

- [What is inference.sh?](https://inference.sh/docs/getting-started/what-is-inference) - Platform overview

- [Apps Overview](https://inference.sh/docs/apps/overview) - Understanding the app ecosystem

- [CLI Setup](https://inference.sh/docs/extend/cli-setup) - Installing the CLI

- [Workflows vs Agents](https://inference.sh/blog/concepts/workflows-vs-agents) - When to use each

- [Why Agent Runtimes Matter](https://inference.sh/blog/agent-runtime/why-runtimes-matter) - Runtime benefits

Weekly Installs68.0KRepository[inferen-sh/skills](https://github.com/inferen-sh/skills)GitHub Stars159First Seen6 days agoSecurity Audits[Gen Agent Trust HubFail](/inferen-sh/skills/infsh-cli/security/agent-trust-hub)[SocketPass](/inferen-sh/skills/infsh-cli/security/socket)[SnykWarn](/inferen-sh/skills/infsh-cli/security/snyk)Installed onclaude-code54.8Kgemini-cli47.5Kcodex47.5Kamp47.5Kkimi-cli47.5Kgithub-copilot47.5K

---
*Source: https://skills.yangsir.net/skill/sm-infsh-cli*
*Markdown mirror: https://skills.yangsir.net/api/skill/sm-infsh-cli/markdown*