grok-imagine-videodefaultcheapestGrok Imagine Video API — how to connect and pay
Grok Imagine Video (xAI) — T2V and I2V. Versions 1.0 (separate T2V/I2V slugs) and 1.5 preview. Price per second by resolution (Pixel model-pricing 2026-08-03): 480p=2.4, 720p=4.5, 1080p=8 credits/s (1080p 1.0 only; 480p/720p confirmed for 1.5). Spicy mode unavailable for I2V (external images); at 1080p I2V accepts only one image.
Channel comparison
last 7 days
grok-imagine-video:white| Channel | Price |
|---|---|
Pixel grok-imagine-videodefaultcheapest | from $0.015429 / s |
White grok-imagine-video:white | from $0.015429 / s |
Build the result you need
grok-imagine-videoWhat is Grok Imagine Video
Grok Imagine Video (xAI) — T2V and I2V. Versions 1.0 (separate T2V/I2V slugs) and 1.5 preview. Price per second by resolution (Pixel model-pricing 2026-08-03): 480p=2.4, 720p=4.5, 1080p=8 credits/s (1080p 1.0 only; 480p/720p confirmed for 1.5). Spicy mode unavailable for I2V (external images); at 1080p I2V accepts only one image.
Contract at a glance
- Input
- text, image
- Output
- video
- Mode
- async (job + polling)
- Status polling
- every 3 s · up to 600 s
Strengths
- Pricing: per second
- Inputs: text, image
- 2 configurable options
- One API key for media generation
Where it is used
- Social media clips
- Promos and title sequences
- Still-image animation
- Storyboards and animatics
API contract
Generation runs asynchronously: create a job, then poll its status until completion.
- Create job
- POST /api/media/generate
- Check status
- GET /api/media/jobs/{jobId}
- Input
- text, image
- Output
- video
- Polling
- every 3 s · up to 600 s
- Authentication
- Authorization: Bearer sk-pv-…
Example request
Pass your key in the Bearer header. The API returns jobId for polling the status.
curl -sS https://getvibeapi.com/api/media/generate \
-H "Authorization: Bearer $GETVIBE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary '{"model":"grok-imagine-video","prompt":"a beautiful landscape","opts":{"version":"1.0","input":"text-to-video","mode":"normal","aspect_ratio":"16:9","resolution":"720p","duration":"6"}}'JavaScript
const response = await fetch('https://getvibeapi.com/api/media/generate', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.GETVIBE_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"model": "grok-imagine-video",
"prompt": "a beautiful landscape",
"opts": {
"version": "1.0",
"input": "text-to-video",
"mode": "normal",
"aspect_ratio": "16:9",
"resolution": "720p",
"duration": "6"
}
}),
});
if (!response.ok) throw new Error(`GetVibe API: ${response.status}`);
const { jobId } = await response.json();
console.log(jobId);API request parameters
Parameters for requests to Grok Imagine Video via the GetVibe API.
promptreq.image_urlversioninputmodeaspect_ratioresolutiondurationfirst_frame_urllast_frame_urlloop_urlimage_file_idimage_base64keyframesfirst_frame_file_idlast_frame_file_id| Parameter | Type | Values | Default | Price |
|---|---|---|---|---|
promptreq. | text | text description | required | — |
image_url | URL | Public image URL | — | — |
version | option selection | 1.0 (default) · 1.5 | 1.0 | Included in the base price |
input | option selection | Text → video (default) · Image → video | Text → video | Included in the base price |
mode | option selection | Normal (balanced) (default) · Fun (playful) · Spicy (dynamic) | Normal (balanced) | Included in the base price |
aspect_ratio | option selection | 16:9 (default) · 9:16 · 1:1 | 16:9 | Included in the base price |
resolution | option selection | 480p · 720p (default) · 1080p | 720p | 480p: $0.015429/s, 720p: $0.028929/s, 1080p: $0.051429/s |
duration | option selection | 6 (default) · 10 | 6 | 6: $0.028929/s, 10: $0.028929/s |
first_frame_url | text / number | any value | — | Included in the base price |
last_frame_url | text / number | any value | — | Included in the base price |
loop_url | text / number | any value | — | Included in the base price |
image_file_id | text | Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
image_base64 | text | Alternative to image_url: the file inline, as base64 or a data: URI | — | Included in the base price |
keyframes | Array<objects>, 1–4 items | object: url, timestamp_s | — | Included in the base price |
first_frame_file_id | text | Alternative to first_frame_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
last_frame_file_id | text | Alternative to last_frame_url: the id of your own file from POST /v1/files (file-pv-…) | — | Included in the base price |
Request: POST https://getvibeapi.com/api/media/generate. Prices in USD.
Price of Grok Imagine Video
The cost of Grok Imagine Video: from $0.015429 per second. The price is calculated dynamically at the current exchange rate, and the final charge is shown in the API response (priceRub). Payment in USD, no subscriptions.
What a default request costs
With no parameters sent, the request uses these values: Duration — 6, Resolution — 720p, Model version — 1.0, Source material — Text → video. That request costs $0.173571.
“from $0.015429” is the cheapest parameter set, not the price of a default request.
Channels and prices for every parameter combination
For every channel, the price of every parameter combination. It is exactly the amount a successful generation is charged, and the same figure as in the machine-readable table linked below.
Pixelgrok-imagine-videofrom $0.015429 / sexact prices
| Version \ Resolution | 480p | 720p | 1080p |
|---|---|---|---|
| 1.0 | $0.015429 / s | $0.028929 / s | $0.051428–$0.051429 / s |
| 1.5 | $0.015429 / s | $0.028929 / s | — |
Every combination as JSON: /api/media/price-table?model=grok-imagine-video
Whitegrok-imagine-video:whitefrom $0.015429 / sexact prices
| Version \ Resolution | 480p | 720p |
|---|---|---|
| 1.5 | $0.015429 / s | $0.028929 / s |
Every combination as JSON: /api/media/price-table?model=grok-imagine-video%3Awhite
README
The machine-readable contract for Grok Imagine Video contains the request schema, operations, limits, polling and response examples.
# Grok Imagine Video
Public model: grok-imagine-video
Create job: POST /api/media/generate
Check status: GET /api/media/jobs/{jobId}
## Input parameters
- `prompt` (text): text description; default: required
- `image_url` (URL): Public image URL; default: —
- `version` (option selection): 1.0 (default) · 1.5; default: 1.0
- `input` (option selection): Text → video (default) · Image → video; default: Text → video
- `mode` (option selection): Normal (balanced) (default) · Fun (playful) · Spicy (dynamic); default: Normal (balanced)
- `aspect_ratio` (option selection): 16:9 (default) · 9:16 · 1:1; default: 16:9
- `resolution` (option selection): 480p · 720p (default) · 1080p; default: 720p
- `duration` (option selection): 6 (default) · 10; default: 6
- `first_frame_url` (text / number): any value; default: —
- `last_frame_url` (text / number): any value; default: —
- `loop_url` (text / number): any value; default: —
- `image_file_id` (text): Alternative to image_url: the id of your own file from POST /v1/files (file-pv-…); default: —
- `image_base64` (text): Alternative to image_url: the file inline, as base64 or a data: URI; default: —
- `keyframes` (Array<objects>, 1–4 items): object: url, timestamp_s; default: —
- `first_frame_file_id` (text): Alternative to first_frame_url: the id of your own file from POST /v1/files (file-pv-…); default: —
- `last_frame_file_id` (text): Alternative to last_frame_url: the id of your own file from POST /v1/files (file-pv-…); default: —
## Public variants
- `grok-imagine-video`: Pixel
- `grok-imagine-video:white`: WhiteFAQ about the Grok Imagine Video API
How much does Grok Imagine Video cost?
The price of Grok Imagine Video: from $0.015429 per second. The price is calculated dynamically at the current exchange rate.
Is it compatible with the OpenAI SDK?
Yes, the API is fully OpenAI-compatible. Just change base_url to https://getvibeapi.com/v1 and set your key — the rest of the code stays the same.
Connect Grok Imagine Video right now
Sign up in a minute, pay per use, ready-made code above.
Get API key