- Published: September 3, 2026
- Last verified: September 3, 2026
- Current status: Active; text-to-image and three-reference editing were verified on the public API domain
grok-imagine-image-2.0. The current price is $0.055 per successfully returned image. Text-to-image supports 1K/2K, Low/Medium, 15 fixed aspect ratios, and up to 10 outputs per request. Image editing accepts one to three reference files through an OpenAI-compatible multipart endpoint.
The exact model ID is
grok-imagine-image-2.0, including the final .0. The legacy grok-imagine-image and grok-imagine-image-quality models remain available, and existing calls do not need to migrate immediately.Key facts
Who should care
- Developers who want a lower price than xAI’s current highest text-to-image tier;
- Content, advertising, and commerce apps that need 1K/2K, Low/Medium, and varied landscape or portrait layouts;
- Workflows that combine a subject, scene, and style from two or three references;
- Teams using the OpenAI Python SDK that want to change the Base URL, API key, and model ID.
seed, or arbitrary pixel dimensions should not migrate directly.
What to do
1
Confirm the model and price
Open model pricing, verify that the token can see
grok-imagine-image-2.0, and confirm that the current price remains $0.055.2
Generate one image first
Start with
n=1, 1K, and Low. Download the image and inspect its actual dimensions, content, and call record.3
Add only the parameters you need
Test the exact 2K, Medium, aspect ratio, batch count, or reference-editing combination used in production instead of starting at maximum batch size.
Three-reference editing
Repeatimage[] for multiple files:
api2.laozhang.ai returned a decodable 1248×832 JPEG and confirmed that all three reference subjects affected the result.
Pricing and billing
Billing is per successful output image, not per HTTP request:
LaoZhang currently uses the same public price for 1K/2K and Low/Medium. Pricing may change with service costs. Recheck the console before large batches and use call records as the final billing source. General service and billing rules are governed by the Terms.
Known boundaries
quality="high"is not allowed and should be rejected by the client;resolution="4k"is not supported;- four- and five-reference editing is not supported;
- xAI JSON image-editing requests are not currently supported;
- URL outputs are temporary and should be downloaded promptly;
- Medium and 2K can take substantially longer than 1K Low, so use a 180-second production hard timeout.
Frequently asked questions
Is $0.055 charged per request or per output image?
It is charged per successfully returned image. A successfuln=10 response with ten images costs $0.550. If a request fails without returning an image, check the call record for the final charge.
How many reference images can I upload?
One to three through multipart file upload. Four and five references are not currently supported.Do 1K, 2K, Low, and Medium have the same price?
Yes. The current LaoZhang public price is $0.055 per successful output image. Latency and service costs vary by tier, so this price may change.Why can I not copy xAI’s JSON editing example directly?
LaoZhang currently verifies OpenAI-compatible multipart uploads. JSON image objects return HTTP 400, so use the file-upload example in the integration guide.Must legacy model users migrate now?
No.grok-imagine-image and grok-imagine-image-quality remain available. Migrate only after a matched-prompt test shows that 2.0’s quality, aspect ratios, or three-reference editing better fits the task.
Sources and related documentation
- xAI Grok Imagine Image 2.0 model — official model ID and resolution/quality pricing
- xAI image generation — official aspect ratios, quality, resolution, and batch parameters
- xAI image editing — xAI’s JSON editing format, which differs from LaoZhang’s current multipart interface
- Grok Imagine Image API integration guide — LaoZhang generation, three-image editing, SDK, pricing, and errors
- LaoZhang model pricing — current models, groups, and public prices