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

授权

Authorization
string
header
必填

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

路径参数

splat
string
必填

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

请求体

application/json

Gemini generateContent or predictLongRunning request body

响应

Success

The response is of type object.