infsh-cli
Run 150+ AI Models with Simple CLI Commands
Access cloud-based AI inference without managing GPU infrastructure. Execute image generation, video creation, LLM calls, and more through a unified command-line interface.
Download the skill ZIP
Upload in Claude
Go to Settings → Capabilities → Skills → Upload skill
Toggle on and start using
Test it
Using "infsh-cli". infsh app run falai/flux-dev-lora --input '{"prompt": "a cat astronaut"}'
Expected outcome:
Task completed with generated image URL: https://cloud.inference.sh/generated/image-123.png
Using "infsh-cli". infsh app run tavily/search-assistant --input '{"query": "latest AI developments"}'
Expected outcome:
Search results returned with 5 relevant articles, summaries, and source URLs
Security Audit
Low RiskStatic analysis flagged 203 patterns across 5 files (596 lines), but all findings are false positives. The detected 'external_commands' are markdown documentation showing CLI usage examples, not actual code execution. URLs are legitimate service endpoints. The curl|sh installation pattern is standard for CLI tools. Network access to inference.sh APIs is the intended functionality. Environment variable usage for API keys follows security best practices.
Medium Risk Issues (1)
Low Risk Issues (3)
Risk Factors
⚙️ External commands (2)
🌐 Network access (2)
🔑 Env variables (1)
📁 Filesystem access (1)
Quality Score
What You Can Build
Developer Prototyping AI Features
Quickly test different AI models for image generation, video creation, or text processing without setting up local GPU infrastructure
Content Creator Asset Generation
Generate marketing images, social media videos, and 3D models on-demand through simple CLI commands
Automation Engineer Workflow Integration
Integrate AI capabilities into CI/CD pipelines and automation scripts using environment variable authentication
Try These Prompts
Generate an image using FLUX with the prompt: 'a futuristic city skyline at night with flying cars'
Create a 5-second video using Veo 3.1 with the prompt: 'ocean waves crashing on rocky shore at sunset'
Call Claude via OpenRouter to explain quantum computing in simple terms, then format the response as markdown
Set up a script that reads image paths from a JSON file, runs each through the Topaz upscaler, and saves the output URLs to a results file
Best Practices
- Store API keys in environment variables (INFSH_API_KEY) rather than hardcoding in scripts
- Use --no-wait flag for long-running tasks to avoid blocking your terminal
- Generate sample input files with 'infsh app sample' to understand required input schema
Avoid
- Do not commit API keys or authentication tokens to version control
- Avoid running unverified CLI binaries from untrusted sources
- Do not upload sensitive files containing personal or confidential information