Skip to main content

Models available :


  • speech recognition :
    • gpt-4o-transcribe
    • gpt-4o-mini-transcribe

Speech to Text Request

curl --location '<https://api.znapai.com/v1/audio/transcriptions>' \\
--header 'Authorization: Bearer $ZnapAI_API_KEY' \\
--header 'Cookie: __cf_bm=mZz.MnT5136XgzIZvxoIc4T7kPqs_cv4QtQb3qkylTA-1747750591-1.0.1.1-8KIJDDSbWyQzysri05y.Xaq2wVpqNMTyiPr3wrvPcmGEeYpyEdL0dYk1i1cq5Al2CzSIv4NPj7MRgMVXNvE83unwu7HhL3uWQ6nexftqADc' \\
--form 'file=@"hzgqik0Zb/tts_sample.mp3"' \\
--form 'model="gpt-4o-transcribe"'

Speech to Text Response

{
    "text": "The quick brown fox jumped over the lazy dog."
}