Skip to content
Kitbay
MCP server

reverse-engineer-higgsfield

Runs locallyMITUpdated on Oct 18, 202626GitHub starsNeeds an API key

A Rust program from DansUGC that works as a command-line tool, a local web app and a local MCP server.

What it does

A Rust program from DansUGC that works as a command-line tool, a local web app and a local MCP server. Given a short AI-made video, it measures shots, cut timing and audio with ffmpeg, asks a video model to describe each shot, and writes a reusable fal.ai flow with prompts and variables. It can then render the flow on fal.ai, compare the rebuild with the original, publish it as a fal Workflow, and produce batches of variants within a spending cap. It targets video formats popular on Higgsfield but runs everything through a fal.ai key; without a key it only measures the file.

Capabilities

  • Break an AI video into measured shots, cuts and keyframes
  • Write a fal.ai flow that recreates the video's format
  • Render, verify and batch flows on fal.ai within a budget
  • Publish a flow as a fal Workflow