Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redrickh/auto_tiktok_video_generator
This Python script leverages the power of OpenAI and MoviePy to create engaging quiz videos.
https://github.com/redrickh/auto_tiktok_video_generator
automation chatgpt moviepy openai python tiktok tts-api video-generator
Last synced: about 6 hours ago
JSON representation
This Python script leverages the power of OpenAI and MoviePy to create engaging quiz videos.
- Host: GitHub
- URL: https://github.com/redrickh/auto_tiktok_video_generator
- Owner: redrickh
- License: mit
- Created: 2024-02-04T21:18:57.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-05T13:27:31.000Z (9 months ago)
- Last Synced: 2024-05-29T13:57:16.121Z (6 months ago)
- Topics: automation, chatgpt, moviepy, openai, python, tiktok, tts-api, video-generator
- Language: Python
- Homepage:
- Size: 5.98 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Automatic Tiktok Quiz Video Generator with OpenAI and MoviePy
This Python script leverages the power of OpenAI and MoviePy to create engaging quiz videos. It randomly selects questions and answers, generates audio using OpenAI's TTS, and assembles a dynamic video with countdowns, questions, answers, and a unique visual touch. The resulting quiz video is not only visually appealing but also includes an audio component for an immersive experience.
Something like this: https://www.tiktok.com/@emilyvilaga## Key Features:
- Random selection of questions and answers from a predefined set.
- OpenAI TTS for generating lifelike audio responses.
- Dynamic video assembly with MoviePy, including countdowns, questions, and answers.
- Integration of a unique visual element – a colored stripe highlighting the correct answer.
- Video upload to TikTok using the [TikTok uploader library](https://github.com/redrickh/tiktok-uploader) (forked version).## Requirements:
- Python 3.6 or above
- OpenAI library
- MoviePy library
- TikTok uploader library (Forked version: [redrickh/tiktok-uploader](https://github.com/redrickh/tiktok-uploader))## Usage:
1. Set up your OpenAI API key in the 'openai_key.py' file.
2. Ensure the required libraries are installed using the provided 'requirements.txt' file.
3. Clone the repository using the following command:
```bash
git clone https://github.com/redrickh/Auto_tiktok_video_generator.gitFeel free to customize the script for your specific needs and experiment with different video templates for added variety.
*Note: Ensure you have the necessary permissions to use the OpenAI API and adhere to TikTok's policies when uploading videos.*