Skip to content

armgit / hypit

Public Imported from GitHub
0

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.

654 B
Raw Blame
import type { ValueSchema } from "@hypit/hypit/protocol";
import { spatialFrameSchema } from "@hypit/spatial";

const object = (fields: Readonly<Record<string, { readonly schema: ValueSchema; readonly optional?: boolean }>>): ValueSchema => ({ kind: "object", fields });

export const regionEvidenceSchema = object({
  timelineId: { schema: { kind: "string", minLength: 1 } },
  series: { schema: { kind: "array", minItems: 1, items: object({
    id: { schema: { kind: "string", minLength: 1 } },
    frames: { schema: { kind: "array", minItems: 1, items: {
      kind: "oneOf", variants: [spatialFrameSchema, { kind: "null" }],
    } } },
  }) } },
});