# Custom models

In theory, the **Nx 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](/nx-ai-manager-v6.1.2/nx-ai-manager-plugin/advanced-configuration/external-preprocessing.md) and [post-processing](/nx-ai-manager-v6.1.2/nx-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](/nx-ai-manager-v6.1.2/nx-ai-manager-plugin/advanced-configuration/external-postprocessing.md) |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nx.docs.scailable.net/nx-ai-manager-v6.1.2/ai-models-support/custom-models.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
