Higgsfield Unlimited MCP
MCP server for Higgsfield AI that enables unlimited-mode image, video, audio generation, uploads, and job management via multiple parallel accounts, using browser session authentication.
README
Higgsfield Unlimited MCP
An MCP server for Higgsfield AI that drives the
generation API in unlimited mode (use_unlim: true) — the same call the official web
app makes. It authenticates with your existing browser session (Clerk JWT, auto-refreshed),
runs multiple accounts in parallel, and covers image, video, audio, upload, cost
preview and job management.
Unlimited is granted per model + account by Higgsfield's server. This client sends the unlimited flag exactly like the web app; the server decides. Check
unlimited_statusbefore generating — if a model isn't unlimited-active for you it costs credits (estimate_cost).
Covered (34 tools): image (v1 + v2 models), video (text-to-video & image-to-video, 9:16, resolution fallback), audio (TTS + voice list), local-file upload, multi-account pool, cost/unlimited status, workspaces, media library, assets, job management.
Requirements
- Python 3.10+
- Claude Code (CLI, or the VS Code / JetBrains extension) — or any MCP client
- An active Higgsfield login in your browser
1. Install
pip install git+https://github.com/nukIeer/higgsfield-unlimited-mcp.git
Or from a local clone (what you have now):
pip install -e .
2. Get your credentials (~2 min)
Open https://higgsfield.ai in your browser, logged in. Then in DevTools (F12):
- Session id — Console tab, run:
window.Clerk.session.id // → sess_xxxxxxxx __clientcookie — Application → Cookies →https://higgsfield.ai→ copy the__clientvalue (it'shttpOnly, so it won't show indocument.cookie).datadomecookie — Console tab, run:Thedocument.cookie // copy the datadome=... part/jobsendpoint sits behind DataDome bot protection; without this cookie generation returns a403captcha. This cookie rotates — refresh it if you start getting 403s.
Put them in a .env file in the project root (copy .env.example):
HIGGSFIELD_SESSION_ID=sess_xxxx
HIGGSFIELD_CLERK_COOKIE=eyJ...
HIGGSFIELD_EXTRA_COOKIES=datadome=xxxx
HIGGSFIELD_DEFAULT_MODEL=nano-banana-2
HIGGSFIELD_DEFAULT_RESOLUTION=2k
.env is gitignored — your credentials never leave your machine.
3. Connect it to Claude Code (VS Code)
The server reads credentials from your .env via HIGGSFIELD_DOTENV (an absolute path),
so no secrets go into the MCP config file.
Project-scoped — create .mcp.json in the project root:
{
"mcpServers": {
"higgsfield-unlimited": {
"command": "python",
"args": ["-m", "higgsfield_unlimited_mcp"],
"env": {
"HIGGSFIELD_DOTENV": "C:\\Users\\TESST\\Desktop\\higgsfield-unlimited-mcp\\.env"
}
}
}
}
Or user-scoped (works in every project) — add the same mcpServers block to
~/.claude.json.
Or via the CLI:
claude mcp add higgsfield-unlimited -s user -- python -m higgsfield_unlimited_mcp
Then reload the window / restart Claude Code. Verify the tools are live by asking:
Use higgsfield-unlimited to run
auth_status, thenunlimited_status.
4. Verify (optional, CLI)
higgsfield-unlimited-verify --skip-generate # auth + endpoints only, no credits
Multiple accounts (parallel generation)
One account serialises behind a per-account rate limit (429 rate_limit_reached). Add more
accounts and the pool load-balances and fails a job over to another account on 429. Numbered
credentials, each with its own session id, __client, and datadome:
HIGGSFIELD_SESSION_ID_2=sess_bbbb
HIGGSFIELD_CLERK_COOKIE_2=eyJ...
HIGGSFIELD_EXTRA_COOKIES_2=datadome=bbbb
HIGGSFIELD_SESSION_ID_3=sess_cccc
HIGGSFIELD_CLERK_COOKIE_3=eyJ...
HIGGSFIELD_EXTRA_COOKIES_3=datadome=cccc
auth_status lists every account; queue_status shows per-account load; jobs and every
prompt in generate_image_batch route to the least-busy account. Pin a job to one account
with account="account-2" (needed when you pass a pre-uploaded media id — ids are
account-scoped).
Tools
Auth, account & cost
auth_status · account_info · unlimited_status (what's unlimited-active) ·
estimate_cost (credit table, no spend) · concurrent_state · queue_status
Models
list_models (with unlimited + api_version per model) · get_aspect_dimensions
Image
generate_image (v1 dash ids like nano-banana-2; v2 underscore ids like seedream_v5_pro,
flux_2, gpt_image_2 with api_version="v2") · generate_image_batch · generate_storyboard
Video
generate_video — v2, defaults to viral 9:16, image-to-video via input_files,
resolution fallback 1080p → 720p → 480p. Unlimited video models: seedance_2_0,
seedance_2_0_mini, wan2_7, gemini_omni, kling3_0.
Audio
generate_audio (TTS, text2speech_v2, multilingual incl. Turkish) · list_voices
Upload & media
media_upload (local file → IP-checked media id) · show_medias · media_status ·
media_download_batch
Jobs
check_job · wait_for_job · cancel_job · list_jobs · download_job_result ·
show_generations
Workspaces & assets
list_workspaces · workspace_details · workspace_wallet · workspace_members ·
workspace_usage · list_assets · list_favourites · like_asset · unlike_asset
Advanced
generate_raw (any model + api_version, custom params — face-swap, upscale, inpaint,
outpaint, explainer, …)
Usage examples (ask Claude in plain language)
Check what's free before spending:
Run
unlimited_status, thenestimate_cost.
Image — first frame for a video:
Generate a 9:16 image with
nano-banana-2: "messy salon appointment notebook, warm evening light, cinematic".
Video — viral 9:16 (text-to-video):
Generate a 5s 9:16 video with
seedance_2_0: "neon city rain at night, moody" (let it fall back to 720p).
Image-to-video (animate a local frame):
Animate
./frame.jpginto a 9:16 video withkling3_0,input_files=["./frame.jpg"].
Turkish voiceover:
list_voices, pick a female voice, thengenerate_audiothat voice: "Randevularınızı tek yerden yönetin."
Batch across accounts:
generate_image_batchthese 8 prompts at 9:16, fire-and-forget — thenqueue_status.
How it works
- Auth — the long-lived
__clientcookie mints short-lived Clerk JWTs (POST clerk.higgsfield.ai/v1/client/sessions/{id}/tokens), cached and refreshed proactively; a 401 forces a re-mint + one retry. - Unlimited — every job sets
use_unlim: trueinparamsand the top-level body. The server enforces entitlement per model/account and returns403 unlimited_generation_not_allowedwhen not covered. - Two API generations — v1
POST /jobs/{dash-id}(input_images), v2POST /jobs/v2/{underscore_id}(medias:[{role,data}],modelfield). Video and newer models are v2. - DataDome — the create endpoint is bot-protected; the client forwards your browser's
datadomecookie so your session is recognised. It does not solve challenges.
See docs/EXTENDING.md and
docs/MODEL_SCHEMAS.md for the full verified request contracts
(upload flow, video params, TTS, IP-check, endpoints).
Security
- Never commit
.env— it's gitignored. Cookies equal your logged-in session; treat them like passwords. - Credentials stay local — sent only to Higgsfield's own API.
- Rapid automated requests can trip DataDome (a browser verification / temporary IP flag).
The client throttles itself — a minimum gap (+random jitter) between API calls per
account (
HIGGSFIELD_MIN_REQUEST_INTERVAL, default 1.5s; raise to 2.5–3s if you still see 403s). Refresh thedatadomecookie if 403s persist.
License
MIT — see LICENSE.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。