promptreq.Grok Imagine 2.0 EXT API — how to connect and pay
Grok Imagine 2.0 region edit — temporarily unavailable.
Build the result you need
grok-imagine-2.0-ext:whiteThis model only publishes its minimum price in the catalog.
What is Grok Imagine 2.0 EXT
Grok Imagine 2.0 region edit — temporarily unavailable.
Contract at a glance
- Input
- text, image
- Output
- image
- Mode
- async (job + polling)
- Status polling
- every 3 s · up to 90 s
Strengths
- Pricing: per image
- Inputs: text, image
- 2 configurable options
- One API key for media generation
Where it is used
- Article and social media illustrations
- Product images
- Banners and covers
- Design prototypes
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
- image
- Polling
- every 3 s · up to 90 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-2.0-ext:white","prompt":"a beautiful landscape","opts":{"mode":"region_edit","image_url":"https://example.com/image_url.png","resolution":"1K"}}'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-2.0-ext:white",
"prompt": "a beautiful landscape",
"opts": {
"mode": "region_edit",
"image_url": "https://example.com/image_url.png",
"resolution": "1K"
}
}),
});
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 2.0 EXT via the GetVibe API.
image_urlmoderesolutionimage_file_idimage_base64| Parameter | Type | Values | Default | Price |
|---|---|---|---|---|
promptreq. | text | text description | required | — |
image_url | URL | Public image URL | — | — |
mode | option selection | Region edit (default) | Region edit | Included in the base price |
resolution | option selection | 1K (default) · 2K | 1K | 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 |
Request: POST https://getvibeapi.com/api/media/generate. Prices in USD.
Price of Grok Imagine 2.0 EXT
The price of Grok Imagine 2.0 EXT is being confirmed: the provider has not yet published an initially confirmed price for this contract. Generation will be available once the price is confirmed.
README
The machine-readable contract for Grok Imagine 2.0 EXT contains the request schema, operations, limits, polling and response examples.
# Grok Imagine 2.0 EXT
Public model: grok-imagine-2.0-ext:white
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: —
- `mode` (option selection): Region edit (default); default: Region edit
- `resolution` (option selection): 1K (default) · 2K; default: 1K
- `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: —
## Public variants
- `grok-imagine-2.0-ext:white`: defaultFAQ about the Grok Imagine 2.0 EXT API
How much does Grok Imagine 2.0 EXT cost?
The price of Grok Imagine 2.0 EXT: on request. 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 2.0 EXT right now
Sign up in a minute, pay per use, ready-made code above.
Get API key