Créer une tâche vidéo Midjourney
Utilisez POST /mj/submit/video dans CometAPI pour soumettre une tâche vidéo Midjourney, définir les paramètres et suivre le traitement de la sortie vidéo générée.
Avant de l’appeler
- Partez d’un résultat d’image Midjourney terminé ou d’une URL d’image prise en charge
- Traitez le task id renvoyé comme le début d’un workflow asynchrone
- Attendez-vous à ce que la ressource finale arrive via le même endpoint de polling utilisé par les autres tâches Midjourney
Flux de la tâche
Soumettre la tâche vidéo
Interroger jusqu’à la fin de la tâche
Conserver la sortie
Autorisations
Bearer token authentication. Use your CometAPI key.
Corps
Motion intensity of the generated video.
low, high First-frame image as a public URL or base64-encoded data URI.
Text prompt to guide the video generation.
Action to perform on an existing video task. When set, index and taskId are required.
Zero-based index selecting which video variant to act on from the parent task.
Parent task id to continue from. Required when action is set.
Custom state string. Returned as-is in the task result and webhook callback for your own tracking.
When true, return the original provider video URL instead of a CometAPI-proxied link.
Video model variant, e.g. vid_1.1_i2v_480 (480p) or vid_1.1_i2v_720 (720p).
Réponse
Success
Submission status code. 1 = submitted successfully (result carries the task id). 21 = the action opened a confirmation modal; continue with /mj/submit/modal using the returned task id. 4 = parameter error; description explains the cause.