# Grok Imagine Image Quality - Core.Today AI API > xAI's highest-fidelity Grok Imagine image model, served over the direct xAI API. Best output quality in the Grok Imagine family for detailed, polished renders. - **Provider**: xAI - **Model ID**: xai/grok-imagine-image-quality - **Category**: Image Generation - **Credits**: 120 per image - **Speed**: Medium - **Quality**: Ultra ## Features - Highest output quality in the Grok Imagine family - Up to 10 images per request (billed per image) - 14 aspect ratio presets plus auto - 1k / 2k output resolution tiers (2k billed higher) ## Use Cases - Hero images and key visuals where fidelity matters most - Product photography style renders - Final-quality art after iterating on cheaper tiers ## API Endpoint Base URL: https://api.core.today/v1 Create Prediction: POST /predictions Get Status: GET /predictions/{job_id} ## Authentication Header: X-API-Key: YOUR_API_KEY ## Input Parameters ### Required - **prompt**: string - Text prompt for image generation. ### Optional - **n**: integer (default: 1) - Number of images to generate (1-10). Billed per image. - **aspect_ratio**: string (default: auto) - Aspect ratio of the generated image. Options: auto, 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 2:1, 1:2, 19.5:9, 9:19.5, 20:9, 9:20 - **resolution**: string - Output resolution tier. 2k is billed at a higher rate; omitted defaults to 1k. Options: 1k, 2k ## Examples ### Product Shot Ultra-detailed studio product photograph ```json { "model": "xai/grok-imagine-image-quality", "input": { "prompt": "An ultra-detailed studio photograph of a vintage mechanical watch on dark velvet, macro lens, dramatic side lighting", "aspect_ratio": "3:2", "resolution": "2k" } } ``` ## Response Format ```json { "job_id": "abc123", "status": "pending | processing | completed | failed", "result": "URL or data (when completed)" } ``` ## Usage Flow 1. POST /predictions with model and input -> receive job_id 2. GET /predictions/{job_id} -> poll until status is completed or failed 3. Result contains output URL(s) ## Tips - Iterate on grok-imagine-image (cheaper) first, then re-run the winning prompt here - For editing an existing image, use xai/grok-imagine-image-quality/edit - Upstream is limited to 5 requests/second for this model - batch with n instead of parallel calls