Sign inSign up

cyrus2281/mac-slider-generator

By cyrus2281

•Updated over 2 years ago

Voice-overed video slide generator

Image
Machine learning & AI
0

216

cyrus2281/mac-slider-generator repository overview

⁠Multi-Agent Collaboration Slide Generator

MAC-Slide Generator is an agentic system application that creates a full voice-overed video slide presentation from a given prompt.

This project is powered by OpenAI and Langchain.

For more info check the Github repository: https://github.com/cyrus2281/MAC-SlideGenerator⁠

⁠Running the image:

  • Create a .env file in the root directory and add the following:
OPENAI_API_KEY=Your_OpenAI_API_Key
SERP_API_KEY=Your_Serp_API_Key
LANGCHAIN_API_KEY=Your_LangChain_API_Key
LANGCHAIN_TRACING_V2=true
LANGCHAIN_PROJECT="Multi-agent Collaboration"
  • Run the docker run command to start the container

Update the .env path if it is not in the root directory. (Instead of an environment file, you can also pass the environment variables directly to the docker run command using the -e flag.)

Update ${PWD}/projects to the path where you want to create the projects if not current directory.

docker run --rm --env-file .env -it -v ${PWD}/projects:/app/projects cyrus2281/mac-slider-generator:latest

⁠Customization

Further environment variables can be added to the .env file to customize the behavior of the app.

OPENAI_GPT_MODEL_NAME=Your_OpenAI_GPT_Model_Name
USE_OPENAI_FOR_TEXT_TO_AUDIO=Wether_to_use_OpenAI_for_text_to_audio
SLIDES_WATERMARK=Your_Slides_Watermark
EXTENDED_SLIDES=false
  • OPENAI_GPT_MODEL_NAME: The OpenAI GPT model to use for generating text. Default is gpt-4o.
  • USE_OPENAI_FOR_TEXT_TO_AUDIO: Whether to use OpenAI for text to audio conversion. Default is true.
  • SLIDES_WATERMARK: The watermark to add to the slides. Default is MAC-Slide-Generator by Cyrus Mobini.
  • EXTENDED_SLIDES: Whether to generate more slides (1015 slides). Default is false (around 69 slides). This will increase the cost of the service.

Tag summary

Content type

Image

Digest

sha256:809187c4b…

Size

610.3 MB

Last updated

over 2 years ago

docker pull cyrus2281/mac-slider-generator