"Higgsfield promised to open source their entire platform. They didn't. Let's help them." — Built for the Official ComfyUI
#OpenSourceHiggsfieldChallenge ($22,000+ Prize Pool: $10K Best Overall · NVIDIA RTX 5090 Open-Weights Grand Prize · $2K LTX-2.5 VFX Bonus Track)
OpenSourceHiggsfield is a 100% open-source, MIT-licensed 3-in-1 AI Cinema & Video Direction Platform built on ComfyUI, comfy-sdk v0.5.0, comfy-api-proxy v0.1.6, Comfy MCP & Local Agent (backend/mcp_server.py), LTX-2.5 (22B), FLUX.3 Image Klein, DepthAnything V3 / MoGe-2, and TRELLIS-2. It unifies all three flagship experiences from Comfy Org's official competition launch (open-source-higgsfield-launch-v06.mp4) plus a live Comfy SDK v0.5.0 Node Graph Workbench and a Closed-Loop Mathematical Verification Engine (CVGEO1\0\0 binary geometry + Umeyama Sim(3) trajectory verification + 16 GB Blackwell VRAM Watchdog).
🌐 24/7 Live Interactive Studio (Try in Browser):
👉 https://kevin9327.github.io/OpenSourceHiggsfield/
🎬 Full 24.0s 1080p Submission Demo Video (with ITU-R BS.1770 -14.0 LUFS Studio Audio):
👉 public/outputs/OpenHiggsfield_Submission_Demo_1080p.mp4 · GitHub Release v1.0.0 Download
Direct every shot with real-time 3D surface-normal relighting ($\mathbf{N}(x,y)$), anamorphic bokeh & halation, 4 instant shot takes (A / B / C / D), and 1-click Image-to-Video DFR animation.
2. Re-shoot a Video (Interactive 3D Spherical Camera Rig, CVGEO1\0\0 Point-Cloud Warp & Sim(3) Verification)
Drag a virtual camera along an orbital 3D wireframe sphere with live frustum projection, set timestamped (t, Yaw°, Pitch°, Zoom) diamond keyframes (◆ 0.0 s 30° / 8° → ◆ 4.4 s -15° / 0°), toggle Matrix Freeze-Time (Bullet-Time), switch between Inpaint Far-Depth and #FF00FF CrossView LoRA Disocclusion Mask, export CVGEO1\0\0 binary geometry streams, and wipe-compare Source vs Result.
Drop in any performance video (rap-original.mp4) and a single character reference image (character_grandma.png), trim the 5–15s segment with the interactive filmstrip modal, specify who to replace in plain English ("the guy in the left"), and trigger LTX-2.5 IC-LoRA character replacement with synchronized -14 LUFS studio audio preservation.
Inspect all 6 ComfyUI API-format workflows (.api.json), visualize live node dataflow across our 5 custom OpenHiggsfield* PyTorch nodes, and copy/execute synchronized Python (comfy-sdk v0.5.0) and TypeScript (@comfyorg/comfy-sdk) code.
┌───────────────────────────────────────────────────────────────────────────────────┐
│ OpenSourceHiggsfield Web Studio (frontend/) │
│ [1. Cinematic Studio] [2. Re-shoot a Video] [3. OpenJutsu] [4. SDK Graph] │
└─────────────────────────────────────────┬─────────────────────────────────────────┘
│ REST + Live SSE (/api/events/{job_id})
┌─────────────────────────────────────────▼─────────────────────────────────────────┐
│ FastAPI + comfy-sdk v0.5.0 Engine (backend/server.py) │
│ • Dual Execution Mode Switch: OPEN_WEIGHTS_LOCAL (Default) vs CLOUD_HYBRID │
│ • Open-Weights Guardrail Validator (blocks closed partner nodes in Local mode) │
│ • Proxy v0.1.6 Sanitizer (prepare_workflow_for_proxy -> metadata=None) │
│ • Closed-Loop Umeyama Sim(3) + CIE LAB Delta-E Verifier + CVGEO1 Binary Packer │
└───────────────────┬───────────────────────────────────────────┬───────────────────┘
│ OPEN_WEIGHTS_LOCAL │ CLOUD_HYBRID
┌───────────────────▼───────────────────────┐ ┌─────────────────▼───────────────────┐
│ comfy-api-proxy v0.1.6 (:8189) -> (:8188) │ │ Comfy Cloud & Router API │
│ + Local PyTorch/OpenCV/FFmpeg Execution │ │ • https://cloud.comfy.org │
│ • 5 Custom ComfyUI Nodes (nodes.py) │ │ • https://api.comfy.org │
│ • NVIDIA RTX 5080 (16GB VRAM) Accelerated │ │ (LTX-2.5, FLUX.3, MiniMax H3) │
└───────────────────────────────────────────┘ └─────────────────────────────────────┘
OPEN_WEIGHTS_LOCAL(Default — Grand Prize & RTX 5090 Hardware Prize Compliant):- Routes
comfy_sdk.AsyncComfytoCOMFY_BASE_URL=http://127.0.0.1:8189(comfy-api-proxyv0.1.6 wrapping local ComfyUI on127.0.0.1:8188). - Audits every workflow node via
validate_open_weights_workflowandprepare_workflow_for_proxy, rejecting any closed/proprietary partner node (Seedream,Kling,Runway,Veo,Sora,Luma,Pika) and stripping dictmetadatapayloads socomfy-api-proxyv0.1.6 never fails. - Includes a zero-downtime Real-Time Local PyTorch/OpenCV/FFmpeg Execution Engine that runs all 5 custom nodes locally and encodes H.264/AAC MP4 outputs even when a separate ComfyUI server on
:8188is offline.
- Routes
CLOUD_HYBRID:- Connects
comfy_sdk.AsyncComfytohttps://cloud.comfy.organdhttps://api.comfy.org(client.models.subscribeforltx/ltx-2-5-pro,bfl/flux-3-image, andminimax/minimax-h3).
- Connects
Ready to drop into ComfyUI/custom_nodes/ or publish via pyproject.toml:
-
OpenHiggsfieldCameraRig: Generates$4\times 4$ $SE(3)$ camera-to-world matrices,LTXVSparseTrackEditor2D/3D point tracks, and the 3D wireframe sphere gizmo preview forcustom_orbit,bullet_time_360,snorricam_pov,crash_zoom,fpv_drone_dive, anddolly_zoom_vertigo. -
OpenHiggsfieldDepthReshoot: Warps images/videos in true 3D perspective using depth maps and keyframed(azimuth_deg, elevation_deg, distance, fov_deg)trajectories, supportinginpaint_far_depthand#FF00FF(magenta_ff00ff) disocclusion masks plusmatrix_freeze_time=Truebullet-time freeze. -
OpenHiggsfieldRelightGrade: Computes 3D surface normals$\mathbf{N}(x,y)$ and applies physically-based directional/rim relighting (neon,blue_hour,golden_hour,low_key) + motion-picture film stock halation/grain (tungsten_500t,vision3_250d,tri_x_400) + color grade LUTs (teal_and_orange,kodachrome,bleach_bypass). -
OpenHiggsfieldJutsuVFX: Extracts subject silhouettes/alpha mattes and synthesizes procedural chakra, portal, and cyber-neon VFX passes for OpenJutsu character swaps. -
OpenHiggsfieldViralWipe: Renders the signature#EAFF45neon-yellow split-screen comparison wipe acrossSource,Depth/Rig Guide, andResultframes.
All 6 workflows are valid ComfyUI API-format graphs (.api.json) indexed in workflows/manifest.json:
| Workflow File | Studio Tab | Key Open-Weights Models & Custom Nodes |
|---|---|---|
ltx25_cinematic_studio.api.json |
Cinematic Studio | flux3-image-klein-int8-convrot.safetensors, OpenHiggsfieldRelightGrade, ltx-2.5-22b-ic-lora-layout-to-render-1.0.safetensors |
ltx25_reshoot_depth_warp.api.json |
Re-shoot a Video | depth_anything_v3_vitl_fp16.safetensors, OpenHiggsfieldDepthReshoot, ltx-2.3-22b-ic-lora-union-control-ref0.5.safetensors, OpenHiggsfieldViralWipe |
ltx25_openjutsu_swap.api.json |
OpenJutsu | OpenHiggsfieldJutsuVFX, ltx-2.5-22b-ic-lora-ingredients-0.9.safetensors, ltx-2.5-22b-ic-lora-alpha-gen-0.9.safetensors, LTXVSetAudioRefTokens |
ltx25_dfr_i2v.api.json |
Cinematic Video (DFR) | ltx-2.5-22b-dev-fp8.safetensors, gemma_4_12B_it_fp8_scaled.safetensors, OpenHiggsfieldCameraRig, ltx-2.5-22b-ic-lora-pixel-spatial-upscaler-x2-1.0.safetensors |
pixal3d_trellis2_glb.api.json |
3D Set Builder | TRELLIS-image-large-fp16.safetensors, dinov2_vitl14_reg.safetensors, Trellis2SLatToGLB |
nvidia_rtx_vfx_hdr.api.json |
RTX 5080/5090 Mastering | RTXVideoSuperResolution, RTXVideoFrameGeneration, RTXTrueHDR |
CVGEO1\0\0Binary Geometry Stream (pack_cvgeo1_bytes/unpack_cvgeo1_bytes&GET /api/reshoot/cvgeo): Full binary-compatible implementation of theComfy-Org/comfy-reshootCVGEO1\0\0geometry specification (b"CVGEO1\x00\x00"8-byte magic, little-endianuint32header length, UTF-8 JSON header, indexed JPEG frame offsets, and byte-shuffledshuffle2+zliblosslessfloat16depth compression with0.0round-trip error).- Closed-Loop
Umeyama Sim(3)Camera Trajectory & CIE LABDelta-EVerifier (verify_camera_trajectory_sim3): SVD-basedSim(3)similarity alignment verifying generated video camera motion against target 6-DOF poses (rot_err_deg,trans_err_pct,fov_err_deg,lab_drift_delta_e, andfidelity_score_100). - Dual Disocclusion Modes (
inpaint_far_depthvsmagenta_ff00ff) & Matrix Bullet-Time (matrix_freeze_time): Supports exact#FF00FF(R=1.0, G=0.0, B=1.0) magenta disocclusion guides for LTX-2.5 CrossView / Union Control IC-LoRA as well as frozen-time 3D orbital bullet-time (matrix_freeze_time=True). - 16 GB Blackwell VRAM Hardware Watchdog & ITU-R BS.1770 (
-14 LUFS) Audio Mastering: Livenvidia-smitelemetry (get_hardware_vram_telemetry()) computing safe LTX-2.58n+1frame counts (25, 33, ..., 121) and mod-32 resolution budgets (640x352,768x448,832x480,1280x704), paired with broadcast-grade FFmpegloudnorm=I=-14:TP=-1.0:LRA=11audio normalization. - Reproducible Deployment Manifest (
comfy-build.yaml) & Live Proof Endpoint (GET /api/benchmark/proof): Pins ComfyUI2255709aa0(v0.37.0),comfyui_openhiggsfield_nodes,ComfyUI-CrossViewWarp, and all 6 open-weights model families (LTX-2.5-22B,FLUX.3-Klein,MoGe-2,MiniMax-H3,SAM-3,TRELLIS-2). - Comfy MCP & Local Agent Server (
backend/mcp_server.py&/api/mcp/*): Implements a standard Model Context Protocol (MCP) JSON-RPC 2.0 server (initialize,tools/list,tools/call) overstdioand HTTP REST (/api/mcp/tools,/api/mcp/call,/api/mcp), exposing 6 AI Director tools (generate_cinematic_shot,reshoot_video_3d,openjutsu_vfx_swap,export_cvgeo1_geometry,verify_sim3_camera_trajectory,get_hardware_vram_telemetry).
python -m pip install -r requirements.txtpython -m unittest discover -s tests -vIf you have a local ComfyUI instance running on http://127.0.0.1:8188:
comfy-api-proxy start --comfy-url http://127.0.0.1:8188 --port 8189# Launch Web Studio & REST/MCP HTTP Server on :8090
python -m uvicorn backend.server:app --host 127.0.0.1 --port 8090
# Or run as a stdio Model Context Protocol (MCP) server for Comfy Local Agent / Claude / Cursor
python -m backend.mcp_serverThen open http://127.0.0.1:8090 in your browser (or click 🏆 1st-Place Proof (13/13) in the top navbar / inspect http://127.0.0.1:8090/api/benchmark/proof).
Released under the MIT License.





