GH

geopopos/higgsfield_ai_mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

46 stars 18 forks 품질 66 트렌드 0MIT

geopopos/higgsfield ai mcp는 [T0]]에서 수입된 MCP 서버 후보입니다

개요

geopopos/higgsfield ai mcp는 [T0]]에서 수입된 MCP 서버 후보입니다

개요(AI 번역)

Higgsfield AI의 영화 등급 이미지 및 비디오 생성 기능에 대한 액세스를 제공하는 모델 Context Protocol (MCP) 서버. FastMCP로 내장.

최근 수정 (Nov 2, 2025)

비디오 생성이 제대로 작동! generate_video] 함수는 적절한 API 형식을 사용하기 위해 수정되었습니다.

  • prompt 매개변수 추가 (옵션, 자동 생성되지 않은 경우)
  • image_url]에서 input_images 배열 형식의 고정 API 페이로드 구조
  • 종합 문서 및 예제 추가

HIGGSFIELD_VIDEO_GENERATION_GUIDE.md]] 부모 디렉토리에서 상세한 사용.

특징

  • Text-to-Image Generation: Soul Model을 이용한 고품질 이미지를 만듭니다. -Image-to-Video: 모션 presets를 가진 Cinematic 5-second 영상으로 정체되는 이미지를 변환하십시오
  • **Character 일관성 **: 생성에 걸쳐 일관된 외관에 대한 재사용 가능한 문자 참조
  • 스타일 프리셋: 검색 및 적용 영화 스타일 presets -Motion Library: 영상 생성에 대한 사전 설계 모션 효과

설치

# 필수품

  • Python 3.10 이상
  • pip (Python 패키지 설치자)
  • API 자격 증명을 가진 Higgsfield AI 계정 (신호)

설정

이 페이지는 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 prompt parameter (optional, auto-generated if not provided)
  • Fixed API payload structure from image_url to input_images array 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

  1. Clone or download this repository

  2. Install dependencies (choose one method):

    Option A: Using pip (recommended for simplicity)

    cd higgsfield_ai_mcp
    pip install -r requirements.txt
    

    Option B: Using Poetry

    cd higgsfield_ai_mcp
    poetry install
    
  3. Configure API credentials (choose one method):

    Option A: Environment variables (recommended for .env file)

    cp .env.example .env
    

    Edit .env and add your Higgsfield AI credentials:

    HF_API_KEY=your-api-key-here
    HF_SECRET=your-secret-key-here
    

    Option B: Command line arguments

    Pass credentials directly when running the server:

    python -m higgsfield_mcp.server --api-key YOUR_KEY --secret YOUR_SECRET
    

    Get 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",
GitHub에서 전체 README 보기

설치

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}" } } } }