Guides

How to Summarize Descript Transcripts in Wordcab

In this guide, we'll walk you through uploading and summarizing your exported Descript transcript using Wordacab's web interface and API.

Share on:

Exporting Your Transcript

Before you can upload your Descript.com transcript, you need to make sure it's properly formatted.

We highly recommend using the Descript desktop app (for anything related to Descript, actually). On the desktop app, open your project and make sure all the speaker labels are in place. Click on File in the header menu, then Export.

Choose Text. Then, choose the Rich Text Format (.rtf) and leave the options as-is (see image below). Finally, click Export. We're how ready to summarize!

Uploading with the UI

To upload your downloaded transcript using the Wordcab web app, start by clicking on the "Upload Transcript" button on the left or right side bars.

Choose Descript, and then upload the .rtf file we downloaded in the previous step. Click Summarize Transcript and you should have a summary in no time.

Uploading with the API

Uploading your Descript .rtf transcript with Python is really simple. Just make sure to include the source query parameter and assign it "descript" as a value.

import requests

endpoint = "https://wordcab.com/api/upload/" # <= Slash required
apikey = "YOUR_API_KEY"

file_name = "your_transcript.txt"
file_path = f"/path/to/your/file/{file_name}"

display_name = "Transcript Example"
source = "descript" # <= important
only_api = "false" # <= "false" is the default only_api value

files = {
    "transcript": open(file_path, "rb")
}
params = {
    "apikey": apikey,
    "display_name": display_name,
    "source": source,
    "only_api": only_api
}

r = requests.post(endpoint, params=params, files=files)
job_name = r.json()["job_name"]

print(job_name)

You'll receive a job_name that you can use to poll your summarization job. Once the job is complete, the same request will output a summary, transcript, and other useful data!

import requests

endpoint = "https://wordcab.com/api/upload" # <= Slash optional
# OR endpoint = "https://wordcab.com/api/meetings"

params = {
    "apikey": apikey,
    "job_name": job_name,
    "summary_len": 3 # <= Defaults to 3, accepts value of 1-5
}

r = requests.get(endpoint, params=params)
print(r.json())
. . .
avatar

Aleks Smechov

Founder at Wordcab
View Articles

Aleks is the founder at Wordcab.