主题
查询任务
GET
https://az.gptplus5.com/v1/video/query
给定一个提示,该模型将返回一个或多个预测的完成,并且还可以返回每个位置的替代标记的概率。
为提供的提示和参数创建完成
请求参数
Authorization
在 Header 添加参数Authorization,其值为在 Bearer 之后拼接 Token
示例:Authorization: Bearer ********************
Query 参数
| 参数名 | 类型 | 必需 | 说明 | 示例 |
|---|---|---|---|---|
id | string | 必需 | grok:eee6faa8-9dee-455c-aa82-02ac623adf3a |
Header 参数
| 参数名 | 类型 | 必需 | 说明 | 示例 |
|---|---|---|---|---|
Content-Type | string | 必需 | application/json | |
Accept | string | 必需 | application/json | |
Authorization | string | 可选 | Bearer {{YOUR_API_KEY}} | |
X-Forwarded-Host | string | 可选 | localhost:5173 |
cURL 示例
bash
curl --location --request GET 'https://az.gptplus5.com/v1/video/query?id=grok:eee6faa8-9dee-455c-aa82-02ac623adf3a' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'返回响应
🟢200成功
响应 Body
| 参数名 | 类型 | 必需 | 说明 |
|---|---|---|---|
id | string | 必需 | |
status | string | 必需 | |
video_url | null | 必需 | |
enhanced_prompt | string | 必需 | |
status_update_time | integer | 必需 |
响应示例
json
{
"id": "033fa60e-f37c-4ff6-a44d-5585ffea938d",
"status": "pending",
"video_url": null,
"enhanced_prompt": "```\nA surreal and whimsical digital painting of a majestic brown cow with large, feathered wings soaring gracefully through a vibrant blue sky. The cow has a joyful expression, its tail streaming behind it as it flies among fluffy white clouds. Below, a patchwork of green farmland stretches into the distance, with tiny farm buildings and a group of astonished farmers looking up in amazement. The scene is bathed in warm golden sunlight, creating a dreamlike and magical atmosphere. Art style inspired by fantasy illustrations with soft brushstrokes and rich, saturated colors.\n```",
"status_update_time": 1750323167003
}