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.
TypeScript agentic-aiaiai-agentsai-videocompilerdslffmpeggenerative-aillmmarkup-languagemonorepoplugin-systemprogramming-languagetext-to-videotypescriptvideovideo-automationvideo-clonevideo-editingvideo-generation
import { sealGraphFragment } from "@hypit/hypit/author";
import { spatialTypes } from "@hypit/spatial";
import { recipeType } from "@hypit/hypit/recipe";
import { timelineTypes } from "@hypit/timeline";
import { regionEvidenceProducers, regionEvidenceTypes } from "./manifest.js";
const input = (name: string) => ({ kind: "fragment-input" as const, name });
export const regionEvidenceFragment = sealGraphFragment({
inputs: [
{ name: "within", type: spatialTypes.frame },
{ name: "timeline", type: timelineTypes.timeline },
{ name: "recipe", type: recipeType },
],
operations: [{ id: "resolve", producer: regionEvidenceProducers.resolve, inputs: {
within: input("within"), timeline: input("timeline"), recipe: input("recipe"),
}, result: { kind: "output", name: "evidence" } }],
exports: [{ name: "evidence", type: regionEvidenceTypes.evidence, root: { kind: "fragment-operation", operation: "resolve" } }],
});