Integration
curl
Use curl to verify API key, model scope, Credits, and response format.
Connection settings
Base URL
https://api.supertomorrow.cc/v1
API Key
Create an API key in Dashboard. The full key is shown only when created or regenerated; copy it immediately and store it securely.
Model name
Use a model alias enabled for the account and bound to the API key, for example deepseek-chat. Unscoped models return 403.
Example configuration
curl https://api.supertomorrow.cc/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "deepseek-chat",
"messages": [{"role": "user", "content": "Hello"}],
"max_tokens": 160
}'Common errors
401: The API key is missing, invalid, expired, or disabled. Use Authorization: Bearer YOUR_API_KEY.
402: Insufficient Credits. Add funds in Dashboard and retry.
403: The key is not scoped to this model, or the model is unavailable. Update the key model scope.
429: API key or provider-channel rate limit reached. Reduce concurrency and retry with backoff.
502: Upstream model route is unavailable. Failed requests are not charged; retry later or switch models.