Google Vertex AI Compatible

Generate Content

Native Gemini protocol entry point. Mirrors the request and response shapes of https://generativelanguage.googleapis.com — clients may point the google-genai SDK at this gateway directly.

post/gemini/v1beta/models/{model}:generateContent

Request

  • Base URL
    https://aihubmix.com
  • Auth
    • API key in header x-goog-api-key
    • or API key in query parameter key

Request body

contentsobject[]
generationConfigobject
safetySettingsobject[]
systemInstructionobject
toolsobject[]

Response

ok

GeminiGenerateContentResponse required

Native Gemini response body. Refer to Google's official documentation for the authoritative field reference.

Changes

No recorded changes to this operation across all 2 revisions of this API.