$0.015 per image, edits included — one OpenAI-compatible endpoint at
https://api.apimart.ai/v1, no monthly plan required. (observed 2026-09-17)
Get an API key · Live pricing · Model page · ⚡ 60-second quickstart
Why teams call Grok Imagine 1.5 (grok-imagine-1.5-apimart) through APIMart
- One key, entire catalog. The same
https://api.apimart.ai/v1base URL andAuthorizationheader reach Grok Imagine 1.5 (grok-imagine-1.5-apimart) and 300+ other image, video and language models — switch themodelfield, not your client. - $1 minimum, pay as you go. No subscription and no prepaid plan to size up front: top up from $1 and spend it on calls. There is no free quota to burn through first, so the price in this table is the price you pay.
- The charge comes back in the response. Every call reports the amount billed (
cost/credits_cost), so a spend number is read per call instead of guessed at month end. - Async by design. Submit, take the
task_id, pollGET /v1/tasks/{id}— batching and retries are ordinary queue work, not a bespoke integration.
Six Grok Imagine API recipes with the output each one produced, the aspect ratio, the measured cost per image, and the request shape for both text-to-image and reference-based editing.
- Model:
grok-imagine-1.5-apimart - Recipes: 6 (machine-readable in
data/prompts.json, table inPROMPTS.md) - Measured cost of the whole set: $0.09
Grok Imagine responds well to scene-first prompts: describe the world, then the camera. Across the recipes here, three patterns did the work:
- World before subject. "Neon-lit underpass, rain on asphalt" before "a motorbike" gives the lighting for free.
- Two colour anchors. Naming a palette pair ("magenta and cyan rim lights", "warm sunset blocks") keeps a series
visually consistent, which matters when you generate variations with
n=10. - State the output use. "Poster", "commercial product photography", "concept art" pull different framing habits out of the model.
| Slot | What to write | Example |
|---|---|---|
| World | environment and weather | neon-lit underpass, rain on asphalt |
| Subject | one hero element | a parked motorbike |
| Light | sources and colour anchors | magenta and cyan rim lights |
| Camera | distance, lens, mood | cinematic still, shallow depth of field |
| Use | what the image is for | poster / product shot / concept art |
Each row is one API call: output, category, ratio, reported cost and the exact prompt.
export APIMART_API_KEY=...
python examples/run_recipes.py --dry-run # list the recipes, no network
python examples/run_recipes.py --limit 2 # generate two of them
python examples/run_recipes.py --category "Food" # filter by categorycurl --request POST --url https://api.apimart.ai/v1/images/generations \
--header "Authorization: Bearer $APIMART_API_KEY" --header 'Content-Type: application/json' \
-d '{"model":"grok-imagine-1.5-apimart","prompt":"<paste a prompt>","size":"1:1","resolution":"1K","n":1}'Result links expire, so store the outputs; the completed task carries cost for reconciliation.
| Spend | Cost |
|---|---|
| 100 images | $1.50 |
| 1000 images | $15.00 |
| 10000 images | $150.00 |
Linear at the observed per-unit rate, no volume discount assumed. Snapshot 2026-09-17; re-check the live table before committing a budget.
| Symptom | Likely cause | Fix |
|---|---|---|
401 / invalid api key |
key missing, truncated, or a stray newline pasted into the header | Re-copy it from the console; the header is Authorization: Bearer $APIMART_API_KEY |
| balance / credit error | the account has no balance | Top up from $1 in the console — there is no free quota to fall back on |
429 |
concurrent requests on one key | Back off, then retry the same request with the same Idempotency-Key |
400 / model not found |
wrong route for the id: the per-unit alias needs its version, the official id must not send one |
Copy the exact model value from the route table above |
task ends failed |
prompt rejected by the filter, or a reference image URL expired | Re-submit with a new Idempotency-Key and re-host the reference image |
| result URL stops working | result links expire | Download the file as soon as the task reports completed |
What is the Grok Imagine model id?
grok-imagine-1.5-apimart (alias grok-imagine-1.5-ext). The same endpoint also documents grok-imagine-image and grok-imagine-image-quality.
Can I get several variations in one call?
Yes — this route accepts n between 1 and 10, so exploring a scene costs one request instead of ten.
How do I edit an existing image?
Send 1–5 publicly reachable image URLs in image_urls and describe what to preserve and what to change. Local files must be uploaded to public storage first.
Are these recipes free to reuse?
The prompt text is MIT licensed; the outputs and any marks inside them are your responsibility, and vendor terms still apply to commercial use.
grok imagine apigrok imagine promptsgrok image apiai image promptsconcept art promptsproduct photography promptscinematic image prompts
Start with $1. Get an API key → check live pricing → open Grok Imagine 1.5 (grok-imagine-1.5-apimart) in the model library. The first call is three steps: submit, poll task_id, read the charged amount off the response.
| Purpose | Attributed link | Target |
|---|---|---|
| Open Grok Imagine on APIMart | https://go.apimart.ai/k-b2e870 | model page |
| Current pricing page | https://go.apimart.ai/k-e1d105 | apimart.ai/pricing |
| Get an API key | https://go.apimart.ai/k-25e43b | apimart.ai/keys |
Outbound APIMart links are minted through the promo link API; hand-made tracking parameters are rejected by
tools/check_links.py in CI.
Grok Imagine is a third-party model served through APIMart. This repository publishes prompts, real outputs and measured costs; it does not claim official status for any vendor, and model names and documentation belong to their owners.
README.md gallery, prompt structure and FAQ
PROMPTS.md every recipe in one table
data/prompts.json machine-readable recipes with measured cost
examples/run_recipes.py batch runner (dry-run safe for CI)
tools/check_links.py attribution guard
assets/ real renders (JPEG, resized for the README)
.github/workflows/ validation
MIT — see LICENSE.





