One-click character swap for videos: an open-source, local Higgsfield Genjutsu alternative built on ComfyUI and MiniMax H3, with FLUX.3 Klein relighting.
import { NextResponse } from "next/server";
import { authorize } from "./lib/http.ts";
export function proxy(request: Request) {
return authorize(request) ?? NextResponse.next();
}
// API routes enforce access themselves, so large uploads never pass through Proxy's body cloning.
export const config = { matcher: "/" };