Blocks
Google Gemini
Access Google Gemini AI for multimodal generation
Integrate with Google Gemini AI to generate text, analyze images, create code, and access multimodal AI capabilities. Use Gemini Pro for advanced reasoning and Gemini Flash for fast responses with live web data integration.
Block Preview
Google Gemini
Access Google Gemini AI for multimodal generation
Usage
- Add the block to your workflow and connect it to the upstream step.
- Connect the required credentials or OAuth provider before running.
- Fill in required inputs and optional parameters for the run.
- Run a test execution, inspect outputs, and iterate before deploying.
- Deploy the gemini block with monitoring enabled in production.
Inputs (UI)
Google Account
oauth-inputPlaceholder: Select Google account
Layout: full
Provider: google
Model
dropdownLayout: full
Options: Gemini 2.0 Flash (Experimental), Gemini 1.5 Pro, Gemini 1.5 Flash, Gemini Pro
Operation
dropdownLayout: full
Options: Generate Text, Analyze Image, Generate Code, Chat Completion
Prompt
long-inputPlaceholder: Enter your prompt here
Layout: full
Condition: operation = ["generate_text","generate_code","chat"]
Image URL
short-inputPlaceholder: https://example.com/image.jpg
Layout: full
Condition: operation = "analyze_image"
Image Analysis Prompt
long-inputPlaceholder: Describe this image in detail
Layout: full
Condition: operation = "analyze_image"
Temperature
short-inputPlaceholder: 0.7
Layout: half
Condition: operation = ["generate_text","generate_code","chat"]
Max Tokens
short-inputPlaceholder: 2048
Layout: half
Condition: operation = ["generate_text","generate_code","chat"]
Inputs (API)
credential
stringRequired
model
stringRequired
operation
stringRequired
prompt
stringOptional
imageUrl
stringOptional
imagePrompt
stringOptional
temperature
stringOptional
maxTokens
stringOptional
Outputs
Primary response type:
{
"data": "json"
}