Skip to main content
GET
cURL
베타 Omni 비디오 작업을 생성한 후 이 엔드포인트를 사용하세요. 작업이 완료되면 작업 상태를 반환하고 video_url을 포함합니다. Beta

다음 필드를 확인하세요

  • status는 작업이 queued, in_progress, completed, failed 중 어느 상태인지 알려줍니다.
  • progress는 대략적인 완료 비율입니다.
  • video_url은 완료된 응답에 나타납니다.
  • error는 작업이 실패했을 때 나타납니다.

폴링 흐름

1

먼저 작업 생성

Omni 비디오 생성으로 시작하고 반환된 id를 저장하세요.
2

task ID로 폴링

statuscompleted 또는 failed가 될 때까지 이 엔드포인트로 task ID를 보내세요.
3

MP4 파일 다운로드

statuscompleted이면 Omni 비디오 콘텐츠 조회를 호출하세요.

인증

Authorization
string
header
필수

Bearer authentication. Use your CometAPI API key.

경로 매개변수

task_id
string
필수

Task ID returned by POST /v1/videos.

응답

Omni video task state.

id
string
필수

Task ID returned by POST /v1/videos.

예시:

"task_example"

object
string
필수

Object type. Omni video tasks return video.

예시:

"video"

model
string
필수

Model ID used for the task.

예시:

"omni-fast"

status
enum<string>
필수

Task lifecycle status. Poll until the value is completed or failed.

사용 가능한 옵션:
queued,
in_progress,
completed,
failed
예시:

"completed"

progress
integer
필수

Task progress as a coarse percentage.

필수 범위: 0 <= x <= 100
예시:

100

created_at
integer
필수

Task creation time as a Unix timestamp in seconds.

예시:

1779938152

completed_at
integer

Task completion time as a Unix timestamp in seconds. This field appears on completed tasks.

예시:

1779938219

video_url
string

Temporary video delivery URL. This field appears on completed tasks.

예시:

"<temporary-video-url>"

error
object

Failure details. This field appears when the task fails.