- Protocol
- google://
- Default model
- gemini-4-hydrogen
Runs Gemini models on Google’s Gemini API at https://generativelanguage.googleapis.com/v1beta, with the key sent as x-goog-api-key.
Options
| Option | On Google |
|---|---|
max_ | Sent as generationConfig. |
vision | On by default for gemini models |
supports_ | On by default for gemini models except image, TTS and Live models, as generationConfig. |
tool | web_ enables Grounding with Google Search, web_ enables URL context, and code_ 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. | generateContent fields, such as body. |
header, temperature, top_, frames, timeout, insecure | As 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/