#26184 [Bug]: xAI image model `grok-imagine-image` not supported via /images endpoints (no healthy deployments)
### Check for existing issues
- [x] I have searched the existing issues and checked that my issue is not a duplicate.
### What happened?
When trying to use the xAI image model grok-imagine-image via LiteLLM, the model cannot be used with image endpoints. • The model is correctly added as xai/grok-imagine-image • The xAI provider is configured with a valid API key • The endpoint is set to /v1/images/edits (also tested /v1/images/generations)
However, LiteLLM returns: ``` Error: 400 litellm.BadRequestError: You passed in model=xai/grok-imagine-image. There are no healthy deployments for this model. Received Model Group=xai/grok-imagine-image Available Model Group Fallbacks=None ```
Additionally, when using default behavior, LiteLLM routes the request to: /v1/chat/completions
which results in: XaiException - Model not found: grok-imagine-image
**Expected behavior** LiteLLM should: • Support xai/grok-imagine-image for image generation • Route requests to the correct endpoint: POST https://api.x.ai/v1/images/generations Treat this model as an image model, not a chat model
### Steps to Reproduce
1. Go to Models + Endpoints 2. Add a new model: • Provider: xAI • Model: xai…