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

Muse Code · AudioReleased 2024-10-30

How to Use Universal-2 in Muse Code

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 Muse Code

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

Use Universal-2 to transcribe the recorded product demos in this project's media directory. Build a searchable transcript index with links to the matching audio timestamps.

Universal-2Muse Code
Try asking
  • Use Universal-2 to transcribe the English usability interviews in this project, retaining filler words. Create a review page that plays the audio around each selected quote.

  • Use Universal-2 to transcribe the training recordings in this repository. Generate SRT caption drafts and put them beside the corresponding videos for review.

  • Use Universal-2 to transcribe this project's two-channel call recordings with multichannel transcription. Preserve channel identifiers in the transcript viewer.

  • Use Universal-2 to transcribe the recorded architecture discussion in this project. Then draft documentation from the transcript, linking each proposed decision to its audio timestamp.

How to set up Universal-2 in Muse Code

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

Use Spiral's MCP server

  1. Install Muse Code
    curl -fsSL https://dev.meta.ai/install.sh | bash
  2. Ask Muse to add the server

    Start muse and ask:

    Add the Spiral MCP server at https://api.spiral.ai/mcp
  3. Sign in

    In your terminal, run:

    muse mcp login spiral

Use the Spiral skill

  1. Send Muse Code 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: Muse Code 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 Muse Code 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 Muse Code?

Turn project recordings into searchable transcripts, caption drafts, and evidence for documentation. Use Universal-2's word timestamps to link text back to the audio for review.

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 Muse Code

Can Muse Code use Universal-2?

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

How much does Universal-2 cost in Muse Code?

$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 Muse Code plan is separate.

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

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 Muse Code?

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

Does Muse Code wait while Universal-2 runs?

Universal-2 runs in the background. Muse Code 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 Muse Code

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

Paste this into Muse Code:

Set up Muse Code

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