# hf-studio [Health: Active]

**Category:** 🎥 Multimedia Process  
**Repository:** https://github.com/Jjat00/hf-studio  
**GitHub Stars:** 25  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/hf-studio

## Description
Self-hosted AI video, image and audio studio on the Higgsfield and ElevenLabs APIs: MCP server for Claude Code, Codex and ChatGPT, REST API and web UI. Runs on Windows, macOS and Linux.

## Claude Desktop Quick Installation
No generated config for this server: it installs through its own setup steps.

The project's own setup steps (from https://github.com/Jjat00/hf-studio), copied verbatim. Follow them in order; they are not an mcpServers config.

1. Configure:

```sh
uv run hf-studio providers --add apimart
```

2. Install:

```sh
git clone https://github.com/Jjat00/hf-studio.git
```

3. Run:

```sh
cd hf-studio
```

4. Start the server:

```sh
./dev.sh        # macOS, Linux, WSL
```

5. Start the server:

```sh
.\dev          # Windows (cmd or PowerShell)
```

6. Start the server:

```sh
uv run hf-studio start
```

## Documentation

## What hf-studio does

hf-studio provides a self-hosted backend for AI video, image, and audio workflows. It connects primarily to the Higgsfield and ElevenLabs APIs, with optional APIMart and KIE provider support for models those services sell. The same backend exposes an MCP server, REST API, and web interface, and generated assets are collected in one library.

The MCP interface is designed around spending control. Before a paid generation can run, an agent must obtain a one-time quote for the exact request. The agent is expected to show the quoted cost and wait for approval before proceeding.

## How it works

Generation requests become asynchronous jobs stored in a database. Validation happens before spending, and deduplication plus `Idempotency-Key` support help prevent repeated submissions. A local queue observes the account's concurrency limit, tracks Higgsfield jobs across restarts, and keeps local copies of outputs that Higgsfield retains for only seven days.

When multiple providers offer the same model and settings, hf-studio can compare their prices and select the least expensive approved option. It excludes providers that lack a key, balance, or an exact match for the requested settings. If a provider fails without charging, another option may be attempted when its price is within the approved amount; uncertain submissions are not retried automatically.

## Setup and configuration

Python 3.12 or newer is required. The Higgsfield connection uses `HF_API_KEY`, which is required. `APIMART_API_KEY` and `KIE_API_KEY` are optional and add alternative provider routes and store-only models. Provider credentials can also be added through the `hf-studio providers` command, which checks a key and saves it; the web UI offers a Providers page for the same account setup.

The project runs on Windows, macOS, and Linux. The Content Factory feature additionally requires Node.js 22 or newer. An optional `ANTHROPIC_API_KEY` enables Claude-powered AI Director and Supercomputer features in the web application.

## Tools and capabilities

The MCP server advertises 62 tools. Supported capabilities include:

- Estimate prices across configured providers with `estimate_cost`.
- Submit and monitor video, image, and audio generation jobs.
- Work with Higgsfield's catalog and models available through APIMart or KIE.
- Create Kling 3.0 elements with `create_element`, using a name, description, and two to four JPG or PNG images.
- Keep generated files, job history, provider details, and estimated costs in the local studio library.
- Use REST and web interfaces alongside agent-driven MCP workflows.

The web application also includes Cinema Studio, projects, a Claude-based Supercomputer, Content Factory, and other media workspaces. These interfaces share the backend library with MCP-generated work.

## Limitations and notes

Provider comparisons apply only when the model and requested settings can be reproduced exactly; hf-studio does not substitute a different configuration simply to obtain a lower price. Higgsfield is the required provider connection, while APIMart and KIE depend on optional credentials, balances, and matching catalog entries.

Audio jobs interrupted by a restart are marked failed rather than resumed. Higgsfield cannot create or read Kling elements through its public API, so element requests use APIMart or KIE. Some provider channels are labeled unofficial, and pricing is checked again before submission. A request can pause for approval if the refreshed price exceeds the approved cap, becomes unknown, or requires a larger payment hold.

_Full upstream README: https://allmcps.com/mcp/hf-studio/readme_

