Gemini
Generate content with the Google Gemini protocol
Accepts a Google Gemini GenerateContent request and returns a Gemini-compatible response. A bare model name, such as gemini-3.5-flash, is normalized to the SandBase catalog name google/gemini-3.5-flash. This endpoint also accepts x-goog-api-key and the key query parameter for Google SDK compatibility, although headers are safer. Models with a native passthrough mapping preserve provider-defined request and response fields, including image response modalities. Other mappings may use the translated capability subset documented in the schema below.
post/v1beta/models/{model}:generateContent
Request
- Base URL: https://api.sandbase.ai
- URL: https://api.sandbase.ai/v1beta/models/{model}:generateContent
- Auth: one of:
- API key in header x-goog-api-key
- HTTP bearer
- API key in query parameter key
Path parameters
modelstring required
Bare Gemini model name, such as gemini-3.5-flash. SandBase adds the google/ catalog prefix.
Request body
Response
Gemini GenerateContent response
Changes
No recorded changes to this operation across all 1 revision of this API.