生成(generations)
方法: POST路径: /cogvideox/v4/videos/generations
请求参数
Header 参数
text
Content-Type
string
可选
示例:
application/json
Authorization
string
可选
默认值:
Bearer {{YOUR_API_KEY}}Body 参数 application/json
text
object
示例
{
}请求示例代码
Shell
bash
curl --location --request POST '/cogvideox/v4/videos/generations' \
--header 'Authorization: Bearer {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{}'返回响应
🟢 200 成功
内容类型: application/json
响应结构
text
object示例
json
{}