메인 콘텐츠로 건너뛰기
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
필수