Gemini Compatible Layer
Gemini-Compatible API
Provides a compatible endpoint for the Google Gemini GenerateContent request/response format, suitable for users who already have a Gemini SDK or HTTP integration and want to migrate to NexusFlow. This is not Google's native Gemini model hosting; the model in the path must be a NexusFlow model ID, e.g. qwen-turbo.
Endpoints
POST
https://nexusflow.vip/v1beta/models/{model}:generateContentSynchronous generationPOST
https://nexusflow.vip/v1beta/models/{model}:streamGenerateContentStreaming generationRequest Parameters
Request Examples
Response Format
Note: The Gemini Compatible Layer automatically transforms requests into the platform's internal format, routes them to the corresponding model, and then converts the response back to Gemini format. This is not Google's official Gemini backend, and we do not guarantee that Google's native model names will work; model capabilities are based on the NexusFlow model list. If you don't have a Gemini SDK dependency, we recommend using
/v1/chat/completions (OpenAI format) for more complete feature support.Chat Completions
OpenAI-format conversation interface
Multi-Protocol Support
View all compatible protocols
Full Pricing
View pricing for all models