Generate Gemini-compatible content
Chat
Generate Gemini-compatible content
Gemini-compatible content generation endpoint. The path model is the public APIAny model ID.
POST
Generate Gemini-compatible content
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Body
application/json
Generation config. Also note: call :streamGenerateContent (instead of :generateContent) to receive a Gemini SSE stream.
Tools with functionDeclarations the model may call.
System instruction as a Gemini Content object ({ parts: [{ text }] }).