Features | SaladCloud Transcription | Assembly Transcription |
---|---|---|
Translation | ✅ | ❌ |
Audio Transcription | ✅ | ✅ |
Video Transcription | ✅ | ✅ |
Multilingual Transcription | ✅ | ✅ |
Summarization | ✅ | Requires Additional API |
Speaker Identification | ✅ | ✅ |
SRT Output | ✅ | ❌ |
Transcribe Multiple Files | ❌ | ❌ |
Max Length | 2.5 Hours | 10 Hours |
Text Sentiment Analysis | ✅ | Requires Additional API |
Text Classification | ✅ | Requires Additional API |
Custom LLM Prompt | ✅ | Requires Additional API |
Custom Vocabulary | ✅ | Requires Additional API |
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 Assembly. With Salad Transcription API, you’ll use two steps. Submit the job, and then request the results.Assembly Transcription
Your existing Python code for Assembly Transcription 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 Assembly to apply LLMs, or summarize intent, you can integrate these features into the same API call with Salad Transcription API.Using an LLM:
Salad Transcription API offers direct a integration to use LLMs to answer questions about your audio, or any other custom prompts. To use it, just addcustom_prompt
as an input option.
Intent/summarization:
If you’re also using Assembly services to obtain the intent or summarization of transcribed text, you can also integrate this easily with Salad Transcription API with the same API call. For this, you’ll add thesummarize
input parameter,
with the word limit for the summarization.
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.
- You will need to insert the Job ID that you obtained from the previous step as well.
- 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.