Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fabler

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fabler

Multimodal AI Story Teller, built with Stable Diffusion, GPT, and neural text-to-speech.

  • 0.0.6
  • PyPI
  • Socket score

Maintainers
1

Fabler

CI PyPI Status Badge PyPI - Python Version Code style: black License: MIT


A multi-model AI story teller, built with Stable Diffusion, GPT, and neural text-to-speech (TTS).

Given a prompt as an opening line of a story, GPT writes the rest of the plot; Stable Diffusion draws an image for each sentence; a TTS model narrates each line, resulting in a fully animated video of a short story, replete with audio and visuals.

demo animation

Quickstart

Check it out now Open In Colab or follow the instructions below to install locally.

Install from PyPi

$ pip install fabler

Install from Source

  1. Clone the repository
$ git clone https://github.com/christopherwoodall/fabler.git
  1. Install package requirements.
$ pip install --upgrade pip wheel
$ pip install -e ".[developer]"
  1. Run the demo. The final video will be saved as /out/out.mp4, alongside other intermediate images, audio files, and subtitles.
$ fabler --scene=scene.yaml

4 Alternatively with make:

make install && make run

Usage

  1. Load the model with defaults.
from fabler import Fabler

story_teller = Fabler.from_defaults()
story_teller.generate(...)
  1. Alternatively, configure the model with custom settings.
from fabler import Fabler, FablerConfig

config = FablerConfig(
    writer="gpt2-large",
    painter="CompVis/stable-diffusion-v1-4",
    max_new_tokens=100,
    diffusion_prompt_prefix="Van Gogh style",
)

story_teller = Fabler(config)
story_teller.generate(...)

License

Released under the MIT License.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc