API Keys

Use these keys to call the public TextForge API from your own apps.

Using the API

Send a POST request to the public endpoint with your key in the Authorization header.

curl -X POST https://api.textforge.example/v1/generate \
  -H "Authorization: Bearer tf_live_xxxxx" \
  -H "Content-Type: application/json" \
  -d '{
    "topic": "The future of renewable energy",
    "tone": "academic",
    "length": "medium",
    "language": "en",
    "keywords": ["solar", "wind", "grid"]
  }'