xAI Grok Imagine Video v1.5 Image to Video
x-ai/grok-imagine-video-v1.5/image-to-video
Animate one input image with a text prompt into a 1-15 second video at 480p or 720p.
Examples
Parameters
| Name | Type | Default | Constraints | Description |
|---|---|---|---|---|
| prompt *Prompt | textarea | — | ≤ 5000 chars | Text description of the desired motion, camera movement, and scene. |
| image *Image | image_upload | — | image/* | Input image to animate. |
| durationDuration | slider | 6 | 1 ~ 15 · step 1 | Output video duration in seconds. |
| resolutionResolution | select | 720p | 720p | 480p | Output video resolution. |
API
Call this model through one unified REST API. Get a key on the API Keys page.
cURL
# 1) Submit — returns { "task_uuid": "..." }
curl -X POST "https://www.namifusion.com/api/v1/marketplace/run/x-ai/grok-imagine-video-v1.5/image-to-video" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
"image": "https://example.com/input.jpg",
"duration": 6,
"resolution": "720p"
}
}'
# 2) Poll until status is "completed", then read the output URLs
curl "https://www.namifusion.com/api/v1/marketplace/run/tasks/TASK_UUID" \
-H "Authorization: Bearer YOUR_API_KEY"Python
import time, requests
API_KEY = "YOUR_API_KEY"
HEADERS = {"Authorization": f"Bearer {API_KEY}"}
# 1) Submit
resp = requests.post(
"https://www.namifusion.com/api/v1/marketplace/run/x-ai/grok-imagine-video-v1.5/image-to-video",
headers=HEADERS,
json={
"input": {
"prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
"image": "https://example.com/input.jpg",
"duration": 6,
"resolution": "720p"
}
},
)
resp.raise_for_status() # 401/402/429/5xx stop here instead of polling a bad task
task = resp.json()
# 2) Poll until a terminal state (completed / failed / cancelled).
# This model is allowed up to 300s server-side.
deadline = time.time() + 360
while task.get("status") not in ("completed", "failed", "cancelled"):
if time.time() > deadline:
raise TimeoutError(f"still {task.get('status')} — keep the task_uuid and poll later")
time.sleep(3)
poll = requests.get(f"https://www.namifusion.com/api/v1/marketplace/run/tasks/{task['task_uuid']}", headers=HEADERS)
poll.raise_for_status()
task = poll.json()
print(task["status"], task.get("output"))JavaScript
const API_KEY = "YOUR_API_KEY";
const HEADERS = { Authorization: `Bearer ${API_KEY}` };
// 1) Submit
const resp = await fetch("https://www.namifusion.com/api/v1/marketplace/run/x-ai/grok-imagine-video-v1.5/image-to-video", {
method: "POST",
headers: { ...HEADERS, "Content-Type": "application/json" },
body: JSON.stringify({
"input": {
"prompt": "A cinematic portrait, dramatic rim light, shallow depth of field",
"image": "https://example.com/input.jpg",
"duration": 6,
"resolution": "720p"
}
}),
});
if (!resp.ok) throw new Error(`submit failed: ${resp.status} ${await resp.text()}`);
let task = await resp.json();
// 2) Poll until a terminal state (completed / failed / cancelled).
// This model is allowed up to 300s server-side.
const deadline = Date.now() + 360 * 1000;
while (!["completed", "failed", "cancelled"].includes(task.status)) {
if (Date.now() > deadline) throw new Error(`still ${task.status} — keep the task_uuid and poll later`);
await new Promise((r) => setTimeout(r, 3000));
const poll = await fetch(`https://www.namifusion.com/api/v1/marketplace/run/tasks/${task.task_uuid}`, { headers: HEADERS });
if (!poll.ok) throw new Error(`poll failed: ${poll.status}`);
task = await poll.json();
}
console.log(task.status, task.output);Documentation
xAI Grok Imagine Video v1.5 Image to Video
Turn a single image into short, stylized videos with fast iteration and predictable cost.
🚀 Key Features
- Image-guided video generation: Start from a single reference image and animate it into a short video clip.
- Prompt-driven motion control: Use Prompt instructions to define subject movement, camera behavior, atmosphere, and scene progression.
- Optimized for short-form content: Well suited for 1–15 second clips where fast iteration and clean control matter.
- Flexible quality settings: Choose between 480p for lower-cost testing and 720p for higher-quality output.
- Built for creative and marketing workflows: Effective for character animation, product videos, social content, concept visualization, and lightweight storytelling.
🛠️ Technical Specifications
| Item | Specification |
|---|---|
| Model Name | xAI Grok Imagine Video v1.5 Image to Video |
| Task Type | Image-to-Video |
| Model Architecture | Reference-image and Prompt-based short video generation model |
| Input | Image, Prompt |
| Output Format | Video |
| Resolution | 480p, 720p |
| Default Resolution | 720p |
| Duration | 1–15 seconds |
| Default Duration | 6 seconds |
| Motion Control | Prompt-based control over subject motion, camera movement, and scene evolution |
| Output Style | Stylized short videos, cinematic concept clips, lightweight motion storytelling |
Sample Prompts
A cinematic push-in shot as the subject slowly turns toward the camera, soft natural motion, subtle background movement, realistic lighting, polished commercial styleA premium product on a clean tabletop, slow orbit camera movement, soft reflections, minimal background, elegant advertising lookA character standing in a neon-lit street, slight hair and clothing motion, gentle forward camera move, atmospheric futuristic mood
💰 Pricing
| Resolution | Price per Second | Input Image Fee | 5s Example |
|---|---|---|---|
| 480p | $0.08 | $0.01 / image | $0.41 |
| 720p | $0.14 | $0.01 / image | $0.71 |
Billing Rules
| Rule | Details |
|---|---|
| Pricing model | Linear pricing based on output duration |
| Duration billing | Rounded up to the next whole second |
| Minimum billed Duration | 1 second |
| Maximum billed Duration | 15 seconds |
| Additional charge | Each request includes a fixed $0.01 input image fee |
💡 Best Use Cases
- Social media content: Animate still visuals into short promotional clips for posts, reels, and lightweight campaigns.
- E-commerce and product marketing: Turn product images into motion-driven demos for ads, landing pages, and creative testing.
- Concept visualization: Explore camera direction, motion ideas, and scene atmosphere from a single static frame.
- Creative prototyping: Quickly test Prompt-based motion concepts for characters, environments, and branded storytelling.
🔗 Related Models
- xAI text-to-image workflows: Useful when you want to generate the source image before animating it.
- Other image-to-video workflows: Worth comparing when you need different trade-offs in quality, speed, or motion control.
Related models
Nami Wan 2.2 I2V Spicy A
WAN 2.2 Spicy converts images into unlimited high-quality videos with smooth animations optimized for scalable content generation. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Vidu Q3 Image To Video
Vidu Q3 Image-to-Video turns text prompts into high-quality videos with exceptional visual fidelity and diverse motion. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Pixverse V6 Reference to Video
PixVerse V6 Reference-to-Video (Fusion) mode supports 1–3 reference images (subjects, characters, or backgrounds), combining text prompts to deliver superior character consistency and storytelling continuity with native synced audio. Enterprise REST inference API, zero cold starts, high concurrency—perfect for anime, gaming, and multi-shot short films.
Pixverse V6 Image to Video
PixVerse V6 Image-to-Video (fully integrating single-image and first-last frame modes) transforms single or dual images into dynamic clips with cinematic ultra-HD quality, realistic physics, and seamless consistency—perfect for advanced storyboard control, seamless loops, and commercial clips. Enterprise REST inference API, high concurrency, zero cold starts, delivering peak performance at an affordable price.
Pixverse V5 T2V
PixVerse V5 Text-to-Video generates smooth, natural 5s videos from text prompts in seconds, with 720p output available ($0.20 per 5s). Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Pixverse V5 I2V
PixVerse V5 converts images to short, smooth, natural-looking videos. 5s video: $0.15 (360p/540p), $0.20 (720p), $0.40 (1080p). Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Pixverse V5.6 Text to Video
PixVerse V5.6 transforms text prompts into realistic videos with smooth motion and natural detail in seconds—ideal for stories, ads, and social clips. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing.
Pixverse V5.6 Image to Video
PixVerse V5.6 Image-to-Video turns a single image into cinematic clips with smooth motion, clean detail, and strong subject fidelity—ideal for logo stingers, character motion, and social posts. Ready-to-use REST inference API, best performance, no cold starts, affordable pricing.