Skip to Content
Getting Started

Getting Started

Prerequisites

  • HTTP client (curl, Postman, fetch, requests)
  • API key for higher limits (optional for demo mode)

Create account

Go to personagen.dev/app and sign up.

Create API key

Generate a key from API Keys.

API key created dialog

Store your API key securely. Default limit: 5,000 requests/month.

Generate your first persona

Pick a country route and call the endpoint.

First request

# US curl -X GET "https://api.personagen.dev/v1/us/persona?seed=demo-001" \ -H "X-API-Key: your-api-key-here" # UK curl -X GET "https://api.personagen.dev/v1/uk/persona?seed=demo-001" \ -H "X-API-Key: your-api-key-here"

Demo mode (no account)

Use X-Demo: true without an API key.

curl -X GET "https://api.personagen.dev/v1/us/persona" \ -H "X-Demo: true"

Demo mode is limited to 25 requests/hour per IP.

Response basics

  • data: the persona object.
  • metadata.country: route country (us or uk).
  • metadata.seed: deterministic generation key.
  • metadata.usage: remaining requests and reset date.
Last updated on