Create hero-grade cinematic images with Grok Imagine Quality Text to Image, thirteen ratios, 1k/2k tiers, real API examples, and quickstart code.
Provider: Grok
Category: image generation
Endpoint: /v1/tasks
Status: Available
Cost: See live page pricing
Create hero-grade cinematic images with Grok Imagine Quality Text to Image, thirteen ratios, 1k/2k tiers, real API examples, and quickstart code.
Pricing
Standard Usage
Choose the output image file format
Ready for generation
Configure your parameters and click "Run" to see the output here.
Browse real API results across different aspect ratios, complete prompts, and visual detail.
Choose an adjacent model by task, output tier, and reference-image needs.
Create hero-grade cinematic images with Grok Imagine Quality Text to Image, thirteen ratios, 1k/2k tiers, real API examples, and quickstart code.
The Playground and API use the same model ID: grok-imagine-quality/text-to-image. This endpoint accepts text prompts only; reference-image editing uses the separate Image-to-Image route.
These specifications reflect the current Grok Imagine Quality Text to Image request contract.
Final cost depends on the output tier and input add-ons. Check the live page price and task record for the final charge.
Choose the destination and aspect ratio before composing subject, scene, material, light, and text.
Copy a minimal request below. See Docs for parameters, callbacks, task retrieval, and errors.
POST /v1/tasksgrok-imagine-quality/text-to-imagecurl -X POST https://api.hiapi.ai/v1/tasks \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-quality/text-to-image",
"input": {
"prompt": "A cinematic product campaign with sharp text",
"aspect_ratio": "1:1",
"resolution": "1k",
"output_format": "jpeg"
}
}'The create request immediately returns a taskId; image generation continues asynchronously.
Hero images, covers, campaign concepts, and high-quality scenes that need richer material, light, atmosphere, and detail.
1k and 2k use separate per-image tiers. Ratio and output format do not add another fee; see the live page price for the current amounts.
Standard is better for volume drafts and speed. Choose Quality when final-image material and detail matter more.
The text-to-image route does not. Use grok-imagine-quality/image-to-image for quality-tier editing.
Keep prompt, ratio, and format fixed, change only resolution, and save both 1k and 2k outputs.
Start with the subject, environment, and visual goal, then add material, light, camera, and exact text.
Draft
1k
Final
2k
Choose one of thirteen ratios, 1k or 2k output, and JPEG, PNG, or WebP format.
Confirm the result in Playground, then reuse the same prompt and model ID in an asynchronous task.