Pricing
Compare models →The price depends on the output resolution and the duration: you are charged per second of video.
| Resolution | 6 s | 10 s | Per second |
|---|---|---|---|
| 480p | $0.30 | $0.50 | $0.05 |
| 720p | $0.42 | $0.70 | $0.07 |
Billing Rules
- Default run: $0.42 per run with default settings (720p, 6 s)
- Duration options: 6 or 10 seconds
- Billing is based on the selected duration and resolution, not actual playback length
Input schema
| Parameter | Type | Description |
|---|---|---|
promptRequired | string | Text description of desired motion or changes in the video. Refer to reference images as <IMAGE_0>, <IMAGE_1>, ..., numbered from 0 in array order. |
imagesRequired | array | Array of reference image URLs for video generation. Up to 7 images supported.Items: 0–7JSON schema{
"items": {
"description": "URL of a reference image.",
"type": "string"
}
} |
duration | integer | Video duration in seconds.6106 |
resolution | string | Resolution of the output video.720p480p"720p" |
README
Grok Imagine Video Reference-to-Video
Grok Imagine Video Reference-to-Video is X-AI's multi-image reference model that generates videos from up to 7 reference images. Provide reference images and describe the desired motion — the model generates a video that preserves the identity, style, and composition from your references with smooth, natural movement.
Why Choose This?
- Multi-image reference
Use up to 7 reference images to guide video generation with rich visual context.
- Identity preservation
Characters, objects, and scenes maintain consistent appearance across generated frames.
- Flexible duration
Generate videos at 6 or 10 seconds to match your scene pacing.
- Resolution options
Output in 720p or 480p based on your quality and speed requirements.
Parameters
| Parameter | Required | Description |
|---|---|---|
| images | Yes | Array of reference image URLs (1-7 images). |
| prompt | Yes | Text description of the desired motion, camera movement, and scene. |
| duration | No | Video length in seconds. Options: 6, 10. |
| resolution | No | Output resolution: 720p (default) or 480p. |
How to Use
- Upload your reference images — provide 1 to 7 reference images via URL or drag-and-drop upload.
- Write your prompt — describe the motion, camera movement, and scene details. Reference the uploaded images in your prompt as
<IMAGE_0>,<IMAGE_1>, etc. (numbered from 0, in upload order)
- Set duration — choose 6 or 10 seconds based on your scene length.
- Select resolution — 720p for higher quality, 480p for faster processing.
- Run — submit and download your video.
Pricing
The price depends on the output resolution and the duration: you are charged per second of video.
| Resolution | 6 s | 10 s | Per second |
|---|---|---|---|
| 480p | $0.30 | $0.50 | $0.05 |
| 720p | $0.42 | $0.70 | $0.07 |
Billing Rules
- Default run: $0.42 per run with default settings (720p, 6 s)
- Duration options: 6 or 10 seconds
- Billing is based on the selected duration and resolution, not actual playback length
Best Use Cases
- Character Consistency — Generate videos with consistent character appearance across multiple shots using reference images.
- Product Showcases — Create dynamic product videos from multiple product photos.
- Multi-angle References — Use different angles of the same subject to generate richer, more accurate video.
- Social Media Content — Create engaging video clips from image collections for Reels, TikTok, and Shorts.
- Creative Projects — Combine multiple visual references to create unique video compositions.
Pro Tips
- Use high-quality, well-lit reference images for better identity preservation.
- Reference uploaded images in your prompt as
<IMAGE_0>,<IMAGE_1>, etc. (numbered from 0, in upload order) for precise control.
- Keep reference content and prompt aligned — if references show a character, describe that character's actions.
- Start with fewer references and add more if needed for richer context.
- Use 6-second generations to test your prompt before committing to 10 seconds.
Notes
- Both images and prompt are required fields.
- Up to 7 reference images are supported.
- Ensure image URLs are publicly accessible.
- Maximum duration is 10 seconds.
Related Models
- Grok Imagine Video Image-to-Video — Generate video from a single image.
- Grok Imagine Video Extend — Extend existing videos with smooth continuation.
- Grok Imagine Video Edit — Edit existing videos with text instructions.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Grok Imagine Video Reference to Video API example
The catalog lists POST https://api.opensi.com.ai/api/v3/x-ai/grok-imagine-video/reference-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",
"images": [
"https://static.website-files.org/assets/video-generator/landing/showcase/01image1-690980cabb8d.webp",
"https://static.website-files.org/assets/video-generator/landing/showcase/01image2-9dd9c428b58c.webp",
"https://static.website-files.org/assets/video-generator/landing/showcase/01image3-2f1fef6b1193.webp"
],
"duration": 6,
"resolution": "720p"
}Grok Imagine Video Reference to Video API — Frequently asked questions
What is the Grok Imagine Video Reference To Video API?
Grok Imagine Video Reference To Video is a xAI model for reference-guided video generation, exposed as a REST API on OpenSIAI. X-AI Grok Imagine Video Reference-to-Video generates videos from multiple reference images with preserved identity, style, and scene composition. 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 Reference 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/reference-to-video.
How much does Grok Imagine Video Reference To Video cost per run or per second?
Grok Imagine Video Reference 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 Reference To Video accept?
Key inputs: prompt, images, 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/reference-to-video.
How long does Grok Imagine Video Reference To Video take to generate?
Reported generation time on OpenSIAI is around 77 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 Reference 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.