Register

Bytes AI Foundry

An Add-on Module for Foundry Virtual Tabletop

Author: ByteSmarter Project: Source Foundry Versions 12 to 13.351 (Verified 13.351) Last Updated 2 days, 14 hours ago
                         Bytes AI Foundry Screenshot

Generate complete, game-ready D&D 5e content with AI — items, NPCs, characters, and roll tables.


🆕 What’s New in v2.3.0 — NPC & Character Generation + Multi-Provider AI

17 new files, 8 modified files, ~7,000 lines of new code. 367 unit tests.

🎭 AI-Powered Actor Generation

⚠️ Generated actors are a starting point, not a finished product. Always review generated NPCs and characters before using them in play — the GM is the final authority. Stats, features, and descriptions can all be edited on the actor sheet after creation.


🔌 Multi-Provider AI Support


⚖️ SRD Compliance



🚀 Features

AI-Powered Item Creation


AI-Powered Actor Generation


D&D 5e v4/v5 Native Support


Multi-Provider AI


Image Generation


Roll Table Generation


Robust Architecture



📖 How to Use

  1. Open the Generator — Navigate to the Items or Actors tab in the sidebar. Click “Generate AI” in the directory footer (GM only).
  2. Choose What to Generate — Item, Roll Table, NPC, or Character.
  3. Configure Options — For items: type selection, templates, name override. For NPCs: CR, creature type, templates. For characters: level, class, race, background, templates.
  4. Describe What You Want — Enter a prompt like “A cursed greatsword that drains the wielder’s health on each hit” or “A cunning goblin shaman who leads a small cult in the sewers”.
  5. Preview & Create — Click Generate, review the preview (edit name, description, regen images/stats), then Confirm to create.


🛠 Supported Item Types

Type What Gets Generated
Weapon Damage dice, properties (versatile, finesse, etc.), attack + damage activities, magical bonus, PHB base stats, 2024 mastery
Armor / Shield AC calculation, armor type, dex cap, strength requirement, stealth disadvantage, PHB defaults
Equipment Clothing, trinkets, rings, amulets, cloaks — with passive effects, charges, and castable spells
Spell Level, school, components, range, duration, casting time, save/attack activities, scaling
Feat Feat type, prerequisites, passive effects, granted activities
Consumable Potion/scroll/ammo/food subtypes, uses, charges, Heal activity for potions (PHB-scaled defaults), buff/poison effects applied on use
Tool Tool type, proficiency, ability check bonuses
Loot Gems, art objects, trade goods — with passive effects and charges
Container Bags, chests, and other storage items
Background Character backgrounds with features and proficiencies


⚙️ Settings

All settings are found in Game Settings > Configure Settings > Bytes AI Foundry.

Setting Description
Text AI Provider Choose your text generation AI: OpenAI (default), Gemini, xAI, Ollama, or Custom
Image AI Provider Choose your image generation AI: OpenAI (default), xAI Aurora, Stability AI, fal.ai
API Key Your API key for the selected text provider (required)
Image API Key Your API key for the selected image provider
Primary Model Model for item/actor JSON generation (default: gpt-4.1)
Light Model Faster model for names, JSON fixes, and property extraction (default: gpt-4.1-mini)
Image Model gpt-image-1 (recommended), dall-e-3, or dall-e-2
Image Format PNG (lossless), WebP (smaller), or JPEG (smallest)
Stable Diffusion Toggle, API key, endpoint, prompt, negative prompt, steps, CFG scale, sampler
Custom Prompts Editable prompts for items, NPCs, characters, portraits, tokens, and image generation


🔧 Troubleshooting



🗺 Roadmap



⚖️ Legal & Disclaimers

This module references game mechanics from the D&D 5e SRD 5.1 under the CC-BY-4.0 license. It does not distribute copyrighted content — SRD content is accessed from your own dnd5e compendium packs at runtime.

All NPCs, characters, items, and narrative content are generated dynamically by third-party AI services using the user’s own API key. This content is not created, reviewed, or endorsed by the module author. All generated content should be reviewed by the Game Master before use in play.


Author: Byte_Smarter · Discord: Byte_smarter · MIT License

Supported Game Systems

  1. Dungeons & Dragons Fifth Edition

    Latest Version: Version 5.2.5 Last Updated 2 months, 1 week ago

Categories

Available Versions

  1. Version 2.3.1

    2 days, 14 hours ago
    Foundry Version 12.331 - 13.351 (Verified 13.351) Manifest URL Read Notes
  2. Version 2.3.0

    1 week, 6 days ago
    Foundry Version 12.331 - 13.351 (Verified 13.351) Manifest URL Read Notes
  3. Version 2.2.1

    1 week, 6 days ago
    Foundry Version 12.331 - 13 (Verified 13.351) Manifest URL Read Notes
  4. Version 2.2.0

    2 weeks, 5 days ago
    Foundry Version 12.331 - 13 (Verified 13.351) Manifest URL Read Notes
  5. Version 2.1.0

    2 weeks, 5 days ago
    Foundry Version 12.331 - 13.351 (Verified 13.351) Manifest URL Read Notes
  6. Version 2.0.0

    2 weeks, 6 days ago
    Foundry Version 12.331 - 13.351 (Verified 13.351) Manifest URL Read Notes
  7. Version 1.0.8

    4 months, 3 weeks ago
    Foundry Version 12 - 13.350 (Verified 13.350) Manifest URL Read Notes
  8. Version 1.0.7

    11 months, 4 weeks ago
    Foundry Version 12 - 13.350 (Verified 12.331) Manifest URL Read Notes
  9. Version 1.0.6

    11 months, 3 weeks ago
    Foundry Version 12 - 13.339 (Verified 12.331) Manifest URL Read Notes
  10. Version 1.0.5

    11 months, 4 weeks ago
    Foundry Version 12 - 13.339 (Verified 12.331) Manifest URL Read Notes
  11. Version 1.0.4

    1 year ago
    Foundry Version 12 - 13.339 (Verified 12.331) Manifest URL Read Notes
  12. Version 1.0.3

    1 year ago
    Foundry Version 12 - 13.339 (Verified 12.331) Manifest URL Read Notes