AI Tabletop

Update NPC text fields (free, no image regeneration)

patch/v1/ttrpg/{id}/npcs/{index}

Request

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

Path parameters

idstring required

Adventure ID

indexnumber required

Zero-based NPC index

Request body

namestring
rolestring
personalitystring
motivationstring
secretstring
sampleLinestring
visualPromptstring

Example request

{
  "name": "Kael Dran",
  "role": "Innkeeper turned spy",
  "sampleLine": "You should have turned back at the old stones.",
  "visualPrompt": "weathered middle-aged woman with silver-streaked hair and watchful green eyes"
}

Response

Updated adventure

Changes

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