xAI Grok Imagine Image 2.0 text-to-image: generate images with low or medium quality, 1k/2k resolution, and flexible square-to-ultrawide aspect ratios.
Provider: Grok
Category: image generation
Endpoint: /v1/tasks
Status: Available
Cost: See live page pricing
grok-imagine-image-2.0/text-to-image
xAI Grok Imagine Image 2.0 text-to-image: generate images with low or medium quality, 1k/2k resolution, and flexible square-to-ultrawide aspect ratios.
Pricing
Standard Usage
API docs and integration resources
Find model parameters, request examples, callbacks, and result handling, then check pricing or manage your API keys to start building.
grok-imagine-image-2.0/text-to-image API docs
Parameters, examples, callbacks, and result handling
Compare AI image APIs
Model choice, cost controls, and workflow guidance
View live pricing
Check the latest pay-as-you-go rates for each model
Manage API keys
View, copy, or create a key for calls from your backend
Input
Output
Ready for generation
Configure your parameters and click "Run" to see the output here.
Frequently asked questions
What is the grok-imagine-image-2.0/text-to-image API?
The grok-imagine-image-2.0/text-to-image API is a image generation endpoint available through one HiAPI API key.
How is the grok-imagine-image-2.0/text-to-image API priced?
grok-imagine-image-2.0/text-to-image API uses usage-based pricing. This page includes pricing, parameters, examples, and integration code.
Does grok-imagine-image-2.0/text-to-image API support Playground testing?
Yes. You can test grok-imagine-image-2.0/text-to-image in the HiAPI Playground, then copy examples into your backend service.