d73ff9b0fb
Deploy Site / deploy-vercel (push) Has been cancelled
Deploy Site / deploy-docs (push) Has been cancelled
Docker / shell lint / Lint Dockerfile (hadolint) (push) Has been cancelled
Docker / shell lint / Lint docker/ shell scripts (shellcheck) (push) Has been cancelled
Docker Build and Publish / build-amd64 (push) Has been cancelled
Docker Build and Publish / build-arm64 (push) Has been cancelled
Lint (ruff + ty) / ruff + ty diff (push) Has been cancelled
Lint (ruff + ty) / ruff enforcement (blocking) (push) Has been cancelled
Lint (ruff + ty) / Windows footguns (blocking) (push) Has been cancelled
Nix Lockfile Fix / auto-fix-main (push) Has been cancelled
Nix Lockfile Fix / fix (push) Has been cancelled
Nix / nix (macos-latest) (push) Has been cancelled
Nix / nix (ubuntu-latest) (push) Has been cancelled
OSV-Scanner / Scan lockfiles (push) Has been cancelled
Build Skills Index / build-index (push) Has been cancelled
Tests / test (1) (push) Has been cancelled
Tests / test (2) (push) Has been cancelled
Tests / test (3) (push) Has been cancelled
Tests / test (4) (push) Has been cancelled
Tests / test (5) (push) Has been cancelled
Tests / test (6) (push) Has been cancelled
Tests / e2e (push) Has been cancelled
uv.lock check / uv lock --check (push) Has been cancelled
Docker Build and Publish / merge (push) Has been cancelled
Build Skills Index / trigger-deploy (push) Has been cancelled
Tests / save-durations (push) Has been cancelled
3.1 KiB
3.1 KiB
CLI Reference
Installation
curl -fsSL https://cli.inference.sh | sh
Global Commands
| Command | Description |
|---|---|
infsh help |
Show help |
infsh version |
Show CLI version |
infsh update |
Update CLI to latest |
infsh login |
Authenticate |
infsh me |
Show current user |
App Commands
Discovery
| Command | Description |
|---|---|
infsh app list |
List available apps |
infsh app list --category <cat> |
Filter by category (image, video, audio, text, other) |
infsh app search <query> |
Search apps |
infsh app list --search <query> |
Search apps (flag form) |
infsh app list --featured |
Show featured apps |
infsh app list --new |
Sort by newest |
infsh app list --page <n> |
Pagination |
infsh app list -l |
Detailed table view |
infsh app list --save <file> |
Save to JSON file |
infsh app my |
List your deployed apps |
infsh app get <app> |
Get app details |
infsh app get <app> --json |
Get app details as JSON |
Execution
| Command | Description |
|---|---|
infsh app run <app> --input <file> |
Run app with input file |
infsh app run <app> --input '<json>' |
Run with inline JSON |
infsh app run <app> --input <file> --no-wait |
Run without waiting for completion |
infsh app sample <app> |
Show sample input |
infsh app sample <app> --save <file> |
Save sample to file |
Task Commands
| Command | Description |
|---|---|
infsh task get <task-id> |
Get task status and result |
infsh task get <task-id> --json |
Get task as JSON |
infsh task get <task-id> --save <file> |
Save task result to file |
Development
| Command | Description |
|---|---|
infsh app init |
Create new app (interactive) |
infsh app init <name> |
Create new app with name |
infsh app test --input <file> |
Test app locally |
infsh app deploy |
Deploy app |
infsh app deploy --dry-run |
Validate without deploying |
infsh app pull <id> |
Pull app source |
infsh app pull --all |
Pull all your apps |
Environment Variables
| Variable | Description |
|---|---|
INFSH_API_KEY |
API key (overrides config) |
Shell Completions
# Bash
infsh completion bash > /etc/bash_completion.d/infsh
# Zsh
infsh completion zsh > "${fpath[1]}/_infsh"
# Fish
infsh completion fish > ~/.config/fish/completions/infsh.fish
App Name Format
Apps use the format namespace/app-name:
falai/flux-dev-lora- fal.ai's FLUX 2 Devgoogle/veo-3- Google's Veo 3infsh/sdxl- inference.sh's SDXLbytedance/seedance-1-5-pro- ByteDance's Seedancexai/grok-imagine-image- xAI's Grok
Version pinning: namespace/app-name@version
Documentation
- CLI Setup - Complete CLI installation guide
- Running Apps - How to run apps via CLI
- Creating an App - Build your own apps
- Deploying - Deploy apps to the cloud