Video Projects
Get video details
Check the progress of a video project. The downloads field is populated after a successful render.
Statuses
- queued — waiting to start
- rendering — in progress
- complete — ready; see downloads
- error — a failure occurred (see error)
- canceled — user canceled
- draft — not used
get/v1/video-projects/{id}
Path parameters
idstring required
Example:cuid-example
Unique ID of the video project. This value is returned by all of the POST APIs that create a video.
Response
Success
Example response
{
"id": "cuid-example",
"name": "Example Name",
"status": "complete",
"type": "FACE_SWAP",
"width": 512,
"height": 960,
"end_seconds": 15,
"credits_charged": 450,
"fps": 30,
"error": {
"message": "Please use an image with a detectable face",
"code": "no_source_face"
},
"downloads": [
{
"url": "https://videos.magichour.ai/id/output.mp4",
"expires_at": "2024-10-19T05:16:19.027Z"
}
]
}