Skip to main content
GET
Sora ジョブを開始した後にこのエンドポイントを使用します。現在のジョブ状態、設定されたサイズと再生時間、そしてプロバイダーから返されたエラーを確認できます。

次のフィールドを確認する

  • ライフサイクル状態は status
  • 大まかな進行状況のシグナルは progress
  • プロバイダーがジョブを拒否または失敗させた場合は error
  • 一時アセットの有効期限を知る必要がある場合、完了後は expires_at

完了までポーリングする

1

まず動画を作成する

Create Video から始めます。
2

id でポーリングする

返された id をここに渡し、ジョブが completed または failed になるまで確認を続けます。
3

ファイルをダウンロードする

ジョブが completed になったら、Retrieve Video Content に進みます。

CometAPI でのレスポンス形式

このステップは Sora のポーリングワークフローにほぼそのまま対応しています。CometAPI は OpenAI スタイルのオブジェクト形式を維持しているため、最小限の変換でステータス確認を組み込めます。

承認

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.