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:7fd641dc-437f-44c3-97a2-e3778e0e10fb","size":"1080p","start_time":3,"upscale":false}
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:7fd641dc-437f-44c3-97a2-e3778e0e10fb",
"size": "1080p",
"start_time": 3,
"upscale": false
}'