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.
- Grundpreis
- $0.30USD / Ausführung
- Ausführung
- async
- Modelltyp
- audio
- Eingabefelder
- 2
Modell testen
Playground
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
Modellkarte
Spezifikationen
Preisgestaltung
- Basispreis
- $0.30 / Ausführung
Kontext & Modalitäten
- Eingabe
- Schema-definiert
- Ausgabe
- audio
Funktionen
- Chat
- Nicht unterstützt
- Vision
- Nicht unterstützt
- Reasoning
- Nicht unterstützt
- Strukturierte Ausgabe
- Nicht unterstützt
- Function Calling
- Nicht unterstützt
- Audioeingabe
- Nicht unterstützt
Zugriff
- Anbieter
- ElevenLabs
- Modell-ID
- elevenlabs/forced-alignment
- Ausführung
- async
- Basis-URL
- https://api.sandbase.ai
- API
- Unified Run API
- Endpunkt
- /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.
Jetzt loslegen
Senden Sie Ihre erste Anfrage
OpenAI-kompatibler Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
# 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"Eingabeschema
2 Parameter · 2 erforderlich · 0 optional
| Parameter | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
text | string | Erforderlich | Transcript of the audio to align. · Minimale Länge: 1 · Maximale Länge: 675000 |
audio | string | Erforderlich | Audio file or URL to align. Up to 3 GB and 10 hours of audio. |
Ausgabeschema
| Feld | Typ | Beschreibung |
|---|---|---|
id | string | Eindeutige Kennung für den Generierungsauftrag |
status | string | Status des Auftrags: pending, running, completed, failed, timeout |
model | string | Verwendetes Modell für die Generierung |
outputs | array | Array von Ausgabeelementen |
outputs[].url | string | URL des generierten Artefakts |
outputs[].content_type | string | MIME-Typ (z. B. image/png, video/mp4) |
error | object | null | Fehlerdetails bei Fehlschlag, bei Erfolg null |
error.type | string | Maschinenlesbarer Fehler-Typcode |
error.message | string | Menschenlesbare Fehlerbeschreibung |
Asynchroner Workflow
Dieses Modell läuft asynchron. Senden Sie eine Anfrage und pollen Sie dann das Ergebnis.
- Senden: Per POST an /v1/run senden und das zurückgegebene
idlesen. - Pollen: GET /v1/run/{id}, bis der Status
completed,failedodertimeoutist. - Abrufen:
outputsaus der abgeschlossenen Antwort lesen.
Wählen Sie Ihr Modell
Modelle vergleichen
| Modell | Typ | Standardpreis | Veröffentlicht |
|---|---|---|---|
ElevenLabs Forced AlignmentDieses Modell ElevenLabs | Audio | $0.30 / Lauf | 8. Sept. 2026 |
ElevenLabs | Audio | $0.01 / Lauf | 2. Nov. 2026 |
ElevenLabs | Audio | $0.04 / Lauf | 28. Sept. 2026 |
ElevenLabs | Audio | $0.08 / Lauf | 28. Sept. 2026 |
ElevenLabs | Audio | $0.75 / Lauf | 14. Sept. 2026 |
ElevenLabs | Audio | $0.75 / Lauf | 14. Sept. 2026 |
Fragen
FAQ
Wie rufe ich ElevenLabs Forced Alignment über SandBase auf?
Erstellen Sie einen SandBase API-Schlüssel und senden Sie dann Anfragen mit der Modell-ID "elevenlabs/forced-alignment" an Unified Run API (/v1/run) unter https://api.sandbase.ai. Die Anfragebeispiele auf dieser Seite zeigen die exakte Nutzlast.
Benötige ich ein separates ElevenLabs-Konto?
Nein. Mit einem SandBase API-Schlüssel und Guthaben erhalten Sie Zugriff auf ElevenLabs Forced Alignment und die anderen Modelle im Katalog; Sie müssen sich nicht separat bei ElevenLabs registrieren.
