Gemini API Integration
Gemini powers Ayumi’s two optional cloud transcription engines: Gemini, which reshapes a recording with your prompt, and Gemini Transcribe, Google’s dedicated speech model with language, speaker and vocabulary options. Both use the same key. You bring your own API key (BYOK), so you have full control over costs and usage.
Getting a Gemini API Key
Section titled “Getting a Gemini API Key”- Visit Google AI Studio
- Sign in with your Google account
- Navigate to the API keys section
- Create a new API key
- Copy the key
Configuring in Ayumi
Section titled “Configuring in Ayumi”- Open Ayumi > Settings (or
Cmd+,) - Go to the Transcription tab
- Paste your Gemini API key under Gemini
- Star a Gemini profile (such as Clean Transcript) to make it the default, or pick one per recording
- Open the transcription settings
- Enter your Gemini API key under Gemini
- Star a Gemini profile to make it the default, or pick one per recording
The key under Gemini is the provider’s base key: every Gemini and Gemini Transcribe profile uses it unless the profile sets an Override API Key of its own, for example to bill one profile to a different project. The engine, model, prompt and transcript options belong to the profile.
Keys are stored securely in your device’s Keychain and saved as you type; there is no Save button.
Supported Models
Section titled “Supported Models”| Model | Description |
|---|---|
| gemini-3.8-flash | Latest stable Flash |
| gemini-3.7-flash | Previous stable Flash; the default for new setups |
| gemini-3.6-flash | Earlier stable Flash |
| gemini-3.5-flash-lite | Lighter model, faster and cheaper |
| gemini-2.5-flash | Long-standing stable Flash |
| gemini-2.5-flash-lite | Lighter model of the 2.5 generation |
| Custom | Enter any Gemini model ID (preview or soon-to-retire models keep working until Google shuts them down) |
Gemini Transcribe
Section titled “Gemini Transcribe”The built-in Gemini Transcribe profile uses Google’s dedicated speech model with automatic language detection and Smart style; star it to make it the default, or duplicate it to set the options above. It runs on the same API key and takes no prompt; its options appear in their own section:
| Option | Values |
|---|---|
| Language | Automatic, or one of 85+ languages |
| Style | Smart (cleaned up) or Verbatim (word for word) |
| Label Speakers | Verbatim only; up to 8 speakers |
| Word Timestamps | Verbatim only; a [mm:ss–mm:ss] range per paragraph |
| Custom Vocabulary | A newline-separated Markdown file (for example in iCloud Drive), terms typed into the profile, or both |
The model used is gemini-3.5-transcribe. See Voice Recording for how each option shapes the transcript.
Profiles
Section titled “Profiles”A profile bundles an engine with what it should do, so one name selects the whole configuration:
- Go to Transcription settings
- Tap Add Profile
- Give it a name
- Choose the Engine — On-device, Gemini, or Gemini Transcribe — and, for Gemini, the Model
- Write your prompt instructions (Gemini), or set the language, style, speaker labels and extra vocabulary (Gemini Transcribe)
- Save
Profiles appear in the recording view, and Shortcuts can pick them from a list. The starter profiles are ordinary profiles: edit, duplicate, reorder or delete them as you like.
Switching Back
Section titled “Switching Back”Star the On-device profile to stop audio being sent to Google by default. Your Gemini key and profiles stay where they are, so a Gemini profile keeps working when you pick it and you can re-transcribe an entry with it at any time.
Data Privacy
Section titled “Data Privacy”When using either Gemini engine:
- Audio data is sent to Google’s servers for processing
- Ayumi shows a consent dialog before the first API call
- No data is stored on Ayumi’s servers — the API call goes directly from your device to Google
- See Google’s AI terms for details on how Google handles API data