Tạo một tác vụ video Midjourney
Sử dụng POST /mj/submit/video trong CometAPI để gửi một job video Midjourney, thiết lập tham số và theo dõi quá trình xử lý cho đầu ra video được tạo.
Trước khi gọi
- Bắt đầu từ một kết quả ảnh Midjourney đã hoàn tất hoặc một URL ảnh được hỗ trợ
- Xem task id được trả về là điểm bắt đầu của một quy trình bất đồng bộ
- Dự kiến asset hoàn tất sẽ được trả về thông qua cùng endpoint polling được dùng bởi các tác vụ Midjourney khác
Luồng tác vụ
Gửi tác vụ video
Poll cho đến khi tác vụ hoàn tất
Lưu trữ đầu ra
Ủy quyền
Bearer token authentication. Use your CometAPI key.
Nội dung
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).
Phản hồi
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.