Grok Video Edit
Generated on PixelDojo with Grok Video Edit. Produced by PixelDojo's generation pipeline.
Grok Video Edit charges 3 credits for every second of the clip you send it, rounded up, and the source clip is capped at 8.7 seconds, so the most a single edit can cost is 27 credits. This page is built from the tool's own credit formula and validation rules rather than a fresh timed run, because the price here is a fixed formula rather than something that varies by scene. It covers exactly what that formula charges at every clip length, what the tool actually does to a video, and when a sibling model fits the job better.
How the edit price is actually calculated
The formula is 3 credits per second, rounded up
The tool multiplies the source clip's duration in seconds by 3 and rounds any fraction up to the next whole credit. A 4 second clip is exactly 12 credits. A 4.2 second clip still rounds up to 13, not 12.6.
The price table
1s: 3 credits. 2s: 6. 3s: 9. 4s: 12. 5s (the common default): 15. 6s: 18. 7s: 21. 8s: 24. 8.7s, the maximum accepted length: 27.
It transforms a clip you already have, it does not create one
The required inputs are a video URL and a prompt describing the change, for example making it snow or swapping the background. There is no text-to-video or image-to-video mode on this endpoint. A source video is required on every request.
The 8.7 second ceiling is checked against the real file
The tool probes the uploaded video's actual duration before submitting the edit, not just the number typed into the request. A clip that runs long is rejected up front, with no grace period past the cutoff.
It runs as a tracked job, not an inline response
The edit is submitted, then tracked until it finishes, with the finished video appearing in job history. Plan for the result to arrive a little after submission rather than in the same response.
Canvas-ready
It is wired into Canvas as a video edit step, so a clip made earlier in the same Canvas session can be run through an edit prompt without leaving the session.
Why Choose Pixel Dojo for Grok Video Edit
Professional-quality results with cutting-edge AI technology
A flat, length-based formula
3 credits per second of the source clip, rounded up. No resolution tier and no per-scene variance to budget around.
Works from any clip you already have
The requirement is a video under 8.7 seconds and a prompt. It does not have to be a clip PixelDojo generated.
Editing, not generating
It changes what is already in a clip. For a video that does not exist yet, a generation model is the tool to reach for instead.
How It Works
How a request is built, read from the tool's own schema and validation code:
Point it at a video under 8.7 seconds
video_url must resolve to a real file and video_duration must state its actual length. The tool checks the uploaded file's real duration before submitting, not just the number you send.
Write the edit as an instruction
The prompt describes the change to make, not a full scene description, for example making it snow or changing the background to a rainy street.
The charge follows the clip length
3 credits per second, rounded up. A 5 second clip is 15 credits, and the 8.7 second maximum is 27.
Loved by creators on PixelDojo
Real feedback from people using PixelDojo, pulled from our in-product surveys.
Best AI tool availble the suite is rad
Versatility quality, value, ROI, innovation
variety of tools available and prompt tools
A "one-stop-shop" for creators! Thanks!!
Lots of different tools. It's easy to purchase more credits.
Amazing performance!
Explore more AI tools on PixelDojo
AI Tools
Compare & Switch
- Best AI Image Generators
- Best AI Video Generators
- Midjourney Alternatives
- Civitai Alternatives
- Runway Alternatives
- Leonardo Alternatives
- Pika Alternatives
- Luma Alternatives
- Magnific Alternatives
- Veo Alternatives
- Flux Alternatives
- Freepik Alternatives
- Seedance Alternatives
- Seedream Alternatives
- Pixverse Alternatives
- GPT Image Alternatives
- Synthesia Alternatives
- Playground Alternatives
- NightCafe Alternatives
- Canva AI Alternatives
- ElevenLabs Alternatives
- ComfyUI Alternatives
- Fal Alternatives
- Replicate Alternatives
Common Questions
Everything you need to know about Grok Video Edit
What does Grok Video Edit cost?
3 credits per second of the source clip, rounded up. A 5 second clip costs 15 credits, and the maximum accepted length, 8.7 seconds, costs 27.
Does resolution or aspect ratio change the price?
No. This tool has no resolution or aspect ratio setting. The price depends only on the length of the video you send it, and the output inherits whatever the source clip already is.
How do I call it from the API?
POST to /api/v1/models/xai-video-edit/run with your API key, a video_url pointing at the clip, video_duration matching its real length, and a prompt describing the edit. The job is tracked and polled rather than returned inline.
How is this different from Grok Video?
Grok Video generates a new clip from a text prompt or a starting image at 2 credits per second, for 1 to 15 seconds. Grok Video Edit does not generate from scratch. It requires an existing video under 8.7 seconds and changes what is already in it.
How is this different from Grok Image Edit?
Grok Image Edit works on a single still image for 1 credit, flat. Grok Video Edit works on a short video clip and prices per second of that clip, so the cost scales with footage length instead of staying flat.
Is there a minimum clip length?
The schema only requires the duration to be greater than zero, with no stated floor. Mathematically that means a clip a fraction of a second long would still price at 1 credit under the per-second formula, though in practice an edit needs a few seconds to show the requested change.