Pricing
Compare models →The price depends on the resolution and the duration of the generated video: you are charged per second of video. Aspect ratio does not change the price.
| Resolution | Duration | Price per video | Price per second |
|---|---|---|---|
| 480p | 6 s | $0.30 | $0.05 |
| 480p | 10 s | $0.50 | $0.05 |
| 720p | 6 s | $0.42 | $0.07 |
| 720p | 10 s | $0.70 | $0.07 |
A request with default settings (720p, 6 s) costs $0.42 per run.
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | Text description of the desired video. |
duration | integer | Video duration in seconds.6106 |
aspect_ratio | string | Aspect ratio of the generated video.16:91:19:16"16:9" |
resolution | string | Resolution of the output video.720p480p"720p" |
README
Grok Imagine Video Text-to-Video
Grok Imagine Video Text-to-Video generates videos directly from text prompts. Describe the scene, subject, motion, camera behavior, and atmosphere, then choose duration, aspect ratio, and resolution to create a short video output.
Why Choose This?
- Text-driven video generation
Create videos from natural-language descriptions without providing an input image or video.
- Short video duration options
Generate 6s or 10s videos for quick creative iteration and short-form content.
- Multiple aspect ratios
Supports 16:9, 1:1, and 9:16 for landscape, square, and vertical video formats.
- Resolution options
Choose 720p for higher-quality output or 480p for lower-resolution output.
- Simple generation workflow
Provide a prompt, select output settings, and generate the final video.
Parameters
| Parameter | Required | Description |
|---|---|---|
| prompt | Yes | Text description of the desired video. Minimum length: 1 character. |
| duration | No | Video duration in seconds. Supported values: 6 or 10. |
| aspect_ratio | No | Aspect ratio of the generated video. Supported values: 16:9, 1:1, or 9:16. Default: 16:9. |
| resolution | No | Resolution of the output video. Supported values: 720p or 480p. |
How to Use
- Write your prompt — Describe the scene, subject, motion, camera movement, lighting, and atmosphere.
- Set duration — Choose
6or10seconds.
- Select aspect ratio — Use
16:9for landscape,9:16for vertical content, or1:1for square video.
- Select resolution — Use
720pfor higher-quality output or480pfor lower-resolution output.
- Run — Submit the request and retrieve the generated video.
Pricing
The price depends on the resolution and the duration of the generated video: you are charged per second of video. Aspect ratio does not change the price.
| Resolution | Duration | Price per video | Price per second |
|---|---|---|---|
| 480p | 6 s | $0.30 | $0.05 |
| 480p | 10 s | $0.50 | $0.05 |
| 720p | 6 s | $0.42 | $0.07 |
| 720p | 10 s | $0.70 | $0.07 |
A request with default settings (720p, 6 s) costs $0.42 per run.
Best Use Cases
- Social media videos — Generate short-form videos for vertical, square, or landscape formats.
- Concept visualization — Turn written ideas into quick motion previews.
- Marketing and ads — Create short promotional clips from text descriptions.
- Storytelling — Generate narrative video scenes from detailed prompts.
- Creative prototyping — Test video concepts before production.
Pro Tips
- Be specific about subject, action, camera movement, lighting, and atmosphere.
- Use
16:9for widescreen videos,9:16for mobile-first content, and1:1for square layouts.
- Use
6sfor quick testing and10swhen the scene needs more time to develop.
- Choose
720pfor higher-quality output and480pwhen lower resolution is acceptable.
- Include motion details and timing cues for more controlled video generation.
Related Models
- Grok Imagine Video Image-to-Video — Generate video from reference images.
- Grok Imagine Video Edit — Edit existing videos with text instructions.
- Grok Imagine Image Text-to-Image — Generate images from text prompts.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Grok Imagine Video Text to Video API example
The catalog lists POST https://api.opensi.com.ai/api/v3/x-ai/grok-imagine-video/text-to-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",
"duration": 6,
"aspect_ratio": "16:9",
"resolution": "720p"
}Grok Imagine Video Text to Video API — Frequently asked questions
What is the Grok Imagine Video Text To Video API?
Grok Imagine Video Text To Video is a xAI model for video generation, exposed as a REST API on OpenSIAI. X-AI Grok Imagine Video generates videos from text descriptions using xAI's Grok Imagine Video model. Create high-quality videos with customizable duration, aspect ratio, and resolution. 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 Text To 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/text-to-video.
How much does Grok Imagine Video Text To Video cost per run or per second?
Grok Imagine Video Text To Video starts at $0.05 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 Text To Video accept?
Key inputs: prompt, aspect_ratio, resolution, duration. 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/text-to-video.
How long does Grok Imagine Video Text To Video take to generate?
Reported generation time on OpenSIAI is around 60 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 Text To 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.