Gemini generateContent
Text
/v1beta/models/{model}:generateContent
Generates synchronous text or multimodal output with Gemini.
POST
Gemini generateContent
Use this endpoint for synchronous Gemini text generation, structured output, and parts-based payloads.Documentation Index
Fetch the complete documentation index at: https://docs.ent.apigo.ai/llms.txt
Use this file to discover all available pages before exploring further.
- The official pattern is
x-goog-api-key: {API_KEY}, though query-string API keys are also supported - Gemini
partsdiffer from both OpenAI and Claude payloads, so map them separately systemInstruction,generationConfig,tools, andsafetySettingsall hang off this request model- If you need incremental event output, use
/v1beta/models/{model}:streamGenerateContent
Authorizations
Path Parameters
Gemini model name.
Example:
"gemini-2.5-pro"
Body
application/json
