Skip to content

创建视频

POST https://az.gptplus5.com/v1/video/create

请求参数

Authorization

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

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

Header 参数

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

Body 参数 (application/json)

参数名类型必需说明
modelstring必需模型名字 grok-video-3
promptstring必需
aspect_ratiostring必需可选为 2:3, 3:2, 1:1
sizestring必需720P或者1080P 暂只支持720P
imagesarray[string]必需垫图图片链接,垫图后视频尺寸跟着图片尺寸走,

请求示例

json
{
    "model": "grok-video-3",
    "prompt": "小猫在吃鱼  --mode=custom",
    "aspect_ratio": "3:2",
    "size": "720P",
    "images": ["https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_5_imageToimage.png"]
}

cURL 示例

bash
curl --location --request POST 'https://az.gptplus5.com/v1/video/create' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "model": "grok-video-3",
    "prompt": "小猫在吃鱼  --mode=custom",
    "aspect_ratio": "3:2",
    "size": "720P",
    "images": ["https://ark-project.tos-cn-beijing.volces.com/doc_image/seedream4_5_imageToimage.png"]
}'

返回响应

🟢200成功

响应 Body

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

响应示例

json
{
    "id": "veo3.1-components:1762241017-xTL0P9HvGF",
    "status": "pending",
    "status_update_time": 1762241017286
}