Skip to Content
API ReferenceAI FeaturesGenerate description

Generate a description

Description generation uses AI to write a video description from an existing text track. The description language matches the language of the source text track. The generated description is saved on the video object.

AI features require a plan with AI features enabled. The API token that you use must have the update permission.

Generate a description

Generate a description by sending a POST request to the /videos/:id/texttracks/:texttrackId/generate-description endpoint. Control the output with the length and tone fields.

curl -X POST https://app.ignitevideo.cloud/api/videos/[VIDEO_ID]/texttracks/[TEXTTRACK_ID]/generate-description \ -H "Authorization: Bearer YOUR_TOKEN" \ -H "Content-Type: application/json" \ -d '{"length": "default", "tone": "default"}'

Parameters

FieldRequiredDescription
lengthYesLength of the description: short, default, long.
toneYesTone of the description: formal, default.

Response

The generated description, which is also saved on the video object.

{ "description": string, "message": "Description successfully generated and saved" }