Loading...
Loading...
Compare original and translation side by side
uv run scripts/query_gemini.py --prompt "your question" [--system-prompt "instructions"] [--output "response.md"] [--api-key KEY]uv run scripts/query_gemini.py --prompt "describe this image" --image "path/to/image.png" [--output "analysis.md"] [--api-key KEY]uv run scripts/query_gemini.py --prompt "your question" [--system-prompt "instructions"] [--output "response.md"] [--api-key KEY]uv run scripts/query_gemini.py --prompt "describe this image" --image "path/to/image.png" [--output "analysis.md"] [--api-key KEY]--prompt-p--image-i--system-prompt-s--output-o--api-key-kGRSAI_API_KEY--prompt-p--image-i--system-prompt-s--output-o--api-key-kGRSAI_API_KEY--api-keyGRSAI_API_KEY--api-keyGRSAI_API_KEY| Symptom | Resolution |
|---|---|
| Set |
| Wrong path or unreadable file; verify the path exists |
| HTTP 401 | Wrong or expired API key |
| API error; check prompt for policy violations |
| Install: |
| 症状 | 解决方法 |
|---|---|
| 设置 |
| 路径错误或文件不可读;请验证路径是否存在 |
| HTTP 401 | API密钥错误或已过期 |
| API错误;检查提示内容是否违反政策 |
| 安装方法: |
--output--outputuv 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"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"