Skip to content

Retrieve video content

GET https://api.fastapi.ai/v1/videos/{video_id}/content

Download the generated video bytes or a derived preview asset.

Path parameters


video_id string Required
The identifier of the video whose media to download.

Query parameters


variant string Optional
Which downloadable asset to return. Defaults to the MP4 video.

Returns


Streams the rendered video content for the specified video job.

Example

Request

bash
curl https://api.fastapi.ai/v1/videos/video_123/content \
  -H "Authorization: Bearer $FAST_API_KEY" \
  --output video.mp4

那年我双手插兜, 让bug稳如老狗