Sign inSign up

sinanozel/spell-card-generator

By sinanozel

Updated 6 months ago

A server to generate spell cards for D&D 5e

Image
0

10K+

sinanozel/spell-card-generator repository overview

This is a server to create D&D spell cards based on templates. The path /docs will show the API documentation. You can also see the readme at the repo to learn more: https://github.com/sinan-ozel/spell-card-generator/

Now also an MCP server - use docker compose in the repo to run and inspect.

TL;DR

docker run --rm -p 8000:8000 -v "$PWD/cards:/app/cards" spell-card-server
POST http://spell-card-server/v1/generate
{
  "spell_data": {
    "title": "Acid Splash",
    "casting_time": "1 action",
    "spell_range": "60 feet",
    "components": "V, S",
    "duration": "Instantaneous",
    "description": "You hurl a bubble of acid...",
    "school": "Conjuration",
    "level": 0
  },
  "callback_url": "http://your-callback-server/callback"  // optional
}

(You don't need the callback URL if you are running it locally.)

Tag summary

Content type

Image

Digest

sha256:d642fffa2

Size

71.4 MB

Last updated

about 1 year ago

docker pull sinanozel/spell-card-generator