| Latest version | 1.2.0 |
|---|---|
| Minimum Core | 13 |
| Compatible Core | 13 |
| Last updated | 10 months ago |
| Created | 10 months ago |
| Authors |
|
| Languages |
|
| Systems | All systems |
| Project source | Project URL |
Accelerate AI integration for your Foundry VTT modules with our lightweight, developer-friendly Integrate AI module. This module provides a foundation for connecting your modules to local and remote AI APIs, enabling you to build intelligent, dynamic gameplay experiences without the complexity of API setup.
processWithAI and chatWithAI) that handle all HTTP communication and JSON parsing for you.game.settings.register for base URL and model selection, making your module's AI integration configurable by world creators.IntegrateAI) that can be extended or imported into any module with minimal overhead.Simply import the module and use the provided static methods to connect to your AI backend:
const response = await IntegrateAI.processWithAI("Generate a fantasy creature description");
const chatResponse = await IntegrateAI.chatWithAI([{
role: "user",
content: "What is the weather like?"
}]);
Whether you're building an NPC dialogue system, automated quest generator, or intelligent world-building tool, this module gives you the foundation to seamlessly integrate AI capabilities into your Foundry VTT modules. No more reinventing the wheel – focus on your creative vision, not API complexity.
Having trouble getting it working?
Missing a feature you want?
*Currently this module is for use with Ollama, OpenAI requires further testing.
To install this package, open your Foundry Setup screen and navigate to your Module tab and click the Install Module button.
From there, you can either search for the package unique name: integrate-ai or copy its manifest URL:
And paste it to the input box at the bottom of your window.

You can install this package directly to your Forge account.