Replicate
Replicate 查询状态
查询 GET /replicate/v1/predictions/,按任务 ID 获取 Replicate 预测详情和实时进度,用于图像生成工作流。
GET
Query a Replicate prediction
当你已经拥有 Replicate prediction id 后,使用此端点。它会报告当前任务状态,并在预测完成时返回输出 URL。Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
首先检查这些字段
status:查看预测仍在运行还是已经结束output:获取生成的资源 URLerror:查看提供商侧故障metrics:当你需要执行耗时或图像数量详情时使用
轮询模式
先创建 prediction
授权
Bearer token authentication. Use your CometAPI key.
路径参数
Prediction id returned by the create endpoint.