Pricing
Compare models →| Duration | Cost |
|---|---|
| Per second | $0.065 |
Billing Rules
- Minimum charge: 1 second
- Maximum charge: 8 seconds (videos longer than 8s are capped at $0.52)
- Total cost = min(video_duration, 8) × $0.065
Examples
- 1s video → $0.065
- 5s video → $0.325
- 8s video → $0.52
- 10s video → $0.52 (capped at 8s)
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | Text description of the desired edit. |
videoRequired | string | URL of the input video to edit. Video will be resized to max 854x480 pixels and truncated to 8 seconds. |
resolution | string | Resolution of the output video.480p720p"480p" |
README
Grok Imagine Video Edit
Grok Imagine Video Edit is X-AI's video editing model that transforms existing videos based on text prompts. Upload your source video and describe the style or changes you want — the model applies edits across all frames with temporal consistency.
Why Choose This?
- Text-driven video editing
Modify videos using natural language instructions for intuitive control.
- Style transformation
Apply artistic styles like anime, cartoon, or cinematic looks to existing footage.
- Temporal consistency
Maintains visual coherence across frames for smooth, flicker-free results.
- Resolution options
Output in 480p or 720p based on your needs.
- Prompt Enhancer
Built-in tool to automatically improve your editing instructions.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text instruction describing the desired edit |
| video | Yes | Source video to edit (URL or upload) |
| resolution | No | Output resolution: 480p (default), 720p |
How to Use
- Upload your video — provide the source video you want to edit.
- Write your prompt — describe the style or changes you want.
- Select resolution — choose 480p or 720p output.
- Run — submit and download your edited video.
Pricing
| Duration | Cost |
|---|---|
| Per second | $0.065 |
Billing Rules
- Minimum charge: 1 second
- Maximum charge: 8 seconds (videos longer than 8s are capped at $0.52)
- Total cost = min(video_duration, 8) × $0.065
Examples
- 1s video → $0.065
- 5s video → $0.325
- 8s video → $0.52
- 10s video → $0.52 (capped at 8s)
Best Use Cases
- Style Transfer — Convert real footage to anime, cartoon, or artistic styles.
- Content Transformation — Apply cinematic looks or visual effects to videos.
- Social Media Content — Create eye-catching stylized videos for posts and reels.
- Creative Projects — Experiment with different visual styles on existing footage.
- Rapid Prototyping — Test style concepts before full production.
Pro Tips
- Use the Prompt Enhancer to refine your editing instructions.
- Be specific about the target style (e.g., "anime style with vibrant colors" instead of just "animate").
- Use 480p for faster processing and drafts, 720p for final output.
- Keep videos under 8 seconds for cost efficiency.
- Use high-quality source videos for better editing results.
Notes
- Both prompt and video are required fields.
- Maximum billable duration is 8 seconds.
- Ensure uploaded video URLs are publicly accessible.
- For best results, use clear and specific style instructions.
Related Models
- Grok Imagine Image Text-to-Image — Generate images from text prompts.
- Grok Imagine Image Edit — Edit images with text instructions.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Grok Imagine Video Edit API example
The catalog lists POST https://api.opensi.com.ai/api/v3/x-ai/grok-imagine-video/edit-video for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"prompt": "A cinematic ocean wave at sunrise, highly detailed",
"video": "https://static.website-files.org/assets/video-generator/landing/showcase/04-a244f00f6098.mp4",
"resolution": "480p"
}Grok Imagine Video Edit API — Frequently asked questions
What is the Grok Imagine Video Edit Video API?
Grok Imagine Video Edit Video is a xAI model for video editing, exposed as a REST API on OpenSIAI. X-AI Grok Imagine Video Edit enables video editing using xAI's Grok Imagine Video model. Transform and modify existing videos with text prompts for seamless AI-powered edits. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Grok Imagine Video Edit Video API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/x-ai/grok-imagine-video/edit-video.
How much does Grok Imagine Video Edit Video cost per run or per second?
Grok Imagine Video Edit Video starts at $0.065 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Grok Imagine Video Edit Video accept?
Key inputs: prompt, video, resolution. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/x-ai/grok-imagine-video/edit-video.
How long does Grok Imagine Video Edit Video take to generate?
Reported generation time on OpenSIAI is around 190 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Grok Imagine Video Edit Video outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (xAI). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.