Skip to main content
POST
/
audio
/
speech-to-text
Speech to text
curl --request POST \
  --url https://api.smartlyq.com/v1/audio/speech-to-text \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "audio_url": "<string>",
  "language": "<string>"
}
'
{
  "success": true,
  "data": {
    "job_id": "<string>"
  },
  "usage": {
    "units": 123,
    "cost": "0.0150",
    "balance_remaining": "99.9850"
  },
  "meta": {
    "request_id": "<string>",
    "timestamp": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.smartlyq.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key from Developer dashboard (Bearer token).

Body

application/json
audio_url
string<uri>
required

Publicly accessible direct URL to the audio file (mp3, mp4, mpeg, mpga, m4a, wav, or webm). Must return raw audio bytes — Google Drive, Dropbox, OneDrive, and iCloud share links will not work as they return HTML instead of the file. The URL must be reachable without authentication.

language
string

Audio language (e.g. en, es)

Response

Transcription accepted

success
enum<boolean>
Available options:
true
data
object
usage
object
meta
object