Welcome to Story Blocks - Your Gateway to Extraordinary Storytelling!
Story Blocks is not just a project; it's a realm of boundless creativity and limitless storytelling possibilities. With the magic of generative AI at our fingertips, we bring you a world of possibilities:
- 📽️ Generate Storytelling Videos: Craft captivating narratives brought to life with stunning visuals.
- 👤 Avatar Narration Videos: Let avatars narrate your tales, giving them a unique personality and voice.
- 📚 Flashcards Books: Create educational flashcards and books in a breeze.
And that's just the beginning! Our journey is marked by innovation, and our future holds even more exciting features.
So, are you ready to embark on a storytelling adventure like no other? Join us and unlock the power of imagination with Story Blocks!
Colab Page | Function |
---|---|
Run Story blocks in One Click | |
Run Automatic1111 Web UI with API |
The Very First Video I generated manually:
Storyblocks-V1-example1.mp4 |
Automated Video Generation:
Storyblocks-V2-example1.mp4 |
Avatar Narration:
Avatar-Narration-V1.mp4 |
Storyblocks-V1-example2.mp4 |
Storyblocks-V2-example2.mp4 |
Storyblocks-V1-example3.mp4 |
Storyblocks-V2-example3.mp4 |
- Transforms text prompts into captivating video narratives with vivid visuals
- Uses cutting-edge AI technology for text, image, video generation like OpenAI , Automatic1111 and ElevenLabs
- Customizable options to tailor 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.
- 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 Storyblocks 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 Storyblocks. 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 Storyblocks 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 Storyblocks 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.
Once you have successfully installed ImageMagick, FFmpeg, and the Python dependencies, you can run runStoryblocks.py
by following these steps:
- Open a terminal or command prompt.
- Navigate to the directory where
runStoryblocks.py
is located (the cloned repo). - Execute the following command to run the script:
python runStoryblocks.py
- After running the script, a Gradio interface should open at your local host on port 4000 (http://localhost:4000).
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.
Storyblocks utilizes the following technologies to power its functionality:
-
Moviepy: Moviepy is used for video editing, allowing Storyblocks 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.