> For the complete documentation index, see [llms.txt](https://nx.docs.scailable.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nx.docs.scailable.net/ai-manager-v6.1.3/ai-models-support/custom-models.md).

# Custom models

In theory, the **AI Manager** can run any vision model. While it offers seamless support for image classification and object detection, it is also capable of running other model categories, such as:

* Image/instance segmentation
* Keypoint detection
* Vision-language models (VLMs)
* Custom model developed from scratch using PyTorch or Tensorflow

For these advanced model types, however, [external pre-processing](/ai-manager-v6.1.3/ai-manager-plugin/advanced-configuration/external-preprocessing.md) and [post-processing](/ai-manager-v6.1.3/ai-manager-plugin/advanced-configuration/external-postprocessing.md) are required to:

* Prepare and format the model inputs
* Interpret and process the model’s raw outputs

If you’re experiencing difficulties running a custom model during integration, please contact the support team for assistance.

## Model output types

The following table shows how different model output types appear in the Nx Meta Client and what is required to use them:

| Model type               | Output format               | What appears in Nx Client       | Notes                                                                                                                 |
| ------------------------ | --------------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| Classification           | Category + confidence score | Text overlay via event rule     | Works out of the box                                                                                                  |
| Object detection         | Bounding boxes              | Boxes drawn on video feed       | Works out of the box                                                                                                  |
| Object counting          | Count events                | Text overlay / event rule       | Requires counting postprocessor                                                                                       |
| Segmentation / keypoints | Masks / keypoints           | Requires external postprocessor | See [External Postprocessing](/ai-manager-v6.1.3/ai-manager-plugin/advanced-configuration/external-postprocessing.md) |
