Модели / Видео / Grok Imagine Video 1.5
Grok Imagine Video 1.5 API
- 480p
- $0.014/с
Grok Imagine Video 1.5 costs $0.014 per second on FlowAPI (480p), so a 5-second clip costs $0.07; you call it with model id xai/grok-imagine-video-1.5 through one REST endpoint or the MCP server, and failed jobs are refunded in full.
xai/grok-imagine-video-1.5xAIВидеоОнлайн| Спецификация | Цена (USD) | Единица | $0.5 пробный |
|---|---|---|---|
| 480p | $0.014 | за секунду | Да |
Parameters
| Parameter | Values | Default | Note |
|---|---|---|---|
resolution |
480p | 480p | Selects the price row. |
duration |
1–60 (integer seconds) | required | Price × seconds. |
Input modes (input.type): text, image, reference. See video generation for references and roles.
Code
cURL
curl https://useflowapi.com/v1/generations \
-H "Authorization: Bearer $FLOWAPI_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: grok-imagine-video-1-5-1" \
-d '{"model":"xai/grok-imagine-video-1.5","input":{"type":"text","prompt":"A paper boat drifting down a stream"},"parameters":{"resolution":"480p","duration":5}}'
TypeScript (fetch, Node 18+)
const res = await fetch('https://useflowapi.com/v1/generations', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.FLOWAPI_KEY}`,
'Content-Type': 'application/json',
'Idempotency-Key': 'grok-imagine-video-1-5-1',
},
body: JSON.stringify({
"model": "xai/grok-imagine-video-1.5",
"input": {
"type": "text",
"prompt": "A paper boat drifting down a stream"
},
"parameters": {
"resolution": "480p",
"duration": 5
}
}),
});
const job = await res.json();
console.log(job.id, job.status, job.price.amount);
Python (requests)
import os, requests
res = requests.post(
"https://useflowapi.com/v1/generations",
headers={
"Authorization": f"Bearer {os.environ['FLOWAPI_KEY']}",
"Idempotency-Key": "grok-imagine-video-1-5-1",
},
json={
"model": "xai/grok-imagine-video-1.5",
"input": {
"type": "text",
"prompt": "A paper boat drifting down a stream"
},
"parameters": {
"resolution": "480p",
"duration": 5
}
},
)
job = res.json()
print(job["id"], job["status"], job["price"]["amount"])
Check the price first with POST /v1/quotes (same body, never charges). Then poll GET /v1/jobs/{id} (async jobs).
Use it from an AI agent
Add the FlowAPI MCP server to Claude, Cursor or any MCP client and ask for a video with xai/grok-imagine-video-1.5.
About this page
Grok Imagine Video 1.5 is made by xAI. FlowAPI is an independent API service and is not affiliated with or endorsed by xAI. Prices on this page are read from FlowAPI's live price table.
Вопросы и ответы
- How much does the Grok Imagine Video 1.5 API cost?
- Grok Imagine Video 1.5 costs $0.014 per second at 480p on FlowAPI, so a 5-second clip costs $0.07.
- Is FlowAPI the official Grok Imagine Video 1.5 API?
- No. FlowAPI is an independent API service, not affiliated with xAI, that runs Grok Imagine Video 1.5 for you at a flat price.
- Are failed Grok Imagine Video 1.5 jobs refunded?
- Yes. A failed, timed-out or cancelled job is refunded in full automatically.
- How long can a Grok Imagine Video 1.5 video be?
- A request sets parameters.duration from 1 to 60 seconds, the price is per second, and lengths the model rejects are refused before any charge.