Sand AISand AI MAGI-2MAGI-2 is now on SandBase: 1080p video with native audioTry it now

ElevenLabs Forced Alignment

elevenlabs/forced-alignment

ElevenLabs Forced Alignment matches a known transcript to an audio file and returns start and end timestamps for every word and character.

Base price
$0.30USD / run
Execution
async
Model type
audio
Input fields
2
Production route

Try the model

Playground

Open playground
Input
Audio file or URL to align. Up to 3 GB and 10 hours of audio.
Transcript of the audio to align.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.30 / run

Context & modalities

Input
Schema-defined
Output
audio

Capabilities

Chat
Not supported
Vision
Not supported
Reasoning
Not supported
Structured output
Not supported
Function calling
Not supported
Audio input
Not supported

Access

Provider
ElevenLabs
Model ID
elevenlabs/forced-alignment
Execution
async
Base URL
https://api.sandbase.ai
API
Unified Run API
Endpoint
/v1/run

API README

ElevenLabs Forced Alignment

ElevenLabs Forced Alignment takes an audio file and its transcript and returns when each word and character is spoken. Use it for subtitles, karaoke-style highlighting, and lip-sync timing when you already have the text.

Fields

FieldTypeDefaultNotes
audioaudio file or URL, required—Up to 3 GB and 10 hours.
textstring, required—Transcript to align with the audio.

Output

words (text, start, end, loss per word), characters (text, start, end per character) and the average loss.

Billing

$0.30 per started hour of input audio, minimum 1 hour. The charge uses the measured audio length.

AudioPrice
Up to 1 h$0.30
2 h$0.60
10 h$3.00

Failed runs are not charged.

Start building

Send your first request

OpenAI-compatible endpoint with unified authentication and usage tracking.

Production API
Unified Run API endpoint
https://api.sandbase.ai/v1/run
Model ID
elevenlabs/forced-alignment
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "model": "elevenlabs/forced-alignment",
  "text": "Hey, this is a test recording for Scribe version two, which is now available on fal.ai.",
  "audio": "https://static.sandbase.ai/examples/elevenlabs/scribe-v2/input_audio_0.mp3"
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
  status=$(printf '%s' "$result" | jq -r .status)
  case "$status" in completed|failed|timeout) break ;; esac
  sleep 2
  result=$(curl --fail-with-body --silent \
    -H "Authorization: Bearer $SANDBASE_API_KEY" \
    "https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"
01

Input Schema

2 parameters · 2 required · 0 optional

ParameterTypeRequiredDescription
textstringRequiredTranscript of the audio to align. · Min length: 1 · Max length: 675000
audiostringRequiredAudio file or URL to align. Up to 3 GB and 10 hours of audio.
02

Output Schema

FieldTypeDescription
idstringUnique identifier for the generation task
statusstringTask status: pending, running, completed, failed, timeout
modelstringModel used for the generation
outputsarrayArray of output items
outputs[].urlstringURL of the generated artifact
outputs[].content_typestringMIME type (e.g. image/png, video/mp4)
errorobject | nullError details if failed, null on success
error.typestringMachine-readable error type code
error.messagestringHuman-readable error description

Async Workflow

This model runs asynchronously. Submit a request, then poll for the result.

  1. Submit: POST to /v1/run and read the returned id.
  2. Poll: GET /v1/run/{id} until status is completed, failed or timeout.
  3. Retrieve: read outputs from the completed response.

Choose your model

Compare models

All image & video models
ModelTypeDefault priceReleased
ElevenLabsAudio$0.30 / runSep 8, 2026
ElevenLabsAudio$0.01 / runNov 2, 2026
ElevenLabsAudio$0.04 / runSep 28, 2026
ElevenLabsAudio$0.08 / runSep 28, 2026
ElevenLabsAudio$0.75 / runSep 14, 2026
ElevenLabsAudio$0.75 / runSep 14, 2026

Questions

FAQ

How do I call ElevenLabs Forced Alignment through SandBase?

Create a SandBase API key, then send requests with the model ID "elevenlabs/forced-alignment" to Unified Run API (/v1/run) at https://api.sandbase.ai. The request examples on this page show the exact payload.

Do I need a separate ElevenLabs account?

No. One SandBase API key and balance gives you access to ElevenLabs Forced Alignment and the other models in the catalog; you do not need to sign up with ElevenLabs separately.