POST
/
v1
/
tools
/
summarize_content
source_type
str
default:
"youtube"
required

The type of the content source. values: "youtube"

content_id
str
required

The identifier of the content to summarize. Currently, only YouTube video URLs and IDs are supported.

output_language
str
default:
"en"

The ISO 639-1 language code to use for the outputted summary. English (en) is recommended. values: "en", "pt", "es", "it", "de", "fr"

method
str
default:
"auto"

The method to use for summarizing the content. Auto decides between ‘simple’ and ‘recursive’ by length. values: "auto", "simple", "recursive", "multi_modal"

Was this page helpful?