Frequently asked questions
Where do I create an API key?
After signing in, open the Token or API Key management page. See Create an API key for the full process.
What should I do when a request returns 401?
Confirm that the request header is Authorization: Bearer YOUR_API_KEY and that the key has not been deleted, disabled, or copied incorrectly. Do not leave spaces or quotation marks around the key.
What should I do when a model does not exist?
Copy the exact model name from the console into the model field. Model availability can vary by account or group.
Why has my balance not updated after payment?
Refresh the console's balance page. If the credit still has not arrived, retain the payment order details and contact site support.
Can I put an API key in frontend code?
No. Frontend code is exposed to end users, so anyone could extract the key and consume your credit. Send API requests through your own backend service.
Which Base URL should I use?
Use https://orbitaiapi.site/v1. See OpenAI-compatible API for a complete request example.
How do I call image generation or image editing?
Use the OpenAI-compatible endpoints:
- Image generation:
POST /v1/images/generations - Image editing:
POST /v1/images/edits
See Image Generation and Editing for full parameters and examples.
Claude Code cannot connect to Anthropic services
Confirm that ~/.claude/settings.json (%USERPROFILE%\.claude\settings.json on Windows) is valid JSON, ANTHROPIC_BASE_URL is https://orbitaiapi.site, and ANTHROPIC_AUTH_TOKEN contains a valid API key.
After making changes, close and reopen the terminal, then run claude. If it still cannot connect, check that the token is enabled, the account has available credit, and the token group supports the Claude / Anthropic-compatible format.