# Model Console

When you view any model in AI Hub, the Model Console will allow you to run inference, view details about the model, download the model, and more.

<figure><img src="/files/bBay3vqajrs59qwWyQ9q" alt=""><figcaption><p>In the Model Console, you can upload an input file, run inference on it, view the source code, examine the model JSON, check labels, read the Model Readme, and more.</p></figcaption></figure>

## Run Inference

Most models can be run from the browser.

{% stepper %}
{% step %}
**Select an Input Image**

Use one of our sample images, or click the **Input File** button on the left side to upload your image. After you select an image, it will appear on the left side of the screen.
{% endstep %}

{% step %}
**Running Inference**

After uploading your image, click **Run Inference** on the right side to process the input.
{% endstep %}

{% step %}
**Results Display**

On the right side, the results of the inference will be overlayed onto the original image. You may also click **Json Result** to see the inference results in JSON format.

The results you get will vary depending on model and model type.
{% endstep %}
{% endstepper %}

## Code

<figure><img src="/files/lDc2lAKdxPHgDlICL3Fp" alt=""><figcaption><p>Code tab in the Model Console.</p></figcaption></figure>

Click **Code** to view sample code for running the model with DeGirum PySDK using the AI Hub and Python.

To use this code, you'll need to [create a Workspace token](/ai-hub/workspaces/workspace-tokens.md) and [install PySDK](https://docs.degirum.com/pysdk/installation). Then you'll be able to save the code to a .py file, edit it to use your cloud token and a file, and run the code.

## Model JSON

<figure><img src="/files/NCR0XBwCFBkgCQFIKL4N" alt=""><figcaption><p>Model JSON tab in the Model Console.</p></figcaption></figure>

Click **Model JSON** to see the model JSON file using our model JSON editor and validator.

With the model JSON editor and validator, you can:

* Edit the JSON file.
* Validate the JSON.
* Download or copy the JSON file.

## Labels

<figure><img src="/files/9pRQ9EIOuvlEN2WJYQli" alt=""><figcaption><p>Labels tab in the Model Console.</p></figcaption></figure>

Click **Labels** to see the contents of the labels file used by the model.

## Copy, download, and delete the model

The Model Console features action buttons to:

* Copy the model URL.
* Download the model as a .zip file.
* Copy the model to a model zoo in any Workspace you have joined.
* Delete the model from this model zoo.


---

# 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://docs.degirum.com/ai-hub/model-console.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.
