zshot/cliDownload

Google

Protocol
google://
Default model
gemini-4-hydrogen
Key envGOOGLE_API_KEY, GEMINI_API_KEY
LicensePro

Runs Gemini models on Google’s Gemini API at https://generativelanguage.googleapis.com/v1beta, with the key sent as x-goog-api-key.

Options

OptionOn Google
max_tokensSent as generationConfig.maxOutputTokens
visionOn by default for gemini models
supports_structured_outputOn by default for gemini models except image, TTS and Live models, as generationConfig.responseFormat
toolweb_search enables Grounding with Google Search, web_fetch enables URL context, and code_execution enables code execution; a data URI passes a raw Gemini tool block. Google bills per search query. Before Gemini 3, JSON Schemas combined with tools are placed in the prompt only
body.<path>generateContent fields, such as body.generationConfig.thinkingConfig.thinkingBudget=1024
header, temperature, top_p, frames, timeout, insecureAs listed

Example

CLI Run locally
zshot -t llm_text \
  --llm-format-model "google://?model=gemini-4-hydrogen" \
  --llm-format-prompt "Summarize the lead story in one sentence." \
  -f summary.txt https://zshot-cli.com/example_assets/gazette/