Skip to content

Build with the CharGen API

Make NPCs, dungeons, pictures, pixel sprites, films and sound from your own product. You pay per call from a credit balance in US dollars, kept apart from Gold.

Read the docs

No account needed to read the guide or the API reference.

Your first call
curl -X POST https://api.char-gen.com/partner/v1/entities \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"type": "npc",
       "input": {"prompt": "a gruff dwarven blacksmith"}}'

Documentation

  • Getting startedKeys, your first call, statuses, errors and examples in JavaScript and Python.
  • API referenceEvery endpoint, from the OpenAPI file.
  • Pixel SpritesAnimated pixel sprites of a character, spell effects and items, by API.
  • MCP serverPixel sprites and pictures from Claude or ChatGPT, paid in Gold. Records are free.
  • PricesEach model's price in US dollars.
  • Terms of serviceBilling, rate limits and fair use.