Skip to main content
GET
创建响应中包含 poll_url 时,直接使用该地址查询进度和结果。
已过期或不可用的公开任务可能返回 404 async_task_not_found。无法确认当前 API 密钥对任务的归属权限时,返回 403 task_not_owned。

路径参数

string
必填
世界生成任务 ID。

响应

成功的状态响应仅要求返回 id 和 status。任务别名、operation ID、世界资源、描述、费用和字符串 error 仅在可用时返回。任务完成不代表每个资源 URL 都存在。
string
TokenLab 任务 ID。
string
与 id 相同的任务 ID。
string
World Labs operation ID。
string
任务状态:pending、processing、completed、failed 或 timeout。
string
生成完成后的 World Labs 世界 ID。
string
生成完成后返回的 Marble 世界 URL。
string
主要生成世界或模型 URL 的别名。
string
可用时返回的碰撞网格 GLB URL。
string
可用时返回的全景图 URL。
string
可用时返回的缩略图 URL。
string
生成结果附带的 caption。
object
生成费用详情(如有),可能包含 total_credits。实际扣费请查看用量记录。
string
任务失败时的错误消息。

授权

Authorization
string
header
必填

API Key 身份验证。在 Dashboard > API > API Keys 中创建或管理 API Key。

路径参数

id
string
必填

世界生成任务 ID。

响应

任务状态

id
string
必填
status
enum<string>
必填
可用选项:
pending,
processing,
completed,
failed,
timeout
task_id
string
operation_id
string
world_id
string
world_marble_url
string
model_url
string
glb_url
string
pano_url
string
thumbnail_url
string
caption
string
cost
object
error
string