Install the belt CLI skill: npx skills add belt-sh/cli
Run AI apps in the cloud with a simple CLI. No GPU required.
Install CLI
curl -fsSL https://cli.inference.sh | sh
belt login
Agents / non-interactive shells: belt login --key <api-key>, or set INFSH_API_KEY (read on every command, no login needed).
Without a TTY, belt login prints a URL; the browser then shows a claim code. Run belt login --code <code> on the same machine within 5 minutes.
What does the installer do? The install script 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 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
belt app run falai/flux-dev-lora --input '{"prompt": "a cat astronaut"}'
# Generate a video
belt app run google/veo-3-1-fast --input '{"prompt": "drone over mountains"}'
# Call Claude
belt app run openrouter/claude-sonnet-45 --input '{"prompt": "Explain quantum computing"}'
# Web search
belt app run tavily/search-assistant --input '{"query": "latest AI news"}'
# Post to Twitter
belt app run x/post-create --input '{"text": "Hello from AI!"}'
# Generate 3D model
belt 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
belt app run falai/topaz-image-upscaler --input '{"image": "/path/to/photo.jpg", "upscale_factor": 2}'
# Image-to-video from local file
belt app run falai/wan-2-5-i2v --input '{"image": "./my-image.png", "prompt": "make it move"}'
# Avatar with local audio and image
belt app run bytedance/omnihuman-1-5 --input '{"audio": "/path/to/speech.mp3", "image": "/path/to/face.jpg"}'
# Post tweet with local media
belt app run x/post-create --input '{"text": "Check this out!", "media": ["./screenshot.png"]}'
Commands
| Task |
Command |
| Browse the app store |
belt app list |
| Search the store |
belt app search "flux" |
| Filter by category |
belt app list --category image |
| List your apps |
belt app list |
| Get app details |
belt app get google/veo-3-1-fast |
| Generate sample input |
belt app sample google/veo-3-1-fast --save input.json |
| Run app |
belt app run google/veo-3-1-fast --input input.json |
| Run without waiting |
belt app run <app> --input input.json --no-wait |
| Check task status |
belt 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 2.0, Wan 2.5, OmniHuman, Fabric, MMAudio |
| 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-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
- Discovering Apps
- Running Apps
- CLI Reference
Documentation
1---2name: infsh-cli-23description: Run AI apps via inference.sh CLI - image generation, video creation, LLMs, search, 3D, Twitter automation. Models: FLUX, Veo, Gemini, Grok, Claude, Seedance, OmniHuman, Tavily, Exa, OpenRouter, and many more. Use when running AI apps, generating images/videos, calling LLMs, web search, or automating Twitter. Triggers: 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, grok4---56> **Install the belt CLI skill:** `npx skills add belt-sh/cli`78# [inference.sh](https://inference.sh)910Run AI apps in the cloud with a simple CLI. No GPU required.1112](https://cloud.inference.sh/app/files/u/4mg21r6ta37mpaz6ktzwtt8krr/01kgjw8atdxgkrsr8a2t5peq7b.jpeg)1314## Install CLI1516```bash17curl -fsSL https://cli.inference.sh | sh18belt login19```2021Agents / non-interactive shells: `belt login --key <api-key>`, or set `INFSH_API_KEY` (read on every command, no login needed).22Without a TTY, `belt login` prints a URL; the browser then shows a claim code. Run `belt login --code <code>` on the same machine within 5 minutes.2324> **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.25>26> **Manual install** (if you prefer not to pipe to sh):27> ```bash28> # Download the binary and checksums29> curl -LO https://dist.inference.sh/cli/checksums.txt30> 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)31> # Verify checksum32> sha256sum -c checksums.txt --ignore-missing33> # Extract and install34> tar -xzf inferencesh-cli-*.tar.gz35> mv inferencesh-cli-* ~/.local/bin/inferencesh36> ```3738## Quick Examples3940```bash41# Generate an image42belt app run falai/flux-dev-lora --input '{"prompt": "a cat astronaut"}'4344# Generate a video45belt app run google/veo-3-1-fast --input '{"prompt": "drone over mountains"}'4647# Call Claude48belt app run openrouter/claude-sonnet-45 --input '{"prompt": "Explain quantum computing"}'4950# Web search51belt app run tavily/search-assistant --input '{"query": "latest AI news"}'5253# Post to Twitter54belt app run x/post-create --input '{"text": "Hello from AI!"}'5556# Generate 3D model57belt app run infsh/rodin-3d-generator --input '{"prompt": "a wooden chair"}'58```5960## Local File Uploads6162The CLI automatically uploads local files when you provide a path instead of a URL:6364```bash65# Upscale a local image66belt app run falai/topaz-image-upscaler --input '{"image": "/path/to/photo.jpg", "upscale_factor": 2}'6768# Image-to-video from local file69belt app run falai/wan-2-5-i2v --input '{"image": "./my-image.png", "prompt": "make it move"}'7071# Avatar with local audio and image72belt app run bytedance/omnihuman-1-5 --input '{"audio": "/path/to/speech.mp3", "image": "/path/to/face.jpg"}'7374# Post tweet with local media75belt app run x/post-create --input '{"text": "Check this out!", "media": ["./screenshot.png"]}'76```7778## Commands7980| Task | Command |81|------|---------|82| Browse the app store | `belt app list` |83| Search the store | `belt app search "flux"` |84| Filter by category | `belt app list --category image` |85| List your apps | `belt app list` |86| Get app details | `belt app get google/veo-3-1-fast` |87| Generate sample input | `belt app sample google/veo-3-1-fast --save input.json` |88| Run app | `belt app run google/veo-3-1-fast --input input.json` |89| Run without waiting | `belt app run <app> --input input.json --no-wait` |90| Check task status | `belt task get <task-id>` |9192## What's Available9394| Category | Examples |95|----------|----------|96| **Image** | FLUX, Gemini 3 Pro, Grok Imagine, Seedream 4.5, Reve, Topaz Upscaler |97| **Video** | Veo 3.1, Seedance 2.0, Wan 2.5, OmniHuman, Fabric, MMAudio |98| **LLMs** | Claude Opus/Sonnet/Haiku, Gemini 3 Pro, Kimi K2, GLM-4, any OpenRouter model |99| **Search** | Tavily Search, Tavily Extract, Exa Search, Exa Answer, Exa Extract |100| **3D** | Rodin 3D Generator |101| **Twitter/X** | post-create, dm-send, user-follow, post-like, post-retweet |102| **Utilities** | Media merger, caption videos, image stitching, audio extraction |103104## Related Skills105106```bash107# Image generation (FLUX, Gemini, Grok, Seedream)108npx skills add inference-sh/skills@ai-image-generation109110# Video generation (Veo, Seedance, Wan, OmniHuman)111npx skills add inference-sh/skills@ai-video-generation112113# LLMs (Claude, Gemini, Kimi, GLM via OpenRouter)114npx skills add inference-sh/skills@llm-models115116# Web search (Tavily, Exa)117npx skills add inference-sh/skills@web-search118119# AI avatars & lipsync (OmniHuman, Fabric, PixVerse)120npx skills add inference-sh/skills@ai-avatar-video121122# Twitter/X automation123npx skills add inference-sh/skills@twitter-automation124125# Model-specific126npx skills add inference-sh/skills@flux-image127npx skills add inference-sh/skills@google-veo128129# Utilities130npx skills add inference-sh/skills@image-upscaling131npx skills add inference-sh/skills@background-removal132```133134## Reference Files135136- [Authentication & Setup](references/authentication.md)137- [Discovering Apps](references/app-discovery.md)138- [Running Apps](references/running-apps.md)139- [CLI Reference](references/cli-reference.md)140141## Documentation142143- [Agent Skills Overview](https://inference.sh/blog/skills/skills-overview) - The open standard for AI capabilities144- [Getting Started](https://inference.sh/docs/getting-started/introduction) - Introduction to inference.sh145- [What is inference.sh?](https://inference.sh/docs/getting-started/what-is-inference) - Platform overview146- [Apps Overview](https://inference.sh/docs/apps/overview) - Understanding the app ecosystem147- [CLI Setup](https://inference.sh/docs/extend/cli-setup) - Installing the CLI148- [Workflows vs Agents](https://inference.sh/blog/concepts/workflows-vs-agents) - When to use each149- [Why Agent Runtimes Matter](https://inference.sh/blog/agent-runtime/why-runtimes-matter) - Runtime benefits150