Skip to main content
Video is a treasure trove of information, but developers need a way to get that information out. In some cases, developers may have used speech-to-text APIs to get the speech from a video. However, this doesn’t give you the full picture. With Cloudglue, you can describe a video and get the speech alongside other information like on-screen text and visual scene descriptions. This allows you to build more powerful applications that can operate on more information from the video, and in a simple and straightforward manner.
Cloudglue allows you to either describe locally uploaded files, or videos from YouTube.

The Basics

Describe Config

The describe config is a JSON object that contains the configuration for the description. It dictates what the description will include from the video/audio file. By default, the description will include the speech, and summary of the video/audio file. However, you can also include visual scene descriptions, and on screen text or captions from the video/audio file.

Example Config

Here’s an example of the config you can use to describe a video/audio file.
By altering the config, you can explicitly control what gets generated from the video/audio file.

Generating a Description

Example

All you need is a few lines of code to generate a description with Cloudglue.

Description Outputs

Getting the description is as simple as making one call to get the description.

Getting the Description

Examples

Here’s an example of a truncated output you get when you describe a video/audio file.

JSON Example

JSON Output
Let’s look at the the different descriptions available from the JSON output.
  • title: The generated title of the video based on the descriptions generated.
  • summary: A generated summary of the video based on the descriptions generated.
  • speech: The speech transcription of the video.
  • visual_scene_description: A description of the scene at different timestamps in the video.
  • audio_description: A description of the audio at different timestamps in the video.
  • scene_text: The on-screen text at different timestamps in the video.
We also support markdown outputs, ideal for using in LLMs. The document is titled after the media type it describes — # Video Document, # Audio Document or # Image Document — and opens with a ## File section so a model reading it can tell which file it is looking at and cite it back by URI. Pass include_metadata=true to add a ## Metadata section carrying the file’s own metadata: ### User is the free-form JSON you attached at upload (or via PUT /files/{file_id}), and ### Source is the meeting provenance captured from the upstream connector for Grain, Zoom, Gong and Recall files. Either subsection is omitted when it has nothing to say, and the whole section is absent without the flag — so a prompt only pays for the metadata when it needs it. The same flag populates file.metadata and file.source_metadata on the JSON responses.

Markdown Example

The following is a truncated example of the markdown output, as returned with response_format=markdown&include_metadata=true.
Markdown Output
Looking for other categories of information from the video? Learn more about our extraction features and what they can do for you.

Key Features

  • Speech transcription: Speech to text transcription of video/audio files.
  • Scene text descriptions: On screen text or captions from a video/audio file at different timestamps.
  • Visual scene descriptions: Get descriptions of different scenes in a video, at different timestamps.
  • Title + Summary: Get a generated title and summary of the video/audio file based on all the descriptions we have available.
  • Markdown compatible: Our descriptions are also able to generated with markdown, so you can use them in LLMs right away.

Try it out

Check out our Describe Video Endpoint to get started with building your own video/audio processing with Cloudglue. Get started on our platform.

YouTube

At the moment, if you want to describe a video directly from YouTube, we only support generating speech transcriptions.
If you would like to get the full spectrum of descriptions for a YouTube video, you’ll need to download the video and upload it to Cloudglue.