Skip to content

openai 下载视频

GET https://az.gptplus5.com/v1/videos/{id}/content

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

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

请求参数

Authorization

在 Header 添加参数Authorization,其值为在 Bearer 之后拼接 Token

示例:Authorization: Bearer ********************

Path 参数

参数名类型必需说明
idstring必需

Header 参数

参数名类型必需说明示例
Content-Typestring必需application/json
Acceptstring必需application/json
Authorizationstring可选Bearer {{YOUR_API_KEY}}
X-Forwarded-Hoststring可选localhost:5173

cURL 示例

bash
curl --location --request GET 'https://az.gptplus5.com/v1/videos/video_099c5197-abfd-4e16-88ff-1e162f2a5c77/content' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>'

返回响应

🟢200成功

响应 Body

参数名类型必需说明
idstring必需
statusstring必需
video_urlnull必需
enhanced_promptstring必需
status_update_timeinteger必需

响应示例

json
{
    "id": "string",
    "status": "string",
    "video_url": null,
    "enhanced_prompt": "string",
    "status_update_time": 0
}