Google
Generate Content
Changed onGenerate content using Google Gemini models. This endpoint mirrors the structure of the official Vertex AI generateContent API while adding API-key based authentication and region selection.
post/google/{region}/v1beta/models/{model}:generateContent
Request
- Base URLhttps://api.langdock.com
- URLhttps://api.langdock.com/google/{region}/v1beta/models/{model}:generateContent
- AuthHTTP bearer
Path parameters
region'eu' | 'us' required
The region of the API to use.
modelstring required
The model ID (e.g., gemini-2.5-pro, gemini-2.5-flash).
Request body
Response
Successful Response
Changes
- info
endpoint added
- info