GET/v1/videos/{video_id}

動画を取得

プロバイダーから取得したジョブの現在の状態。他の組織のIDは404を返します。

認証: AuthorizationヘッダーにBearer形式のAPIキー

パスパラメーター

  • video_idstring必須

    動画ジョブのID。

レスポンス

  • 200

    ジョブ。

    レスポンス
    • idstring
    • objectstring
    • modelstring
    • statusenum
      "queued""in_progress""completed""failed"
    • progressinteger

      0〜100。

    • created_atinteger
    • completed_atinteger | null
    • expires_atinteger | null

      保存された動画の有効期限。

    • secondsstring
    • sizestring
    • errorobject | null

      ジョブが失敗した場合の{code, message}。

    • remixed_from_video_idnull
  • 401

    キーがないか、形式が不正か、期限切れか、取り消されています。

    レスポンス
    • errorobject
      error
      • messagestring

        問題の内容と解決方法。

      • typestring

        例:invalid_request_error、authentication_error、permission_error、rate_limit_error、insufficient_quota、api_error。

      • codestring

        安定したエラーコード。

      • paramstring | null

        該当する場合、問題のあるリクエストフィールド。

      • refusal_reasonenum

        code: refusalの場合にのみ含まれます。

        "cyber_policy""cbrn""content_policy""recitation""data_inspection""unspecified"
  • 404

    このキーではリソースが見つかりません。

    レスポンス
    • errorobject
      error
      • messagestring

        問題の内容と解決方法。

      • typestring

        例:invalid_request_error、authentication_error、permission_error、rate_limit_error、insufficient_quota、api_error。

      • codestring

        安定したエラーコード。

      • paramstring | null

        該当する場合、問題のあるリクエストフィールド。

      • refusal_reasonenum

        code: refusalの場合にのみ含まれます。

        "cyber_policy""cbrn""content_policy""recitation""data_inspection""unspecified"

リクエスト

curl 'https://api.experientiallabs.ai/v1/videos/video_4e8a1c7b2f9d4053a6e1b8c3d7f2a910' \
  -H "Authorization: Bearer <YOUR_API_KEY>"

レスポンス

{
  "id": "video_4e8a1c7b2f9d4053a6e1b8c3d7f2a910",
  "object": "video",
  "model": "veo-3.1-generate-preview",
  "status": "in_progress",
  "progress": 40,
  "created_at": 1795132800,
  "completed_at": null,
  "expires_at": null,
  "seconds": "8",
  "size": "1280x720",
  "error": null,
  "remixed_from_video_id": null
}

https://api.experientiallabs.ai/v1/videos/video_4e8a1c7b2f9d4053a6e1b8c3d7f2a910