ElevenLabs Forced Alignment
elevenlabs/forced-alignmentElevenLabs 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
Try the model
Playground
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
| Field | Type | Default | Notes |
|---|---|---|---|
audio | audio file or URL, required | — | Up to 3 GB and 10 hours. |
text | string, 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.
| Audio | Price |
|---|---|
| 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.
# 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"Input Schema
2 parameters · 2 required · 0 optional
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | Required | Transcript of the audio to align. · Min length: 1 · Max length: 675000 |
audio | string | Required | Audio file or URL to align. Up to 3 GB and 10 hours of audio. |
Output Schema
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier for the generation task |
status | string | Task status: pending, running, completed, failed, timeout |
model | string | Model used for the generation |
outputs | array | Array of output items |
outputs[].url | string | URL of the generated artifact |
outputs[].content_type | string | MIME type (e.g. image/png, video/mp4) |
error | object | null | Error details if failed, null on success |
error.type | string | Machine-readable error type code |
error.message | string | Human-readable error description |
Async Workflow
This model runs asynchronously. Submit a request, then poll for the result.
- Submit: POST to /v1/run and read the returned
id. - Poll: GET /v1/run/{id} until status is
completed,failedortimeout. - Retrieve: read
outputsfrom the completed response.
Choose your model
Compare models
| Model | Type | Default price | Released |
|---|---|---|---|
ElevenLabs Forced AlignmentThis model ElevenLabs | Audio | $0.30 / run | Sep 8, 2026 |
ElevenLabs | Audio | $0.01 / run | Nov 2, 2026 |
ElevenLabs | Audio | $0.04 / run | Sep 28, 2026 |
ElevenLabs | Audio | $0.08 / run | Sep 28, 2026 |
ElevenLabs | Audio | $0.75 / run | Sep 14, 2026 |
ElevenLabs | Audio | $0.75 / run | Sep 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.
