Spiral gives your agent every tool with one account. Browse the tools →

Gemini · AudioReleased 2024-10-30

How to Use Universal-2 in Gemini

Universal-2 turns recorded interviews, calls, and lectures into transcripts across 99 languages. Compared with Universal-1, it improves recognition of names and alphanumeric strings, plus text formatting.

Prompts to try with Universal-2 in Gemini

Copy an example into Gemini, or ask in your own words.

Use Universal-2 to transcribe this recorded lecture. Then make study notes and include the audio timestamp for each main topic.

Universal-2Gemini
Try asking
  • Use Universal-2 to transcribe this English research interview, keeping filler words. Then suggest five passages to review for hesitation, with timestamps.

  • Use Universal-2 to transcribe this podcast episode. Then draft a topic outline and give me timestamps for the sections.

  • Use Universal-2 to transcribe this recorded meeting with speaker labels. Then list the decisions with supporting timestamps, keeping the generic speaker labels.

  • Use Universal-2 to transcribe this two-channel call, keeping each channel separate. Then organize the conversation by channel and timestamp.

How to set up Universal-2 in Gemini

Pick the way that suits you. Each takes about two minutes.

Use the Gemini connector

  1. Open Connected Apps

    On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

  2. Add Spiral as a custom app

    Under Custom apps, click Add a custom app and paste this MCP server URL:

    https://api.spiral.ai/mcp
  3. Sign in to Spiral and approve

    Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Gemini this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Universal-2

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "assemblyai",
        "model": "universal-2",
        "input": {
          "audio_url": "<audio_url>"
        }
      }'

Then paste one of the prompts above: Gemini finds Universal-2 on Spiral, shows the price and runs it.

Universal-2 providers and prices

Spiral runs Universal-2 through AssemblyAI. Open a card for today's price, with every fee included.

AssemblyAIAudio

Settings you can ask for

Universal-2 works from your audio URL. Ask Gemini for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Domainmedical-v1

Enable domain-specific transcription models to improve accuracy for specialized terminology.

Punctuateon or offon

Enable Automatic Punctuation, can be true or false

Redact piion or offoff

Redact PII from the transcribed text using the Redact PII model, can be true or false.

Format texton or offon

Enable Text Formatting, can be true or false

Temperature0 to 1

Control the amount of randomness injected into the model's response. Only takes effect on Universal-3.5 Pro, so Universal-2 ignores it.

Audio end ata whole number

The point in time, in milliseconds, to stop transcribing in your media file.

Disfluencieson or offoff

Transcribe Filler Words, like "umm", in your media file; can be true or false.

Multichannelon or offoff

Enable Multichannel transcription, can be true or false.

Custom topicson or off

This parameter does not currently have any functionality attached to it.

Content safetyon or offoff

Enable Content Moderation, can be true or false

Iab categorieson or offoff

Enable Topic Detection, can be true or false

Redact pii subentity_name or hash

The replacement logic for detected PII, can be entity_name or hash. See PII redaction for more details.

Speaker labelson or offoff

Enable Speaker diarization, can be true or false. Requires punctuate to be true.

Auto highlightson or offoff

Enable Key Phrases, either true or false

Audio start froma whole number

The point in time, in milliseconds, to begin transcribing in your media file.

Entity detectionon or offoff

Enable Entity Detection, can be true or false

Filter profanityon or offoff

Filter profanity from the transcribed text, can be true or false.

Redact pii audioon or offoff

Generate a copy of the original media file with spoken PII "beeped" out, can be true or false.

Speech threshold0 to 1

Reject audio files that contain less than this fraction of speech.

Speakers expecteda whole number

Tells the speaker label model how many speakers it should attempt to identify.

Language detectionon or off

Automatic language detection identifies the spoken language and routes the request to the best model.

Sentiment analysison or offoff

Enable Sentiment Analysis, can be true or false. Requires punctuate to be true.

Redact pii audio qualitymp3 or wav

Controls the filetype of the audio created by redact_pii_audio.

Content safety confidence25 to 100

The confidence threshold for the Content Moderation model.

Redact pii return unredactedon or off

When set to true, returns the original unredacted transcript alongside the redacted one in the same response.

Language confidence threshold0 to 1

The confidence threshold for the automatically detected language.

Every API field of Universal-2 Speech to Text is on its tool page: open its card above.

What can you do with Universal-2 in Gemini?

Turn recorded interviews, lectures, and conversations into text you can search and discuss. Universal-2's timestamps let you return to the recording when a quotation or detail needs checking.

Interview quote finding

Transcribe recorded interviews, then use word timestamps to locate passages worth quoting. Check selected quotes against the recording before publication.

Podcast caption drafts

Turn spoken podcast episodes into transcripts and timed caption drafts. Review names and technical terms before publishing.

Recorded meeting reference

Create searchable meeting transcripts with speaker labels. Keep a separate, reviewed mapping from speaker labels to people's names.

Lecture study material

Transcribe recorded lectures so an agent can build study notes linked to moments in the recording. Keep the transcript available beside the notes.

Multilingual recording archives

Build a searchable transcript collection from recordings across Universal-2's 99 supported languages, retaining the original recording alongside each transcript.

Two-channel call review

Transcribe calls with each participant recorded on a separate channel. Preserve channel identifiers so reviewers can follow each side of the conversation.

English interview hesitation analysis

Retain filler words in English research interviews when pauses and hesitations matter. Use the transcript to guide a closer listen to relevant passages.

Questions about Universal-2 in Gemini

Can Gemini use Universal-2?

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run Universal-2 like any built-in tool.

How much does Universal-2 cost in Gemini?

$0.195 per hour of audio, per channel. Features, per hour: speaker labels $0.026, key terms $0.065, translation $0.078, speaker identification $0.026, custom formatting $0.039, action items $0.026, summaries $0.026 ($0.091 at medium effort), entity detection $0.104, sentiment $0.026, key phrases $0.013, topic detection $0.195, content moderation $0.195, profanity filter $0.013, PII redaction $0.104, audio redaction $0.065, medical mode $0.195. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini plan is separate.

Do I need an AssemblyAI account to use Universal-2 in Gemini?

No. Spiral runs Universal-2 on its own AssemblyAI account. You sign in to Spiral once and never paste a key.

How long does it take to set up Universal-2 in Gemini?

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

Does Gemini wait while Universal-2 runs?

Universal-2 runs in the background. Gemini starts the run, checks on it and gives you the json when it's ready.

What is Universal-2 good at?

Use it to turn recorded conversations and spoken presentations into readable text. AssemblyAI's evaluations found improvements over Universal-1 in names, alphanumeric strings, and formatting.

How many languages does Universal-2 support?

Universal-2 supports 99 languages. That makes it useful for transcription collections that span many languages.

How long can a recording be?

The documented transcription limits are 10 hours and 5 GB per file. Split recordings that exceed either limit before transcription.

Can Universal-2 keep hesitations such as um and uh?

For English recordings, you can ask it to retain filler words when hesitations matter to your analysis. Universal-2 removes filler words by default.

When should I preserve separate audio channels?

Preserve them when different speakers were recorded on different channels, such as a two-channel call. Multichannel transcription keeps channel information attached to words and utterances.

Get started

Start using Universal-2 in Gemini

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Gemini:

Set up Gemini

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options