google-gemini
Google Gemini AI provider for OpenCode
Quick Install
npm install @openpets/google-gemini pnpm add @openpets/google-gemini Required Environment Variables
-
GOOGLE_API_KEYGoogle API key for Gemini AI (get from https://makersuite.google.com/app/apikey)
Available Tools (3)
These tools are available when you install the google-gemini plugin in your AI assistant.
gemini-text-to-image
Generate detailed image prompts and descriptions using Google Gemini AI. Creates enhanced prompts that can be used with other image generation tools.
gemini-image-to-image
Placeholder for Google Gemini image-to-image transformation. Currently not supported - use FAL AI provider instead. This tool is prepared for future Imagen 3 support.
gemini-text-to-video
Placeholder for Google Gemini text-to-video generation. Currently not supported - use FAL AI provider instead. This tool is prepared for future video generation capabilities.
Example Queries
generate text with gemini enhance this prompt with gemini Usage Scenarios
text generation
- 1
generate text with gemini
prompt enhancement
- 1
enhance this prompt with gemini
Use google-gemini with Your AI Assistant
This open source plugin works with OpenCode-compatible AI assistants including ChatGPT, Claude, Perplexity, and other LLM-powered coding tools. Install the plugin and start using natural language to interact with google-gemini.
Related Plugins
llm-models
LLM model discovery and comparison plugin - search and compare models from models.dev across multiple providers
gitlab
GitLab integration plugin for OpenCode - manage projects, issues, merge requests, and more
linear
Linear plugin for OpenCode - manage issues, projects, cycles, and teams with full CRUD operations