# Custom Models

To set up a new model, you will need to head over to the [Applications page](https://portal.clarifai.com/apps) through your account. Start by creating your new application.

![](/files/rjtLcuu36MBmUWyImGTJ)

Click "View in Explorer", or click the "eye" icon in the lefthand sidebar.

![](/files/nNEk9ItO3uDRLKRjNxyf)

Add your inputs. Just click "browse your files" or paste image URLs in the space provided.

![](/files/66V3pe9w4bcfcCUEmGzn)

Click on an image. You can create new concepts and label your images in the right hand sidebar.

![](/files/KhAQLz7THLB7IuY2aEd5)

Navigate to Model Mode and select your model. Click on the "four squares" icon on the lefthand sidebar.

![](/files/btD0yOOU0FDw1GuO8jao)

Click "Create Custom Model" to choose a model template. You can filter your results by:

* **Model Type** You can choose "Trainable" (machine learning), or "Non-Trainable" (fixed-function) models.
* **Input** Inputs currently accept Embeddings, Concepts, Image, Image or Video, Region Images, or Region Concepts.
* **Output** Outputs currently return Clusters, Color, Concepts, Embeddings, Region Embeddings, Region Concepts, Region Images, or Region Text.

![](/files/l4RiWxpziMDgEZ3LeaNQ)

For this example we choose a context-based classifier that can use a pre-trained Clarifai Model. From here we name the model, and add concepts that we have created. The available parameters vary based on the type of model that you choose. When you have configured the model the way you like it, click the "Create Model" button at the bottom of the page.

![](/files/-MC8eKzE2eExe9fY5ZHx)

Finally, click the blue "Train Model" button in the upper righthand corner of the screen. Once it is trained you can put it to work by [adding it to your workflows](https://docs.clarifai.com/portal-guide/workflows).

![](/files/OgwdM9GmHA7ILGmGGgji)


---

# 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://old-docs.clarifai.com/guide/portal-guide/model/pcustom-model-walkthrough.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.
