header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired
Example
{"model":"happyhorse-1.0-t2v","prompt":"A miniature city constructed from cardboard and bottle caps comes to life at night. A row of cardboard trains slowly passes by, with small lights scattered among them, illuminating the way ahead.","metadata":{"parameters":{"resolution":"720P","ratio":"9:16","watermark":false,"duration":5}}}
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'https://www.aiide.com/v1/video/generations' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data'{
"model": "happyhorse-1.0-t2v",
"prompt": "A miniature city constructed from cardboard and bottle caps comes to life at night. A row of cardboard trains slowly passes by, with small lights scattered among them, illuminating the way ahead.",
"metadata": {
"parameters": {
"resolution": "720P",
"ratio": "9:16",
"watermark": false,
"duration": 5
}
}
}'