建立 Midjourney 影片任務
在 CometAPI 中使用 POST /mj/submit/video 提交 Midjourney 影片任務、設定參數,並追蹤生成影片輸出的處理進度。
呼叫前須知
- 從已完成的 Midjourney 圖像結果或受支援的圖片 URL 開始
- 將回傳的 task id 視為非同步工作流程的起點
- 預期完成的資產會透過其他 Midjourney 任務所使用的相同輪詢端點返回
任務流程
提交影片任務
輪詢直到任務完成
保存輸出
授權
Bearer token authentication. Use your CometAPI key.
主體
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).
回應
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.