Transcribe API
Base URL: https://api.besselaudio.com
Model: Sonaflow/bessel-multilingual-v1
1. Create a key and send a file
Create an account, verify your email, and generate a key in the console. Save it when it is displayed; the full key cannot be viewed again. Authenticate using Authorization: Bearer <key>.
export BESSEL_API_URL="https://api.besselaudio.com"
export BESSEL_API_KEY="<your-api-key>"
REQUEST_ID=$(python -c 'import uuid; print(uuid.uuid4().hex)')
curl "$BESSEL_API_URL/v1/jobs" \
-H "Authorization: Bearer $BESSEL_API_KEY" \
-H "Idempotency-Key: $REQUEST_ID" \
-F "model=Sonaflow/bessel-multilingual-v1" \
-F "language=auto" \
-F "file=@audio.wav"The response returns HTTP 202 with an id and status. Keep the job ID and your original idempotency key.
{"id":"job_...","status":"processing","model":"Sonaflow/bessel-multilingual-v1","poll_after_seconds":3}2. Poll the same job
curl "$BESSEL_API_URL/v1/jobs/job_..." \
-H "Authorization: Bearer $BESSEL_API_KEY"Poll no more often than every three seconds. A completed job includes result.text and the final charge_usd. Multilingual v1 preserves the original language, punctuation, casing and accents. result.language contains the detected language. Silent audio can return empty text and language=und.
States are processing, queued, running, complete and failed. A timeout does not cancel a job. If the upload response was lost, retry with the same idempotency key, model, language, billing mode and audio to recover the same job. Do not create a fresh key to replay an accepted task. A request already accepted continues if its API key is revoked.
Word timestamps and SRT/VTT subtitles
Explicitly choose Sonaflow/bessel-multilingual-timed-v1 in POST /v1/jobs or in the console. It supports the same 60 single-language inputs, five-minute/24 MiB limit and $0.30/audio-hour rate. language=auto is the default for this model. Existing model IDs and their outputs are unchanged.
The completed result includes words with word, start and end, and segments with id, text, start and end. Times are seconds from the start of the submitted audio. timing_source="recognizer_word_offsets" identifies actual recognizer timings. A token can be a character or punctuation in some languages; “word” does not promise linguistic word segmentation.
curl https://api.besselaudio.com/v1/jobs \
-H "Authorization: Bearer $BESSEL_API_KEY" \
-H "Idempotency-Key: $SAVED_REQUEST_ID" \
-F file=@clip.wav \
-F model=Sonaflow/bessel-multilingual-timed-v1 \
-F language=auto
# After GET /v1/jobs/{id} reports complete:
curl "https://api.besselaudio.com/v1/jobs/$JOB_ID/transcript.srt" \
-H "Authorization: Bearer $BESSEL_API_KEY" --output transcript.srt
Use transcript.vtt for WebVTT or transcript.txt for exact UTF-8 text. Downloads require the same account’s active credential. They reuse the accepted result without another inference request or charge. The console exposes the same downloads for timed results.
Caption segments group recognizer words at sentence boundaries, pauses of 0.8 seconds, or soft limits of six seconds and 84 characters. Segment boundaries are the first and last included word’s actual offsets. They are caption groups, not speaker turns or guaranteed sentence alignments. No interpolated timing or speaker labels are added. Invalid, overlapping, disordered or text-mismatched timings fail the job and release the reservation.
Old results without timing return 409 timestamps_unavailable; incomplete jobs return 409 transcription_not_complete. Deleted or expired results return HTTP 410. Valid silence has empty word and segment arrays, an empty SRT file and a WebVTT header. Downloads follow the same 30-day transcript retention and account isolation. These subtitle files are UTF-8 attachments; markup characters in cue text are escaped for safe display.
The OpenAI-compatible endpoint still accepts only JSON/text response formats. With the Timed model, recover the full timestamped result or download subtitles using the returned x-bessel-job-id and the original job endpoints above.
Use the OpenAI Python client
The dedicated compatibility base URL is https://api.besselaudio.com/openai/v1. Use your Bessel API key, an explicit Bessel model ID, and a stable Idempotency-Key header for each recording. This supports JSON and plain text transcription; it is a documented subset of the OpenAI audio API.
import os
from uuid import uuid4
from openai import OpenAI
client = OpenAI(
api_key=os.environ["BESSEL_API_KEY"],
base_url="https://api.besselaudio.com/openai/v1",
timeout=200.0,
max_retries=0,
)
# Save this receipt with the recording before sending it.
request_id = str(uuid4())
with open("clip.wav", "rb") as audio:
result = client.audio.transcriptions.create(
model="Sonaflow/bessel-multilingual-v1",
file=audio,
response_format="json",
extra_headers={"Idempotency-Key": request_id},
)
print(result.text)
response_format="text" returns a string. client.models.list() lists Bessel models. Choose Sonaflow/bessel-consensus3-r1 with language="en" for the original English release. OpenAI model names such as whisper-1 are not aliases for Bessel models.
Recover an accepted request
The endpoint waits up to 180 seconds and returns HTTP 200 only for a completed transcript. If work is still processing, HTTP 409 has error.code="transcription_pending" and a job_id; the same ID is in x-bessel-job-id and x-request-id. Retrieve it with GET https://api.besselaudio.com/v1/jobs/{job_id}. After a lost response, resend the same audio, model, language, billing mode and saved idempotency key. Do not generate a new receipt to recover a timeout.
Changing between JSON and text returns the same accepted transcript without another charge. The existing trial, wallet, prices, five-minute/24 MiB limit and result retention apply. Use extra_body={"billing_mode": "paid"} to select prepaid credits explicitly.
Supported parameters
file, model, language, response_format (json or text) and Bessel’s billing_mode. Prompt biasing, temperature, streaming, log probabilities, diarization, timestamp granularity, SRT, VTT and verbose JSON are rejected before a job is accepted. Timestamps and speaker labels are not synthesized.
The original /v1/jobs, /v1/audio/transcriptions and Hugging Face evaluation contracts remain unchanged, including the original asynchronous HTTP 202 behavior. Use the dedicated compatibility base URL for OpenAI clients; this is not a claim of full OpenAI API parity.
API reference
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/models | Available models and languages |
| GET | /v1/evaluation-contract | Version and data-handling metadata |
| POST | /v1/jobs | Create an asynchronous transcription |
| GET | /v1/jobs/{id} | Read your job and result |
| POST | /v1/audio/transcriptions | Wait up to 50 seconds; returns HTTP 202 with a job ID if still processing |
| GET | /v1/usage | Your balance and usage |
Uploads accept file, model, language and optional billing_mode. The default trial_first uses free allowance first. Set billing_mode=paid to charge the full recording at $0.30/audio hour, preserve free minutes and bypass shared trial capacity. An insufficient prepaid balance returns 402. Keep the same billing mode on retries; changing it after acceptance returns 409. Idempotency keys must contain 16–128 letters, digits, underscores, periods or hyphens. Reference text, dataset names, vocabulary lists and prompts are unsupported.
Choose a model for short audio
| Capability | Multilingual v1 / Timed v1 | English evaluation release |
|---|---|---|
| Languages | 60 languages | English |
| Auto-detection | Yes, for one supported language per recording | No; use en |
| Output | Original-language text with punctuation, casing and accents | Evaluation-normalized English; casing and punctuation are not preserved |
| Timing and captions | Choose Timed v1 for recognizer word timestamps, caption segments and SRT/VTT subtitles. Original Multilingual v1 returns text only. | Unavailable; original evaluation output is preserved |
| Best for | Short clips and content workflows that need readable text | Reproducing the English Consensus3 evaluation release |
| Price | $0.30/audio hour | $0.30/audio hour |
All releases accept MP3, WAV and FLAC up to 5 minutes and 24 MiB, with one active request per account. The console provides TXT and JSON downloads, with the actual job ID, model, requested language, detected language and final cost shown in request details. Timed v1 adds SRT/VTT downloads; existing jobs retain their original outputs.
This Beta is a short-audio transcription API. Speaker labels, translation, mixed-language recordings, long-audio segmentation, and batch submission are not available. Do not infer subtitle timing from the total recording duration. Contact support before relying on a capability outside this scope; no delivery date is promised.
Verified HTTPS endpoints can receive signed completion/failure notifications for new Transcribe jobs. See webhook setup and retries.
Verified HTTPS endpoints can receive signed completion/failure notifications for new Transcribe jobs. See webhook setup and retries.
English evaluation benchmarks do not establish multilingual accuracy. Always specify model in new integrations: omitting it keeps the original English default for compatibility.
Trial capacity and request records
The console shows the shared trial capacity remaining at its last check. Capacity resets at 00:00 UTC and is not reserved by opening the page. If a request is rejected with daily_trial_capacity_reached, no job is accepted; the response supplies retry_at as a Unix timestamp and Retry-After in seconds until reset. There is no waiting queue. Other 429 responses can require shorter retries.
Free allowance is used first by default. Select Use prepaid credits in the console, or send billing_mode=paid, to charge the whole recording to your balance and keep your free minutes. This explicit paid mode bypasses the shared free cap. Insufficient credit returns 402; failed jobs release their reservation. Fully paid requests remain subject to account and service concurrency limits. Failed free jobs release your account allowance but still consume daily shared capacity.
Usage supports UTC date and API-key filters across your request history. CSV exports all matching request metadata, without transcripts or filenames. Active jobs show reserved free seconds and prepaid cost; completed jobs show settled amounts; failed jobs release both reservations. Copy a job ID and include the error code when asking support for help.
Languages and versions
Sonaflow/bessel-multilingual-v1 supports single-language recordings in 60 languages.
All 60 languages
| Language | Code |
|---|---|
| Afrikaans | af |
| Arabic | ar |
| Assamese | as |
| Azerbaijani | az |
| Bulgarian | bg |
| Bengali | bn |
| Bosnian | bs |
| Catalan | ca |
| Czech | cs |
| Danish | da |
| German | de |
| Greek | el |
| English | en |
| Spanish | es |
| Estonian | et |
| Persian | fa |
| Finnish | fi |
| Filipino | fil |
| French | fr |
| Galician | gl |
| Gujarati | gu |
| Hebrew | he |
| Hindi | hi |
| Hungarian | hu |
| Armenian | hy |
| Indonesian | id |
| Icelandic | is |
| Italian | it |
| Japanese | ja |
| Kazakh | kk |
| Kannada | kn |
| Korean | ko |
| Lithuanian | lt |
| Latvian | lv |
| Macedonian | mk |
| Malayalam | ml |
| Marathi | mr |
| Malay | ms |
| Norwegian Bokmål | nb |
| Nepali | ne |
| Dutch | nl |
| Odia | or |
| Punjabi (Gurmukhi) | pa |
| Polish | pl |
| Portuguese | pt |
| Romanian | ro |
| Russian | ru |
| Slovak | sk |
| Slovenian | sl |
| Swedish | sv |
| Swahili | sw |
| Tamil | ta |
| Telugu | te |
| Thai | th |
| Turkish | tr |
| Ukrainian | uk |
| Urdu | ur |
| Vietnamese | vi |
| Cantonese | yue |
| Chinese | zh |
Set language=auto or omit it for automatic detection; use a language code to specify the source language. This is transcription, not translation. Mixed-language recordings are not supported. Closely related languages can be confused; specify the language when known. Ambiguous results may be rejected without a charge.
The existing English evaluation release remains available as Sonaflow/bessel-consensus3-r1 with language=en. Omitting model still selects that English release for compatibility. Query /v1/evaluation-contract?model=Sonaflow/bessel-multilingual-v1 for the multilingual version metadata.
Unsupported or mixed detected languages, unverifiable language results and interrupted processing fail without a charge. Interrupted multilingual jobs release their reservations after about five minutes while the service is running, or after service recovery. Its audio is never re-uploaded automatically; inspect the final job status before submitting a new job.
Limits and errors
MP3, WAV or FLAC, mono or stereo, 8–48 kHz, up to 300 seconds and 24 MiB. MP3 duration is measured from decoded audio; encoder padding may affect the duration when gapless metadata is absent. One active transcription per account and at most 30 new jobs per minute. Shared capacity limits also apply.
| Status | Meaning |
|---|---|
| 401 | Missing, invalid or revoked API key |
| 402 | Insufficient prepaid balance |
| 403 | Account requires attention |
| 404 | Job not found in your account |
| 409 | Idempotency key reused with different input |
| 413 / 422 | Oversized upload or unsupported input |
| 429 | Concurrency, request rate or free trial capacity reached |
| 503 | Temporarily unavailable; preserve the original request ID |
The service stays running between requests, but queueing, processing, deployments and instance recovery can add latency. Beta availability is not an uptime guarantee.
Data handling and versioning
Uploaded audio is processed transiently in memory. Transcripts, request metadata and billing records are retained for recovery and service operation; new Transcribe transcripts expire 30 days after completion, while earlier requests are not automatically deleted. See Privacy. Keys are private to your account and must not be placed in browser applications or public repositories.
Delete a completed Transcribe transcript
DELETE /v1/jobs/{id}/result uses the same API-key authentication and account isolation as reading a job. It permanently removes the Transcribe active-storage result; repeated deletion is safe. Processing or failed requests return 409 result_not_complete.
After deletion, GET /v1/jobs/{id} still returns the completed request and billing metadata, with result: null, result_available: false and result_deleted_at. Replaying the same idempotency key does not create another job or charge. The synchronous endpoint returns 410 transcript_deleted for a deleted result and 410 transcript_expired for an expired result. New completed jobs include result_expires_at; after expiry, result_unavailable_reason is expired. Reads stop returning the text at expiry, even if background cleanup is delayed. Backups, upstream copies and accounting records have separate rules: see retention and deletion scope.
Commercial API and English evaluation
Transcribe commercial API
For free-trial and paid transcription with any Transcribe model, use https://api.besselaudio.com and create your API key in the Transcribe console. All models use the published Transcribe pricing. Start with the Transcribe quickstart above.
Dedicated English evaluation service
Both self-service and evaluation keys use https://api.besselaudio.com. Evaluation credentials retain their original English release, request format and job IDs. Use the English model card for that contract; self-service keys use the account billing and returned job IDs documented above. Credentials do not grant access to another account or credential scope.
The previous self-service base URL, https://scribe.besselaudio.com, remains supported. Keep the same key and request settings when switching addresses; accepted jobs remain available without a second charge.
Multilingual v1 is a separate release. English evaluation benchmark results do not establish multilingual accuracy.
Signed completion webhooks
Register a public HTTPS receiver with your Bessel API key. After verification, newly accepted Transcribe jobs notify your account's active endpoints on completion or failure. This includes console jobs; Decision comparisons and the frozen Hugging Face evaluation gateway do not emit these events. Existing jobs are not backfilled. Polling remains available.
- Send
POST /v1/webhook-endpointswithContent-Type: application/json, a stableIdempotency-Keyand{"url":"https://your-domain.example/events"}. Save the returnedsecretsecurely: it appears once. An identical retry returns the endpoint without the secret. If the secret is lost, disable that endpoint and create a replacement. - Configure your receiver with that secret. Send
POST /v1/webhook-endpoints/{id}/verify. Verify the signed request and return a 2xx response withBessel-Webhook-Challengeequal to the signed body'sdata.challenge. Verification is limited to once every 30 seconds per endpoint. Only an active endpoint receives future job events. - Read endpoints with
GET /v1/webhook-endpoints, inspect recent delivery metadata withGET /v1/webhook-endpoints/{id}/events, and disable withDELETE /v1/webhook-endpoints/{id}. Disabling cancels queued retries; an already in-flight request may still arrive. Rotate by creating and verifying a new endpoint, then disabling the old one. URLs are immutable.
Events have id, type (transcription.completed or transcription.failed), Unix created_at, api_version, and data containing job_id, status and model. No recording, transcript, email or API key is included. Fetch an available result through authenticated GET /v1/jobs/{id}.
Verify before parsing or processing
Headers: Bessel-Webhook-Id, Bessel-Webhook-Timestamp (Unix seconds), and Bessel-Webhook-Signature: v1=<hex>. Compute HMAC-SHA256 with the UTF-8 signing secret over timestamp + "." + event_id + "." + raw_request_body. Compare signatures in constant time, reject timestamps outside ±5 minutes, and verify that the signed body ID matches the header. Do not parse and reserialize before checking. SDK 0.3.0 provides Python verify_webhook(raw_bytes, headers, secret) and TypeScript await verifyWebhook(rawBytes, headers, secret).
Delivery is at least once and may be out of order. Persist the event ID atomically with your business work; acknowledge a valid duplicate without repeating its effect. Return 2xx after durable acceptance. The same ID and body are retried with a fresh timestamp. Retries do not submit another transcription or change your wallet.
There are at most eight attempts over 24 hours, with delays of 10 seconds, 1 minute, 5 minutes, 15 minutes, 1 hour, 3 hours and 6 hours. Each HTTPS attempt is bounded to roughly 11 seconds. A 410 response disables the endpoint; redirects are not followed. Three pending/active endpoints and ten creations per day are allowed per account. Public DNS and TLS are checked on every attempt; private, local and metadata destinations are rejected. Terminal delivery metadata expires after seven days. Keep polling as a fallback when retries are exhausted.