Thank you for considering contributing to Story Blocks! We appreciate your interest in helping us improve and expand this open-source project. Here's how you can contribute to our project:
- Getting Started
- Example
- Features
- Usage
- Show Your Support
- Instructions for Running Story Blocks
- Contributing
- Technologies Used
- License
- Contact
Story Blocks is an open-source project that utilizes generative AI to transform text into visual narratives. By combining OpenAI's text generation model and Stable Diffusion(Automatic1111) with LORA for image synthesis, this project allows users to explore new frontiers of storytelling.
You can quickly get started with Story Blocks using Google Colab. Click the following links to run the project:
To provide an example of Story Blocks in action, here's a sample input prompt and accompanying visual output:
Input Prompt: "Boy going to the moon"
- Transforms text prompts into captivating video narratives with vivid visuals.
- Uses cutting-edge AI technology for text, image, and video generation, including OpenAI, Automatic1111, and ElevenLabs.
- Customizable options to tailor the user experience.
To use Story Blocks, simply provide a text prompt, and watch as the project generates a unique story accompanied by stunning visuals. Users can customize their experience by adjusting various parameters such as image style and animation speed.
Here's a list of tasks and features that are currently being worked on or planned for Story Blocks:
- Complete video compilation pipeline
- Add Stable Diffusion support for image generation
- Add Automatic1111 APIs
- Add Diffusechain
- Convert it into a Python file
- Add Colab notebook
- Add Gradio
- Project Creation and Section
- Implement Story Generation on Gradio
- Add Audio Generation using ElevenLabs
- Add Audio generation using pyttx3
- Add SDXL Model for Image Generation locally
- Add proper Subtitles support
- Add Support for other image generation models (from Stability AI)
- Add support for flashcards
- Prompts optimization
- Become Automatic1111 agnostic
We hope you find Story Blocks helpful! If you do, let us know by giving us a star β on the repo. It's easy, just click on the 'Star' button at the top right of the page. Your support means a lot to us and keeps us motivated to improve and expand Story Blocks. Thank you and happy content creating! π
This guide provides step-by-step instructions for installing ImageMagick and FFmpeg on your system, which are both required to do automated editing. Once installed, you can proceed to run runStoryblocks.py
successfully.
Before you begin, ensure that you have the following prerequisites installed on your system:
- Python 3.x
- Pip (Python package installer)
Follow the instructions below to install ImageMagick, FFmpeg, and clone the Story Blocks repository:
-
For Windows, download the installer from the official ImageMagick website and follow the installation instructions. https://imagemagick.org/script/download.php
-
For Ubuntu/Debian-based systems, use the command:
sudo apt-get install imagemagick
Then run the following command to fix a moviepy Imagemagick policy.xml incompatibility problem:
!sed -i '/<policy domain="path" rights="none" pattern="@\*"/d' /etc/ImageMagick-6/policy.xml
-
For macOS using Homebrew, use the command:
brew install imagemagick
-
Verify the installation by running the following command:
convert --version
You should see the ImageMagick version information if the installation was successful.
-
For Windows, download the FFmpeg binaries from this Windows Installer (It will download ffmpeg, ffprobe and add it to your path). https://github.com/icedterminal/ffmpeg-installer/releases/tag/6.0.0.20230306
-
For macOS using Homebrew, use the command:
brew install ffmpeg
For Ubuntu/Debian-based systems, use the command:
sudo apt-get install ffmpeg
-
Verify the installation by running the following command:
ffmpeg -version
You should see the FFmpeg version information if the installation was successful.
-
Open a terminal or command prompt.
-
Execute the following command to clone the Story Blocks repository:
git clone https://github.com/adithya-s-k/Storyblocks.git
-
Open a terminal or command prompt.
-
Navigate to the directory where
runStoryblocks.py
is located (the cloned repo). -
Execute the following command to install the required Python dependencies:
pip install -r requirements.txt
This command will install the necessary packages specified in the
requirements.txt
file.
uting
We welcome contributions from the community to help improve Story Blocks. To contribute, please follow these steps:
- Fork the repository.
- Create a new branch and make your changes.
- Submit a pull request.
Story Blocks utilizes the following technologies to power its functionality:
- Moviepy: Moviepy is used for video editing, allowing Story Blocks to make video editing and rendering.
- Openai: Openai is used for automating the entire process, including generating scripts and prompts for LLM automated editing processes.
- ElevenLabs: ElevenLabs is used for voice synthesis, supporting multiple languages for voiceover creation.
- Diffusechain: A library that makes it easier to generate images using diffusion models.
- Automatic1111: A UI first project which is used to generate, modify images, and much more.
These technologies work together to provide a seamless and efficient experience in automating video and short content creation with AI.
Story Blocks is licensed under the MIT License. See LICENSE
for more information.
Stay updated with the latest happenings, announcements, and insights about Story Blocks by checking out my Twitter accounts. Engage in fascinating dialogues, access the latest news about the project, and gain insights from the person behind Story Blocks.
- Developer: @adithya-s-k.
Feel free to reach out if you have any questions or need assistance with the project. We look forward to your contributions!