This repository was archived by the owner on Jan 19, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 52
Invalid Video Type Error in AutoShorts (Using OllamaAIGen) #2
Copy link
Copy link
Open
Description
Hello,
I encountered an issue when using AutoShorts with the OllamaAIGen AI type. While generating a video script for a "news short" on sport cars, everything works well up until the video generation step, where I receive an error:
F:\AI_Projects3\auto-shorts\node_modules\auto-shorts\dist\index.js:170
throw Error("Invalid video type!");
^
Error: Invalid video type!
at genVideo (F:\auto-shorts\node_modules\auto-shorts\dist\index.js:170:19)
at genVideoWithAI (F:\auto-shorts\node_modules\auto-shorts\dist\index.js:90:18)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async cli (F:\auto-shorts\node_modules\auto-shorts\dist\cli.js:429:18)
Node.js v20.8.1
And when i change to GPTAIGen iget this error:
Invalid JSON data: Unexpected token 'T', "TODO" is not valid JSON
F:\auto-shorts\node_modules\auto-shorts\dist\index.js:140
throw new Error("Invalid JSON data!");
^
Error: Invalid JSON data!
at genVideo (F:\auto-shorts\node_modules\auto-shorts\dist\index.js:140:15)
at genVideoWithAI (F:\auto-shorts\node_modules\auto-shorts\dist\index.js:90:18)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async cli (F:\auto-shorts\node_modules\auto-shorts\dist\cli.js:429:18)
I would appreciate any assistance or guidance on how to resolve this issue.
Thanks in advance!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels