GeneralLive

Character Gen

Generates a complete D&D 5e-style character, from ability scores to a procedurally generated name.

$0.00575USDC per call · settled on Base · no subscription, no API key

Overview

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.

Endpoint

MethodEndpointPriceDescription
POST/v1/marketplace/api/character-gen$0.00575Invoke Character Gen (General) and return the upstream response.

How to call it

Requests are paid per call over the x402 protocol. Call the endpoint, receive a 402 Payment Required quote, then repeat the request with the signed payment header. The SDKs do both steps for you.

# 1. Ask for a quote
curl -i -X POST https://api.jarvisclaw.ai/v1/marketplace/api/character-gen \
  -H 'Content-Type: application/json' \
  -d '{}'

# 2. Pay it (the SDK signs and retries for you)
curl -X POST https://api.jarvisclaw.ai/v1/marketplace/api/character-gen \
  -H 'Content-Type: application/json' \
  -H 'X-PAYMENT: <signed-payload>' \
  -d '{}'
Open in the marketplace

Docs: Getting started · x402 payments · x402 discovery · All APIs