Legend Lore Module for Foundry VTT
Introduction
Legend Lore is an innovative module for Foundry Virtual Tabletop that leverages the power of Large Language Models to enhance storytelling and world-building in tabletop RPGs. It allows game masters to generate rich, AI-assisted text content, such as detailed journal entries, descriptions, and narrative elements, directly within Foundry VTT.
Key Features
- AI-Powered Content Generation: Seamlessly integrate powerful language models to enrich your game sessions.
- Dynamic Generation of Highlighted Text: Highlight to generate any text from existing content within the editor.
- Customizable Settings: Configure AI models, payload JSON templates, generation tries, reasoning tag filtering, etc.
- Built-in & User Templates: Template choices are populated by the journal compendiums selected within the module's settings, with the default Journal Entry Templates Compendium containing many templates to get you started.
- Complete Control Over JSON Payload A customizable JSON payload template allows you to control the structure of the data sent to the AI model, making it flexible with most APIs. This means the ability to use local or paid AI services.
List of Included Templates
- Continent
- World
- Character
- Settlement
- Scenario
- Item
- Region
- Domain
- Point of Interest
- Faction
- Lore
- Culture
- Religion
- Miscellaneous
Screenshots
Generation Dialog
'Generate Page' Element
Content Generation Highlight Feature
Requirements
-
Access to an LLM API: Access to an LLM API is necessary to utilize the AI content generation features. Here are some options:
-
OpenAI (paid)
-
Perplexity (paid)
-
Anthropic (paid)
-
Grok (paid)
-
Google AI Studio (free for now)
-
Open WebUI (self-hostable)
-
Ollama (self-hostable)
-
KoboldCPP (self-hostable)
**NOTE: Models that support JSON mode or are traind on some JSON output are recommended for less error-prone results.
**NOTE: Generation has costs. Please be aware that generation can be expensive, especially with paid APIs. Please research the costs associated with using these services.
Installation
Install just like any Foundry VTT module:
- Open the Add-on Modules tab in the Configuration and Setup dialog.
- Click Install Module.
- Search for "Legend Lore" in the module list and click Install. Alternatively, paste the following URL into the Manifest URL field:
https://github.com/daxiongmao87/legend-lore-foundry/releases/latest/download/module.json
- Click Install.
Configuration
Please see the Configuration section on the README on Github for the most up to date information.