Skip to main content
POST
Gemini SDK — generateContent (image) or predictLongRunning (video)

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

splat
string
required

e.g. gemini-2.5-flash-image:generateContent or veo-3.1-generate-preview:predictLongRunning

Body

application/json

Gemini generateContent or predictLongRunning request body

Response

Success

The response is of type object.