A automatic shorts videos generator for youtube, tiktok and more...
npm i
First, you need to populate the "/static/videos
" folder with videos that will be used as backgrounds for the generated shorts.
(video example)
This system works with two modes: manual story
and auto-generated story from GPT
Set STORY_BY_GPT
to false
in .env file
Copy "/static/manual_story.json.default
" to "/static/manual_story.json
" and populate
Turn true
the STORY_BY_GPT
and set your OPENAI_API_KEY
in .env
You can customize the payload sended to ChatGPT generate the story in field PAYLOAD_CHATGPT
on .env
You can change language in .env on LANGUAGE_CHATGPT
variable.
PAYLOAD_CHATGPT
is a customizable payload, it is concatenated with another payload to generate the story in a standard way, if you want to change it, customize it in the file: "/src/services/chatgpt.js
" however, it can cause problems in the system, be careful.
We are using whisper to generate automatic subtitles, read more about the models (available and requirements) here
To use it is very simple, just after making the configuration run in your terminal:
npm run generate
If you are using manual story
mode, you need populate the file "/static/manual_story.json
" with the data you want for your story.
The MIT License (MIT). Please see License File for more information
Made with ♥ by Kayck Matias