Operations: audio
Every extract and transform for audio: transcribe, clean, spoken language, speakers, filler words and word timings.
Last updated ·Also as Markdown:this pagellms.txt
Every operation has a full name, kind.subject.action, and goes in steps by that name, such as detect.pii.entities. Open a row for its request, its response, its options, the languages it covers and its published figure where there is one, and read workflows to see how to combine them, across formats too.
Audio operations read a recording: WAV, MP3, M4A, Ogg, Opus, FLAC or WebM. After transform.speech.transcribe, every text operation works on the transcript.
Extract 4
An extract reads the input and returns data: a code, tags, time ranges. It never changes the input.
curl -X POST https://api.chersus.com/v1/workflow \
-H "Authorization: Bearer chrs_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "https://files.example.com/voicemail/0412.mp3"
},
"steps": [
"extract.speech.language"
]
}'const res = await fetch("https://api.chersus.com/v1/workflow", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CHERSUS_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"url": "https://files.example.com/voicemail/0412.mp3"
},
"steps": [
"extract.speech.language"
]
}),
});
const data = await res.json();import os
import requests
res = requests.post(
"https://api.chersus.com/v1/workflow",
headers={"Authorization": f"Bearer {os.environ['CHERSUS_KEY']}"},
json={
"input": {
"url": "https://files.example.com/voicemail/0412.mp3"
},
"steps": [
"extract.speech.language"
]
},
)
data = res.json(){
"trace_id": "chs_01J9X4Q7K2M8N3P5R6T7V8W9X0",
"status": "done",
"steps": [
{
"op": "extract.speech.language",
"units": 0.8,
"per": "minute",
"credits": 1.6,
"value": "nl",
"confidence": 0.97
}
],
"billed": {
"credits": 1.6
},
"audit": {
"region": "eu-nl-1",
"retention": "none"
}
}extract.speech.language names the language someone speaks, as an ISO 639-1 code with a confidence. It listens to the parts that sound most like speech and skips music and silence, so a long file is read the same way as a short one.
Use it to route: put extract.speech.language:de in a transform’s when, or send the code on to your own queue. Run it before transform.speech.transcribe and the transcriber uses the language it found. A recording where people switch languages gets one answer.
- KIND
- extract
- MODEL
- Ear · Desert Ant Labs
- LANGUAGES
- 102 languages
- REGION
- 26 EU cities
- BENCHMARK
- 99% of 7,500 Common Voice clips from new speakers sent to a transcriber that handles their language
- CONDITION
- extract.speech.language:<code>
curl -X POST https://api.chersus.com/v1/workflow \
-H "Authorization: Bearer chrs_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "https://files.example.com/meetings/standup.m4a"
},
"steps": [
"extract.speech.speakers"
]
}'const res = await fetch("https://api.chersus.com/v1/workflow", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CHERSUS_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"url": "https://files.example.com/meetings/standup.m4a"
},
"steps": [
"extract.speech.speakers"
]
}),
});
const data = await res.json();import os
import requests
res = requests.post(
"https://api.chersus.com/v1/workflow",
headers={"Authorization": f"Bearer {os.environ['CHERSUS_KEY']}"},
json={
"input": {
"url": "https://files.example.com/meetings/standup.m4a"
},
"steps": [
"extract.speech.speakers"
]
},
)
data = res.json(){
"trace_id": "chs_01J9X4Q7K2M8N3P5R6T7V8W9X0",
"status": "done",
"steps": [
{
"op": "extract.speech.speakers",
"units": 3.333,
"per": "minute",
"credits": 16.665,
"value": {
"count": 3,
"turns": [
{
"speaker": 0,
"start": 0.0,
"end": 6.4
},
{
"speaker": 1,
"start": 6.6,
"end": 14.2
},
{
"speaker": 2,
"start": 14.5,
"end": 21.9
}
]
}
}
],
"billed": {
"credits": 16.665
},
"audit": {
"region": "eu-nl-1",
"retention": "none"
}
}extract.speech.speakers splits a recording into turns and numbers the speakers in the order they first speak. Turns can overlap when people talk at once. It tells voices apart but never says who someone is.
With transform.speech.transcribe in the same workflow, every word in the transcript carries its speaker, which gives you a transcript of who said what. It handles up to four speakers in any five minutes, more across a whole recording, and is most accurate with close microphones. This operation is in early access.
- KIND
- extract
- MODEL
- Who · Desert Ant Labs
- LANGUAGES
- Not stated
- REGION
- 26 EU cities
- BENCHMARK
- 12.6% diarization error rate on AMI
curl -X POST https://api.chersus.com/v1/workflow \
-H "Authorization: Bearer chrs_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "https://files.example.com/takes/intro-take-3.m4a"
},
"steps": [
"extract.speech.fillers"
]
}'const res = await fetch("https://api.chersus.com/v1/workflow", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CHERSUS_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"url": "https://files.example.com/takes/intro-take-3.m4a"
},
"steps": [
"extract.speech.fillers"
]
}),
});
const data = await res.json();import os
import requests
res = requests.post(
"https://api.chersus.com/v1/workflow",
headers={"Authorization": f"Bearer {os.environ['CHERSUS_KEY']}"},
json={
"input": {
"url": "https://files.example.com/takes/intro-take-3.m4a"
},
"steps": [
"extract.speech.fillers"
]
},
)
data = res.json(){
"trace_id": "chs_01J9X4Q7K2M8N3P5R6T7V8W9X0",
"status": "done",
"steps": [
{
"op": "extract.speech.fillers",
"units": 2,
"per": "minute",
"credits": 4,
"value": {
"count": 3,
"fillers": [
{
"type": "um",
"start": 3.12,
"end": 3.48,
"confidence": 0.91
},
{
"type": "uh",
"start": 9.8,
"end": 10.05,
"confidence": 0.87
},
{
"type": "um",
"start": 17.33,
"end": 17.7,
"confidence": 0.93
}
]
}
}
],
"billed": {
"credits": 4
},
"audit": {
"region": "eu-nl-1",
"retention": "none"
}
}extract.speech.fillers listens for um, uh, hmm and similar sounds and returns each with its start, end and a confidence. It reads the sound itself, not a transcript, so it also finds the fillers a transcriber leaves out.
Use the times to cut fillers in an editor, to mark them on a timeline, or to count them for a speaking coach. It learned from English. It also tends to work on Spanish, French, German and Dutch, but that is not measured. Background music, laughter and people talking over each other make it less accurate.
- KIND
- extract
- MODEL
- Uhm · Desert Ant Labs
- LANGUAGES
- English
- REGION
- 26 EU cities
curl -X POST https://api.chersus.com/v1/workflow \
-H "Authorization: Bearer chrs_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "https://files.example.com/interviews/clip-07.wav"
},
"steps": [
{
"op": "extract.speech.timings",
"transcript": "Thanks for having me. We started the company in a garage."
}
]
}'const res = await fetch("https://api.chersus.com/v1/workflow", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CHERSUS_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"url": "https://files.example.com/interviews/clip-07.wav"
},
"steps": [
{
"op": "extract.speech.timings",
"transcript": "Thanks for having me. We started the company in a garage."
}
]
}),
});
const data = await res.json();import os
import requests
res = requests.post(
"https://api.chersus.com/v1/workflow",
headers={"Authorization": f"Bearer {os.environ['CHERSUS_KEY']}"},
json={
"input": {
"url": "https://files.example.com/interviews/clip-07.wav"
},
"steps": [
{
"op": "extract.speech.timings",
"transcript": "Thanks for having me. We started the company in a garage."
}
]
},
)
data = res.json(){
"trace_id": "chs_01J9X4Q7K2M8N3P5R6T7V8W9X0",
"status": "done",
"steps": [
{
"op": "extract.speech.timings",
"units": 0.5,
"per": "minute",
"credits": 1,
"value": {
"words": [
{
"text": "Thanks",
"start": 0.42,
"end": 0.71
},
{
"text": "for",
"start": 0.71,
"end": 0.84
},
{
"text": "having",
"start": 0.84,
"end": 1.1
}
]
}
}
],
"billed": {
"credits": 1
},
"audit": {
"region": "eu-nl-1",
"retention": "none"
}
}extract.speech.timings takes a transcript you already have, from a person or another tool, and matches every word to the moment it is spoken. Pass it in the transcript option. Without the option, it sharpens the timings of the transcript a transform.speech.transcribe above it made.
Tight timings put captions on the word, let a selection in a transcript become a cut in a video, and let search jump to the exact word. The words stay as you sent them; only their times change. The response above is trimmed to its first three words.
- KIND
- extract
- MODEL
- Align · Desert Ant Labs
- LANGUAGES
- 9 languagesEnglish, Spanish, French, Italian, Portuguese, German, Japanese, KO, Chinese
- REGION
- 26 EU cities
- BENCHMARK
- 45.0 ms mean error on 258 hand-corrected word boundaries
Transform 2
A transform hands back rewritten content, and the next step gets it. Transforms run in the order you list them.
curl -X POST https://api.chersus.com/v1/workflow \
-H "Authorization: Bearer chrs_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "https://files.example.com/calls/customer-call.mp3"
},
"steps": [
"transform.speech.transcribe"
]
}'const res = await fetch("https://api.chersus.com/v1/workflow", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CHERSUS_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"url": "https://files.example.com/calls/customer-call.mp3"
},
"steps": [
"transform.speech.transcribe"
]
}),
});
const data = await res.json();import os
import requests
res = requests.post(
"https://api.chersus.com/v1/workflow",
headers={"Authorization": f"Bearer {os.environ['CHERSUS_KEY']}"},
json={
"input": {
"url": "https://files.example.com/calls/customer-call.mp3"
},
"steps": [
"transform.speech.transcribe"
]
},
)
data = res.json(){
"trace_id": "chs_01J9X4Q7K2M8N3P5R6T7V8W9X0",
"status": "done",
"output": "Hi, this is Jane Doe. My order 4821 arrived broken and I'd like a refund.",
"steps": [
{
"op": "transform.speech.transcribe",
"units": 0.7,
"per": "minute",
"credits": 7,
"changes": 0,
"language": "en",
"words": [
{
"text": "Hi,",
"start": 0.32,
"end": 0.51
},
{
"text": "this",
"start": 0.55,
"end": 0.71
},
{
"text": "is",
"start": 0.71,
"end": 0.8
}
]
}
],
"billed": {
"credits": 7
},
"audit": {
"region": "eu-nl-1",
"retention": "none"
}
}transform.speech.transcribe turns what is said in audio, or in a video’s soundtrack, into text. The text becomes the workflow’s output, and its step lists every word with its start and end in seconds.
It is the step where a workflow changes format. Every text operation after it in the steps runs on the transcript: detect personal data, redact names, find the topics. Those transforms also apply to the timed words, so a redacted name is gone from the subtitles too. Set language when you know it. A language outside the 25 gives confident nonsense rather than an error, so run extract.speech.language first when you don’t. The response above is trimmed to its first three words.
- KIND
- transform
- MODEL
- Voz · Desert Ant Labs
- LANGUAGES
- 25 languagesEuropean languages
- REGION
- 26 EU cities
- BENCHMARK
- About 2% word error rate on clean audiobooks, 8 to 11% on meetings, calls and podcasts
curl -X POST https://api.chersus.com/v1/workflow \
-H "Authorization: Bearer chrs_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "https://files.example.com/notes/voice-note.m4a"
},
"steps": [
"transform.audio.denoise"
],
"output_url": "https://uploads.example.com/clean/voice-note.wav?signature=..."
}'const res = await fetch("https://api.chersus.com/v1/workflow", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.CHERSUS_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"url": "https://files.example.com/notes/voice-note.m4a"
},
"steps": [
"transform.audio.denoise"
],
"output_url": "https://uploads.example.com/clean/voice-note.wav?signature=..."
}),
});
const data = await res.json();import os
import requests
res = requests.post(
"https://api.chersus.com/v1/workflow",
headers={"Authorization": f"Bearer {os.environ['CHERSUS_KEY']}"},
json={
"input": {
"url": "https://files.example.com/notes/voice-note.m4a"
},
"steps": [
"transform.audio.denoise"
],
"output_url": "https://uploads.example.com/clean/voice-note.wav?signature=..."
},
)
data = res.json(){
"trace_id": "chs_01J9X4Q7K2M8N3P5R6T7V8W9X0",
"status": "done",
"output": {
"media_type": "audio/wav",
"bytes": 8640044,
"uploaded": true
},
"steps": [
{
"op": "transform.audio.denoise",
"units": 1.5,
"per": "minute",
"credits": 10.5,
"changes": 0
}
],
"billed": {
"credits": 10.5
},
"audit": {
"region": "eu-nl-1",
"retention": "none"
}
}transform.audio.denoise takes out background noise and room echo and keeps the voice. The cleaned file goes to the output_url you send, such as a presigned upload link, and Chersus keeps no copy. On a video, you get the video back with the cleaned soundtrack.
It is built for speech. Music and effects count as noise, so run it on a voice track, not on a finished mix. People talking over each other stay overlapped. Put it before transform.speech.transcribe and the transcriber hears the clean version.
- KIND
- transform
- MODEL
- Clear · Desert Ant Labs
- LANGUAGES
- Any language
- REGION
- 26 EU cities