tube-crafter

1.0.2 • Public • Published

tube-crafter CI npm version

Generate a video from a topic, or a script you already have.

Installation

npm install -g tube-crafter

Prerequisites

  • ffmpeg must be installed
  • OPENAI_API_KEY must be set in your environment
  • Your machine must be able to access Google Cloud (instructions)

Usage

tube-crafter --topic "red squirrels"
tube-crafter --script my-script.md

How it works

  1. Creates a video script from the topic provided (or uses provided script)
  2. Splits the script into "text lines" (paragraphs and headings)
  3. Creates a text-to-speech MP3 for each text line
  4. Creates an image for each text line (if heading, text shown in image)
  5. Creates a video for each text line (using the MP3 and image)
  6. Concatenates all the videos into a single video

Readme

Keywords

none

Package Sidebar

Install

npm i tube-crafter

Weekly Downloads

2

Version

1.0.2

License

ISC

Unpacked Size

31.1 kB

Total Files

19

Last publish

Collaborators

  • alecrust