header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired
Example
{"model":"grok-video-3","prompt":"play with another white cat","task_id":"grok:58c943f6-4d03-4c13-8737-6c9d5fce6c2e","aspect_ratio":"1:1","size":"1080p"}
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'/v1/video/extend' \
--header'Authorization: Bearer <token>' \
--header'Content-Type: application/json' \
--data'{
"model": "grok-video-3",
"prompt": "play with another white cat",
"task_id": "grok:58c943f6-4d03-4c13-8737-6c9d5fce6c2e",
"aspect_ratio": "1:1",
"size": "1080p"
}'