grok-imagine-extenddefaultGrok Imagine Extend API — how to connect and pay
Grok Imagine Video Extend — continue a clip generated on Pixel (external videos are not accepted). Priced per clip on two axes: extension length (6 or 10 s) and the source clip's resolution.
Channel comparison
last 7 days
| Channel | Price |
|---|---|
Pixel grok-imagine-extenddefault | from $0.092571 per clip |
Build the result you need
grok-imagine-extendWhat is Grok Imagine Extend
Grok Imagine Video Extend — continue a clip generated on Pixel (external videos are not accepted). Priced per clip on two axes: extension length (6 or 10 s) and the source clip's resolution.
Contract at a glance
- Input
- text, video
- Output
- video
- Mode
- async (job + polling)
- Status polling
- every 3 s · up to 600 s
Strengths
- Pricing: per clip
- Inputs: text, video
- 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, video
- 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-extend","prompt":"a beautiful landscape","opts":{"task_id":"example","extend_times":"6","source_resolution":"720p"}}'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-extend",
"prompt": "a beautiful landscape",
"opts": {
"task_id": "example",
"extend_times": "6",
"source_resolution": "720p"
}
}),
});
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 Extend via the GetVibe API.
promptreq.video_urltask_idreq.extend_timessource_resolutionextend_at| Parameter | Type | Values | Default | Price |
|---|---|---|---|---|
promptreq. | text | text description | required | — |
video_url | URL | Public video URL | — | — |
task_idreq. | text / number | any value | — | Included in the base price |
extend_times | option selection | 6 (default) · 10 | 6 | 6: $0.173571, 10: $0.289286 |
source_resolution | option selection | 480p · 720p (default) | 720p | 480p: $0.092571, 720p: $0.173571 |
extend_at | text / number | any value | — | Included in the base price |
Request: POST https://getvibeapi.com/api/media/generate. Prices in USD.
Price of Grok Imagine Extend
The cost of Grok Imagine Extend: from $0.092571 per clip. 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: Extension length, seconds — 6, Source video resolution (for the tariff) — 720p. That request costs $0.173571.
“from $0.092571” 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-extendfrom $0.092571exact prices
| Extension length, seconds \ Source video resolution (for the tariff) | 480p | 720p |
|---|---|---|
| 6 | $0.092571 | $0.173571 |
| 10 | $0.154286 | $0.289286 |
Every combination as JSON: /api/media/price-table?model=grok-imagine-extend
README
The machine-readable contract for Grok Imagine Extend contains the request schema, operations, limits, polling and response examples.
# Grok Imagine Extend
Public model: grok-imagine-extend
Create job: POST /api/media/generate
Check status: GET /api/media/jobs/{jobId}
## Input parameters
- `prompt` (text): text description; default: required
- `video_url` (URL): Public video URL; default: —
- `task_id` (text / number): any value; default: —
- `extend_times` (option selection): 6 (default) · 10; default: 6
- `source_resolution` (option selection): 480p · 720p (default); default: 720p
- `extend_at` (text / number): any value; default: —
## Public variants
- `grok-imagine-extend`: PixelFAQ about the Grok Imagine Extend API
How much does Grok Imagine Extend cost?
The price of Grok Imagine Extend: from $0.092571 per clip. 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 Extend right now
Sign up in a minute, pay per use, ready-made code above.
Get API key