Relay Console

A self-contained AI chat console. Add your API key in the clearly marked CONFIG block in this page's source code, or paste it in the panel below at runtime. Without a key it runs in local demo mode so every control still works.

API Key

No key set. Running in local demo mode.

Chat

Ask anything to begin. Messages you send appear on the right; replies on the left.

Where the key goes in the source

View this page's source and search for PASTE_YOUR_API_KEY_HERE. The full integration lives in one CONFIG block:

// ============================================================
// API INTEGRATION CONFIG
// >>> PUT YOUR API KEY ON THE LINE BELOW <<<
// ============================================================
const CONFIG = {
  API_KEY: "PASTE_YOUR_API_KEY_HERE",
  API_URL: "https://api.example.com/v1/chat", // your endpoint
  MODEL:   "default"
};

Warning: any key placed in client-side code is visible to visitors. For production, proxy requests through a server. The built-in relay endpoint at ./ai is used automatically when no key is set.

Enjoy this tool? Build your own with Super