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
必須