Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation
Theme

Download video content

client.videos.downloadContent(videoID, query?, options?): Response
GET
/videos/{video_id}/content

Download the generated video bytes or a derived preview asset.

Streams the rendered video content for the specified video job.

Download video content

import OpenAI from 'openai';

const client = new OpenAI();

const response = await client.videos.downloadContent('video_123');

console.log(response);

const content = await response.blob();
console.log(content);
Parameters
videoID: string
query: VideoDownloadContentParams { variant }
Returns
unnamed_schema_8 = Response
Returns Examples