gateway example
One API key for text, code, and selected image routes.
The product path is simple: buy credits, create an API key, call the gateway, and watch usage by endpoint and key.
Text and code route through OpenAI-compatible API endpoints.
Selected images use public media routes.
Credits, tokens, errors, and latency are logged.
