nousresearch--hermes-agent
b4fbd6fe9f
Deploy Site / deploy-vercel (push) Has been skipped
Deploy Site / deploy-docs (push) Has been skipped
Build Skills Index / build-index (push) Has been skipped
CI / Deny unrelated histories (push) Has been skipped
CI / Detect affected areas (push) Successful in 27m35s
CI / OSV scan (push) Failing after 4s
CI / Build&Test Docker image (push) Successful in 9s
CI / Supply-chain scan (push) Has been skipped
CI / Lint Docker scripts (push) Failing after 5m13s
CI / Check contributors (push) Failing after 12m8s
CI / Docs Site (push) Failing after 12m8s
CI / TypeScript (push) Failing after 12m8s
CI / Python lints (push) Failing after 12m9s
CI / Python tests (push) Failing after 12m9s
CI / Check uv.lock (push) Failing after 23m22s
CI / CI timing report (push) Has been cancelled
Build Skills Index / trigger-deploy (push) Has been cancelled
CI / All required checks pass (push) Has been cancelled
3.6 KiB
3.6 KiB
Running Apps
Basic Run
infsh app run user/app-name --input input.json
Inline JSON
infsh app run falai/flux-dev-lora --input '{"prompt": "a sunset over mountains"}'
Version Pinning
infsh app run user/app-name@1.0.0 --input input.json
Local File Uploads
The CLI automatically uploads local files when you provide a file path instead of a URL. Any field that accepts a URL also accepts a local path:
# Upscale a local image
infsh app run falai/topaz-image-upscaler --input '{"image": "/path/to/photo.jpg", "upscale_factor": 2}'
# Image-to-video from local file
infsh app run falai/wan-2-5-i2v --input '{"image": "./my-image.png", "prompt": "make it move"}'
# Avatar with local audio and image
infsh app run bytedance/omnihuman-1-5 --input '{"audio": "/path/to/speech.mp3", "image": "/path/to/face.jpg"}'
# Post tweet with local media
infsh app run x/post-create --input '{"text": "Check this out!", "media": "./screenshot.png"}'
Supported paths:
- Absolute paths:
/home/user/images/photo.jpg - Relative paths:
./image.png,../data/video.mp4 - Home directory:
~/Pictures/photo.jpg
Generate Sample Input
Before running, generate a sample input file:
infsh app sample falai/flux-dev-lora
Save to file:
infsh app sample falai/flux-dev-lora --save input.json
Then edit input.json and run:
infsh app run falai/flux-dev-lora --input input.json
Workflow Example
Image Generation with FLUX
# 1. Get app details
infsh app get falai/flux-dev-lora
# 2. Generate sample input
infsh app sample falai/flux-dev-lora --save input.json
# 3. Edit input.json
# {
# "prompt": "a cat astronaut floating in space",
# "num_images": 1,
# "image_size": "landscape_16_9"
# }
# 4. Run
infsh app run falai/flux-dev-lora --input input.json
Video Generation with Veo
# 1. Generate sample
infsh app sample google/veo-3-1-fast --save input.json
# 2. Edit prompt
# {
# "prompt": "A drone shot flying over a forest at sunset"
# }
# 3. Run
infsh app run google/veo-3-1-fast --input input.json
Text-to-Speech
# Quick inline run
infsh app run falai/kokoro-tts --input '{"text": "Hello, this is a test."}'
Task Tracking
When you run an app, the CLI shows the task ID:
Running falai/flux-dev-lora
Task ID: abc123def456
For long-running tasks, you can check status anytime:
# Check task status
infsh task get abc123def456
# Get result as JSON
infsh task get abc123def456 --json
# Save result to file
infsh task get abc123def456 --save result.json
Run Without Waiting
For very long tasks, run in background:
# Submit and return immediately
infsh app run google/veo-3 --input input.json --no-wait
# Check later
infsh task get <task-id>
Output
The CLI returns the app output directly. For file outputs (images, videos, audio), you'll receive URLs to download.
Example output:
{
"images": [
{
"url": "https://cloud.inference.sh/...",
"content_type": "image/png"
}
]
}
Error Handling
| Error | Cause | Solution |
|---|---|---|
| "invalid input" | Schema mismatch | Check infsh app get for required fields |
| "app not found" | Wrong app name | Check infsh app list --search |
| "quota exceeded" | Out of credits | Check account balance |
Documentation
- Running Apps - Complete running apps guide
- Streaming Results - Real-time progress updates
- Setup Parameters - Configuring app inputs