- 系统介绍
- 系统优势
- 补充说明
- 辅助功能
- 按量计费
- 按次计费
- OpenMeta
- GPT 4o Image Generation
- Midjourney Proxy
- Midjourney Chat
- 即梦AI2.0生图
- Recraft Proxy
- Flux.1 Proxy
- SD Proxy
- SD Chat
- Sora Proxy
- Kling Proxy
- CogVideoX Proxy
- Runway Proxy
- Runway Chat
- Luma Proxy
- Luma Chat
- Pika1.5 Proxy
- Pika1.5 Chat
- Domo Proxy
- 海绵音乐(音乐生成)
- Suno Proxy
- Suno Chat
- Udio Proxy
- Udio Chat
生成(generations)
开发环境
开发环境
POST
https://draw.openai-next.com/cogvideox/v1/videos/generations
请求参数
Query 参数
string
可选
Header 参数
string
可选
Body 参数application/json
model
string
必需
prompt
string
必需
image_url
string
可选
示例
{
"model": "cogvideox",
"prompt": "Peter Rabbit drives a small car, wandering on the road, with a face full of happiness and joy.",
"image_url": "https://sfile.chatglm.cn/testpath/video_cover/0e89d8bf-ded0-5b77-b673-fd264fad9c9d_cover_0.png"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://draw.openai-next.com/cogvideox/v1/videos/generations' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "cogvideox",
"prompt": "Peter Rabbit drives a small car, wandering on the road, with a face full of happiness and joy.",
"image_url":"https://sfile.chatglm.cn/testpath/video_cover/0e89d8bf-ded0-5b77-b673-fd264fad9c9d_cover_0.png"
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"id": "112616908736573238875817957674828622",
"model": "cogvideox",
"request_id": "8875817957674828620",
"task_status": "PROCESSING"
}
🟢200成功
修改于 2025-04-01 06:27:10