← Back
bx0idu7sqebwpgu8

bx0idu7sqebwpgu8/grokimagine2.0-grok-imagine-2.0-prompts

grok-imagine-2.0 API (grokimagine2.0 / grok imagine 2.0): upload-image $0; default $0.015; region-edit $0.015. Model id, prompts settings, curl and Python examples over an OpenAI-c

View on GitHub ↗https://go.apimart.ai/k-2a0595 ↗
api-docsapimartgrok-imagine-2-0grok-imagine-2-0-apigrok-imagine-2-0-promptsgrokimagine2-0grokimagine2-0-apiopenai-compatiblepay-as-you-goper-image-pricingpromptstext-to-image
Stars
89
Forks
0
Watchers
89
Open issues
0
Contributors
1
Language
Shell
License
Other
Default branch
main
Created Sep 24, 2026Updated Sep 24, 2026

Star growth

Today—
This week—
This month—

Star history will appear here once this repo has been tracked for a couple of days.

README

Grok Imagine 2.0 API (grok-imagine-2.0 / grokimagine2.0) — prompts guide with published pricing

upload-image $0; default $0.015; region-edit $0.015 — flat per-unit billing through the OpenAI-compatible APIMart gateway, $1 minimum top-up.

Live pricing · Get an API key

Everything here refers to grok-imagine-2.0 — also written grokimagine2.0 or grok imagine 2.0.

Pricing (observed, snapshot 2026-09-24)

Tier Price
upload-image $0
default $0.015
region-edit $0.015

Cost at scale

Volume Cost
100 $0
1,000 $0

How to call it

curl --request POST --url https://api.apimart.ai/v1/images/generations \
  --header "Authorization: Bearer $APIMART_API_KEY" --header 'Content-Type: application/json' \
  --data '{"model":"grok-imagine-2.0-ext","prompt":"a modern cliffside villa at dusk","size":"16:9","n":1}'

Submit, keep the task_id, poll GET /v1/tasks/{id} until completed; the response carries the URL and the exact amount charged.

Disclosure

Documents access through APIMart, a third-party API gateway; not affiliated with the model vendor.