Skip to main content
Last Updated: March 28, 2025 By using our integrated custom LLM prompts, you can create a list of ‘chapters’ in your transcription. To use this, you just need to add the custom_prompt input parameter to your transcription request.

Custom input parameters

In this example, we’ll use a Python script to transcribe an audio file and tell it to use the custom_prompt input parameter to create a list of chapters, with titles, and a brief outline of what is contained. We’ll use the following input parameters:

Python script

We’ll use it in the following Python script:
  • Make sure to replace url/to/audio/file.mp3 with the URL of your audio file.
  • Replace YOUR_SALAD_API_KEY with your Salad API key.
  • Replace YOUR_ORGANIZATION_NAME with your organization name.
In this script, we’re telling Salad to use the custom_prompt LLM feature to create the list of chapters. The output will be returned in the llm_result field of the response. We’re then printing the result of this field to the console. It’ll look something like this once it finishes:

Output

At this time, timestamps are not supported for creating chapters. The custom llm_prompt only views the “text” field response from the transcription completion, and so currently is unable to see the timestamps of the quotes.