AI Tabletop
Add a new NPC with generated portrait and token (costs 1 credit)
post/v1/ttrpg/{id}/npcs
Request
- Base URL: https://api.sprixen.com
- URL: https://api.sprixen.com/v1/ttrpg/{id}/npcs
- Auth: bearer (a scheme the document does not define)
Path parameters
idstring required
Adventure ID
Request body
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 with new NPC
Changes
No recorded changes to this operation across all 1 revision of this API.