POST

授权

Authorization
string
header
必填

在请求头中传入:Authorization: Bearer sk-...

路径参数

model
string
必填

请求体

application/json
contents
object[]
generationConfig
object
tools
object[]
systemInstruction
object

响应

Gemini 响应

The response is of type object.