GET
/
v1
/
video-projects
/
{id}
Get video details
curl --request GET \
  --url https://api.magichour.ai/v1/video-projects/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "clx7uu86w0a5qp55yxz315r6r",
  "name": "Example Name",
  "status": "complete",
  "type": "FACE_SWAP",
  "created_at": "2023-11-07T05:31:56Z",
  "width": 512,
  "height": 960,
  "enabled": true,
  "start_seconds": 0,
  "end_seconds": 15,
  "total_frame_cost": 450,
  "credits_charged": 450,
  "fps": 30,
  "error": null,
  "downloads": [
    {
      "url": "https://videos.magichour.ai/id/output.mp4",
      "expires_at": "2024-10-19T05:16:19.027Z"
    }
  ],
  "download": {
    "url": "https://videos.magichour.ai/id/output.mp4",
    "expires_at": "2024-10-19T05:16:19.027Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The id of the video

Example:

"cm6pvghix03bvyz0zwash6noj"

Response

200
application/json

Success