# ElevenLabs Speech to Text API

> ElevenLabs Speech to Text (Scribe v1) transcribes audio with word timestamps, speaker labels, and tags for non-speech events such as laughter.

Source: https://www.sandbase.ai/models/elevenlabs/speech-to-text
API reference: https://www.sandbase.ai/models/elevenlabs/speech-to-text#api

## Facts

- Provider: ElevenLabs
- Type: Audio model
- Model ID: `elevenlabs/speech-to-text`
- Price: From $0.03 per run
- Capabilities: speech to text
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

- Unified Run API: `POST https://api.sandbase.ai/v1/run`

```bash
curl -X POST https://api.sandbase.ai/v1/run \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "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
}'
```

The response returns a run id; poll `GET https://api.sandbase.ai/v1/run/{id}` until the status is `completed` or `failed`.

## FAQ

### How do I call ElevenLabs Speech to Text through SandBase?

Create a SandBase API key, then send requests with the model ID "elevenlabs/speech-to-text" 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 Speech to Text and the other models in the catalog; you do not need to sign up with ElevenLabs separately.

## README

### 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.
