API-Key header. Use multipart/form-data for the request body.model_id is required. Provide exactly one input: file for a local upload or cloud_url for a remote recording.echo_v2_medical uses a file upload.echo_v2 only.echo_v2 and submit one additional_language_codes form field for each additional language.number_style=digits returns digits. words spells numbers out in the spoken language. Omit the field to let the model choose.file with cloud_url, for example --form-string 'cloud_url=https://example.com/sample.wav'.| What you want to do | How to configure it | Applies to |
|---|---|---|
| Upload an existing recording | Set model_id in the form and upload file. | All four file models |
| Choose how numbers appear | number_style=digits returns digits. number_style=words spells them in the spoken language. Omit to let the model choose. | echo_v2 |
| Transcribe a multilingual meeting | Set the main language and repeat additional_language_codes for each additional language. | echo_v2 |
| Distinguish speakers | Set speaker_diarization=true and read speaker IDs from words[].speaker_id. | Verified with echo_v2 |
| Use hotwords, entity detection or transcript cleanup | Use hotwords, content_detection or clean_transcript, respectively. | echo_v1 |
speaker_diarization, or its alias diarize. speakers is the expected maximum number of speakers. To use detect_speaker_roles, enable speaker diarization or supply a positive speakers value. Use separate_channel to transcribe channels separately. It cannot be combined with role detection.text and word details from words. With speaker features enabled, entries may contain speaker_id. Allow for missing and additional fields as model and options change.| Response | Meaning | What to do |
|---|---|---|
| HTTP 401 | Missing or invalid authentication | Check the API-Key header. |
HTTP 400 / missing_input | No audio input | Upload a file or provide an accessible recording URL. |
HTTP 400 / validation_error | Invalid model or parameters | Read the error message and check the named field and parameter combination. |
detail.status for the category and detail.message for the reason.{"detail":{"status":"validation_error","message":"model_id: invalid model_id"}}error field.curl --location 'https://openapi.myvocal.ai/asr/v1/transcriptions' \
--header 'API-Key: YOUR_API_KEY' \
--form 'model_id="echo_v2"' \
--form 'file=@"sample.wav"'{
"language": "en",
"confidence_score": 0.98,
"text": "Hello.",
"words": [
{
"text": "Hello.",
"start_time": 0,
"end_time": 0.5,
"confidence_score": 0.98,
"token_type": "word"
}
]
}