Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man character-gen

/character-gen

agentutility / rollforge / character-gen
PRICE / CALL
$0.005
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
rollforge
CATEGORY
uncategorized
STATUS
live
NAME
character-gen generates a complete d&d 5e-style character, from ability scores to a procedurally generated name
SYNOPSIS
POST https://x402.agentutility.ai/character-gen
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Generates a complete D&D 5e-style character, from ability scores to a procedurally generated name. Rolls ability scores (4d6-keep-highest-3, 3d6, or standard array) assigned by class priority, plus race / class / background / alignment, racial ability bonuses, derived hit points, ability modifiers, proficiency bonus, and saving-throw proficiencies. Pin any field (race, class, level 1-20, method, name) or omit to randomize; pass 'seed' for a reproducible character. Uses only 5e SRD content (OGL 1.0a / CC-BY-4.0). Use it as a tabletop character generator API, RPG character creator, or random fantasy character builder.

INPUTrequest schema
propertytypedescriptionreq?
racestringSRD race: Human, Elf, Dwarf, Halfling, Dragonborn, Gnome, Half-Elf, Half-Orc, Tiefling. Omit to randomize.optional
classstringSRD class: Barbarian, Bard, Cleric, Druid, Fighter, Monk, Paladin, Ranger, Rogue, Sorcerer, Warlock, Wizard. Omit to randomize.optional
levelnumberCharacter level 1-20. Default 1.optional
methodstringAbility score method: 4d6kh3 (default), 3d6, or standard-array.optional
namestringOptional fixed name; omit to generate one.optional
seednumberOptional integer seed for a reproducible character.optional
OUTPUTresponse shape
fieldtypedescription
namestring
racestring
classstring
levelstring
backgroundstring
alignmentstring
abilitiesstring
hit_pointsstring
proficiency_bonusstring
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/character-gen \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the character-gen tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
rollforgecharactergencharacter-gen
methods
POST
cluster
rollforge
price
$0.005 USDC per call
ADJACENTother endpoints in rollforge
endpointdescriptionprice
ability-checkResolves a d20 ability check, skill check, attack roll, or saving throw for tabletop RPGs.$0.005
background-genCharacter background generator API / personality trait, ideal, bond, flaw generator for tabletop RPGs.$0.005
dice-rollRolls dice from standard dice notation for tabletop RPGs.$0.005
dice-statsCalculates the probability distribution of a dice roll, anydice-style.$0.005
dungeon-roomGenerates a random dungeon room for game masters: shape, contents, a notable feature, a hazard, an occupant, and the number of exits.$0.005
encounter-builderEncounter builder / encounter difficulty calculator API for D&D 5e.$0.005
initiative-rollInitiative tracker / initiative order roller API for tabletop combat.$0.005
loot-genLoot generator / treasure generator API for D&D 5e.$0.005
SEE ALSO
agentutility · rollforge · x402 · mcp · llms.txt · registry.json · bazaar.x402.org