メインコンテンツへスキップ
POST
/
mj
/
submit
/
video
Submit Video
curl --request POST \
  --url https://api.cometapi.com/mj/submit/video \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "motion": "low",
  "image": "https://storage.fonedis.cc/attachments/1372468820912115716/1388566717961338880/hyper_realistic_3d_rendering_pink_tulip_style_686021570d5ec4451c1c120a.jpg?ex=68617307&is=68602187&hm=f939f10d79de24e3ed0f2c4dc1453c902ee6b383d13d9a1787eacfccfadb9488&"
}
'
{
  "code": 123,
  "description": "<string>",
  "result": "<string>",
  "properties": {
    "prompt": "<string>"
  }
}
このエンドポイントを使用すると、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>
デフォルト:example
必須

Motion intensity of the generated video.

利用可能なオプション:
low,
high
image
string
デフォルト:example
必須

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
必須
description
string
必須
result
string
必須
properties
object
必須