Skip to main content
POST
cURL
使用此端点可将 Midjourney 图像结果转换为短视频渲染。

调用前准备

  • 从已完成的 Midjourney 图像结果或受支持的图片 URL 开始
  • 将返回的 task id 视为异步工作流的起点
  • 预计通过与其他 Midjourney 任务相同的轮询端点获取最终成品

任务流程

1

提交视频任务

启动渲染并保存返回的 task id。
2

轮询直到任务完成

使用 获取单个任务,直到任务到达终态并暴露最终视频 URL。
3

持久化输出

如果你需要在提供方交付 URL 之外进行稳定保留,请将完成的视频迁移到你自己的存储中。

授权

Authorization
string
header
必填

Bearer token authentication. Use your CometAPI key.

请求体

application/json
motion
enum<string>
默认值:low
必填

Motion intensity of the generated video.

可用选项:
low,
high
image
string
默认值:https://your-image-host/source.jpg
必填

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

prompt
string

Text prompt to guide the video generation.

action
string

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

index
integer

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

taskId
string

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

state
string

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

noStorage
boolean

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

videoType
string

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

响应

200 - application/json

Success

code
integer
必填

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.

description
string
必填
result
string
必填
properties
object
必填