Speech To Text#
This is the API Reference documentation for Speech to Text service.
With this endpoint, you can convert your audio files to text.
- class slashml.SpeechToText(api_key: str = None)[source]#
Speech to Text Service
- class ServiceProvider(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
- ASSEMBLY = 'assembly'#
- AWS = 'aws'#
- DEEPGRAM = 'deepgram'#
- GOOGLE = 'google'#
- REV = 'rev'#
- WHISPER = 'whisper'#
- execute(upload_url: str, service_provider: slashml.speech_to_text.SpeechToText.ServiceProvider)[source]#
Waits for the job to be completed before returning a response
- status(job_id: str, service_provider: slashml.speech_to_text.SpeechToText.ServiceProvider)[source]#
Check job status
- submit_job(upload_url: str, service_provider: slashml.speech_to_text.SpeechToText.ServiceProvider)[source]#
Submit job