QueryTask

Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position. Create a completion for the provided prompt and parameters

Endpoint

GET http://localhost/v1/video/query

cURL Command

curl -X GET 'http://localhost/v1/video/query' \ -H 'Content-Type: application/json'

Parameters

NameInDescriptionRequired
idquery任务ID Yes
Content-TypeheaderYes
AcceptheaderYes
AuthorizationheaderNo
X-Forwarded-HostheaderNo

Request Body

Responses

200 -

Example

{
  "id": "033fa60e-f37c-4ff6-a44d-5585ffea938d",
  "status": "pending",
  "video_url": null,
  "enhanced_prompt": ""
}