Skip to main content
POST
Generate Content

Authorizations

Authorization
string
header
required

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

Path Parameters

provider
string
required
Example:

"google"

model
string
required
Example:

"gemini-2.0-flash"

Body

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

Response

200 - application/json

Generated content response

The response is of type object.