
geopopos/higgsfield_ai_mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
geopopos/higgsfield ai mcp は [https://github.com/geopopos/higgsfield_ai_mcp.] からインポートされた MCP サーバーの候補です
概要
geopopos/higgsfield ai mcp は [https://github.com/geopopos/higgsfield_ai_mcp.] からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
Higgsfield AIのシネマティック・グレード・イメージと映像生成機能にアクセスできるモデル・コンテキスト・プロトコル(MCP)サーバー。 FastMCP で構築
❀ 最近の修正 (Nov 2, 2025)
ビデオ生成が正常に機能します!* [generate_video] 関数は、適切な API 形式を使用するように固定されています。
- 必要な[
promptパラメータを追加(オプション、自動生成) - [
image_urlから[input_imagesの配列フォーマットにAPIペイロード構造を修正 - 包括的なドキュメントと例を追加
親ディレクトリのHIGGSFIELD_VIDEO_GENERATION_GUIDE.mdを参照してください。
##特徴
-Text-to-Image Generation: Soulモデルを用いた高品質の画像を作成する -Image-to-Video: 静的な画像をモーションプリセットで5秒の動画に変換
- Character の一貫性: 世代を越えて一貫した外観のための再使用可能な文字参照を作成する
- スタイルプリセット: シネマティックスタイルのプリセットをブラウズして適用 -モーションライブラリ:ビデオ生成のための事前設計されたモーションエフェクトへのアクセス
インストール
前提条件
- Python 3.10以上
- pip(Pythonパッケージインストーラ)
- Higgsfield AIアカウント(API認証)
セットアップ
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Higgsfield AI MCP Server
A Model Context Protocol (MCP) server that provides access to Higgsfield AI’s cinematic-grade image and video generation capabilities. Built with FastMCP.
🔧 Recent Fix (Nov 2, 2025)
Video generation now works correctly! The generate_video function has been fixed to use the proper API format:
- Added required
promptparameter (optional, auto-generated if not provided) - Fixed API payload structure from
image_urltoinput_imagesarray format - Added comprehensive documentation and examples
See HIGGSFIELD_VIDEO_GENERATION_GUIDE.md in the parent directory for detailed usage.
Features
- Text-to-Image Generation: Create high-quality images using the Soul model
- Image-to-Video: Convert static images into cinematic 5-second videos with motion presets
- Character Consistency: Create reusable character references for consistent appearance across generations
- Style Presets: Browse and apply cinematic style presets
- Motion Library: Access pre-designed motion effects for video generation
Installation
Prerequisites
- Python 3.10 or higher
- pip (Python package installer)
- Higgsfield AI account with API credentials (Sign up)
Setup
-
Clone or download this repository
-
Install dependencies (choose one method):
Option A: Using pip (recommended for simplicity)
cd higgsfield_ai_mcp pip install -r requirements.txtOption B: Using Poetry
cd higgsfield_ai_mcp poetry install -
Configure API credentials (choose one method):
Option A: Environment variables (recommended for .env file)
cp .env.example .envEdit
.envand add your Higgsfield AI credentials:HF_API_KEY=your-api-key-here HF_SECRET=your-secret-key-hereOption B: Command line arguments
Pass credentials directly when running the server:
python -m higgsfield_mcp.server --api-key YOUR_KEY --secret YOUR_SECRETGet your API keys from: https://cloud.higgsfield.ai/api-keys
Usage
Local Development & Testing
Test the server:
# Run directly with Python
python -m higgsfield_mcp.server
# Or with command line arguments
python -m higgsfield_mcp.server --api-key YOUR_KEY --secret YOUR_SECRET
# Run in development mode with auto-reload (if using Poetry)
poetry shell
fastmcp dev src/higgsfield_mcp/server.py
Claude Desktop Integration
Add this server to your Claude Desktop configuration:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
Method 1: Using Python directly with environment variables (recommended)
{
"mcpServers": {
"higgsfield": {
"command": "python",
"args": [
"-m",
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →設定
{
"mcpServers": {
"higgsfield": {
"command": "python",
"args": [
"-m",
"higgsfield_mcp.server"
],
"cwd": "/absolute/path/to/higgsfield_ai_mcp",
"env": {
"HF_API_KEY": "${HF_API_KEY}",
"HF_SECRET": "${HF_SECRET}"
}
}
}
}