Skip to main content
GET
获取视频状态
需要工作区的预览功能访问权限。有关设置、Webhook 和结果处理,请参阅视频与批处理任务。

授权

Authorization
string
header
必填

Bearer 令牌身份验证

路径参数

video_id
string
必填

视频生成请求的ID。

响应

200 - application/json

视频状态响应

id
string
polling_url
string
websocket_url
string<uri>

用于订阅标准化异步任务生命周期更新的WebSocket URL。

model
string
request_id
string
session_id
string
status
enum<string>
可用选项:
queued,
processing,
completed,
failed,
cancelled,
expired
lifecycle_status
enum<string>

供轮询、WebSocket和Webhook使用方使用的标准化异步生命周期状态。

可用选项:
pending,
running,
completed,
failed,
cancelled,
expired
cancel_url
string<uri> | null

为兼容性保留;目前始终为null。

output_access
enum<string>
可用选项:
bytes,
signed_url,
both
generation_id
string | null
native_video_id
string | null

与网关自有ID不同时的提供商原生视频/任务ID。

created_at
started_at
completed_at
object
string
示例:

"video"

poll_after_seconds
integer
示例:

20

provider
string
seconds
number
size
string
audio
boolean
content_url
string

当output_access包含bytes时存在(需认证的端点)。

download_url
string | null

状态为completed时用于直接下载的第一方签名URL。

expires_at
integer | null

签名download_url过期的Unix时间戳(秒)。

progress
integer | null
progress_source
string
asset
object | null
outputs
object[]
billing
object
webhook
object

已清理的异步Webhook配置及投递状态。绝不返回密钥;has_secret表示是否启用签名投递。签名投递包含x-phaseo-signature、x-phaseo-timestamp、x-phaseo-event-id、x-phaseo-event-type、x-phaseo-delivery-key、x-phaseo-attempt和x-phaseo-max-attempts请求头。

next_webhook_retry_at
string | null

下一次计划用户Webhook重试的ISO时间戳(如已排队)。

last_webhook_progress
number | null

最近向Webhook使用方发送的粗略进度区间。

last_webhook_progress_at
string | null

最近一次Webhook进度区间发送的ISO时间戳。

last_webhook_dispatched_at
string | null

最近一次Webhook发送尝试的ISO时间戳。

usage
object
error
unknown
最后修改于 2026年10月2日