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
| Name | In | Description | Required |
|---|---|---|---|
| id | query | 任务ID | Yes |
| Content-Type | header | Yes | |
| Accept | header | Yes | |
| Authorization | header | No | |
| X-Forwarded-Host | header | No |
Request Body
Responses
200 -
Example
{
"id": "033fa60e-f37c-4ff6-a44d-5585ffea938d",
"status": "pending",
"video_url": null,
"enhanced_prompt": ""
}