Gemini via API
コンテンツ
## AI Chat with
**Code execution, Google search, voice/text/PDF/file/URL/image/video input with chat manager**
## Setup Requirements
**API Keys (Free):**
1. [Gemini API key](https://makersuite.google.com/app/apikey)
2. [Google TTS API key](https://www.youtube.com/watch?v=y_vQvAqgqgA) (optional, can use same key)
**iCloud Sync Fix:** Keep GeminiAPI folder "downloaded" in Files app (iOS) or iCloud Drive (macOS) to prevent file errors.
## Key Features
1. **Drop-in ChatGPT replacement** or standalone operation
2. **[Google Search grounding](https://ai.google.dev/gemini-api/docs/grounding?lang=rest)** for improved accuracy
3. **File support** (iOS/iPadOS): Word, Excel, PowerPoint, Pages, Numbers, Keynote, XML, CSV, PDF
4. **Voice/text conversations** across all platforms
5. **Settings menu**: Run shortcut → "Configure settings" or say "Settings"
6. **System prompts** with {date} and {location} variables
7. **Rich text display** with color themes
8. **Conversation logging** to `/Shortcuts/GeminiAPI`
9. **Chat manager** for viewing/searching/exporting conversations
10. **[Code execution](https://ai.google.dev/gemini-api/docs/code-execution?lang=python)** - enable in settings
## Input/Output
**Input:** Text prompt, image, PDF, URL, or dictionary with keys: `prompt`, `messages`, `image`, `model`, `temperature`, `apikey`, `repeat`, `speak`, `datetime`, `checkupdates`, `disablelogging`
**Temperature control:** Prefix prompt with "t 0.9" or "temperature 0.9"
**Output:** Text response or dictionary with `output`, `messages`, `title`, `datetime`
## Related Shortcuts
1. **[What is this?](https://routinehub.co/shortcut/17670/)** - Quick image description
2. **[I have a question](https://routinehub.co/shortcut/17672/)** - Voice-only conversations
3. **[Gemini Chat](https://routinehub.co/shortcut/17883/)** - Text conversations
4. **[Create calendar events](https://routinehub.co/shortcut/17699/)** - Smart event creation from text/images
スクリーンショット
コメント
1 コメント
D
で にコメントを投稿してください。