Skip to main content
Last Updated: July 25, 2025 Use the code samples below to quickly get started developing with the Salad Transcription Python SDK. For a complete list of supported parameters and request fields, refer to the Request Options below and API Reference.

Submit a local file for transcription

Submit a remote file for transcription

Poll for job status

Use the Lite model engine

Add a custom vocabulary and summary (Full engine)

Download transcription results as a file (return_as_file)

When processing large jobs (over ~1 MB of response data), or if you prefer a downloadable JSON file instead of inline results, you can set return_as_file=True. Even if you don’t set it, responses exceeding 1 MB will automatically be returned as a file link. Refer to the Features Guide and API Reference for details.

Request Options

Below is a list of parameters supported by the Python SDK’s TranscriptionJobInput. For full details, refer to the API Reference.

return_as_file (bool)

Set to "True" to receive the transcription output as a downloadable file URL (useful for large responses). Default: "False", which returns the transcription inline in the API response.
Note: If the response exceeds 1 MB, it will always be returned as a file link, even if return_as_file is False.

language_code (str)

Transcription supports multiple. The SDK auto-detects the source language, but specifying might improve accuracy.

translate (str)

Enables translation to English by setting:
When translation is enabled: Original transcription is not returned. Other features (timestamps, SRT, diarization) can still be combined.

sentence_level_timestamps (bool)

Returns timestamps per sentence. Default: false.

word_level_timestamps (bool)

Returns timestamps per word. Default: false.

diarization (bool)

Enables speaker separation and identification at the word level. Default: false.

sentence_diarization (bool)

Adds speaker attribution per sentence. Default: false.

srt (bool)

Generates srt captions for use as subtitles. Default: false.

summarize (int)

Returns a summary of the transcription, capped at the specified number of words. Available in Full model engine only. Default: 0 (no summary).

llm_translation (list of TranslationLanguage)

Uses the built-in LLM to translate the transcription into multiple target languages. Supported languages: English, French, German, Italian, Portuguese, Hindi, Spanish, Thai. Available in Full model engine only.

srt_translation (list of TranslationLanguage)

Uses the LLM to translate the generated SRT captions into multiple target languages (same languages as llm_translation). Available in Full model engine only.

custom_vocabulary (str)

Comma-separated list of domain-specific terms or phrases to improve recognition accuracy. Currently in preview. Available in Full model engine only.

custom_prompt (str)

Custom prompt to guide the LLM in generating summaries, insights, or other LLM-powered outputs. Available in Full model engine only.

multichannel (bool)

Enables multichannel audio processing, allowing the model to handle separate audio channels independently. Default: false.