Coming soon
Use the quick estimate above for a single run, then review the full CometAPI and official-price comparison.
Explore competitive pricing for Grok-Imagine-Image-2.0, designed to fit various budgets and usage needs. Our flexible plans ensure you only pay for what you use, making it easy to scale as your requirements grow. Discover how Grok-Imagine-Image-2.0 can enhance your projects while keeping costs manageable.
| Comet Price (USD / M Tokens) | Official Price (USD / M Tokens) | Discount |
|---|---|---|
Input:$60/M Output:$60/M | Input:$75/M Output:$75/M | -20% |
Copy a working endpoint and code example, then open the complete API reference when you need every parameter.
Authenticate once, call the model endpoint and keep the same billing and observability workflow across providers.
Access comprehensive sample code and API resources for Grok-Imagine-Image-2.0 to streamline your integration process. Our detailed documentation provides step-by-step guidance, helping you leverage the full potential of Grok-Imagine-Image-2.0 in your projects.
#!/usr/bin/env bash
set -euo pipefail
: "${COMETAPI_KEY:?Set COMETAPI_KEY before running this example.}"
BASE_URL="https://api.cometapi.com"
echo "Generation response:"
curl --fail-with-body --silent --show-error \
--request POST \
"${BASE_URL}/v1/images/generations" \
--header "Authorization: Bearer ${COMETAPI_KEY}" \
--header "Content-Type: application/json" \
--data '{
"model": "grok-imagine-image-2.0",
"prompt": "A cozy reading nook inside a glass greenhouse at sunrise"
}'
echo
echo "Edit response:"
curl --fail-with-body --silent --show-error \
--request POST \
"${BASE_URL}/v1/images/edits" \
--header "Authorization: Bearer ${COMETAPI_KEY}" \
--header "Content-Type: application/json" \
--data '{
"model": "grok-imagine-image-2.0",
"prompt": "Transform the scene into a detailed watercolor illustration",
"image": {
"type": "image_url",
"url": "https://docs.x.ai/assets/api-examples/images/style-realistic.png"
}
}'
echoScan the model facts that matter before you choose an architecture or estimate production workload.
Use Grok-Imagine-Image-2.0 for production workflows that match its image capabilities, then compare alternatives before committing to a long-term integration.
Product visuals and campaign creative
Concept art and rapid visual exploration
Image editing, variation and asset production
Compare other models available through CometAPI for different quality, latency, capability and pricing trade-offs.
GPT Image 2 is openai state-of-the-art image generation model for fast, high-quality image generation and editing. It supports flexible image sizes and high-fidelity image inputs.
Gemini 3.1 Flash Lite Image model is an efficiency expert in the image generation family, designed for ultra-low latency and cost-effective image generation and modification.
Core Capabilities Overview: Resolution: Up to 4K (4096×4096), on par with Pro. Reference Image Consistency: Up to 14 reference images (10 objects + 4 characters), maintaining style/character consistency. Extreme Aspect Ratios: New 1:4, 4:1, 1:8, 8:1 ratios added, suitable for long images, posters, and banners. Text Rendering: Advanced text generation, suitable for infographics and marketing poster layouts. Search Enhancement: Integrated Google Search + Image Search. Grounding: Built-in thinking process; complex prompts are reasoned before generation.
FLUX.2 [max] is a top-tier visual-intelligence model from Black Forest Labs (BFL) designed for production workflows: marketing, product photography, e-commerce, creative pipelines, and any application that requires consistent character/product identity, accurate text rendering, and photoreal detail at multi-megapixel resolutions. The architecture is engineered for strong prompt-following, multi-reference fusion (up to ten input images), and grounded generation (ability to incorporate up-to-date web context when producing images).
FLUX.2 [max] is the flagship, highest-quality variant of the FLUX.2 family from Black Forest Labs (BFL). It is positioned as a professional-grade text→image generation and image-editing model that focuses on maximal fidelity, prompt adherence, and editing consistency across characters, objects, lighting and color. BFL and partner registries describe FLUX.2 [max] as the top-tier FLUX.2 variant with features for multi-reference editing, grounded generation.
FLUX 2 DEV is the development-friendly version optimized for research, experimentation, and non-commercial applications. It provides developers with powerful image generation capabilities while maintaining a balance between quality and computational efficiency. Perfect for prototyping, academic research, and personal creative projects.
Review live heartbeat data, endpoint availability and observed response times before moving into production.