- Documentation
- Connect your app
Connect your app
Copy a streaming request for curl, Python, or TypeScript, using your own access details.
Before your first request
Activate access on Discord and receive your gateway address, device credential, and approved model IDs. Set PALEPALE_BASE_URL to the supplied address ending in /v1, PALEPALE_API_KEY to your device credential, and PALEPALE_MODEL to an ID from GET /v1/models.
Use your existing client
In a client that supports chat completions, change the base URL and API key, then choose an approved model. Python and TypeScript examples use their OpenAI SDK packages. Install the package in your own project before running the example.
The examples below stream a short request. They are setup templates; this website does not execute them or contain a live API key. See the API reference for usage events and errors.
Coding tools
OpenCode supports a custom provider. For the Palepale client, set PALEPALE_API_URL to the gateway origin without /v1; that client appends its own endpoint paths. Set PALEPALE_API_KEY to your issued credential.
Check the result
Start with a short prompt. Confirm you receive text, a finish reason, and final usage. If a request fails, keep its error type and request ID for support. Troubleshooting.
Need a hand?
Open Palepale Discord for activation or account support. Compare API offers or choose a plan.
Make your first request.
Use your own access details.
Set the address, key, and model from your activation details. These examples stream one short request.
Get API access