Skip to content

feat: add grok-imagine-image-quality, grok-imagine-video, grok-imagin…#837

Open
swapnilroy-cell wants to merge 2 commits into
mainfrom
feat/add-grok-imagine-video-models
Open

feat: add grok-imagine-image-quality, grok-imagine-video, grok-imagin…#837
swapnilroy-cell wants to merge 2 commits into
mainfrom
feat/add-grok-imagine-video-models

Conversation

@swapnilroy-cell

Copy link
Copy Markdown
Contributor

…e-video-1.5 models

Add xAI Grok Imagine image quality and video generation models with general config and pricing entries, consistent with existing grok-imagine-image pattern.

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context.

  • New model pricing
  • Update existing pricing
  • New model configuration
  • Bug fix

Source Verification

Source Link: [Add link here]

Important

Please include a link to the official pricing page from the provider. Simple "I heard it from somewhere" or screenshot sources are not accepted.

Checklist

  • I have validated the JSON using jq or an online validator
  • I have verified that prices are in cents per token (not dollars)
  • I have included the source link above
  • I have signed the CLA (if first-time contributor)

Related Issue

Fixes # (issue)

@swapnilroy-cell
swapnilroy-cell force-pushed the feat/add-grok-imagine-video-models branch from 74d26df to c443de9 Compare July 13, 2026 14:57
…e-video-1.5 models

Add xAI Grok Imagine image quality and video generation models with correct
general config types and pricing schema.

Image models use the image key (per-image pricing):
- grok-imagine-image: 2¢ ($0.02/image)
- grok-imagine-image-quality: 5¢ ($0.05/image)

Video models use additional_units.video_seconds (per-second pricing, matching
the Vertex AI Veo pattern):
- grok-imagine-video: 5¢/sec ($0.05/sec)
- grok-imagine-video-1.5: 8¢/sec ($0.08/sec)

Co-authored-by: Cursor <cursoragent@cursor.com>
@swapnilroy-cell
swapnilroy-cell force-pushed the feat/add-grok-imagine-video-models branch from c443de9 to 1d71846 Compare July 13, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant