account management overview
Account management covers API key authentication, key groups, billing, security, troubleshooting and launch checks. Use API keys on your server; never store real keys in public pages or distributed client applications.
AuthAuthentication and API keys calls MoonNexAI API using Bearer API Key. KeysAPI keys and groups serves online, local debugging and temporary testing to split Key. PricingQuota and billing understands the cost implications of models, task, media assets and state. DebugIntegration troubleshooting handles authentication, model, amount, task and callback issues.
request head
http
Authorization: Bearer <MOONNEXAI_API_KEY>Recommended Configuration
| scene | Recommendations |
|---|---|
| Online service | Saves API Key in service-end environment variables, splits Key by service or project. |
| Local Debug | Use a separate debug to avoid sharing services online. |
| Temporary Test | Use Key, which can be closed or rotated at any time. |
| Client Application | Do not place API Key in a browser or mobile end-pack through your own server agent request MoonNexAI. |
Common entrance
| Page | Purpose |
|---|---|
| Authentication and API keys | Configure request headers, environment variables and key groups. |
| Quota and billing | (c) Understanding cost rules for models, task and media assets. |
| Integration troubleshooting | Checking error codes, task status and callback problems. |
| Authentication | Confirms how request headers and keys are used. |
| API keys and groups | - Management of different projects, environments and uses, Key. |
| Billing | (c) Understanding cost rules for models, task and media assets. |
| API Key Security | Process key leaks, rotations and log desensitivity. |
| Errors | Check 401, 402, 429 and task failed. |
| Access Check List | Self-measured before going online. |
Security alarm
- Do not pass API Key in URL query.
- Do not expose the real API Key in frontend source code, open repository, screenshot or log.
- Example: Use
<MOONNEXAI_API_KEY>in a uniform manner. - If API Key has ever appeared in chat records, screenshots, logs or open warehouses, rotate in the back of MoonNexAI.