ElevenLabs Speech to Text
elevenlabs/speech-to-textElevenLabs Speech to Text (Scribe v1) transcribes audio with word timestamps, speaker labels, and tags for non-speech events such as laughter.
- Prezzo base
- $0.03USD / esecuzione
- Esecuzione
- async
- Tipo di modello
- audio
- Campi di input
- 4
Prova il modello
Playground
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Scheda del modello
Specifiche
Prezzi
- Prezzo base
- $0.03 / esecuzione
Contesto e modalità
- Input
- Definito dallo schema
- Output
- audio
Funzionalità
- Chat
- Non supportato
- Vision
- Non supportato
- Ragionamento
- Non supportato
- Output strutturato
- Non supportato
- Chiamata di funzione
- Non supportato
- Input audio
- Non supportato
Accesso
- Provider
- ElevenLabs
- ID modello
- elevenlabs/speech-to-text
- Esecuzione
- async
- URL base
- https://api.sandbase.ai
- API
- Unified Run API
- Endpoint
- /v1/run
README API
ElevenLabs Speech to Text
ElevenLabs Speech to Text (Scribe v1) transcribes speech with word-level timestamps, speaker labels, and tags for non-speech events. For the newer model see Scribe V2.
Fields
| Field | Type | Default | Notes |
|---|---|---|---|
audio | audio file or URL, required | — | Audio or video to transcribe. |
tag_audio_events | boolean | true | Mark laughter, music, and other events. |
diarize | boolean | true | Label who is speaking. |
language_code | string | — | Force a language; omit to detect. |
Output
text, the detected language_code, and words with start/end times and speaker IDs.
Billing
$0.03 per started minute of audio. The charge uses the measured audio length.
| Audio | Price |
|---|---|
| Up to 1 min | $0.03 |
| 10 min | $0.30 |
| 60 min | $1.80 |
Failed runs are not charged.
Inizia a costruire
Invia la tua prima richiesta
Endpoint compatibile con OpenAI con autenticazione unificata e tracciamento dell'utilizzo.
# 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/speech-to-text",
"audio": "https://static.sandbase.ai/examples/elevenlabs/speech-to-text/output_url_0.mp3",
"diarize": true,
"language_code": "eng",
"tag_audio_events": true
}
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"Schema di input
4 parametri · 1 obbligatori · 3 facoltativi
| Parametro | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
audio | string | Obbligatorio | Audio or video file or URL to transcribe. |
diarize | boolean | Facoltativo | Whether to annotate who is speaking. · Predefinito: true |
language_code | string | Facoltativo | Language code of the audio. Omit to detect automatically. |
tag_audio_events | boolean | Facoltativo | Tag audio events like laughter, applause, etc. · Predefinito: true |
Schema di output
| Campo | Tipo | Descrizione |
|---|---|---|
id | string | Identificatore univoco dell'attività di generazione |
status | string | Stato dell'attività: pending, running, completed, failed, timeout |
model | string | Modello usato per la generazione |
outputs | array | Array di elementi di output |
outputs[].url | string | URL dell'artefatto generato |
outputs[].content_type | string | Tipo MIME (ad esempio image/png, video/mp4) |
error | object | null | Dettagli dell'errore in caso di fallimento, null in caso di successo |
error.type | string | Codice del tipo di errore leggibile dalla macchina |
error.message | string | Descrizione dell'errore leggibile dall'utente |
Workflow asincrono
Questo modello funziona in modo asincrono. Invia una richiesta, quindi esegui il polling per ottenere il risultato.
- Invio: esegui POST su /v1/run e leggi il
idrestituito. - Polling: esegui GET /v1/run/{id} finché lo stato non è
completed,failedotimeout. - Recupero: leggi
outputsdalla risposta completata.
Scegli il tuo modello
Confronta i modelli
| Modello | Tipo | Prezzo predefinito | Rilasciato |
|---|---|---|---|
ElevenLabs Speech to TextQuesto modello ElevenLabs | Audio | $0.03 / esecuzione | 27 feb 2025 |
ElevenLabs | Audio | $0.01 / esecuzione | 2 nov 2026 |
ElevenLabs | Audio | $0.04 / esecuzione | 28 set 2026 |
ElevenLabs | Audio | $0.08 / esecuzione | 28 set 2026 |
ElevenLabs | Audio | $0.75 / esecuzione | 14 set 2026 |
ElevenLabs | Audio | $0.75 / esecuzione | 14 set 2026 |
Domande
FAQ
Come chiamo ElevenLabs Speech to Text tramite SandBase?
Crea una chiave API SandBase, poi invia richieste con l'ID modello "elevenlabs/speech-to-text" a Unified Run API (/v1/run) su https://api.sandbase.ai. Gli esempi di richiesta in questa pagina mostrano il payload esatto.
Mi serve un account ElevenLabs separato?
No. Una sola chiave API e un solo saldo SandBase ti danno accesso a ElevenLabs Speech to Text e agli altri modelli del catalogo; non è necessario registrarsi separatamente su ElevenLabs.
