codewithdark commited on
Commit
156fcb1
·
verified ·
1 Parent(s): 66af092

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +88 -80
README.md CHANGED
@@ -1,81 +1,89 @@
1
- # Faceless Video Generator
2
-
3
- Faceless Video Generator is an AI-powered tool for creating engaging videos from any topic. By leveraging state-of-the-art AI for script generation, text-to-speech audio synthesis, and background video matching, this project generates complete videos with minimal user input.
4
-
5
- ## Features
6
-
7
- - **Script Generation:** Automatically generates a script based on the provided topic.
8
- - **Audio Synthesis:** Utilizes text-to-speech technology to generate high-quality audio narration.
9
- - **Timed Captions:** Creates captions that align with the audio for accessibility and clarity.
10
- - **Background Video Search:** Searches and fetches suitable background video clips via video search queries.
11
- - **Video Rendering:** Combines the synthesized audio, captions, and background visuals to produce the final video output.
12
- - **Gradio Interface:** Provides a user-friendly interactive interface for generating videos.
13
-
14
- ## Prerequisites
15
-
16
- - Python 3.8 or later
17
- - [Gradio](https://gradio.app/) for the web interface
18
- - Required Python packages listed in `requirements.txt`
19
-
20
- ## Installation
21
-
22
- 1. **Clone the Repository:**
23
-
24
- ```bash
25
- git clone https://github.com/yourusername/Faceless-video.git
26
- cd Faceless-video
27
- ```
28
-
29
- 2. **Create a Virtual Environment (Recommended):**
30
-
31
- ```bash
32
- python -m venv venv
33
- source venv/bin/activate # On Linux/macOS
34
- venv\Scripts\activate # On Windows
35
- ```
36
-
37
- 3. **Install Dependencies:**
38
-
39
- ```bash
40
- pip install -r requirements.txt
41
- ```
42
-
43
- 4. **API Keys:**
44
-
45
- - This project requires API keys for various services.
46
- - Create a `.env` file in the project root directory.
47
- - Add your API keys to the `.env` file as follows:
48
-
49
- ```
50
- GROQ_API_KEY=your_groq_api_key
51
- PEXELS_API_KEY=your_pexels_api_key
52
- ```
53
-
54
- > **Note:** Ensure you have accounts and API keys for Groq, and Pexels.
55
-
56
- ## Usage
57
-
58
- 1. **Run the Gradio Interface:**
59
-
60
- ```bash
61
- python app.py
62
- ```
63
-
64
- 2. **Access the Interface:**
65
-
66
- - Open your web browser and go to the address provided in the console (usually `http://localhost:7860`).
67
-
68
- 3. **Generating Videos:**
69
-
70
- - Enter the topic for the video.
71
- - Click the "Generate Video" button.
72
- - The script, audio, captions, and video will be generated automatically.
73
- - The final video will be displayed in the interface.
74
-
75
- ## Configuration
76
-
77
- You can configure various aspects of the video generation process by modifying the parameters in the Gradio interface or directly in the Python scripts.
78
-
79
- - **Script Length:** Adjust the length of the generated script.
80
- - **Voice Settings:** Customize the voice used for audio synthesis.
 
 
 
 
 
 
 
 
81
  - **Video Clip Duration:** Set the duration of the background video clips.
 
1
+ ---
2
+ license: mit
3
+ title: Faceless Video Generator
4
+ sdk: gradio
5
+ emoji: 🚀
6
+ colorFrom: purple
7
+ colorTo: gray
8
+ ---
9
+ # Faceless Video Generator
10
+
11
+ Faceless Video Generator is an AI-powered tool for creating engaging videos from any topic. By leveraging state-of-the-art AI for script generation, text-to-speech audio synthesis, and background video matching, this project generates complete videos with minimal user input.
12
+
13
+ ## Features
14
+
15
+ - **Script Generation:** Automatically generates a script based on the provided topic.
16
+ - **Audio Synthesis:** Utilizes text-to-speech technology to generate high-quality audio narration.
17
+ - **Timed Captions:** Creates captions that align with the audio for accessibility and clarity.
18
+ - **Background Video Search:** Searches and fetches suitable background video clips via video search queries.
19
+ - **Video Rendering:** Combines the synthesized audio, captions, and background visuals to produce the final video output.
20
+ - **Gradio Interface:** Provides a user-friendly interactive interface for generating videos.
21
+
22
+ ## Prerequisites
23
+
24
+ - Python 3.8 or later
25
+ - [Gradio](https://gradio.app/) for the web interface
26
+ - Required Python packages listed in `requirements.txt`
27
+
28
+ ## Installation
29
+
30
+ 1. **Clone the Repository:**
31
+
32
+ ```bash
33
+ git clone https://github.com/yourusername/Faceless-video.git
34
+ cd Faceless-video
35
+ ```
36
+
37
+ 2. **Create a Virtual Environment (Recommended):**
38
+
39
+ ```bash
40
+ python -m venv venv
41
+ source venv/bin/activate # On Linux/macOS
42
+ venv\Scripts\activate # On Windows
43
+ ```
44
+
45
+ 3. **Install Dependencies:**
46
+
47
+ ```bash
48
+ pip install -r requirements.txt
49
+ ```
50
+
51
+ 4. **API Keys:**
52
+
53
+ - This project requires API keys for various services.
54
+ - Create a `.env` file in the project root directory.
55
+ - Add your API keys to the `.env` file as follows:
56
+
57
+ ```
58
+ GROQ_API_KEY=your_groq_api_key
59
+ PEXELS_API_KEY=your_pexels_api_key
60
+ ```
61
+
62
+ > **Note:** Ensure you have accounts and API keys for Groq, and Pexels.
63
+
64
+ ## Usage
65
+
66
+ 1. **Run the Gradio Interface:**
67
+
68
+ ```bash
69
+ python app.py
70
+ ```
71
+
72
+ 2. **Access the Interface:**
73
+
74
+ - Open your web browser and go to the address provided in the console (usually `http://localhost:7860`).
75
+
76
+ 3. **Generating Videos:**
77
+
78
+ - Enter the topic for the video.
79
+ - Click the "Generate Video" button.
80
+ - The script, audio, captions, and video will be generated automatically.
81
+ - The final video will be displayed in the interface.
82
+
83
+ ## Configuration
84
+
85
+ You can configure various aspects of the video generation process by modifying the parameters in the Gradio interface or directly in the Python scripts.
86
+
87
+ - **Script Length:** Adjust the length of the generated script.
88
+ - **Voice Settings:** Customize the voice used for audio synthesis.
89
  - **Video Clip Duration:** Set the duration of the background video clips.