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 { compositionTypes } from "@hypit/composition";
import { timelineTypes } from "@hypit/timeline";
import { htmlDocumentProducers, htmlDocumentTypes } from "./manifest.js";
export const htmlDocumentFragment = sealGraphFragment({
inputs: [{ name: "composition", type: compositionTypes.composition }, { name: "timeline", type: timelineTypes.timeline }],
operations: [{
id: "compile-document", producer: htmlDocumentProducers.compile,
inputs: { composition: { kind: "fragment-input", name: "composition" }, timeline: { kind: "fragment-input", name: "timeline" } },
result: { kind: "output", name: "document" },
}],
exports: [{ name: "document", type: htmlDocumentTypes.document, root: { kind: "fragment-operation", operation: "compile-document" } }],
});