Skip to content

One-click character swap for videos: an open-source, local Higgsfield Genjutsu alternative built on ComfyUI and MiniMax H3, with FLUX.3 Klein relighting.

403 B
Raw Blame
import { apiAccess } from "../../../lib/http.ts";
import { NextResponse } from "next/server";
import { listTonePresets } from "../../../lib/comfy.ts";

export const runtime = "nodejs";
export const dynamic = "force-dynamic";

export async function GET(request: Request) {
  const denied = apiAccess(request);
  if (denied) return denied;
  return NextResponse.json({ tone: await listTonePresets() });
}