Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

370 B
Raw Blame
import type { StudioMutation } from "../shared.js";

export async function applyStudioMutation(mutation: StudioMutation): Promise<void> {
  const response = await fetch("/__studio/mutation", {
    method: "POST",
    headers: { "content-type": "application/json" },
    body: JSON.stringify(mutation),
  });
  if (!response.ok) throw new Error(await response.text());
}