Speechflow’s ASR API transcribes with a leading accuracy rate in 14 languages, and the list is growing. This makes SpeechFlow an ideal solution for translating audio to text and speech to text.
Using our AI model, audio is transformed into text with proper punctuation, and optimized for reading, resulting in transcriptions that are easy to understand and act upon.
With our simple API design, deploying SpeechFlow is made hassle-free. We support both cloud and on-prem deployment to ensure security, reliability and flexibility.
SpeechFlow can process up to 1 hour of audio file in less than 3 minutes, making it an incredibly efficient solution for businesses and individuals who rely on accurate and timely transcription services.
Billed pay as you go at $0.0002 per second. Have full control and transparency of how much you use and pay for.
First, copy the API KEY ID and API KEY SECRET into the following code. Run the code in the terminal and the taskId will be returned soon.
# for remote file API_KEY_ID="YOUR_API_KEY_ID" API_KEY_SECRET="YOUR_API_KEY_SECRET" # See more lang code: https://docs.speechflow.io/#/?id=ap-lang-list LANG="en" FILE_REMOTE_PATH="https://sf-docs-prod.s3.us-west-1.amazonaws.com/web/sample-audios/EN.wav" curl -H "keyId:${API_KEY_ID}" -H "keySecret:${API_KEY_SECRET}" -X POST -d "lang=${LANG}&remotePath=${FILE_REMOTE_PATH}" \ "https://api.speechflow.io/asr/file/v1/create"
# for local file API_KEY_ID="YOUR_API_KEY_ID" API_KEY_SECRET="YOUR_API_KEY_SECRET" # See more lang code: https://docs.speechflow.io/#/?id=ap-lang-list LANG="en" FILE_LOCAL_PATH="YOUR_FILE_LOCAL_PATH" curl -H "keyId:${API_KEY_ID}" -H "keySecret:${API_KEY_SECRET}" -F "file=@${FILE_LOCAL_PATH}" \ -X POST "https://api.speechflow.io/asr/file/v1/create?lang=${LANG}"
Second, copy the taskId into the following code. Run the code in the terminal and the transcription result will be returned.
API_KEY_ID="YOUR_API_KEY_ID" API_KEY_SECRET="YOUR_API_KEY_SECRET" TASK_ID="THE_TASKID_RETURNED_IN_THE_FIRST_STEP" curl -H "keyId:${API_KEY_ID}" -H "keySecret:${API_KEY_SECRET}" \ "https://api.speechflow.io/asr/file/v1/query?taskId=${TASK_ID}"