provider

Google Gemini

Direct answerGoogle recommends Interactions API for new direct integrations. This gateway currently exposes Gemini-native GenerateContent and streamGenerateContent, not Interactions, and recommends Bearer while accepting x-goog-api-key compatibility.

Updated · Reviewed

Official positioning

The Gemini API provides native multimodal models that combine text, image, audio, and video, plus embedding, media generation, and live interaction. The official model page defines input and output modalities, context, supported methods, and lifecycle per model; a family name is not a substitute for checking the exact model.

Prefer Interactions for new direct projects

Google made Interactions API generally available and recommends it for all new projects. GenerateContent remains supported but is now Legacy. Interactions places model and input in the body and returns status, usage, and typed steps[], so a contents/parts integration cannot migrate by changing only the URL.

Direct versus gateway authentication and routes

Direct Google uses a Google-issued API key in x-goog-api-key, and new projects can call /v1beta/interactions. This site has no Interactions route; it currently exposes /v1beta/models/{model}:generateContent and :streamGenerateContent. The site recommends Bearer and also accepts a site-issued key in x-goog-api-key on those native routes. Never send a Google key to this gateway.

Responses, streaming, and tools

This site's GenerateContent route uses contents[].parts and returns candidates, finishReason, promptFeedback, and safety information; its streaming route emits incremental candidates. Direct Interactions returns typed steps and different SSE events. Function calling, structured output, files, caching, and safety settings must be verified per model and protocol.

Workloads and production checks

Gemini fits long-context understanding, image/audio/video analysis, coding and reasoning, structured extraction, and low-latency multimodal interaction. Distinguish stable, preview, experimental, and latest identifiers, then verify geography, quota, files, output modality, grounding, tools, data policy, and deprecation notices before production.

Reviewed provider catalog

Latest models by capability

These are provider-catalog models, not a promise of availability on this site. Confirm callable IDs, endpoints, and pricing in the model marketplace.

Text, reasoning, and code

Image generation and editing

Video generation and editing

Speech and audio

Embeddings, retrieval, and reranking

Check live availability in the model marketplace

Use cases

  • Native multimodality
  • Reasoning and coding
  • Long context and media generation

API protocols

  • /v1beta/models/{model}:generateContent
  • /v1beta/models/{model}:streamGenerateContent

FAQ

Should a new Gemini project use Interactions or GenerateContent?

Prefer Google's recommended Interactions API for a new direct integration. This site has not implemented /v1beta/interactions; its Gemini-native calls must use marketplace-listed GenerateContent or streamGenerateContent routes.

Does this gateway use the same Gemini authentication as direct Google?

Direct Google uses a Google-issued key in x-goog-api-key. This site recommends Authorization: Bearer and also accepts a site-issued key in x-goog-api-key on Gemini-native routes. The credentials are not interchangeable.

Can generateContent migrate by changing only the URL to /interactions?

No. Interactions moves model and input into the body and returns status, typed steps, and usage. Streaming and function-result shapes also change, and this gateway currently has no Interactions route.

Has Google stopped supporting generateContent?

No. Google labels GenerateContent Legacy but says it remains supported. Direct integrations can migrate after feature and contract testing, while this gateway's current native compatibility still uses that protocol.

What should I inspect when Gemini returns HTTP 200 without text?

For this site's GenerateContent route, inspect candidates, finishReason, promptFeedback, safety feedback, and function calls. For direct Interactions, inspect status and typed steps instead of one fixed text field.

Official sources

  1. Gemini Models Official
  2. Gemini API Reference Official
  3. Gemini API Getting Started Official
  4. Gemini Interactions API Overview Official
  5. Migrate to the Interactions API Official
  6. Gemini API Streaming Official
  7. Gemini Function Calling Official
  8. Gemini API Key Best Practices Official
  9. Gemini API Errors Official