Titles, topics, or hashtags

POST

This endpoint generates titles, topics, and hashtags for your videos. Those are representations of the key elements or themes of a video.

Note

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

Request

This endpoint expects an object.
video_idstringRequired

The unique identifier of the video that you want to generate a gist for.

typeslist of enumsRequired
Allowed values: titletopichashtag

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.

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

Built with