> ## Documentation Index
> Fetch the complete documentation index at: https://docs.antarah.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# unsupported_modality

> Unsupported modality (HTTP 400)

| | |
| - | - |
| HTTP status | `400` |
| OpenAI `type` | `invalid_request_error` |
| Anthropic `type` | `invalid_request_error` |
| Retry | No. Error responses carry `x-should-retry: false`. |

## What it means

The request sends an image to a text-only model, or any video, audio, or file part.

## What to do

Send images only to models whose `input_modalities` include `image`. See [Images](https://docs.antarah.dev/guides/images.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.