/v1/videos/{video_id}/contentDownload a video
Streams the finished video file. Before completion the call answers 400 video_not_ready; after the asset expires, 404 video_expired.
Authentication: Bearer API key in the Authorization header
Path parameters
video_idstringrequiredThe video job id.
Query parameters
variantstringOnly
videois supported.
Responses
200The video bytes, usually video/mp4.
400Invalid request. param names the field; code says why (invalid_parameter, unsupported_parameter, unsupported_capability, refusal, previous_response_not_found). Not charged.
Response
errorobjecterror
messagestringWhat went wrong and how to fix it.
typestringFor example
invalid_request_error,authentication_error,permission_error,rate_limit_error,insufficient_quota,api_error.codestringThe stable error code.
paramstring | nullThe request field at fault, when there is one.
refusal_reasonenumPresent only on
code: refusal.
401The key is missing, malformed, expired or revoked.
Response
errorobjecterror
messagestringWhat went wrong and how to fix it.
typestringFor example
invalid_request_error,authentication_error,permission_error,rate_limit_error,insufficient_quota,api_error.codestringThe stable error code.
paramstring | nullThe request field at fault, when there is one.
refusal_reasonenumPresent only on
code: refusal.
404No such resource for this key.
Response
errorobjecterror
messagestringWhat went wrong and how to fix it.
typestringFor example
invalid_request_error,authentication_error,permission_error,rate_limit_error,insufficient_quota,api_error.codestringThe stable error code.
paramstring | nullThe request field at fault, when there is one.
refusal_reasonenumPresent only on
code: refusal.
Request
curl https://api.experientiallabs.ai/v1/videos/video_4e8a1c7b2f9d4053a6e1b8c3d7f2a910/content \
-H "Authorization: Bearer YOUR_API_KEY" \
--output video.mp4
Response
stringhttps://api.experientiallabs.ai/v1/videos/video_4e8a1c7b2f9d4053a6e1b8c3d7f2a910/content