Google Models
W-Kits supports Google's Gemini models. Import and use these models in your AI agents for different capabilities.
Environment Setup
You need to set up your Google API key as an environment variable:
GOOGLE_GENERATIVE_AI_API_KEY=xxxxxxxxxImport and Usage
import { google } from 'w-kits/models';
const agent = new Agent({
model: google('gemini-2.0-flash-exp'),
// ... other configuration
});Model Capabilities
| Model | Image Input | Object Generation | Tool Usage | Tool Streaming |
|---|---|---|---|---|
| gemini-2.0-flash-exp | ||||
| gemini-1.5-pro-latest | ||||
| gemini-1.5-pro | ||||
| gemini-1.5-flash-latest | ||||
| gemini-1.5-flash |