[Integrations](https://spiral.ai/integrations) › [Google Antigravity](https://spiral.ai/integrations/antigravity) › [ElevenLabs Forced Alignment](https://spiral.ai/integrations/antigravity/elevenlabs-forced-alignment)

# How to Use ElevenLabs Forced Alignment in Google Antigravity

ElevenLabs Forced Alignment matches an existing transcript to recorded audio, returning word and character timestamps for captions and read-along text. Use it when you already have the words and need their timing.

|  |  |
| --- | --- |
| Model | ElevenLabs Forced Alignment |
| Available through | fal |
| Category | Audio |
| Price | Up to $0.286 per run at the default inputs. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with ElevenLabs Forced Alignment in Google Antigravity

- Use ElevenLabs Forced Alignment to align narration.mp3 with transcript.txt in this project, then generate a WebVTT caption file without rewriting the transcript.
- Use ElevenLabs Forced Alignment on the project's lesson recording and transcript, then add word highlighting to the existing audio player.
- Use ElevenLabs Forced Alignment with the interview audio and approved transcript in this repository, then add click-to-seek behavior to the transcript view.
- Use ElevenLabs Forced Alignment on the tutorial recording and transcript, then create a review table containing each sentence and its first and last word timestamps.
- Use ElevenLabs Forced Alignment on the project's narration and transcript, then build a review view that displays word-level loss scores alongside playback controls.

## How to set up ElevenLabs Forced Alignment in Google Antigravity

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

### Use Spiral's MCP server

1. **Open the MCP config**: * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit `~/.gemini/config/mcp_config.json`.

2. **Add the server**: Add Spiral under `mcpServers`:

```json
{
  "mcpServers": {
    "spiral": {
      "serverUrl": "https://api.spiral.ai/mcp"
    }
  }
}
```

3. **Sign in**: In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

### Use the Spiral skill

1. **Send Google Antigravity 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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run ElevenLabs Forced Alignment**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/elevenlabs/forced-alignment",
    "input": {
      "audio_url": "https://storage.googleapis.com/falserverless/example_inputs/elevenlabs/scribe_v2_in.mp3",
      "text": "Hey, this is a test recording for Scribe version two, which is now available on fal.ai."
    }
  }'
```

Then paste one of the prompts above: Google Antigravity finds ElevenLabs Forced Alignment on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/antigravity

## ElevenLabs Forced Alignment tools and prices

- [Elevenlabs - Forced Alignment](https://spiral.ai/tools/fal/fal-ai/elevenlabs/forced-alignment) (fal): Up to $0.286 per run at the default inputs.

## What can you do with ElevenLabs Forced Alignment in Google Antigravity?

Build caption tools, read-along players, and transcript navigation from word and character timestamps. A coding agent can connect the alignment results to your project's player and editing code.

### Time captions for recorded videos

Align a finished transcript with the recording, then have your agent turn the word timings into subtitle cues for review.

### Build read-along lessons

Use word timestamps to highlight lesson text as the narration plays. Review the timing around pauses before publishing.

### Navigate recordings through text

Align a transcript so a player can jump from a selected word or search result to the corresponding passage in the audio.

### Find interview quotes for editing

Match an approved interview transcript to its recording, then use the timestamps to prepare a list of candidate clip boundaries.

### Cue narrated presentations

Align a presentation transcript with its narration, then ask your agent to map selected phrases to slide-change cues.

### Synchronize tutorial callouts

Time an existing tutorial transcript, then use selected word boundaries to place labels or explanatory callouts in a video editor.

## Overview

- [fal](https://spiral.ai/providers/fal)
- [All Google Antigravity guides](https://spiral.ai/integrations/antigravity)

## ElevenLabs Forced Alignment in other agents

- [Amp](https://spiral.ai/integrations/amp/elevenlabs-forced-alignment)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/elevenlabs-forced-alignment)
- [Claude](https://spiral.ai/integrations/claude-desktop/elevenlabs-forced-alignment)
- [Claude Code](https://spiral.ai/integrations/claude-code/elevenlabs-forced-alignment)
- [Cline](https://spiral.ai/integrations/cline/elevenlabs-forced-alignment)
- [Codex](https://spiral.ai/integrations/codex/elevenlabs-forced-alignment)
- [Cursor](https://spiral.ai/integrations/cursor/elevenlabs-forced-alignment)
- [Devin](https://spiral.ai/integrations/devin/elevenlabs-forced-alignment)
- [dots](https://spiral.ai/integrations/dots/elevenlabs-forced-alignment)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/elevenlabs-forced-alignment)
- [Gemini](https://spiral.ai/integrations/gemini/elevenlabs-forced-alignment)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/elevenlabs-forced-alignment)
- [goose](https://spiral.ai/integrations/goose/elevenlabs-forced-alignment)
- [Grok](https://spiral.ai/integrations/grok/elevenlabs-forced-alignment)
- [Grok Build](https://spiral.ai/integrations/grok-build/elevenlabs-forced-alignment)
- [Hermes](https://spiral.ai/integrations/hermes/elevenlabs-forced-alignment)
- [Instinct](https://spiral.ai/integrations/instinct/elevenlabs-forced-alignment)
- [Manus](https://spiral.ai/integrations/manus/elevenlabs-forced-alignment)
- [Muse](https://spiral.ai/integrations/muse/elevenlabs-forced-alignment)
- [Muse Code](https://spiral.ai/integrations/muse-code/elevenlabs-forced-alignment)
- [n8n](https://spiral.ai/integrations/n8n/elevenlabs-forced-alignment)
- [Notion](https://spiral.ai/integrations/notion/elevenlabs-forced-alignment)
- [OpenClaw](https://spiral.ai/integrations/openclaw/elevenlabs-forced-alignment)
- [opencode](https://spiral.ai/integrations/opencode/elevenlabs-forced-alignment)
- [Perplexity](https://spiral.ai/integrations/perplexity/elevenlabs-forced-alignment)
- [Raycast](https://spiral.ai/integrations/raycast/elevenlabs-forced-alignment)
- [VS Code](https://spiral.ai/integrations/vscode/elevenlabs-forced-alignment)
- [Windsurf](https://spiral.ai/integrations/windsurf/elevenlabs-forced-alignment)
- [Zapier](https://spiral.ai/integrations/zapier/elevenlabs-forced-alignment)

## More Google Antigravity guides

- [ElevenLabs English Voice Changer v2](https://spiral.ai/integrations/antigravity/elevenlabs-english-voice-changer-v2)
- [ElevenLabs Multilingual v2](https://spiral.ai/integrations/antigravity/elevenlabs-multilingual-v2)
- [ElevenLabs Dubbing v2](https://spiral.ai/integrations/antigravity/elevenlabs-dubbing-v2)
- [ElevenLabs Music](https://spiral.ai/integrations/antigravity/elevenlabs-music)
- [ElevenLabs Audio Isolation](https://spiral.ai/integrations/antigravity/elevenlabs-audio-isolation)
- [ElevenLabs Music v2](https://spiral.ai/integrations/antigravity/elevenlabs-music-v2)

## Questions about ElevenLabs Forced Alignment in Google Antigravity

**Can Google Antigravity use ElevenLabs Forced Alignment?**

Yes. Add Spiral to Google Antigravity as an MCP server, and Google Antigravity can find and run ElevenLabs Forced Alignment like any built-in tool.

**How much does ElevenLabs Forced Alignment cost in Google Antigravity?**

Up to $0.286 per run at the default inputs. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Google Antigravity plan is separate.

**Do I need a fal account to use ElevenLabs Forced Alignment in Google Antigravity?**

No. Spiral runs ElevenLabs Forced Alignment on its own fal account. You sign in to Spiral once and never paste a key.

**How long does it take to set up ElevenLabs Forced Alignment in Google Antigravity?**

About two minutes: open the MCP config, then add the server, then sign in.

**Does Google Antigravity wait while ElevenLabs Forced Alignment runs?**

ElevenLabs Forced Alignment runs in the background. Google Antigravity starts the run, checks on it and gives you the json when it's ready.

**Does ElevenLabs Forced Alignment transcribe audio?**

It times a transcript you already have against the recording. If you do not have a transcript, transcribe the audio first.

**What timing detail does ElevenLabs Forced Alignment return?**

It returns timestamps for individual words and characters. Your agent can use those timings to prepare captions, read-along highlighting, or navigation within a recording.

**How long can a recording be?**

The served endpoint documents recordings up to 10 hours and files up to 3 GB. ElevenLabs also documents a transcript limit of 675,000 characters.

**Can ElevenLabs Forced Alignment identify speakers?**

Speaker diarization is not supported. Keep speaker identification as a separate task.

**How many languages does ElevenLabs Forced Alignment support?**

The Forced Alignment overview lists 29 supported languages. Check that list before planning an alignment workflow for a particular language.

