---
title: "Higgsfield API on GitHub: SDKs, CLI, MCP and Skills"
url: https://jutsustudio.com/blog/higgsfield-api-github/
description: "Every GitHub project for the Higgsfield API: official Python and Node SDKs, the CLI, agent skills, community MCP servers and an open-source production gateway."
---

Higgsfield

# Higgsfield API on GitHub: SDKs, CLI, MCP and Skills

Every GitHub project for the Higgsfield API: official Python and Node SDKs, the CLI, agent skills, community MCP servers and an open-source production gateway.

By [Nexis](https://jutsustudio.com/about/) · November 19, 2026 · 6 min read

In short

- Higgsfield publishes four repositories for its API: a Python SDK (higgsfield-client, Apache-2.0), a Node.js SDK (higgsfield-js), a CLI with 40+ models (MIT) and agent skills for Claude Code, Cursor and Codex (MIT).
- higgsfield-ai/higgsfield, the organization's most-starred repository with 6,358 stars, is not the API: it is an older framework for training models on GPUs.
- The most-starred community MCP server for the Higgsfield API, Hikhakk/higgsfield-mcp-unified, had 107 stars on November 19, 2026, and covers 85 models with a cost estimate before each job.
- None of the official SDKs caps spending or retries with an idempotency key; jutsuhq/higgsfield-gateway is an MIT-licensed Cloudflare Workers gateway that does both.

Higgsfield publishes four GitHub repositories for its API: [higgsfield-client](https://github.com/higgsfield-ai/higgsfield-client) for Python, [higgsfield-js](https://github.com/higgsfield-ai/higgsfield-js) for Node.js, [cli](https://github.com/higgsfield-ai/cli) for the terminal and [skills](https://github.com/higgsfield-ai/skills) for coding agents. Around them, the community has built MCP servers, more skills and SDKs, and we maintain an open-source [gateway](https://github.com/jutsuhq/higgsfield-gateway) for running the API in production. Star counts below are from November 19, 2026.

One repository to skip: [higgsfield-ai/higgsfield](https://github.com/higgsfield-ai/higgsfield), the organization’s most-starred project, is an older framework for training models on GPUs. It has nothing to do with the video API.

If you are still choosing between the API, the hosted MCP server and the CLI, read [Higgsfield API vs MCP vs CLI](https://jutsustudio.com/blog/higgsfield-api-mcp-cli/) first: they bill differently.

## Every project side by side

| Repository | Made by | Stars | License | What it is | Pays with |
| --- | --- | --- | --- | --- | --- |
| [higgsfield-ai/skills](https://github.com/higgsfield-ai/skills) | Higgsfield | 2,021 | MIT | Agent skills for Claude Code, Cursor and Codex | Plan credits, through the CLI |
| [higgsfield-ai/cli](https://github.com/higgsfield-ai/cli) | Higgsfield | 720 | MIT | Command line, 40+ models | Plan credits |
| [higgsfield-ai/higgsfield-client](https://github.com/higgsfield-ai/higgsfield-client) | Higgsfield | 143 | Apache-2.0 | Python SDK, sync and async | API balance |
| [higgsfield-ai/higgsfield-js](https://github.com/higgsfield-ai/higgsfield-js) | Higgsfield | 78 | None stated | Node.js and TypeScript SDK | API balance |
| [Hikhakk/higgsfield-mcp-unified](https://github.com/Hikhakk/higgsfield-mcp-unified) | Community | 107 | MIT | Local MCP server, 85 models | API balance |
| [robonuggets/higgsfield-skill](https://github.com/robonuggets/higgsfield-skill) | Community | 72 | Not stated | Claude Code skill over the hosted MCP server | Plan credits |
| [cth9191/higgsfield-api-skill](https://github.com/cth9191/higgsfield-api-skill) | Community | 68 | None stated | Skill for Codex and SKILL.md agents | API balance |
| [AKCodez/higgsfield-claude-skills](https://github.com/AKCodez/higgsfield-claude-skills) | Community | 496 | None stated | 19 skills that drive the website in a browser | Plan credits |
| [digitlimit/higgsfield](https://github.com/digitlimit/higgsfield) | Community | 1 | MIT | TypeScript client with webhooks and idempotency | API balance |
| [jutsuhq/higgsfield-gateway](https://github.com/jutsuhq/higgsfield-gateway) | Us | 1 | MIT | Production gateway on Cloudflare Workers | API balance, with a budget |
| [jutsuhq/ComfyUI-Higgsfield](https://github.com/jutsuhq/ComfyUI-Higgsfield) | Us | 0 | MIT | ComfyUI nodes for Seedance 2.5, Kling 4.0 and Genjutsu | API balance, with a price cap per run |
| [jutsuhq/claude-code-video-generation](https://github.com/jutsuhq/claude-code-video-generation) | Us | 0 | MIT | Claude Code skill that generates video with 80+ models | API balance, with a price cap per run |
| [jutsuhq/jutsu-studio](https://github.com/jutsuhq/jutsu-studio) | Us | 36 | MIT | Mac app with a built-in MCP server | Plan credits or API balance, with a daily agent budget |

“Plan credits” means your Higgsfield subscription; “API balance” means the prepaid dollar balance at open.higgsfield.ai, which needs an API key and secret.

## Official SDKs

**Python.** `pip install higgsfield-client` gives a sync and an async client. It reads the key from `HF_KEY`, or from `HF_API_KEY` and `HF_API_SECRET`. Its `subscribe` call submits a job and waits for the result.

**Node.js.** `npm install @higgsfield/client` is the TypeScript SDK. Its v2 client takes the key as `KEY_ID:KEY_SECRET` and is meant for server code only, since the secret would leak from a browser. The repository states no license.

Neither SDK sends an `Idempotency-Key`, verifies webhook signatures for you or limits spending. Those gaps, with what the API does in each case, are in [Higgsfield API in production](https://jutsustudio.com/blog/higgsfield-api-production/).

## CLI and official skills

The CLI installs with `npm i -g @higgsfield/cli`, `brew install higgsfield-ai/tap/higgsfield` or a curl script and covers 40+ models. It signs in to your account and spends plan credits at standard rates, so models that are unlimited on the website are not unlimited here.

The official skills teach Claude Code, Cursor and Codex to use that CLI: they install it, sign in and pick a model. Add them with `npx skills add higgsfield-ai/skills`, or in Claude Code with:

 `/plugin marketplace add higgsfield-ai/skills`

## MCP servers

Higgsfield’s own MCP server is hosted at `https://mcp.higgsfield.ai/mcp` and is not on GitHub. It spends plan credits and needs a paid plan; [robonuggets/higgsfield-skill](https://github.com/robonuggets/higgsfield-skill) is a Claude Code skill that sets it up and adds model guidance on top.

[Hikhakk/higgsfield-mcp-unified](https://github.com/Hikhakk/higgsfield-mcp-unified) is the open-source alternative. It runs on your machine with your API key, covers 85 models of the official API and has tools to estimate cost, recommend a model and check parameters before a job. It sends idempotency keys and can take webhooks. It is labeled alpha. Run it with:

 `uvx --from higgsfield-mcp-unified higgsfield-mcp`

[Jutsu Studio](https://jutsustudio.com/) for Mac bundles an MCP server too. It works with your account credits or an API key, holds agents to a daily budget, and downloads every result to the app’s Library:

 `claude mcp add jutsu -- "/Applications/Jutsu Studio.app/Contents/Helpers/jutsu" mcp`

MCP servers for other platforms, from fal to kie.ai, are compared in [MCP servers for AI image and video generation](https://jutsustudio.com/blog/mcp-server-ai-video-generation/).

## Community skills

Two kinds of skills carry “Higgsfield” in their names. Some generate: [cth9191/higgsfield-api-skill](https://github.com/cth9191/higgsfield-api-skill) calls the pay-as-you-go API, estimates the cost and saves results to an `outputs/` folder, and [AKCodez/higgsfield-claude-skills](https://github.com/AKCodez/higgsfield-claude-skills) drives the Higgsfield website through Playwright, so it spends plan credits and breaks when the site changes.

[claude-code-video-generation](https://github.com/jutsuhq/claude-code-video-generation) is our MIT-licensed skill for generating AI video with Claude Code. You ask for a clip in plain words; it picks Seedance 2.5, Kling 4.0, Genjutsu or another of the 80+ API models, asks the free `/estimate` endpoint for the exact price and stops unpaid if the price is above the cap. Every submit carries an `Idempotency-Key`, local images and videos are uploaded for you, and the MP4 lands in your project with a cost ledger beside it. It needs Python 3.9 and no packages, and works in Codex and Cursor too:

 `npx skills add jutsuhq/claude-code-video-generation -a claude-code -g`

Most only write prompts, which you then paste into Higgsfield. The largest are [beshuaxian/higgsfield-seedance2-jineng](https://github.com/beshuaxian/higgsfield-seedance2-jineng) (1,057 stars), [OSideMedia/higgsfield-ai-prompt-skill](https://github.com/OSideMedia/higgsfield-ai-prompt-skill) (950, no longer maintained) and [rediumvex/ai-video-generator-claude](https://github.com/rediumvex/ai-video-generator-claude) (492). Ours, the [Seedance 2.5 prompt skill](https://jutsustudio.com/blog/seedance-prompt-skill/), is MIT licensed and kept up to date with Seedance 2.5.

## ComfyUI nodes

[ComfyUI-Higgsfield](https://github.com/jutsuhq/ComfyUI-Higgsfield) is our MIT-licensed node pack for ComfyUI. It adds Seedance 2.5 and Kling 4.0 (text-to-video and image-to-video with first and last frames) and Genjutsu motion transfer, including Genjutsu Light. Each node shows its list price on a badge, asks the free `/estimate` endpoint for the exact price before it submits, and stops unpaid above `max_cost_usd`. It uses your own API key and needs no extra Python packages:

 `cd ComfyUI/custom_nodes git clone https://github.com/jutsuhq/ComfyUI-Higgsfield`

ComfyUI also ships a built-in Genjutsu motion transfer node. It needs a comfy.org account and is billed in comfy.org credits, at about $0.97 per second for 720p against $0.3446 per second on the Higgsfield API directly. [jeremieLouvaert/ComfyUI-Higgsfield-Direct](https://github.com/jeremieLouvaert/ComfyUI-Higgsfield-Direct) is a community pack (MIT, 14 stars) that also uses your own key, with image and video nodes for Soul 2.0, Seedream 4, Kling 2.1 and Seedance 1.

## Running the API in production

The API has no spending cap, no balance endpoint and no low-balance alert, and a retried request without an idempotency key can pay twice. [Higgsfield Gateway](https://github.com/jutsuhq/higgsfield-gateway) is our MIT-licensed gateway on Cloudflare Workers that handles this: it holds the key, reserves budget before every submit, sends an `Idempotency-Key`, waits for the signed webhook and falls back to polling, and stores results on R2. It is alpha and tested against a mocked API. [digitlimit/higgsfield](https://github.com/digitlimit/higgsfield) is a smaller option for Node.js: a zero-dependency client with a webhook handler and idempotency.

## Which one to use

- **Scripts and back ends:** the official Python or Node.js SDK, or Higgsfield Gateway when a bug could spend real money.
- **An agent that spends plan credits:** the official skills with the CLI, or the hosted MCP server.
- **An agent that spends the API balance:** claude-code-video-generation for Claude Code with a price cap per run, higgsfield-mcp-unified or cth9191’s skill.
- **An agent with a spending limit and the files on your disk:** Jutsu Studio’s MCP server on a Mac.
- **Video in ComfyUI workflows:** ComfyUI-Higgsfield.
- **Better prompts, no generation:** a prompt skill such as ours.

Sources

1. [GitHub: higgsfield-ai/higgsfield-client (Python SDK)](https://github.com/higgsfield-ai/higgsfield-client)
2. [GitHub: higgsfield-ai/higgsfield-js (Node.js SDK)](https://github.com/higgsfield-ai/higgsfield-js)
3. [GitHub: higgsfield-ai/cli](https://github.com/higgsfield-ai/cli)
4. [GitHub: higgsfield-ai/skills](https://github.com/higgsfield-ai/skills)
5. [GitHub: higgsfield-ai/higgsfield (GPU training framework)](https://github.com/higgsfield-ai/higgsfield)
6. [GitHub: Hikhakk/higgsfield-mcp-unified](https://github.com/Hikhakk/higgsfield-mcp-unified)
7. [GitHub: robonuggets/higgsfield-skill](https://github.com/robonuggets/higgsfield-skill)
8. [GitHub: cth9191/higgsfield-api-skill](https://github.com/cth9191/higgsfield-api-skill)
9. [GitHub: AKCodez/higgsfield-claude-skills](https://github.com/AKCodez/higgsfield-claude-skills)
10. [GitHub: digitlimit/higgsfield](https://github.com/digitlimit/higgsfield)
11. [GitHub: jutsuhq/higgsfield-gateway](https://github.com/jutsuhq/higgsfield-gateway)
12. [GitHub: jutsuhq/claude-code-video-generation](https://github.com/jutsuhq/claude-code-video-generation)
13. [GitHub: jutsuhq/ComfyUI-Higgsfield](https://github.com/jutsuhq/ComfyUI-Higgsfield)
14. [Higgsfield Help Center: What is Higgsfield MCP?](https://higgsfield.ai/creator-hub/help-center/integrations/what-is-higgsfield-mcp)

## Run Higgsfield from your desktop.

Jutsu Studio is a free, open-source Higgsfield desktop app for Mac, Windows and Linux: a queue, a local library and the price on every button.

[Download Jutsu Studio](https://github.com/jutsuhq/jutsu-studio/releases/download/v0.2.8/Jutsu-Studio-0.2.8.dmg) [What the app does](https://jutsustudio.com/) [No Higgsfield account? Sign up](https://higgsfield.ai/?fpr=ilya-784ad7)

## FAQ.

### Is there an official Higgsfield API SDK?

Yes, two. higgsfield-client is the Python SDK (pip install higgsfield-client, Apache-2.0) with sync and async clients. higgsfield-js is the Node.js and TypeScript SDK, published on npm as @higgsfield/client and meant for server-side code only.

### Is there a Higgsfield CLI?

Yes. higgsfield-ai/cli is MIT licensed, covers 40+ models and installs with brew install higgsfield-ai/tap/higgsfield or a curl script. It spends your plan credits rather than an API balance.

### Is there a Higgsfield MCP server on GitHub?

Higgsfield's official MCP server is hosted at mcp.higgsfield.ai/mcp and is not open source. On GitHub, Hikhakk/higgsfield-mcp-unified runs locally with your API key, and Jutsu Studio for Mac bundles an MCP server that works with your account credits or an API key.

### Is there a Higgsfield node for ComfyUI?

Yes. jutsuhq/ComfyUI-Higgsfield (MIT) adds Seedance 2.5, Kling 4.0 and Genjutsu motion transfer nodes that call the Higgsfield API with your own key, show the price on the node and stop before submitting if the estimate is above a cap you set. ComfyUI also ships a built-in Genjutsu node billed through comfy.org credits.

### Is there a GitHub repo to generate AI videos with Claude Code?

Yes. jutsuhq/claude-code-video-generation (MIT) is a Claude Code skill for the Higgsfield API. Install it with npx skills add jutsuhq/claude-code-video-generation, add an API key, and ask for a clip: it renders it with Seedance 2.5, Kling 4.0, Genjutsu or another of 80+ models, checks the exact price first and never spends above a cap you set.

### Is higgsfield-ai/higgsfield the Higgsfield API?

No. It is an older open-source framework for orchestrating GPUs and training large models, from before Higgsfield became a video app. The API lives in higgsfield-client, higgsfield-js, cli and skills.

### What are the best Higgsfield skills for Claude Code?

higgsfield-ai/skills is the official set, which installs and signs in to the CLI for the agent. cth9191/higgsfield-api-skill and jutsuhq/claude-code-video-generation call the pay-as-you-go API instead; the second caps the price of every run. For prompts rather than generation, jutsuhq/higgsfield-seedance-prompt-skill writes Seedance 2.5 prompts.

## Read next.

[Higgsfield **Cheaper Higgsfield Alternative: Claude Code + API** Make Seedance 2.5 and Kling clips from Claude Code with your own API keys: AI Media Router setup in 2 minutes, and the cost against Higgsfield credits. November 12, 2026](https://jutsustudio.com/blog/higgsfield-alternative-claude-code-api/) [Higgsfield **Higgsfield Windows App: Is There One? The Free Option** Higgsfield has no official Windows app. Install the site from Edge, or download Jutsu Studio, a free desktop app for Windows 10 and 11 on your own account. November 11, 2026](https://jutsustudio.com/blog/higgsfield-windows-app/) [Higgsfield **Higgsfield Unlimited: Which Models, Plans and Limits** Which Higgsfield models are unlimited on Starter and Plus, how long unlimited access lasts, why it is slower, and where it stops working: MCP, CLI and the API. October 31, 2026](https://jutsustudio.com/blog/higgsfield-unlimited/)
