{"model":"cogvideox-3","prompt":"Peter Rabbit dritves a small car, wandering on the road, with a iface full of happiness and joy.","image_url":["",""]}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.302.ai/zhipu/api/paas/v4/videos/generations' \
--header'Authorization: Bearer sk-mfYQzy0XTFfz4P16vRE4gFrKK1Nly4TozsMqbbb9PSiJUvFO' \
--header'Content-Type: application/json;charset:utf-8;' \
--data-raw'{
"model": "cogvideox-3",
"prompt": "Peter Rabbit dritves a small car, wandering on the road, with a iface full of happiness and joy.",
"image_url": [
"",
""
]
}'