Retrieve video
One video job. Reading a job does not call the provider; the job updates on its own as the provider reports progress.
ApiKeyAuthAuthorization<token>id*stringThe id of a video job.
Successful response
application/json- response
created_at*stringdate-timeerror?Why the job failed
finished_at?stringdate-timeid*stringmodel*stringobject*"video""video"progress*integerPercent done, as far as the provider reports it
0 <= value <= 100result_available*booleanWhether GET /v1/videos/{id}/content can download the video now
result_url_expires_at?stringWhen the download stops being available
date-timeseconds*integersize*stringstatus*stringcreating until the provider accepts the job; completed, failed and cancelled are final.
"creating""queued""in_progress""completed""failed""cancelled"updated_at*stringdate-timecurl -X GET 'https://api.ohmygpt.com/v1/videos/string'{ "created_at": "2019-08-24T14:15:22Z", "error": { "code": "string", "message": "string" }, "finished_at": "2019-08-24T14:15:22Z", "id": "string", "model": "string", "object": "video", "progress": 0, "result_available": true, "result_url_expires_at": "2019-08-24T14:15:22Z", "seconds": 0, "size": "string", "status": "creating", "updated_at": "2019-08-24T14:15:22Z"}Delete video DELETE
Clear the job's stored result once its download has expired; until then this answers `409`. A job without a result succeeds right away. The job stays in your list.
Download video GET
The finished video file. Available while `result_available` is true, until `result_url_expires_at` (usually 24 hours after the job finishes).