Image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Cost Tracking Every API response now includes the exact cost of the request via a cost_in_usd_ticks field in the usage object. Works across chat completions, Responses API, image generation, video generation, and streaming. For more details, see the Cost Tracking docs . Apr 28
Image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Cost Tracking Every API response now includes the exact cost of the request via a cost_in_usd_ticks field in the usage object. Works across chat completions, Responses API, image generation, video generation, and streaming. For more details, see the Cost Tracking docs . Apr 28
Public URLs and Files API ↔ image & video integration Public URLs for Files — turn any file in your Files API storage into a permanent, unauthenticated URL that anyone can open, embed, or share. Revocable at any time, or set an auto-expiry between 1 hour and 30 days. See the Public URLs docs . Reference stored files as image & video inputs — substitute image_file_id , video_file_id , or reference_image_file_ids for URL inputs across every image & video endpoint, with no need to re-upload bytes or make the file public. See Files API integration for image & video requests . Persist image & video outputs to Files — set storage_options on any image or video request to save the generated asset to your Files storage; pair with storage_options.public_url to publish a shareable link in one round trip. See Files API integration for image & video requests .
Image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Cost Tracking Every API response now includes the exact cost of the request via a cost_in_usd_ticks field in the usage object. Works across chat completions, Responses API, image generation, video generation, and streaming. For more details, see the Cost Tracking docs . Apr 28
Image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Cost Tracking Every API response now includes the exact cost of the request via a cost_in_usd_ticks field in the usage object. Works across chat completions, Responses API, image generation, video generation, and streaming. For more details, see the Cost Tracking docs . Apr 28
Public URLs and Files API ↔ image & video integration Public URLs for Files — turn any file in your Files API storage into a permanent, unauthenticated URL that anyone can open, embed, or share. Revocable at any time, or set an auto-expiry between 1 hour and 30 days. See the Public URLs docs . Reference stored files as image & video inputs — substitute image_file_id , video_file_id , or reference_image_file_ids for URL inputs across every image & video endpoint, with no need to re-upload bytes or make the file public. See Files API integration for image & video requests . Persist image & video outputs to Files — set storage_options on any image or video request to save the generated asset to your Files storage; pair with storage_options.public_url to publish a shareable link in one round trip. See Files API integration for image & video requests .
Image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Cost Tracking Every API response now includes the exact cost of the request via a cost_in_usd_ticks field in the usage object. Works across chat completions, Responses API, image generation, video generation, and streaming. For more details, see the Cost Tracking docs . Apr 28
Image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Cost Tracking Every API response now includes the exact cost of the request via a cost_in_usd_ticks field in the usage object. Works across chat completions, Responses API, image generation, video generation, and streaming. For more details, see the Cost Tracking docs . Apr 28
Image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Cost Tracking Every API response now includes the exact cost of the request via a cost_in_usd_ticks field in the usage object. Works across chat completions, Responses API, image generation, video generation, and streaming. For more details, see the Cost Tracking docs . Apr 28
Image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Cost Tracking Every API response now includes the exact cost of the request via a cost_in_usd_ticks field in the usage object. Works across chat completions, Responses API, image generation, video generation, and streaming. For more details, see the Cost Tracking docs . Apr 28
Batch API supports Image and Video generation The Batch API now supports image generation , image editing , and video generation in addition to chat completions. Both server-side tools and client-side function tools are also now supported in batch requests. Image and video URLs in batch results expire after 1 hour.
Image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Action requiredReview affected integrations and migrate before the documented retirement boundary.
Cost Tracking Every API response now includes the exact cost of the request via a cost_in_usd_ticks field in the usage object. Works across chat completions, Responses API, image generation, video generation, and streaming. For more details, see the Cost Tracking docs . Apr 28
Imagine image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Action requiredReview affected integrations and migrate before the documented retirement boundary.
Imagine image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Action requiredReview affected integrations and migrate before the documented retirement boundary.
Cost Tracking Every API response now includes the exact cost of the request via a cost_in_usd_ticks field in the usage object. Works across chat completions, Responses API, image generation, video generation, and streaming. For more details, see the Cost Tracking docs . Apr 28
Imagine image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Action requiredReview affected integrations and migrate before the documented retirement boundary.
Imagine image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Action requiredReview affected integrations and migrate before the documented retirement boundary.
Cost Tracking Every API response now includes the exact cost of the request via a cost_in_usd_ticks field in the usage object. Works across chat completions, Responses API, image generation, video generation, and streaming. For more details, see the Cost Tracking docs . Apr 28
Imagine image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Action requiredReview affected integrations and migrate before the documented retirement boundary.
Imagine image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Action requiredReview affected integrations and migrate before the documented retirement boundary.
Cost Tracking Every API response now includes the exact cost of the request via a cost_in_usd_ticks field in the usage object. Works across chat completions, Responses API, image generation, video generation, and streaming. For more details, see the Cost Tracking docs . Apr 28
Batch API supports Image and Video generation The Batch API now supports image generation , image editing , and video generation in addition to chat completions. Both server-side tools and client-side function tools are also now supported in batch requests. Image and video URLs in batch results expire after 1 hour.
Imagine image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Action requiredReview affected integrations and migrate before the documented retirement boundary.
Imagine image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Action requiredReview affected integrations and migrate before the documented retirement boundary.
Cost Tracking Every API response now includes the exact cost of the request via a cost_in_usd_ticks field in the usage object. Works across chat completions, Responses API, image generation, video generation, and streaming. For more details, see the Cost Tracking docs . Apr 28
Imagine image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Action requiredReview affected integrations and migrate before the documented retirement boundary.
Imagine image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Action requiredReview affected integrations and migrate before the documented retirement boundary.
Batch API supports Image and Video generation The Batch API now supports image generation , image editing , and video generation in addition to chat completions. Both server-side tools and client-side function tools are also now supported in batch requests. Image and video URLs in batch results expire after 1 hour.
Cost Tracking Every API response now includes the exact cost of the request via a cost_in_usd_ticks field in the usage object. Works across chat completions, Responses API, image generation, video generation, and streaming. For more details, see the Cost Tracking docs . Apr 28
Imagine image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Action requiredReview affected integrations and migrate before the documented retirement boundary.
Imagine image API updates Auto quality. The quality parameter on grok-imagine-image-2.0 now accepts auto , and the default when quality is omitted has moved from medium to auto . Auto currently uses low for image generation and medium for image editing. Images are billed at the quality they are served at. Pass low or medium explicitly to pin a specific quality. See Image Generation . Five reference images. Image editing now accepts up to 5 source images per request (was 3). See Multi-Image Editing . New aspect ratios. Image generation and editing accept 21:9 (cinematic widescreen) and 5:2 (wide banners). See Image Generation . August 12
Action requiredReview affected integrations and migrate before the documented retirement boundary.