Download video
/v1/videos/{video_id}/contentDownload the generated video content for a completed video generation task.
Use this endpoint after GET /v1/videos/{video_id} returns status: "completed". The default response is a redirect to a fresh signed URL. You can also request a JSON URL response or stream the video binary through the API.
Authentication
Authorization Bearer
API key as bearer token in Authorization header.
Path and Query Parameters
video_idstringrequiredThe video task ID.
formatenum<string>default:redirectResponse format. Use redirect for a 302 redirect, url for JSON, or binary to stream the video file through the API.
Available options: redirect url binary
Response
redirect302Default mode. Redirects to a signed video URL.
urlobjectReturned when format=url.
url.urlstringSigned video URL.
url.video_idstringVideo task ID.
url.expires_inintegerSigned URL lifetime in seconds.
binaryvideo/mp4Returned when format=binary. Response includes Content-Disposition attachment filename.
If the task is not completed yet, the API returns an error object with the current status.
Previous
Poll video generation status
Next
List all videos