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

xAI Grok Imagine Video v1.5 Image to Video example 1

Parameters

NameTypeDefaultConstraintsDescription
prompt *Prompttextarea≤ 5000 charsText description of the desired motion, camera movement, and scene.
image *Imageimage_uploadimage/*Input image to animate.
durationDurationslider61 ~ 15 · step 1Output video duration in seconds.
resolutionResolutionselect720p720p | 480pOutput 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

ItemSpecification
Model NamexAI Grok Imagine Video v1.5 Image to Video
Task TypeImage-to-Video
Model ArchitectureReference-image and Prompt-based short video generation model
InputImage, Prompt
Output FormatVideo
Resolution480p, 720p
Default Resolution720p
Duration1–15 seconds
Default Duration6 seconds
Motion ControlPrompt-based control over subject motion, camera movement, and scene evolution
Output StyleStylized short videos, cinematic concept clips, lightweight motion storytelling

Sample Prompts

  1. A cinematic push-in shot as the subject slowly turns toward the camera, soft natural motion, subtle background movement, realistic lighting, polished commercial style
  2. A premium product on a clean tabletop, slow orbit camera movement, soft reflections, minimal background, elegant advertising look
  3. A character standing in a neon-lit street, slight hair and clothing motion, gentle forward camera move, atmospheric futuristic mood

💰 Pricing

ResolutionPrice per SecondInput Image Fee5s Example
480p$0.08$0.01 / image$0.41
720p$0.14$0.01 / image$0.71

Billing Rules

RuleDetails
Pricing modelLinear pricing based on output duration
Duration billingRounded up to the next whole second
Minimum billed Duration1 second
Maximum billed Duration15 seconds
Additional chargeEach 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
Image to VideoWaveSpeed

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.

from $0.150 / per run
Vidu Q3 Image To Video
Image to VideoVidu

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.

from $0.750 / per run
Pixverse V6 Reference to Video
Image to VideoPixVerse

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.

from $0.180 / per run
Pixverse V6 Image to Video
Image to VideoPixVerse

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.

from $0.180 / per run
Pixverse V5 T2V
Image to VideoPixVerse

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.

from $0.230 / per run
Pixverse V5 I2V
Image to VideoPixVerse

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.

from $0.230 / per run
Pixverse V5.6 Text to Video
Image to VideoPixVerse

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.

from $0.180 / per run
Pixverse V5.6 Image to Video
Image to VideoPixVerse

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.

from $0.180 / per run