# Start AI & Configuration

Once your capture method is set up, you are ready to load your neural network models and configure exactly how the AI identifies and targets enemies.

***

### 1. Select Your Models

Navigate to the **Models** tab in the sidebar on the left. Here you tell the system which brain (model) to use.

You can get more models from the `models` folder in mega link or from [Here](https://models.whoswhip.dev/).

{% hint style="info" %}
Those are not official models so they might not work good, test different ones. Official ones will appear without you having to download anything.
{% endhint %}

#### Primary Model

This is the main neural network that will process every frame.

1. **Local Library:** In the folder where you've placed the AI create a folder named modelsIf you placed `.onnx` files in the `SpectraAI/models` folder, they will appear here.

<figure><img src="/files/kep9X8D9ontKlIV4g5pa" alt=""><figcaption></figcaption></figure>

2. **Official Models:** You can also choose from the cloud-hosted official models provided by the software.
3. **Select one** to set it as active.

#### Fallback Model (Optional)

You can enable a **Fallback Model**.

* **Purpose:** If the Primary Model fails to detect a target with high confidence, the system will instantly check the Fallback Model.
* **Usage:** Useful if you have a highly specialized model (e.g., for close range) as primary, and a general-purpose model as fallback.

***

### 2. Start the Engine

Once your model is selected:

1. Look at the top-right corner of the window.
2. Click the red **START AI** button.
3. The system status in the bottom left should change to **ACTIVE**.

***

### 3. Target Configuration (Crucial)

Navigate to the **Aimbot** tab. This section dictates *what* the AI shoots at and *where* it aims.

#### A. Define Targets

You will see two selection areas: **Body Targets** and **Head Targets**. It is vital to understand the difference.

* **Body Targets:**
  * **Select:** Everything that represents a valid enemy (e.g., `CT`, `T`, `Enemy_Body`, `player`, `enemy`).
  * **Function:** These are the main boxes the AI looks for to initiate tracking. The **Aim Probability & Offsets** settings (explained below) are applied to these targets.
* **Head Targets:**
  * **Select:** Only the classes that specifically represent the head of a player (e.g., `Head`, `CT_Head`).
  * **Function:** If a class is selected here, the AI treats it as a precision point. It will always try to aim at the exact **center** of this specific box.

#### B. Aim Probability & Offsets

Scroll down to the **Aim Probability & Offsets** section. This table allows you to customize aiming behavior for different body parts.

| Setting            | Description                                                                                                                                                                                                                                                                                                                                                                            |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Name**           | The label for this aim point (e.g., "Chest", "Head").                                                                                                                                                                                                                                                                                                                                  |
| **Offset**         | <p>Adjusts the aim point vertically.<br>• <strong>Positive values</strong> move aim <strong>down</strong>.<br>• <strong>Negative values</strong> move aim <strong>up</strong>.<br>• <strong>0.0</strong> aims at the geometric center of the detection box.</p>                                                                                                                        |
| **Prob %**         | The chance (0-100%) that the AI will choose this specific spot to aim at.                                                                                                                                                                                                                                                                                                              |
| **Use Head Class** | <p><strong>⚠️ Important:</strong> Check this box <strong>ONLY IF</strong>:<br>1. Your model actually detects a "Head" class.<br>2. You have selected that class in the "Head Targets" section above.<br><br><strong>What it does:</strong> If checked, instead of using the "Offset" to guess where the head is, the AI will snap directly to the center of the detected Head box.</p> |

***

### 4. Fine Tuning

After setting up your targets, you can explore the other tabs to refine the "feel" of the aimbot:

* **Fine Tuning:** Adjust Aim Speed (Smoothness), Field of View (FOV), and Recoil Control.
* **Triggerbot:** Configure the AI to auto-fire when the crosshair is over a target.
* **Visuals:** Toggle ESP boxes to see what the AI is detecting in real-time.

***

### 5. Saving Your Config

Your settings are not saved automatically. To ensure you don't lose your setup:

1. Navigate to the **Settings** tab.
2. Click **Save Config**.
3. **Note:** Configurations are linked to the **current model**. If you switch models, you may need to save a new configuration for that specific model.


---

# 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://spectra-2.gitbook.io/spectra-ai/use/start-ai-and-configuration.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.
