DnD Tools

Generate a top-down battle map with an optional grid and .dd2vtt export

Costs 2 credits.

post/v1/tools/dnd/battle-map

Request

  • Base URL: https://api.sprixen.com
  • URL: https://api.sprixen.com/v1/tools/dnd/battle-map
  • Auth: bearer (a scheme the document does not define)

Request body

promptstring required
setting'fantasy' | 'dungeon' | 'scifi' | 'cyberpunk' | 'modern'
gridVisibleboolean
size1024 | 1536

Width in px; height is always 3:4 of width. Clamped down to the caller tier max.

Example request

{
  "prompt": "A collapsed watchtower overgrown with vines beside a shallow river ford",
  "gridCells": {
    "cols": 30,
    "rows": 22
  }
}

Response

Battle map job queued

Changes

No recorded changes to this operation across all 1 revision of this API.