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
-
gemini-3.6-flashStableThe high-throughput Gemini 3.6 model for reasoning, tools, and multimodal understanding.
-
gemini-3.1-pro-previewPreviewA Pro preview model for complex reasoning and demanding tasks.
-
gemini-3.5-flashStableA stable, general-purpose multimodal Flash model.
-
gemini-3.5-flash-liteStableThe fastest, most cost-effective Gemini 3.5 model for high-throughput execution.
Image generation and editing
-
gemini-3.1-flash-imageStableThe Nano Banana 2 image model for generation and editing.
-
gemini-3.1-flash-lite-imageStableNano Banana 2 Lite for ultra-low-latency, cost-effective, high-volume image generation and editing.
-
gemini-3-pro-imageStableNano Banana Pro for high-quality image generation and editing.
Video generation and editing
-
veo-3.1-generate-previewPreviewThe Veo 3.1 preview model for video generation.
-
veo-3.1-lite-generate-previewPreviewThe lightweight Veo 3.1 preview model for video generation.
-
gemini-omni-flashPreviewA fast preview model for conversational video generation and editing with natural-language refinement.
Speech and audio
-
gemini-3.1-flash-live-previewPreviewA Live preview model for realtime bidirectional voice and multimodal interaction.
-
gemini-3.5-live-translate-previewPreviewA low-latency realtime speech-to-speech translation preview supporting more than 70 languages.
-
gemini-3.1-flash-tts-previewPreviewA TTS preview model for controllable speech synthesis.
-
lyria-3-pro-previewPreviewGoogle's flagship music-generation preview for full-length songs with complex structural coherence.
-
lyria-3-clip-previewPreviewA music-generation preview for clips, loops, and previews up to 30 seconds.
Embeddings, retrieval, and reranking
-
gemini-embedding-2-previewPreviewA preview of Google's next-generation multimodal Gemini embedding model.
-
gemini-embedding-001StableThe stable Gemini text embedding model for semantic search and RAG.
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.
Related guides
Official sources
- Gemini Models Official
- Gemini API Reference Official
- Gemini API Getting Started Official
- Gemini Interactions API Overview Official
- Migrate to the Interactions API Official
- Gemini API Streaming Official
- Gemini Function Calling Official
- Gemini API Key Best Practices Official
- Gemini API Errors Official
兔子API