assemblyai
Simple API for quickly transcribing and understanding audio/video files.
AssemblyAI
AssemblyAI (api_key:str)
AssemblAI class for transcribing
| Type | Details | |
|---|---|---|
| api_key | str | AssemblyAI API Key, Get it for free from https://app.assemblyai.com/ |
AssemblyAI.submit_url_for_transcription
AssemblyAI.submit_url_for_transcription (audio_url:str, sentiment_analysis:bool=False, auto_chapters:bool=False, entity_detection:bool=False, auto_highlights:bool=False)
Submit Audio/Video URL for Transcription
| Type | Default | Details | |
|---|---|---|---|
| audio_url | str | Audio URL | |
| sentiment_analysis | bool | False | Include Sentiment Analysis |
| auto_chapters | bool | False | Include Auto Chapaters |
| entity_detection | bool | False | Include Entity Detection |
| auto_highlights | bool | False | Include Auto Highlights |
AssemblyAI.get_transcription_results
AssemblyAI.get_transcription_results (transcripiton_id:str, all_details:bool=False)
Get the transcription results for the given id
| Type | Default | Details | |
|---|---|---|---|
| transcripiton_id | str | Transcrption ID that we got from submit_url_for_transcription |
|
| all_details | bool | False | Include All the details, by default it text and id are returned |