Skip to main content
POST
cURL
Gebruik dit endpoint om een Midjourney-afbeeldingsresultaat om te zetten in een korte videorender.

Voordat je het aanroept

  • Begin met een voltooid Midjourney-afbeeldingsresultaat of een ondersteunde afbeeldings-URL
  • Behandel de geretourneerde task id als het begin van een asynchrone workflow
  • Verwacht dat het voltooide asset binnenkomt via hetzelfde polling-endpoint dat wordt gebruikt door andere Midjourney-taken

Taakverloop

1

Dien de videotaak in

Start de render en sla de geretourneerde task id op.
2

Poll totdat de taak is voltooid

Gebruik Haal één taak op totdat de taak een eindstatus bereikt en de definitieve video-URL toont.
3

Sla de uitvoer op

Verplaats de voltooide video naar je eigen opslag als je stabiele bewaring nodig hebt die verder gaat dan de delivery-URL van de provider.

Autorisaties

Authorization
string
header
vereist

Bearer token authentication. Use your CometAPI key.

Body

application/json
motion
enum<string>
standaard:low
vereist

Motion intensity of the generated video.

Beschikbare opties:
low,
high
image
string
standaard:https://your-image-host/source.jpg
vereist

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).

Respons

200 - application/json

Success

code
integer
vereist

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
vereist
result
string
vereist
properties
object
vereist