4Z API

查询任务

接口: GET https://4zapi.com/vidu-native/video/generations/{task_id}

给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。

为提供的提示和参数创建完成

参数

  • task_id (path, string, 必填): 异步任务 ID
  • Content-Type (header, string, 必填): 请求体 Content-Type,一般为 application/json
  • Accept (header, string, 必填): 期望的响应 Content-Type
  • Authorization (header, string): Bearer API Key
  • X-Forwarded-Host (header, string): 转发原始 Host(代理场景)