Grok Imagine Video Video Editing
Video
Grok Imagine Video Video Editing
POST
Grok Imagine Video Video Editing
This is an asynchronous API and only returns the
task_id of the asynchronous task.
Request Headers
Enum value:
application/jsonBearer authentication format: Bearer {{API Key}}.
Request Body
The input video URL to edit. The video will be scaled to a maximum of 854x480 pixels and truncated to 8 seconds. The input duration limit is 8.7 seconds, and the output preserves the duration of the original video. Must be a publicly accessible URL.
A text description of the desired editing effect. Describe the style transformation or content change to apply to the input video, such as “turn the video into anime style” or “make it look like a watercolor painting”.Length limit: 1 - 4096
The output video resolution. 480p generates faster, while 720p provides higher quality. The output resolution matches the input resolution, up to the selected value.Available values:
480p, 720pResponse Information
Use task_id to request the Get Task Result API to retrieve the generated output.