Create ElevenLabs Speech to Text — Speech To Text
curl --request POST \
--url https://api.apisale.ai/v1/run/elevenlabs/elevenlabs-stt/speech-to-text \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"diarize": true,
"tag_audio_events": true,
"audio_url": "https://assets.apisale.ai/permanent/official/elevenlabs/elevenlabs-music/example-01.mp3"
}
}
'import requests
url = "https://api.apisale.ai/v1/run/elevenlabs/elevenlabs-stt/speech-to-text"
payload = { "input": {
"diarize": True,
"tag_audio_events": True,
"audio_url": "https://assets.apisale.ai/permanent/official/elevenlabs/elevenlabs-music/example-01.mp3"
} }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: {
diarize: true,
tag_audio_events: true,
audio_url: 'https://assets.apisale.ai/permanent/official/elevenlabs/elevenlabs-music/example-01.mp3'
}
})
};
fetch('https://api.apisale.ai/v1/run/elevenlabs/elevenlabs-stt/speech-to-text', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"run_id": "<string>",
"endpoint": "<string>",
"model": "<string>",
"capability": "<string>",
"mode": "<string>",
"status": "queued",
"created_at": "2023-11-07T05:31:56Z",
"output": {},
"error": {
"type": "<string>",
"code": 123,
"message": "<string>"
},
"billing": {
"amount": "<string>",
"currency": "usd"
},
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"elapsed_ms": 123
}Elevenlabs
ElevenLabs Speech to Text — Speech To Text
ElevenLabs Scribe v2 speech-to-text. Optimized for speech to text via apisale.
POST
/
v1
/
run
/
elevenlabs
/
elevenlabs-stt
/
speech-to-text
Create ElevenLabs Speech to Text — Speech To Text
curl --request POST \
--url https://api.apisale.ai/v1/run/elevenlabs/elevenlabs-stt/speech-to-text \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"diarize": true,
"tag_audio_events": true,
"audio_url": "https://assets.apisale.ai/permanent/official/elevenlabs/elevenlabs-music/example-01.mp3"
}
}
'import requests
url = "https://api.apisale.ai/v1/run/elevenlabs/elevenlabs-stt/speech-to-text"
payload = { "input": {
"diarize": True,
"tag_audio_events": True,
"audio_url": "https://assets.apisale.ai/permanent/official/elevenlabs/elevenlabs-music/example-01.mp3"
} }
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
input: {
diarize: true,
tag_audio_events: true,
audio_url: 'https://assets.apisale.ai/permanent/official/elevenlabs/elevenlabs-music/example-01.mp3'
}
})
};
fetch('https://api.apisale.ai/v1/run/elevenlabs/elevenlabs-stt/speech-to-text', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"run_id": "<string>",
"endpoint": "<string>",
"model": "<string>",
"capability": "<string>",
"mode": "<string>",
"status": "queued",
"created_at": "2023-11-07T05:31:56Z",
"output": {},
"error": {
"type": "<string>",
"code": 123,
"message": "<string>"
},
"billing": {
"amount": "<string>",
"currency": "usd"
},
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"elapsed_ms": 123
}Overview
ElevenLabs Scribe v2 speech-to-text. Optimized for speech to text via apisale.Docs = API contract + Try it (snapshot). Explore = browser playground. Model page = product examples.
Endpoint
POST https://api.apisale.ai/v1/run/elevenlabs/elevenlabs-stt/speech-to-text
| Model slug | elevenlabs/elevenlabs-stt/speech-to-text |
| Category | Speech To Text (speech-to-text) |
| Lab | Elevenlabs |
| Mode | async |
Pricing
From $0.0026/min apisale price is 30% below the vendor’s official list price.| Tier | Unit | Official price | apisale price |
|---|---|---|---|
| per minute (rounded up) | minute | $0.0037 | $0.0026 |
Official price = vendor list price. apisale price = what you pay through apisale.
Request
{
"input": {
"diarize": true,
"tag_audio_events": true,
"audio_url": "https://assets.apisale.ai/permanent/official/elevenlabs/elevenlabs-music/example-01.mp3"
}
}
Parameters
Fields marked * are required. UseAuthorization: Key YOUR_API_KEY for REST.
boolean
Default:
truestring
required
—
string
—
boolean
Default:
truestring
Optional HTTPS webhook when the run reaches a terminal state.
boolean
Block until completion (same Run response shape).
Input schema
Input schema
{
"params": {
"diarize": {
"type": "bool",
"default": true
},
"audio_url": {
"type": "media",
"required": true
},
"language_code": {
"type": "string"
},
"tag_audio_events": {
"type": "bool",
"default": true
}
}
}
Submit response
Returns a Run withrun_id. Poll with GET /v1/runs/{run_id} or use Try it above.
string
required
Unique run ID — save for polling and webhooks.
string
required
queued (async) or terminal state for sync runs.object
Result when
status is succeeded — see Output schema below.Example (async submit)
{
"run_id": "run_550e8400-e29b-41d4-a716-446655440000",
"endpoint": "elevenlabs/elevenlabs-stt/speech-to-text",
"model": "speech-to-text",
"capability": "audio",
"mode": "speech-to-text",
"status": "queued",
"output": null,
"error": null,
"billing": null,
"created_at": "2026-06-27T12:00:00.000Z",
"started_at": null,
"completed_at": null,
"elapsed_ms": null
}
Output
Whenstatus is succeeded, output follows this schema:
Output schema
Output schema
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string"
},
"words": {
"type": "array"
},
"language_code": {
"type": "string"
}
},
"description": "Transcription output."
}
Example
curl -X POST "https://api.apisale.ai/v1/run/elevenlabs/elevenlabs-stt/speech-to-text" \
-H "Authorization: Key YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"diarize": true,
"tag_audio_events": true,
"audio_url": "https://assets.apisale.ai/permanent/official/elevenlabs/elevenlabs-music/example-01.mp3"
}
}'
Related
Authorizations
Key sk-... (native REST) or Bearer sk-... (vendor SDKs)
Body
application/json
Response
201 - application/json
Run accepted
Unique run identifier
Model slug
Available options:
queued, processing, succeeded, failed, timeout, cancelled Show child attributes
Show child attributes
Show child attributes
Show child attributes
