Submit Speech Recognition Task
Submit an audio file for speech recognition
Authorizations
Authenticate using Bearer token. Get your API Key from the WeryAI Console.
Example: Authorization: Bearer sk-xxxxxxxxxxxxxxxx
Body
Audio URL. audio_url and audio_base64 are optional fields, but at least one of them must be provided. Must start with http/https.
"https://example.com/audio.mp3"
Audio base64 string. audio_url and audio_base64 are optional fields, but at least one of them must be provided. Using a data:audio/xxx;base64, prefix is recommended.
"data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU2LjM0LjEwMAAAAAAAAAAAAAAA//tQxAADB..."
Language code for speech recognition (e.g. en, zh, ja, ko)
"en"
Callback URL where results will be sent when task completes
"https://your-server.com/webhook"
Caller ID (for business association)
