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 { blobTypes } from "@hypit/hypit/blob";
import { sealGraphFragment } from "@hypit/hypit/author";
import { imageTransformProducers, imageTransformTypes } from "./manifest.js";
const input = (name: string) => ({ kind: "fragment-input" as const, name });
const operation = (id: string) => ({ kind: "fragment-operation" as const, operation: id });
export const imageTransformFragment = sealGraphFragment({
inputs: [
{ name: "source", type: blobTypes.blob },
{ name: "program", type: imageTransformTypes.program },
],
operations: [{
id: "image:transform",
producer: imageTransformProducers.request,
inputs: { source: input("source"), program: input("program") },
result: { kind: "need", name: "image" },
}],
exports: [{
name: "image",
type: blobTypes.blob,
root: operation("image:transform"),
}],
});