HiAPI
OverviewModels MarketAPI KeysUsage StatisticsCall LogsBillingReferralPlaygroundStorageChangelogContact UsSettings
Display unit
N
Powered by hiapi
Settings

Welcome

Contact Us

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

Back to Models

Grok Imagine Quality Text to Image

New
by GrokImage

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

140 Credits/ image

Input

0 / 8000

More parameters

Generation settings

Choose the output image file format

Estimated cost140 Credits / image1K

Output

Ready for generation

Configure your parameters and click "Run" to see the output here.

--GPU-T4

From product campaigns to detailed scenes

Browse real API results across different aspect ratios, complete prompts, and visual detail.

Related image models

Choose an adjacent model by task, output tier, and reference-image needs.

Faster standard tier

Grok Imagine

Use the standard route for lower-cost ideation and volume generation.

Reference editing

Grok Imagine Image to Image

Use up to three reference images for seasonal, material, and scene transformations.

Campaign-grade image generation

Seedream 5.0 Pro

Compare multilingual text, commercial composition, and 1K/2K output.

Compare AI image APIs

About Grok Imagine Quality Text to Image

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.

Provider
Grok
Task
Text-to-Image
References
Not supported
Pricing
140 Credits / image

Model specifications

These specifications reflect the current Grok Imagine Quality Text to Image request contract.

Reference images
Not supported
Output resolution
1k2k
Aspect ratios
2:120:919.5:916:94:33:21:12:33:49:169:19.59:201:2
Output formats
JPEGPNGWEBP
Prompt length
1-8000 characters
Pricing
1K: 140 Credits / image2K: 200 Credits / image

Final cost depends on the output tier and input add-ons. Check the live page price and task record for the final charge.

How to use Grok Imagine Quality Text to Image

Choose the destination and aspect ratio before composing subject, scene, material, light, and text.

Subject
Scene
Camera and light
01

API Quickstart

Copy a minimal request below. See Docs for parameters, callbacks, task retrieval, and errors.

Endpoint
POST /v1/tasks
Model ID
grok-imagine-quality/text-to-image
cURL
curl -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.

Read the full API documentation

Frequently asked questions

What is Grok Imagine Quality best for?

Hero images, covers, campaign concepts, and high-quality scenes that need richer material, light, atmosphere, and detail.

How are 1k and 2k billed?

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.

Why not always use the standard tier?

Standard is better for volume drafts and speed. Choose Quality when final-image material and detail matter more.

Does it accept reference images?

The text-to-image route does not. Use grok-imagine-quality/image-to-image for quality-tier editing.

How do I compare resolutions fairly?

Keep prompt, ratio, and format fixed, change only resolution, and save both 1k and 2k outputs.

Describe subject and scene

Start with the subject, environment, and visual goal, then add material, light, camera, and exact text.

Draft

1k

Final

2k

02

Choose output settings

Choose one of thirteen ratios, 1k or 2k output, and JPEG, PNG, or WebP format.

Playground
POST /v1/tasks
03

Validate before integration

Confirm the result in Playground, then reuse the same prompt and model ID in an asynchronous task.