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 type { ValueSchema } from "@hypit/hypit/protocol";
const string = { kind: "string", minLength: 1 } as const;
const object = (
fields: Readonly<Record<string, { readonly schema: ValueSchema; readonly optional?: boolean }>>,
): ValueSchema => ({ kind: "object", fields });
export const narrativeCaptionBindingSchema: ValueSchema = object({
id: { schema: string }, narrativeId: { schema: string }, documentId: { schema: string },
units: { schema: { kind: "array", items: object({
unitId: { schema: string }, sourceTokenIds: { schema: { kind: "array", minItems: 1, items: string } },
}) } },
});