Skip to content

romandidomizio/LLMfeed

Repository files navigation

LLMfeed

LLMfeed generates daily short-form video content (TikTok, Reels, Shorts) explaining the latest AI news.

Features

  • News Fetching: Automatically fetches recent AI news articles.
  • Content Selection: Scores news relevance and selects the top story.
  • Script Generation: Uses the OpenRouter API (Mistral-7B) to generate a video script.
  • Text-to-Speech (TTS): Creates narration using an unofficial TikTok TTS API (en_us_010 voice).
  • Visual Generation: Generates relevant background visuals using the Stable Diffusion A1111 API.
  • Audio Processing: Splits TTS into sections and combines them into a single audio file (full_post.mp3).
  • Web Interface: A Flask backend provides a UI to trigger generation and review results.

Tech Stack

  • Python
  • Flask
  • pydub
  • tiktok-voice (unofficial API)
  • OpenRouter API
  • Stable Diffusion A1111 API

Setup & Run

  1. Install Dependencies:

    pip install -r requirements.txt

    (Note: Ensure requirements.txt exists and is up-to-date.)

  2. Configure APIs: Ensure API keys/endpoints for OpenRouter and A1111 are correctly set (e.g., via environment variables or configuration files).

  3. Run the Flask App:

    flask run --host=0.0.0.0 --port=5001

Next Steps

  • Implement caption generation.
  • Automate video export.
  • Set up a daily automated workflow.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors