DnD Tools

Generate a character portrait by prompt (includes a token)

Costs 1 credit. Result includes portraitUrl and tokenUrl.

post/v1/tools/dnd/portrait

Request

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

Request body

promptstring required
style'painted' | 'ink' | 'pixel' | 'anime' | 'watercolor' required
border'gold' | 'silver' | 'iron' | 'wood' | 'arcane' | 'none'
size512 | 1024

Clamped down to the caller tier max (free 512, pro 1024).

Example request

{
  "prompt": "A one-eyed half-orc mercenary captain with a cracked tusk and a wolf-fur cloak"
}

Response

Portrait job queued

Changes

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