Skip to main content
GET
cURL
Utilisez ce endpoint pour télécharger le fichier MP4 d’une tâche vidéo Wan terminée. Si la tâche est encore en cours d’exécution, l’API renvoie une erreur JSON au lieu d’octets vidéo.

Avant de télécharger

Stocker le média terminé

Le corps de la réponse contient du contenu binaire video/mp4. Enregistrez les octets dans votre propre stockage lorsque votre application a besoin d’un accès durable au média généré.

Autorisations

Authorization
string
header
requis

Bearer authentication. Use your CometAPI API key.

Paramètres de chemin

task_id
string
requis

Task ID returned by POST /v1/videos.

Réponse

Binary MP4 video content.

The response is of type file.