YepAPI

Command Palette

Search for a command to run...

xAIVideo Generation/v1/media/queue

Grok Imagine Video 1.5

Grok Imagine Video 1.5 from $0.17/sec — 1–15 second clips at up to 1080p through one API key.

xAI's latest video model. Clips from 1 to 15 seconds at 480p, 720p, or 1080p with first-frame image-to-video — from $0.17 per second.

No credit card required. Takes 30 seconds.

2,400+

Developers

1.2M+

API calls served

100+

Endpoints

$0.01

Per call

Yep, that's it.

Try it live

Enter a prompt and generate a video with Grok Imagine Video 1.5.

POST/v1/media/queue

Drop image or click to upload

For image-to-video (first/last frame)

Response
Hit "Send Request" to see the response

Pricing

Per-second: from $0.17/sec (480p), $0.30/sec (720p), $0.53/sec (1080p)

Endpoint

/v1/media/queue

Strengths

Three resolution tiers

480p, 720p, and 1080p with per-second pricing that scales, so you pay draft rates while iterating.

1–15 second clips

Fifteen duration options — the finest length control of any video model in the catalog.

Image-to-video

Pass a first frame and Grok Imagine animates from it.

Expressive motion

Grok Imagine's stylized character carries into video, giving output a distinct look versus more literal models.

Quick start

Copy this snippet and start making calls with Grok Imagine Video 1.5.

// Step 1: Submit job
const res = await fetch('https://api.yepapi.com/v1/media/queue', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "model": "x-ai/grok-imagine-video-1.5",
    "prompt": "A vintage motorcycle kicking up dust along a ridge road at sunset, low chase camera, long shadows raking across the gravel, warm amber haze",
    "options": {
      "aspectRatio": "16:9",
      "resolution": "1080p",
      "duration": "6"
    }
  }),
});
const { data } = await res.json();
const jobId = data.jobId;

// Step 2: Poll for result
const status = await fetch(`https://api.yepapi.com/v1/media/status/${jobId}`, {
  headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status: "pending" | "processing" | "completed" | "failed"
// job.result: { text?, image?, audio?, video? }

Why use Grok Imagine Video 1.5 through YepAPI?

One API key for all models — no separate accounts
No monthly minimums — pay per call
Switch models with one line of code
Simple REST API — works from any language
Unified billing across all providers
No rate limits for most use cases

Grok Imagine Video 1.5 API — xAI video from $0.17/sec

Grok Imagine Video 1.5 is xAI's current video generation model, offering 480p, 720p, and 1080p output and clip lengths anywhere from 1 to 15 seconds, with first-frame image-to-video.

Because per-second pricing scales with resolution on YepAPI, you can draft at 480p for $0.17/sec and re-render the keeper at 1080p — same prompt, same endpoint.

Start generating in 30 seconds

$5 free credit on signup. No credit card required. Pay per call.

What developers say

Switched from SerpAPI and cut our SERP costs by 80%. Same data quality, way simpler billing.

Marcus T.

SEO Platform Founder

One API key for AI models, SERP data, and web scraping. Saved us from managing 4 separate providers.

Priya S.

Full-Stack Developer

The $5 free credit let us prototype our entire rank tracking feature before committing. No other API does that.

Jake R.

Indie Hacker

Frequently asked questions

xAI's latest video model. Clips from 1 to 15 seconds at 480p, 720p, or 1080p with first-frame image-to-video — from $0.17 per second.

Pricing for Grok Imagine Video 1.5 through YepAPI is based on usage. No monthly minimums — you only pay for what you use.

Sign up for a free API key, then send requests to the /v1/media/queue endpoint.

Ready to use Grok Imagine Video 1.5?

$5 free credit on signup. No credit card required. Pay per call.

Explore more models