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 { BlobRef } from "@hypit/hypit/protocol";
import type { SpatialFrame } from "@hypit/spatial";
export type ImageComposeOptions = {
readonly background: string;
};
export type ImageComposeLayerSpec = {
readonly fit: "contain" | "cover" | "stretch";
readonly interpolation: "nearest" | "linear" | "cubic" | "area" | "lanczos";
readonly opacity: number;
};
export type ImageComposeLayer = {
readonly source: BlobRef;
readonly frame: SpatialFrame;
readonly spec: ImageComposeLayerSpec;
};
export type ImageComposeLayerSet = {
readonly layers: readonly ImageComposeLayer[];
};