Inference Sh Cli — Run 150+ AI apps via inference
Inference Sh Cli
Section titled “Inference Sh Cli”Run 150+ AI apps via inference.sh CLI (infsh) — image generation, video creation, LLMs, search, 3D, social automation. Uses the terminal tool. Triggers: inference.sh, infsh, ai apps, flux, veo, image generation, video generation, seedream, seedance, tavily
Skill metadata
Section titled “Skill metadata”| Source | Optional — install with hermes skills install official/devops/cli |
| Path | optional-skills/devops/cli |
| Version | 1.0.0 |
| Author | okaris |
| License | MIT |
| Tags | AI, image-generation, video, LLM, search, inference, FLUX, Veo, Claude |
Reference: full SKILL.md
Section titled “Reference: full SKILL.md”The following is the complete skill definition that Hermes loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
inference.sh CLI
Section titled “inference.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
Section titled “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
Section titled “Prerequisites”The infsh CLI must be installed and authenticated. Check with:
infsh meIf not installed:
curl -fsSL https://cli.inference.sh | shinfsh loginSee references/authentication.md for full setup details.
Workflow
Section titled “Workflow”1. Always Search First
Section titled “1. Always Search First”Never guess app names — always search to find the correct app ID:
infsh app list --search fluxinfsh app list --search videoinfsh app list --search image2. Run an App
Section titled “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"}' --json3. Parse the Output
Section titled “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
Section titled “Common Commands”Image Generation
Section titled “Image Generation”# Search for image appsinfsh app list --search image
# FLUX Dev with LoRAinfsh app run falai/flux-dev-lora --input '{"prompt": "sunset over mountains", "num_images": 1}' --json
# Gemini image generationinfsh 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"}' --jsonVideo Generation
Section titled “Video Generation”# Search for video appsinfsh 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.5infsh app run falai/wan-2-5 --input '{"prompt": "person walking through city"}' --jsonLocal File Uploads
Section titled “Local File Uploads”The CLI automatically uploads local files when you provide a path:
# Upscale a local imageinfsh app run falai/topaz-image-upscaler --input '{"image": "/path/to/photo.jpg", "upscale_factor": 2}' --json
# Image-to-video from local fileinfsh app run falai/wan-2-5-i2v --input '{"image": "/path/to/image.png", "prompt": "make it move"}' --json
# Avatar with audioinfsh app run bytedance/omnihuman-1-5 --input '{"audio": "/path/to/audio.mp3", "image": "/path/to/face.jpg"}' --jsonSearch & Research
Section titled “Search & Research”infsh app list --search searchinfsh app run tavily/tavily-search --input '{"query": "latest AI news"}' --jsoninfsh app run exa/exa-search --input '{"query": "machine learning papers"}' --jsonOther Categories
Section titled “Other Categories”# 3D generationinfsh app list --search 3d
# Audio / TTSinfsh app list --search tts
# Twitter/X automationinfsh app list --search twitterPitfalls
Section titled “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
Section titled “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