edit_video
Modify an existing video using a text instruction, such as adding sunglasses or snow, and get a job ID to retrieve the result.
Instructions
Change an existing video with an instruction, like "give the person sunglasses" or "make it snow". Uses "spacexai/grok-imagine-video". The result keeps the input's length and shape, at up to 720p. Returns a job_id for get_video. Links must be https; links returned by this server work. If this call times out or returns no answer, do not call it again on your own: the job may already be running and a retry pays twice. Tell the user and let them decide.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | A Grok Imagine Video model id. Default "spacexai/grok-imagine-video". | |
| prompt | Yes | What to change | |
| video_url | Yes | The video to change | |
| estimate_only | No | Only return the estimated price from AI Gateway's list prices. Nothing is started or charged. |