Authorization: Bearer or x-goog-api-key. See the Google AI API docs for provider-specific parameters.
Supports both managed (Lava’s API keys) and unmanaged (bring your own credentials) mode.
Quick Start
Chat Completions
Target URL:https://generativelanguage.googleapis.com/v1beta/openai/chat/completions
Chat Completions (Gemini Native)
Target URL:https://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent
Chat Completions (Gemini Streaming)
Target URL:https://generativelanguage.googleapis.com/v1beta/models/{model}:streamGenerateContent
Next Steps
All Providers
Browse all supported AI providers
Forward Proxy
Learn how to construct proxy URLs and authenticate requests