Titles, topics, or hashtags

This endpoint analyzes videos and generates titles, topics, and hashtags.

Note

This endpoint is rate-limited. For details, see the Rate limits page.

Headers

x-api-keystringRequired

Request

Request to generate a gist for a video.
video_idstringRequired
The unique identifier of the video that you want to generate a gist for.
typeslist of enumsRequired

Specifies the type of gist. Use one of the following values:

  • title: A title succinctly captures a video’s main theme, such as “From Consumerism to Minimalism: A Journey Toward Sustainable Living,” guiding viewers to its content and themes.
  • topic: A topic is the central theme of a video, such as “Shopping Vlog Lifestyle”, summarizing its content for efficient categorization and reference.
  • hashtag: A hashtag, like “#BlackFriday”, represents key themes in a video, enhancing its discoverability and categorization on social media platforms.
Allowed values:

Response

The gist of the specified video has successfully been generated.
idstringOptional
Unique identifier of the response.
titlestringOptional
Suggested title for the video.
topicslist of stringsOptional
An array of topics that are relevant to the video.
hashtagslist of stringsOptional
An array of hashtags that are relevant to the video.
usageobjectOptional
The number of tokens used in the generation.

Errors