Convert speech to text
ignore_timestamps=False
, you can get more accurate timing information for each segment. Note that this may increase latency for short audio files.ignore_timestamps
parameter is set to True
by default. This reduces latency for short audioContent-Type
header and adjusting the request data format accordingly.
Make sure to replace "YOUR_API_KEY"
with your actual API key, and adjust the file paths as needed.