# Grok Imagine Image Quality on Eden Gen > Grok Imagine Image Quality is SpaceXAI's fast, high-fidelity image generation and editing model. It accepts text prompts and optional reference images, producing photorealistic out - Model id: `grok-imagine-image-quality` - Kind: image - Maker: X Ai - Best for: image - Use for: Grok Imagine Image Quality is SpaceXAI's fast, high-fidelity image generation and editing model. It accepts text prompts and optional reference images, producing photorealistic outputs at 1K or 2K across a... - Speed: standard - Features: Text to image ## Pricing - 1K: $0.054 per image - 2K: $0.076 per image Example: four images at 1K cost $0.216. Prices are for the Solo plan on the best connected route today. POST /v1/estimate returns the exact price for your workspace before a take; that is the price charged. Failed or blocked takes are refunded automatically. Prepaid credit expires 6 months after purchase and is not refundable. ## Parameters - `resolution`: "1K", "2K" (default "1K") - `aspect_ratio`: "16:9", "21:9", "2:3", "1:1", "4:5" - `count`: 1, 2 or 4 takes per run - `references`: no references. Each item is `{ "asset_id" | "url" | "take_id" | "element_id", "role": "reference" }`. - `project_id`: the project the cost lands on (defaults to the key's project, then the newest one). - `webhook_url`, `metadata`: optional. - `tags`: up to 10 labels for usage reports, e.g. `{ "client": "acme", "campaign": "q4" }` (or header `X-Takes-Tags: client=acme,campaign=q4`). Unsupported values return HTTP 400 with `param` and `supported` in the error, so you can correct and resend. ## Call it ```bash curl -X POST https://edengen.ai/v1/takes \ -H "Authorization: Bearer $TAKES_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -H "Prefer: wait=60" \ -d '{"model":"grok-imagine-image-quality","prompt":"Product hero shot on wet black stone, low key light, 35 mm","resolution":"1K","aspect_ratio":"16:9"}' ``` Check the price first with `POST https://edengen.ai/v1/estimate` (same body). Poll `GET https://edengen.ai/v1/takes/{id}` or pass `webhook_url`. Never resend a create to check progress: a new request is a new paid take unless it carries the same Idempotency-Key. ## More - All models: https://edengen.ai/llms.txt - OpenAPI: https://edengen.ai/v1/openapi.json - MCP server (OAuth, no key needed): https://edengen.ai/mcp