ModelGo API Authentication & API Keys
All model endpoints authenticate with an API key. The one exception is the video output download URL GET /v1/videos/{task_id}/content: it needs no auth because the link itself is the credential, so do not share it publicly.
Request header
http
Authorization: Bearer $MODELGO_API_KEYAnthropic-style clients may also send x-api-key: $MODELGO_API_KEY, and Gemini-style clients x-goog-api-key: $MODELGO_API_KEY. When several are present, precedence is Authorization > x-api-key > x-goog-api-key.
Get & manage
- Console:
https://console.modelgo.ai - An API key is shown in full only once, at creation time
Common failures
| HTTP | error_class | Meaning |
|---|---|---|
401 | auth | Missing, invalid, disabled, or expired API key |
403 | policy | Key is valid but not allowed to call the model |
See Errors & Rate Limits for the unified error shape.