[Integrations](https://spiral.ai/integrations) › [Factory Droid](https://spiral.ai/integrations/factory-droid) › [ElevenLabs Forced Alignment](https://spiral.ai/integrations/factory-droid/elevenlabs-forced-alignment)

# How to Use ElevenLabs Forced Alignment in Factory Droid

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 Factory Droid

- 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 Factory Droid

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

### Use Spiral's MCP server

1. **Add the server**: Droid saves it to your user config, `~/.factory/mcp.json`, so it works in every project.

```bash
droid mcp add spiral https://api.spiral.ai/mcp --type http
```

2. **Sign in**: Start `droid`, type `/mcp`, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

3. **Check it**: Spiral shows as connected. needs authentication means the sign-in did not finish: run `/mcp` again.

```bash
droid mcp list
```

### Use the Spiral skill

1. **Send Factory Droid 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: Factory Droid finds ElevenLabs Forced Alignment on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/factory-droid

## 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 Factory Droid?

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 Factory Droid guides](https://spiral.ai/integrations/factory-droid)

## 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)
- [Gemini](https://spiral.ai/integrations/gemini/elevenlabs-forced-alignment)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/elevenlabs-forced-alignment)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/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 Factory Droid guides

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

## Questions about ElevenLabs Forced Alignment in Factory Droid

**Can Factory Droid use ElevenLabs Forced Alignment?**

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

**How much does ElevenLabs Forced Alignment cost in Factory Droid?**

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 Factory Droid plan is separate.

**Do I need a fal account to use ElevenLabs Forced Alignment in Factory Droid?**

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 Factory Droid?**

About two minutes: add the server, then sign in, then check it.

**Does Factory Droid wait while ElevenLabs Forced Alignment runs?**

ElevenLabs Forced Alignment runs in the background. Factory Droid 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.

