← 开源
jaketae

storyteller

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

ApplicationsContent creationPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
535
Star
69
Fork
+0
本周
4
贡献者
创建于 2022-12-30 · 更新于 2026-09-30 · 今日第 17524 名
主要开发者
jaketaechristopherwoodalliluxonchik

jaketae/storyteller 排名第 17,524,有 535 个星标。

同类别比较

jaketae/storyteller 排名第 17,524,此处有 8 个同类条目;erdos-project/pylot 排名第 17,520。

同类别比较
名称排名指标
jhj0517/AdvancedLivePortrait-WebUI17,493
语言:
Python
星标数:
536
分叉数:
52
简介:
gradio WebUI for AdvancedLivePortrait
HenryXiaoYang/XYBot17,507
语言:
Python
星标数:
535
分叉数:
68
简介:
XYBot是一个可运行于Linux和Windows的基于Hook的微信机器人🤖️!✅高度可自定义! ✅支持自我编写插件!非常多的功能:天气🌤️、获取新闻📰、ChatGPT聊天🗣️、Hypixel玩家查询🎮、随机图片📷、随机链接🔗、随机群成员👥、五子棋♟️、签到✅、查询积分📊、积分榜🏆、积分转送💰、积分抽奖🎁、积分红包🧧等
codota/tabnine-intellij17,518
语言:
Kotlin
星标数:
535
分叉数:
73
简介:
Jetbrains IDEs client for TabNine. Compatible with all IntelliJ-based IDEs. https://plugins.jetbrains.com/plugin/12798-tabnine
erdos-project/pylot17,520
语言:
Python
星标数:
535
分叉数:
139
简介:
Modular autonomous driving platform running on the CARLA simulator and real-world vehicles.
ModelDepot/tfjs-yolo-tiny17,534
语言:
JavaScript
星标数:
534
分叉数:
88
简介:
In-Browser Object Detection using Tiny YOLO on Tensorflow.js
S-Trespassing/claw-in-chrome17,535
语言:
JavaScript
星标数:
534
分叉数:
84
简介:
这是一个放在 Chrome 侧边栏里的助手扩展。解除了Claude in Chrome的登录限制和套餐限制,支持自定义模型供应商,并且支持编辑原插件不支持编辑的参数,让您的大模型在该插件中有更好的表现!
clawwork-ai/ClawWork17,542
语言:
TypeScript
星标数:
534
分叉数:
72
codefuse-ai/CodeFuse-CGM17,543
语言:
Python
星标数:
534
分叉数:
56
简介:
[NeurIPS 2025] A Graph-based LLM Framework for Real-world SE Tasks
关键参数与规格
关键参数与规格
参数值
语言Python
类别Applications
子类别Content creation
关键词Image production, Storytelling, Text-to-speech
星标数535
分叉数69
贡献者4
创建日期2022-12-30
更新日期2026-09-30
1 天星标数0
7 天星标数0
排名17,524
上次排名17,310
排名变化-214
7 天星标排名16,150
上次 7 天星标排名16,156
7 天星标排名变化6
总星标排名18,363
上次总星标排名18,338
总星标排名变化-25
README 摘录

StoryTeller A multimodal AI storyteller, 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. Installation PyPI Story Teller is available on PyPI. NOTE] For Apple Silicon users, is not available. (Optional) To

develop locally, install dependencies and install pre-commit hooks. This will automatically trigger linting and code quality checks before each commit. Quickstart The quickest way to run a demo is by using the command line interface (CLI). To get started, simply type: This command will initialize the story with the default prompt of . An example of the output that will be generated can be seen in the animation above. You can customize the beginning of your story by using the

argument. For example, if you would like to start your story with the text , your CLI command would look as follows: The final video will be saved in the directory, along with other intermediate files such as images, audio files, and subtitles. To adjust the default settings with custom parameters, you can use the different CLI flags as needed. To see a list of all available options, type: This will provide you with a list of the options, their descriptions

and their defaults. Usage Command Line Interface CUDA If you have a CUDA-enabled machine, run to utilize GPU. You can also place each model on separate devices if loading all models on a single device exceeds available VRAM. $ For faster generation, consider using half-precision. NOTE] PyTorch support for Apple Silicon (MPS) is work in progress. At the time of writing, does not work with (issue) on PyTorch stable 2. If you are on an Apple Silicon machine, run

if you want to use MPS acceleration for both models. For faster generation, consider enabling attention-slicing to save on memory. Python For more advanced use cases, you can also directly interface with Story Teller in Python code. Alternatively, configure the model with custom settings.

常见问题

记录了多少星标和分叉?

jaketae/storyteller 有 535 个星标和 69 个分叉。

仓库排名是多少?

jaketae/storyteller 排名第 17,524。

记录的语言和类别是什么?

jaketae/storyteller 有 535 个星标,语言为 Python,类别为 Applications。

哪个仓库排名最接近?

jaketae/storyteller 与 erdos-project/pylot 比较,后者排名第 17,520,有 535 个星标。

README

StoryTeller

A multimodal AI storyteller, 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.

Installation

PyPI

Story Teller is available on PyPI.

$ pip install storyteller-core

Source

  1. Clone the repository.
$ git clone https://github.com/jaketae/storyteller.git
$ cd storyteller
  1. Install dependencies.
$ pip install .

[!NOTE] For Apple Silicon users, mecab-python3 is not available. You need to install mecab before running pip install. You can do this with Hombrew via brew install mecab. For more information, refer to https://github.com/SamuraiT/mecab-python3/issues/84.

  1. (Optional) To develop locally, install dev dependencies and install pre-commit hooks. This will automatically trigger linting and code quality checks before each commit.
$ pip install -e .[dev]
$ pre-commit install

Quickstart

The quickest way to run a demo is by using the command line interface (CLI). To get started, simply type:

$ storyteller

This command will initialize the story with the default prompt of Once upon a time, unicorns roamed the Earth. An example of the output that will be generated can be seen in the animation above. You can customize the beginning of your story by using the --writer_prompt argument. For example, if you would like to start your story with the text The ravenous cat, driven by an insatiable craving for tuna, devised a daring plan to break into the local fish market's coveted tuna reserve., your CLI command would look as follows:

storyteller --writer_prompt "The ravenous cat, driven by an insatiable craving for tuna, devised a daring plan to break into the local fish market's coveted tuna reserve."

The final video will be saved in the /out/out.mp4 directory, along with other intermediate files such as images, audio files, and subtitles.

To adjust the default settings with custom parameters, you can use the different CLI flags as needed. To see a list of all available options, type:

$ storyteller --help

This will provide you with a list of the options, their descriptions and their defaults.

options:
  -h, --help            show this help message and exit
  --writer_prompt WRITER_PROMPT
                        The prompt to be used for the writer model. This is the text with which your story will begin. Default:
                        'Once upon a time, unicorns roamed the Earth.'
  --painter_prompt_prefix PAINTER_PROMPT_PREFIX
                        The prefix to be used for the painter model's prompt. Default: 'Beautiful painting'
  --num_images NUM_IMAGES
                        The number of images to be generated. Those images will be composed in sequence into a video. Default:
                        10
  --output_dir OUTPUT_DIR
                        The directory to save the generated files to. Default: 'out'
  --seed SEED           The seed value to be used for randomization. Default: 42
  --max_new_tokens MAX_NEW_TOKENS
                        Maximum number of new tokens to generate in the writer model. Default: 50
  --writer WRITER       Text generation model to use. Default: 'gpt2'
  --painter PAINTER     Image generation model to use. Default: 'stabilityai/stable-diffusion-2'
  --speaker SPEAKER     Text-to-speech (TTS) generation model. Default: 'tts_models/en/ljspeech/glow-tts'
  --writer_device WRITER_DEVICE
                        Text generation device to use. Default: 'cpu'
  --painter_device PAINTER_DEVICE
                        Image generation device to use. Default: 'cpu'
  --writer_dtype WRITER_DTYPE
                        Text generation dtype to use. Default: 'float32'
  --painter_dtype PAINTER_DTYPE
                        Image generation dtype to use. Default: 'float32'
  --enable_attention_slicing ENABLE_ATTENTION_SLICING
                        Whether to enable attention slicing for diffusion. Default: 'False'

Usage

Command Line Interface

CUDA

If you have a CUDA-enabled machine, run

$ storyteller --writer_device cuda --painter_device cuda

to utilize GPU.

You can also place each model on separate devices if loading all models on a single device exceeds available VRAM.

$ storyteller --writer_device cuda:0 --painter_device cuda:1

$ For faster generation, consider using half-precision.

$ storyteller --writer_device cuda --painter_device cuda --writer_dtype float16 --painter_dtype float16

Apple Silicon

[!NOTE] PyTorch support for Apple Silicon (MPS) is work in progress. At the time of writing, torch.cumsum does not work with torch.int64 (issue) on PyTorch stable 2.0.1; it works on nightly only.

If you are on an Apple Silicon machine, run

$ storyteller --writer_device mps --painter_device mps

if you want to use MPS acceleration for both models.

For faster generation, consider enabling attention-slicing to save on memory.

$ storyteller --enable_attention_slicing true

Python

For more advanced use cases, you can also directly interface with Story Teller in Python code.

  1. Load the model with defaults.
from storyteller import StoryTeller

story_teller = StoryTeller.from_default()
story_teller.generate(...)
  1. Alternatively, configure the model with custom settings.
from storyteller import StoryTeller, StoryTellerConfig

config = StoryTellerConfig(
    writer="gpt2-large",
    painter="CompVis/stable-diffusion-v1-4",
    max_new_tokens=100,
)

story_teller = StoryTeller(config)
story_teller.generate(...)

License

Released under the MIT License.

排名相邻
同类项目