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_KEY

Anthropic-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

HTTPerror_classMeaning
401authMissing, invalid, disabled, or expired API key
403policyKey is valid but not allowed to call the model

See Errors & Rate Limits for the unified error shape.