API Playground
Test every endpoint live — with the exact cost shown first.
What it does
A live console for the full REST API and WebSocket streaming: pick an endpoint, fill parameters, run against a sandbox key, and inspect the request, response, and headers. The playground shows the exact per-request cost before you send — the anti-bill-shock pattern applied to developers. One-click code export produces working JS, Python, and curl, and saved collections become your integration test suite.
Configuration
- {'label': 'Endpoint', 'kind': 'select', 'options': ['POST /v1/tts', 'POST /v1/tts/stream', 'POST /v1/voices/clone', 'POST /v1/stt', 'GET /v1/usage']}
- {'label': 'Environment', 'kind': 'select', 'options': ['Sandbox', 'Production']}
- {'label': 'Show cost pre-flight', 'kind': 'toggle'}
- {'label': 'Export code', 'kind': 'select', 'options': ['JavaScript', 'Python', 'curl']}
Why it's better
Sandbox keys plus exact per-request cost shown before sending — developers never discover pricing from a surprise invoice, the API-side answer to the credit-pool complaint.
Telemetry
Playground requestsSandbox spendCollections savedCode exports