inference-sh-cli

Run cloud-based AI apps via the inference.sh CLI with JSON outputs.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/MarbleSodas/Mavis --skill inference-sh-cli-marblesodas
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: inference-sh-cli
Source: https://github.com/MarbleSodas/Mavis/tree/main/optional-skills/devops/cli
Command: npx skills add https://github.com/MarbleSodas/Mavis --skill inference-sh-cli-marblesodas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It solves the problem of juggling many AI provider APIs by giving you a single, consistent CLI to discover and run image, video, LLM, and search apps in the cloud.

Core Features & Use Cases

  • Unified AI app execution via CLI: Runs inference.sh apps using the terminal tool, returning structured JSON output with media URLs when applicable.
  • App discovery-first workflow: Helps you find the correct app IDs using search/list commands before running them, avoiding brittle hard-coding.
  • Supports multiple media workflows: Covers image generation, video generation, avatar/lipsync via media creation apps, AI search/research, and categories like 3D, TTS/audio, and automation.

Example: A user wants both an image and a short video for a product launch—first search for the best matching image app ID, run it with a prompt, then search and run a video app using the returned style/theme guidance.

Quick Start

Use the inference-sh CLI to generate media by running an app after searching for its app ID, for example: "User asks the assistant to use the inference.sh CLI (infsh) to generate a FLUX image for the prompt 'a sunset over mountains' and return the resulting MEDIA URLs."

Frequently Asked Questions about inference-sh-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run multiple AI image and video generation apps from a single CLI?

The inference.sh CLI solves juggling multiple provider APIs by offering a single, consistent terminal interface to discover and run cloud-based image, video, LLM, and search apps without needing provider-specific integration.

What do I need to authenticate and run inference.sh commands?

To authenticate and run inference.sh commands, you need authenticated access to the infsh tool in your terminal environment, which allows you to execute cloud AI apps and parse structured JSON results.

How do I find the correct app ID before generating media with a CLI?

You find the correct app ID before generating media by using the CLI's app discovery-first workflow, which utilizes search and list commands to locate the exact app ID dynamically instead of hard-coding potentially brittle identifiers.

Can I get JSON outputs with media URLs from AI image generation?

Yes, you can get JSON outputs with media URLs from AI image generation by executing infsh commands with the --json flag, which parses the results to surface direct links for your generated images and videos.

Does the inference.sh CLI support workflows beyond image generation?

The inference.sh CLI supports workflows beyond image generation, covering video generation, avatar and lipsync creation, AI search and research, as well as 3D, TTS, audio, and automation categories.

What is the best way to avoid brittle hard-coding when running cloud AI apps?

The best way to avoid brittle hard-coding when running cloud AI apps is to use a discovery-first workflow that performs app lookups by name via terminal commands before execution, ensuring deterministic and accurate app selection.