Skip to main content
POST
Generate Gemini content
Use a model that supports the Gemini native protocol. Unsupported model IDs return a Gemini-formatted error response. For streaming, call POST /v1beta/models/{model}:streamGenerateContent and consume the SSE response.

Additional supported models

  • google/gemini-3.7-flash
  • google/gemini-3.5-flash
Use the complete public ID in the URL, including the provider slash. For example: /v1beta/models/google/gemini-3.7-flash:generateContent. Send a non-empty contents array. Streaming uses :streamGenerateContent?alt=sse.

Authorizations

Authorization
string
header
required

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

Path Parameters

model
enum<string>
required

Complete Vidgo public model ID, including the provider slash.

Available options:
google/gemini-3.7-flash,
google/gemini-3.5-flash

Body

application/json
contents
object[]
required
Minimum array length: 1

Response

Gemini response

The response is of type object.