# Example with audio file curl -X POST https://api.woolball.xyz/v1/speech-to-text \ -H "Authorization: Bearer <YOUR_API_KEY>" \ -F "audio=@input.wav;type=audio/wav" \ -F "model=onnx-community/whisper-large-v3-turbo_timestamped" \ -F "outputLanguage=pt" \ -F "returnTimestamps=true" \ -F "webvtt=true" # Example with video file (using audio field) curl -X POST https://api.woolball.xyz/v1/speech-to-text \ -H "Authorization: Bearer <YOUR_API_KEY>" \ -F "audio=@input.mp4;type=video/mp4" \ -F "model=onnx-community/whisper-large-v3-turbo_timestamped" \ -F "outputLanguage=pt" \ -F "returnTimestamps=true" # Example with URL curl -X POST https://api.woolball.xyz/v1/speech-to-text \ -H "Authorization: Bearer <YOUR_API_KEY>" \ -F "url=https://example.com/media.mp4" \ -F "model=onnx-community/whisper-large-v3-turbo_timestamped" \ -F "outputLanguage=pt"
{ "data": { "text": "Transcribed text content", "chunks": [ { "timestamp": [0, 2.5], "text": "First segment" }, { "timestamp": [2.5, 5.0], "text": "Second segment" } ], "webvtt": "WEBVTT\n\n00:00:00.000 --> 00:00:02.500\nFirst segment\n\n00:00:02.500 --> 00:00:05.000\nSecond segment" } }
Convert audio to text using speech recognition