AI Tabletop

Regenerate the battlemap for a scene (costs 1 credit)

post/v1/ttrpg/{id}/scenes/{index}/regenerate-map

Request

  • Base URL: https://api.sprixen.com
  • URL: https://api.sprixen.com/v1/ttrpg/{id}/scenes/{index}/regenerate-map
  • Auth: bearer (a scheme the document does not define)

Path parameters

idstring required

Adventure ID

indexnumber required

Zero-based scene index

Request body

mapPromptstring

Optional override for the battlemap prompt. If provided, the scene mapPrompt is also updated.

Example request

{
  "mapPrompt": "top-down dark dungeon chamber with a central altar and shadowed corridors"
}

Response

Updated adventure with new map

Changes

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