Gemini generateContent
Image
/v1beta/models/{model}:generateContent
Generates synchronous text or multimodal output with Gemini.
POST
Gemini generateContent
Gemini’s official docs use the sameDocumentation 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.
generateContent family for image understanding, image generation, and image editing.
- Images can be passed as
inlineDataor via the Files API - Small assets are commonly sent inline, while larger or reusable assets are better handled through Files API references
- This path is suitable for image QA, OCR-assisted analysis, UI understanding, and multimodal reasoning
- Native image generation and image editing still use
generateContent - Text and generated images both come back through
candidates[].content.parts[] - Google’s official docs note that generated images include a SynthID watermark
Authorizations
Path Parameters
Gemini model name.
Example:
"gemini-2.5-pro"
Body
application/json
