Build next-gen apps with Grok Imagine Image 2.0
Pricing
TokenLab Price
$0.06
| Official PricePer Image | TokenLab PricePer Image | Discount | |
|---|---|---|---|
| Price | $0.06Per Image | From $0.00Per Image | - |
One-click test
Sign in once and Web Agent keeps this model, prompt, and request preset for you.
Test grok-imagine-image-2.0 in Web Agent. Run the recommended text-to-image image request at /v1/images/generations, then show the request body, returned image or task status, and model-specific constraints.
API workbench
The default route for production. The code sample below uses this endpoint with the format you pick.
curl -X POST "https://api.tokenlab.sh/v1/images/generations" \
-H "Authorization: Bearer sk-xxx" \
-H "Content-Type: application/json" \
-d '{
"operation": "text-to-image",
"quality": "medium",
"resolution": "1k",
"model": "grok-imagine-image-2.0",
"prompt": "A minimalist product photo of matte black headphones on a soft blue background."
}'Use cases
Best forText to Image
Producing product imagery, illustrations, and design variations
Product visuals
Make campaign images, catalog scenes, and design directions from a few prompts.
Iterative editing
Try edits and variations using the request shape this model already accepts.
Creative QA
Sanity-check prompt behavior, output count, and response mode before you ship.
Side-by-side test
Compare real response quality, latency, and price for production defaults.
Prompt examples
Generate a clean product shot of matte black headphones on a soft blue gradient.
Edit the source image into a premium ecommerce hero with natural shadows.
Give me three visual directions for a developer-tool launch banner.
FAQ
How much does Grok Imagine Image 2.0 cost?
On TokenLab, Grok Imagine Image 2.0 costs $0.06 Per Image. The pricing table above shows the full breakdown.
What is Grok Imagine Image 2.0 best for?
Grok Imagine Image 2.0 is a strong fit for Image Edit, Image to Image, Text to Image. You can call it through TokenLab with one API key.
How do I call the Grok Imagine Image 2.0 API?
Get a TokenLab API key, then send your request to https://api.tokenlab.sh/v1/images/generations. The API workbench above has a recommended endpoint and copy-ready code.
Which endpoint should Grok Imagine Image 2.0 use?
Use https://api.tokenlab.sh/v1/images/generations as the default for Grok Imagine Image 2.0. If a provider-native format is supported, the API workbench shows that endpoint too.
Can I test Grok Imagine Image 2.0 before integrating it?
Yes. Try in Web Agent opens a ready test for Grok Imagine Image 2.0 and keeps your prompt after sign-in, so you don’t lose context.
Which operations does Grok Imagine Image 2.0 support?
Grok Imagine Image 2.0 supports Image Edit, Image to Image, Text to Image. Pick an operation in the API workbench above to see the matching endpoint and code sample.