Skip to content

Pushpendra766/NewsAI-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is NewsAI ?

NewsAI is a python script that can generate a short video giving the summary of a news. It generates a video that have a short title for news and it has an image about the news and a voice that reads the news.

If you want to see a video generated by NewsAI click here

How it works ?

  1. Fetches the news from newsx api and extracts title, subtitle and image url from it.
  2. Generate a frame(image) in which it aligns title and image of the news.
  3. Generate the video without audio from the frame
  4. Generate the audio file for the news i.e. the summary in audio form.
  5. Attach the audio and video(without audio) file together and create final output video.

Want to contribute or access it on your localhost

  1. Fork the repo and clone it or download the zip file of the project.

  2. Open the main.py file in your code editor..

  3. Run it and you will see videos generated in files folder.

    Note:- You will need to generate your own api key and replace it with API_KEY.

    (If you want to contribute or make changes, follow below steps >>>)

  4. Open the cloned file or extracted file(from zip file downloaded).

  5. Make changes in the code.

  6. Raise a PR. If the changes will be good enough to be included, the PR will be merged.

Show ❤️ by a 🌟 to this repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages