
grok-4.2-imageImage generation and editing powered by Grok 4.2. Supports text-to-image creation, URL-based image editing, and file-based editing with mask inpainting.
Generate images from text descriptions
Edit images via URL or file upload
Use masks to edit specific regions
1024x1024, 1536x1024, 1024x1536
Generated image will appear here
Enter a prompt and click Generate
Grok 4.2 Image is a Image Generation API provided by grok-image. Image generation and editing powered by Grok 4.2. Supports text-to-image creation, URL-based image editing, and file-based editing with mask inpainting. Through API Models platform, you can access this model via a unified API at prices significantly lower than official rates.
Generate high-quality product visuals for online stores, ads, and marketing materials.
Create eye-catching visual content for social platforms to boost engagement and brand visibility.
Produce concept art for characters, scenes, and props to accelerate game development.
Design posters, banners, and promotional graphics at a fraction of traditional design costs.
Grok 4.2 Image is available through API Models at significantly lower prices than official rates. Visit the model page for current pricing.
Sign up at API Models, get your API key, and call our unified API endpoint. We provide detailed API documentation with code examples in cURL, Python, and Node.js.
API Models offers the same Grok 4.2 Image model at 60-95% lower cost through our aggregation platform. We provide a unified API interface so you do not need separate accounts for each provider - one API key to access all models.
We support Stripe (Visa, Mastercard, and other international cards) and Alipay. Credits are available instantly after payment.