v1

latestOpenAPI 3.1.02026-07-267724480.0 KB

Submit Video

post/mj/submit/video

Request body

promptstring

Text prompt to guide the video generation.

motion'low' | 'high' required

Motion intensity of the generated video.

imagestring required

First-frame image as a public URL or base64-encoded data URI.

actionstring

Action to perform on an existing video task. When set, index and taskId are required.

indexinteger

Zero-based index selecting which video variant to act on from the parent task.

taskIdstring

Parent task id to continue from. Required when action is set.

statestring

Custom state string. Returned as-is in the task result and webhook callback for your own tracking.

noStorageboolean

When true, return the original provider video URL instead of a CometAPI-proxied link.

videoTypestring

Video model variant, e.g. vid_1.1_i2v_480 (480p) or vid_1.1_i2v_720 (720p).

Response

Success

codeinteger required

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.

descriptionstring required
resultstring required