bruhbook
is a Python package designed to interface with OpenAI, allowing users to create captivating short stories complete with custom cover art. This tool is perfect for writers, creators, and anyone interested in generating unique narratives with visually appealing covers.
- Generate short stories based on specific themes and target audiences.
- Automatically create cover art for the stories.
- Customizable story generation to suit different genres and styles.
To install bruhbook
, simply run:
pip install bruhbook
Here is a basic example of how to use bruhbook
to generate a short story with a cover image:
from bruhbook.bruhbook import BruhBook
# alternativley, you can use a .env file with a `OPENAI_API_KEY` variable set to your key
bb = BruhBook(
api_key=<openai_api_key>,
create_cover_image=True,
wipe_files=False
)
story_type = "A cyberpunk knight fighting his way through a hellish landscape. Flames, lava, dark, alien like plasma monsters"
target_audience = "Highschoolers / Adults"
bb.generate_story(
story_type=story_type,
target_audience=target_audience
)
- Python 3.11 or later
🚧 Under Construciton 🚧
🚧 Under Construction 🚧
bruhbook
is licensed under the Apache License. See the LICENSE file for more details.