Skip to main content

Sinh video (Bước 3/3): Tải video

GET /v1/videos/{video_id}/content​

Khi status ở Bước 2 là completed, dùng cùng id đó để tải file video về.

Tham số đường dẫn (Path Parameters)​

video_idstringRequired

id của video nhận được ở Bước 1.


Phản hồi (Response)​

Phản hồi thành công là dữ liệu video video/mp4. Nếu video chưa tạo xong, API trả về lỗi.

curl "https://api.thucchien.ai/v1/videos//content" \
-H "Authorization: Bearer " \
--output my_generated_video.mp4
Example Response
{
"message": "Phản hồi thành công sẽ là file video. Trình duyệt sẽ tự động tải file về."
}