
Inference.sh CLI
FreeRun 150+ AI apps effortlessly from the terminal.
Free · Opens the source repo
What Inference.sh CLI does
Inference.sh CLI allows users to access and run over 150 AI applications directly from the command line, eliminating the need for complex API management or GPU resources. This tool is particularly useful for developers and designers looking to integrate AI functionalities into their workflows without the overhead of setting up individual services. The CLI supports various AI tasks, including image and video generation, AI-powered search, and avatar creation.
To get started, users must install the infsh CLI and authenticate their session. The command structure is straightforward, enabling users to search for applications easily and execute them with specific input parameters. The results are provided in JSON format, making it easy to parse and utilize the generated media in other applications or workflows. This structured output is crucial for developers who need to integrate AI capabilities into their projects seamlessly.
The CLI is designed for efficiency, guiding users to always search for application IDs before running commands, ensuring they are using the correct identifiers. The tool also supports local file uploads, allowing users to upscale images or convert images to video directly from their filesystem. With a focus on accessibility and usability, Inference.sh CLI is an ideal choice for anyone looking to leverage AI applications quickly and effectively in their projects.
When to use it
Use this tool when you need to generate images, videos, or perform AI-powered searches from the command line.
When not to use it
Avoid using this skill if you require a graphical interface or need extensive customization beyond what the CLI offers.
What you can build with it
Image Generation
Quickly generate images using commands like `infsh app run <app-id> --input '{
How to install Inference.sh CLI
View source1. Install with the skills CLI
npx skills add nousresearch/hermes-agent/inference-sh-cli --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by nousresearchinference.sh CLI
Run 150+ AI apps in the cloud with a simple CLI. No GPU required.
All commands use the terminal tool to run infsh commands.
When to Use
- User asks to generate images (FLUX, Reve, Seedream, Grok, Gemini image)
- User asks to generate video (Veo, Wan, Seedance, OmniHuman)
- User asks about inference.sh or infsh
- User wants to run AI apps without managing individual provider APIs
- User asks for AI-powered search (Tavily, Exa)
- User needs avatar/lipsync generation
Prerequisites
The infsh CLI must be installed and authenticated. Check with:
infsh me
If not installed:
curl -fsSL https://cli.inference.sh | sh
infsh login
See references/authentication.md for full setup details.
Workflow
1. Always Search First
Never guess app names — always search to find the correct app ID:
infsh app list --search flux
infsh app list --search video
infsh app list --search image
2. Run an App
Use the exact app ID from the search results. Always use --json for machine-readable output:
infsh app run <app-id> --input '{"prompt": "your prompt here"}' --json
3. Parse the Output
The JSON output contains URLs to generated media. Present these to the user with MEDIA:<url> for inline display.
Common Commands
Image Generation
# Search for image apps
infsh app list --search image
# FLUX Dev with LoRA
infsh app run falai/flux-dev-lora --input '{"prompt": "sunset over mountains", "num_images": 1}' --json
# Gemini image generation
infsh app run google/gemini-2-5-flash-image --input '{"prompt": "futuristic city", "num_images": 1}' --json
# Seedream (ByteDance)
infsh app run bytedance/seedream-5-lite --input '{"prompt": "nature scene"}' --json
# Grok Imagine (xAI)
infsh app run xai/grok-imagine-image --input '{"prompt": "abstract art"}' --json
Video Generation
# Search for video apps
infsh app list --search video
# Veo 3.1 (Google)
infsh app run google/veo-3-1-fast --input '{"prompt": "drone shot of coastline"}' --json
# Seedance (ByteDance)
infsh app run bytedance/seedance-1-5-pro --input '{"prompt": "dancing figure", "resolution": "1080p"}' --json
# Wan 2.5
infsh app run falai/wan-2-5 --input '{"prompt": "person walking through city"}' --json
Local File Uploads
The CLI automatically uploads local files when you provide a path:
# Upscale a local image
infsh app run falai/topaz-image-upscaler --input '{"image": "/path/to/photo.jpg", "upscale_factor": 2}' --json
# Image-to-video from local file
infsh app run falai/wan-2-5-i2v --input '{"image": "/path/to/image.png", "prompt": "make it move"}' --json
# Avatar with audio
infsh app run bytedance/omnihuman-1-5 --input '{"audio": "/path/to/audio.mp3", "image": "/path/to/face.jpg"}' --json
Search & Research
infsh app list --search search
infsh app run tavily/tavily-search --input '{"query": "latest AI news"}' --json
infsh app run exa/exa-search --input '{"query": "machine learning papers"}' --json
Other Categories
# 3D generation
infsh app list --search 3d
# Audio / TTS
infsh app list --search tts
# Twitter/X automation
infsh app list --search twitter
Pitfalls
- Never guess app IDs — always run
infsh app list --search <term>first. App IDs change and new apps are added frequently. - Always use
--json— raw output is hard to parse. The--jsonflag gives structured output with URLs. - Check authentication — if commands fail with auth errors, run
infsh loginor verifyINFSH_API_KEYis set. - Long-running apps — video generation can take 30-120 seconds. The terminal tool timeout should be sufficient, but warn the user it may take a moment.
- Input format — the
--inputflag takes a JSON string. Make sure to properly escape quotes.
Reference Docs
references/authentication.md— Setup, login, API keysreferences/app-discovery.md— Searching and browsing the app catalogreferences/running-apps.md— Running apps, input formats, output handlingreferences/cli-reference.md— Complete CLI command reference
Frequently asked questions about Inference.sh CLI
Similar skills
AI Studio Image
Generate realistic human-like images effortlessly.
Image Generation
Generate high-quality images from structured prompts.
ComfyUI Gateway
Efficiently manage ComfyUI image generation workflows.
ComfyUI
Generate images, video, audio, and 3D content effortlessly.
Luma Image Generation
Effortlessly generate images using Luma AI's Photon model.
Stable Diffusion Image Generation
Generate images from text prompts using Stable Diffusion.
