Authorizations
使用以下格式进行身份验证:Bearer <your api key>
Body
application/json
Response
业务处理成功
The response is of type object
.
curl --request POST \
--url https://open.bigmodel.cn/api/paas/v4/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "cogvideox-3",
"prompt": "A cat is playing with a ball.",
"quality": "quality",
"with_audio": true,
"size": "1920x1080",
"fps": 30
}'
{
"model": "<string>",
"id": "<string>",
"request_id": "<string>",
"task_status": "<string>"
}
curl --request POST \
--url https://open.bigmodel.cn/api/paas/v4/videos/generations \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"model": "cogvideox-3",
"prompt": "A cat is playing with a ball.",
"quality": "quality",
"with_audio": true,
"size": "1920x1080",
"fps": 30
}'
{
"model": "<string>",
"id": "<string>",
"request_id": "<string>",
"task_status": "<string>"
}
使用以下格式进行身份验证:Bearer <your api key>
业务处理成功
The response is of type object
.