Hf Studio logo

Hf Studio

Self-hosted MCP studio for quoted AI video, image, and audio generation through Higgsfield and optional provider backends.

Install Hf Studio

Run the project’s own setup commands, in order.

Setup steps from the project

hf-studio installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Configure
    uv run hf-studio providers --add apimart
    
  2. 2. Install
    git clone https://github.com/Jjat00/hf-studio.git
    
  3. 3. Run
    cd hf-studio
    
  4. 4. Start the server
    ./dev.sh        # macOS, Linux, WSL
    
  5. 5. Start the server
    .\dev          # Windows (cmd or PowerShell)
    
  6. 6. Start the server
    uv run hf-studio start
    

Overview

hf-studio MCP server connects AI agents to a self-hosted studio for video, image, and audio generation through Higgsfield and ElevenLabs APIs. Its MCP interface exposes 62 tools, including cost estimation, generation workflows, and Kling 3.0 element management, while jobs and outputs are shared with the REST API and web UI. Every paid request must be quoted first, and optional APIMart or KIE credentials can provide equivalent models at different prices. Reach for hf-studio when an agent needs persistent media jobs, local output copies, provider comparison, and approval before spending credits.

Use cases

  • Generate approved video, image, and audio jobs from an AI agent
  • Compare equivalent provider prices before submitting a generation
  • Track asynchronous media jobs across application restarts
  • Create and reuse Kling 3.0 characters, products, or locations
  • Collect agent-generated media in a shared local library

Key features

  • 62 MCP tools for multimedia generation workflows
  • Pre-generation quotes with one-time approval IDs
  • Higgsfield, APIMart, and KIE provider comparison
  • Persistent jobs with deduplication and local output copies
  • REST API and web UI alongside MCP
  • Kling 3.0 element creation and reuse

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

12/12 checks healthy over the last 50d

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars25Stargazers on the source repository.
Last commit7d agoMost recent push to the default branch.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

How Hf Studio works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Hf Studio

hf-studio is an MCP server that connects AI agents to self-hosted video, image, and audio workflows using Higgsfield and ElevenLabs APIs, with optional APIMart and KIE providers. Its tools estimate costs, require approval before paid runs, submit and track asynchronous jobs, and manage Kling 3.0 elements.

Install and run hf-studio with Python 3.12 or newer, then configure the required Higgsfield credential. The project runs on Windows, macOS, and Linux, and also provides REST and web interfaces alongside its MCP server.

hf-studio requires `HF_API_KEY` for Higgsfield access. `APIMART_API_KEY` and `KIE_API_KEY` are optional and add alternative provider routes. `ANTHROPIC_API_KEY` is optional for the Claude-powered AI Director and Supercomputer features.

Yes. hf-studio is described as an MCP server for Claude Desktop, Claude Code, Codex, and ChatGPT. The MCP interface lets these agent environments request quotes and run approved media-generation workflows.

hf-studio requires a one-time quote for the exact paid request before generation. The agent must present the cost and wait for approval, while the server rechecks provider pricing before sending and pauses when the refreshed price exceeds the approved cap.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHf Studio AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hf-studio?style=directory)](https://allmcps.com/mcp/hf-studio)
HTML Embed
<a href="https://allmcps.com/mcp/hf-studio"><img src="https://allmcps.com/api/badge/hf-studio?style=directory" alt="Hf Studio on AllMCPs" /></a>