cURL
curl --request POST \ --url https://open.bigmodel.cn/api/paas/v4/videos/generations \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "prompt": "<string>", "model": "cogvideox-3" }'
{ "model": "<string>", "id": "<string>", "request_id": "<string>", "task_status": "<string>" }
通过文本或图像生成视频内容。支持多种视频生成方式,包括文本转视频、图像转视频等。注意此为异步接口,通过[查询异步结果]公共API获取生成视频结果。
使用以下格式进行身份验证:Bearer <your api key>
业务处理成功
The response is of type object.
object
Was this page helpful?