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
fix: keep image cli credential fallback
rpone49259cf4d6cf
diff --git a/packages/video-cli/src/picture.ts b/packages/video-cli/src/picture.tsindex d42315c9..3b71eaf2 100644--- a/packages/video-cli/src/picture.ts+++ b/packages/video-cli/src/picture.ts@@ -98,13 +98,13 @@ async function resolveCredentials(const resolved: Record<string, { readonly secret: string }> = {};for (const [slot, ref] of Object.entries(registration.credentials ?? {})) {const value = ref.store === "os" && (process.platform === "darwin" || process.platform === "win32")- ? await new OsCredentialStore().resolve(ref)+ ? await new OsCredentialStore().resolve(ref) ?? await new EnvironmentCredentialStore().resolve({ store: "env", key: "HYPIHUB_API_KEY" }): await new EnvironmentCredentialStore().resolve(ref);- assert(value !== undefined, ref.store === "env"- ? ref.key === "HYPIHUB_API_KEY"- ? `credential ${slot} is unavailable; sign in with HypiHub using: hypit auth login hypihub.default`- : `credential ${slot} is unavailable; set ${ref.key} in the environment`- : `credential ${slot} lives in CredentialStore ${ref.store}, which hypit image cannot open`);+ assert(value !== undefined, ref.key === "HYPIHUB_API_KEY"+ ? `credential ${slot} is unavailable; sign in with HypiHub using: hypit auth login hypihub.default`+ : ref.store === "env"+ ? `credential ${slot} is unavailable; set ${ref.key} in the environment`+ : `credential ${slot} lives in CredentialStore ${ref.store}, which hypit image cannot open`);resolved[slot] = value;}return resolved;