gemini3pro
Gemini 3 Pro Text & Vision
Usage
Run from the user's current working directory (do NOT cd into the skill directory):
Text generation:
uv run scripts/query_gemini.py --prompt "your question" [--system-prompt "instructions"] [--output "response.md"] [--api-key KEY]
Image analysis (vision):
uv run scripts/query_gemini.py --prompt "describe this image" --image "path/to/image.png" [--output "analysis.md"] [--api-key KEY]
Parameters
--prompt/-p(required): Question, task, or instructions--image/-i: Path to image for vision analysis (jpg, png, webp, gif)--system-prompt/-s: System instructions to set context/persona--output/-o: Save response to file (always prints to stdout too)--api-key/-k: API key (overridesGRSAI_API_KEYenv var)
API Key
Provide via --api-key argument or set GRSAI_API_KEY environment variable.
Troubleshooting
| Symptom | Resolution |
|---|---|
Error: No API key provided. |
Set GRSAI_API_KEY env var or pass --api-key |
Error: Image not found: |
Wrong path or unreadable file; verify the path exists |
| HTTP 401 | Wrong or expired API key |
Unexpected response format |
API error; check prompt for policy violations |
uv: command not found |
Install: curl -LsSf https://astral.sh/uv/install.sh | sh, then restart terminal |
For transient errors (HTTP 429, network timeouts), the script retries automatically up to 3 times. If retries are exhausted, surface the error to the user.
Output
Print the response to stdout. Optionally save to file with --output. Do not pipe output unless the user asks.
Examples
uv run scripts/query_gemini.py --prompt "Explain the difference between TCP and UDP in simple terms"
uv run scripts/query_gemini.py --prompt "What objects are in this image?" --image "photo.jpg" --output "analysis.md"
More from delneg/nano-banana-pro-skill-grsai-com
veo3-1
Generate videos with Google Veo 3.1 via grsai.com API. Use for any video creation, text-to-video, or motion content requests. Triggers on "generate video", "create a clip", "make a video of", "video of", "animate". Supports fast/pro quality tiers; 720p/1080p/4K; 4/6/8-second durations; 16:9 and 9:16 aspect ratios.
32nano-banana-pro-grsai
Generate/edit images with Nano Banana Pro via grsai.com API. Use for image create/modify requests incl. edits. Supports text-to-image + image-to-image; 1K/2K/4K; use --input-image.
10nano-banana-2
Generate/edit images with Nano Banana 2 via grsai.com API. Use for image create/modify requests incl. edits. Supports text-to-image + image-to-image; 1K/2K/4K; use --input-image.
1