Features | SaladCloud Transcription | Amazon Transcribe |
---|---|---|
Translation | ✅ | Requires additional API |
Audio Transcription | ✅ | ✅ |
Video Transcription | ✅ | ✅ |
Multilingual Transcription | ✅ | ✅ |
Summarization | ✅ | ❌ |
Speaker Identification | ✅ | ✅ |
SRT Output | ✅ | ✅ |
Transcribe Multiple Files | ❌ | ❌ |
Max Length | 2.5 Hours | 2GB |
Text Sentiment Analysis | ✅ | ❌ |
Text Classification | ✅ | ❌ |
Custom LLM Prompt | ✅ | ❌ |
Custom Vocabulary | ✅ | ✅ |
1. Get your Salad API Key.
- Open up https://portal.salad.com and sign up/log into your account.
- Navigate to your profile at the top right, and select API Access. Here you can find your API Key.
2. Updating job creation API calls.
The Salad Transcription API uses a Job Queue system for processing transcription requests, rather than a Python function that returns the data like Amazon Transcribe. With Salad Transcription API, you’ll use two steps. Submit the job, and then request the results.Amazon Transcribe
Your existing Python code for Amazon Transcribe should look something like this:Salad Transcription API Equivalent
When using Salad Transcription API, you’ll update that job creation function to instead look like this:- For this code snippet, you’ll need to insert your Salad Organization name into the API url field.
- You will also need to insert your Salad API Key we obtained earlier lower down in the code snippet.
- Put the URL to the file to be transcribed into the file string. Please note that Salad Transcription API can only process files up to 2.5 hours. Make sure the URL provided is to a direct download of the file. Header based security is not compatible with Salad Transcription API, so you’ll need to use a signed URL like that offered by Salad Simple Storage Service.
3. More advanced jobs
If you are utilizing additional features offered by AWS to translate the text to another language, or get SRT subtitles, you can integrate these features into the same call with Salad Transcription API.Translation to English:
To activate translation on the same API call as above, just add thetranslate
input parameter. This parameter is only
to convert from other languages to English. If you need to translate to another language, you’ll need to use our LLM
translation features, also available in the same API call.
Translation to other languages:
Utilizing our LLM translation services is similar to the direct to English translation, but uses a different input parameter. Instead, you’ll usellm_translation
. Eight languages are currently supported for LLM translation:
English, French, German, Italian, Portuguese, Hindi, Spanish, and Thai
. You can translate to multiple languages at
once, and you’ll receive back the original transcription, along with translations in all the languages requested.
Get SRT subtitles:
If you’re also using AWS services to get SRT subtitles for your audio, you can do so by simply adding thesrt
input
parameter. It will include the srt file for download when you fetch your job results.
4. Obtaining job results
In the response from submitting your job with the above step, you’ll receive the Job ID which is required to obtain the results of your transcription. The Job status and transcription results are combined into a single API call. With this Python function, you’ll check the status, and once the job is completed it will also retrieve the transcription results.- Make sure to again update the organization name above to your organization name.
- And again make sure to include your Salad API Key.
succeeded
, the output
object will include the URL to the completed
transcription via a directly downloadable URL.