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.

630 B
Raw Blame
export type SpeechEstimateLanguage = "auto" | "en" | "zh" | "ja" | "es";
export type ResolvedSpeechEstimateLanguage = Exclude<SpeechEstimateLanguage, "auto">;
export type SpeechEstimatePace = "slow" | "normal" | "fast";
export type SpeechEstimateRounding = "none" | "round" | "ceil";

type SpeechEstimatePolicyBase = {
  readonly language: SpeechEstimateLanguage;
  readonly rounding: SpeechEstimateRounding;
  readonly paddingSec?: number;
};

export type SpeechEstimatePolicy = SpeechEstimatePolicyBase & (
  | { readonly pace: SpeechEstimatePace; readonly rate?: never }
  | { readonly pace?: never; readonly rate: number }
);