Skip to main content
GET
Sora 작업을 시작한 후 이 엔드포인트를 사용하세요. 현재 작업 상태, 설정된 크기와 duration, 그리고 provider가 반환한 모든 error를 보고합니다.

다음 필드를 확인하세요

  • 수명 주기 상태는 status
  • 대략적인 진행 신호는 progress
  • provider가 작업을 거부하거나 실패한 경우는 error
  • 임시 asset이 언제 만료되는지 알아야 한다면 완료 후 expires_at

완료될 때까지 폴링

1

먼저 비디오를 생성합니다

비디오 생성부터 시작하세요.
2

id로 폴링합니다

반환된 id를 여기로 전달하고 작업이 completed 또는 failed에 도달할 때까지 계속 확인하세요.
3

파일을 다운로드합니다

작업이 completed 상태가 되면 비디오 콘텐츠 조회로 이동하세요.

CometAPI의 응답 형태

이 단계는 Sora 폴링 워크플로와 매우 유사합니다. CometAPI는 OpenAI 스타일의 object 형태를 유지하므로 상태 확인을 최소한의 변환으로 연결할 수 있습니다.

인증

Authorization
string
header
필수

Bearer token authentication. Use your CometAPI key.

경로 매개변수

video_id
string
필수

Video id returned by the create or remix endpoint.

응답

200 - application/json

Current job state.

id
string
필수

Task id.

size
string
필수
model
string
필수
object
string
필수
status
string
필수

Task state: queued, in_progress, completed, or failed.

seconds
string
필수
progress
integer
필수

Render progress from 0 to 100.

created_at
integer
필수

Unix timestamp of task creation.

error
object | null
prompt
string
expires_at
integer | null
completed_at
integer | null

Unix timestamp of completion.

remixed_from_video_id
string | null
video_url
string

Time-limited download URL present when status is completed. Mirror the file to your own storage for long retention.